Playing with Color Picker and Threshold

Color Picker Experiment ExampleIn light of the fact that I know my motion tracking needs a lot of work, I decided to start trying different methods for getting and working with information from my webcam.

Last night (and a little over lunch today) I threw a couple quick experiments together to see what it would look like, and I think that I might try this out with the video when I got home tonight.

The first example comes in the form of a basic color picker that lets you select the color of a pixel from within the image (on the top left). Once you have selected a color, use the slider on the right to control the threshold ばいあぐら 購入 通販.

The second example is very similar to the first, it just uses a different sampling method for the color that it is going to use with the threshold. To try this tool, draw a box (from top left to bottom right) over the region of the image where you would like to get your sampling from.

This was a very quick and dirty experiment to see what I could get out of a bitmap with some basic functions, so please forgive my source. I will post more once I get it cleaned up tonight and start trying to work it into my motion detection application.

Leave a Reply

Your email address will not be published. Required fields are marked *