2nd Edition: To make it a bit more clear, and to summarize the discussion in comments. I have a small image, like this one: ...
How can I split in color classes, the pixels of an image that I load in Mathematica? I would an output like this: ...
I am writing an algorithm that finds the center of 500 x 500 pixels images coming from a live feed from a camera at 50 Hz. So it has to be quick! The images are images of an optical field which looks ...