Click here to Skip to main content
15,918,193 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Anybody has done the Color(Image) Recognition function with c#.

The Color(Image) Recognition function just like a function in GIMP/PHOTOSHOP. If you click on a image, the function will scope the same color area of the image around the click point.

I am really thanks you for providing any information related with this question.
Posted

1 solution

Well, what is your question?

Get the pixel under the mouse and then check all of the surrounding pixels to see if they are the same color.
 
Share this answer
 
Comments
mike.kong 17-May-10 21:11pm    
thanks for your reply.

It is just like the Fuzzy Select Tool in GIMP or PHOTOSHOP.

When you click on a image after we select the Fuzzy Select Tool, it will scope the contiguous region on the basis of color around the click point.
pauperius 5-Nov-12 6:39am    
For me color recognition would mean: finding the color closest to the one I picked from my image in the active custom color palette plus displaying it's name.
What could that be useful for?
I am a stamp collector. And I have scanned all my stamps. For many of them just a tiny variation in color decides whether they are valuable or not.
But the color names in the stamp catalogs are mostly very weird so it's more than hard to tell which of these colors apply to the specific stamp.
So for this there are color matching booklets. Taking my stamp I have to compare it to some hundred color samples from the booklet ... very tedious and still error-prone, especially when you have a slight color vision disability like me.
So I have scanned all the samples from an official stamp colors guide, using the same scanner that I also use for my stamps, and made a custom color palette from this set of colors for GIMP.
Now the last step I'd need would be to be told the color name matched towards this palette when I pick one from a stamp.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900