View Single Post
  #10   Spotlight this post!  
Unread 22-08-2013, 23:41
Maxwell777's Avatar
Maxwell777 Maxwell777 is offline
Is allowed to touch stuff now
AKA: Jackson Gray
FRC #0842 (Falcon Robotics)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Phoenix, AZ
Posts: 72
Maxwell777 has a spectacular aura aboutMaxwell777 has a spectacular aura aboutMaxwell777 has a spectacular aura about
Re: Need help and suggestions for image comparison method

Quote:
Originally Posted by SoftwareBug2.0 View Post
Something you can try is to multiply the score of each match by an estimate of how likely that result should be. For example, if you think the robot should be moving slowly, then results that would imply large motions should be penalized.

One way to do this is to use normal distributions. For example, you might estimate that you should have moved 10 px forward since the last frame with a standard deviation of 3. From That, you can give an initial estimate of how likely having moved 8 px is vs 10 px vs 1 px. So the initial estimate would say 10 px of movement is likely and 8 px is reasonable and 1 px is unlikely because it's 3 standard deviations away from what was expected.

I hope that makes sense.
I hadn't tried that yet. Maybe instead of using a solid estimate, I could use the current speed as a base point, and from there it would reduce the score for shifts as they get father away from the avg shift. Actually wait no. That would probably screw up the accuracy. I'll just go with yours
Reply With Quote