colour extraction

i want to extract the colour from an RGB image ,there are 3 methods
1.Color moments
2.Color Histogram
3.Color Coherent Vector (CCV)
can u tell how to extract colour from these methods please

 Accepted Answer

Image Analyst
Image Analyst on 24 Nov 2011

0 votes

And there are methods that are complete and really work, unlike what you mentioned which are merely steps along the way. See my File Exchange for 3 methods that actually do color detection/extraction. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

6 Comments

Pat
Pat on 25 Nov 2011
these are steps ,ok but i have to store the output of each step
,i saw ur methods but could not find were these steps are ,please help
Image Analyst
Image Analyst on 25 Nov 2011
I'm sure in some of my File Exchange submissions I compute histograms. Why do you need to save the results of your 1 and 3? Don't you just need to detect the colors? Or is this a homework problem and you are required to do exactly what it asks for? If not, my code will find the colors for you quite easily and in a straightforward way.
Pat
Pat on 26 Nov 2011
i have 100 images,and i want to extract colour by three methods and save them in each folder
so finally i have 3 folders of 100 images each extracted rom
those 3 methods
Pat
Pat on 26 Nov 2011
i need to do what exactly i have been given,extract colours from these methods and store in 3 folders
Image Analyst
Image Analyst on 26 Nov 2011
OK. My demos will help you do that. Good luck.
Pat
Pat on 26 Nov 2011
Thank u Image Analayst

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!