robotics-in-concert / rocon_demos

Demo software for rocon milestones.
2 stars 14 forks source link

colour signal threshold algorithm #16

Closed stonier closed 10 years ago

stonier commented 10 years ago

47f52052b712cb3045f00688835ba81f1675fd8c - histograms of saved images.

stonier commented 10 years ago

74ceb3eeab8dab0326ffa2fa660536b5f0dd25ce - extracting statistics from the histograms.

Looks like we'll go for a difference between rgb statistics. Intensities is unreliable as the camera takes that control away from us.

stonier commented 10 years ago

e98a375c9e43172025faab6b3c0cd353ad1c8326 - splicing hsv space into rgb bins.

Converted everything to hsv - will be much more reliable. Also getting back percentages in the bins, that seems to be much better than calculating averages.

stonier commented 10 years ago

045916d0d12b5376e6db098ad2df762290b0c4ce - use a moving window to ensure dirty images don't cause spurious false positives.

stonier commented 10 years ago

3691c97d5fa5ef466ded037eeafb5d55b55ffd76 - consolidate/cleanup the messy mix of image classes