Dear gimp developers,

I am interested in the following problem: 

I have an image in some defined (bitmap?) format like jpg, 
gif, bmp. Now, somewhere in this image, there is a red
(255,0,0) pixel. I now want to calculate the coordinates
of this pixel. Is this possible?

Example: I am using a webcam to observe an area. In this
area, a red object is moving around. Now, the webcam is 
delivering images to some client program (gimp plugin?). This 
program now should calculate the current position of the object 
in the observed area.

Question: How could this be achieved most easily? Which format
would be best? How could the algorithm look like?

I would appreciate any hint.

Matthias Kleine
Gimp-developer mailing list

Reply via email to