![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
what are suitable texture features for these images
1 view (last 30 days)
Show older comments
dear i have these images and i want to recognition between them based on texture features [density of yellow color]
can any one suggest for me a single value texture feature ??
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159254/image.jpeg)
0 Comments
Answers (1)
Image Analyst
on 22 Mar 2014
Edited: Image Analyst
on 22 Mar 2014
First of all, you need to use crossed polarizers to get rid of the white specular reflections.
Next, I don't see how "density of yellow" is a texture feature. It's more of a color/intensity/radiometric quantity since it's the wavelength/spectrum of light rather than a spatial variation.
What I'd probably do for a start is to compute two classes: reddish, and yellowish/greenish. Look at the color gamut in HSV color space, looking down along the V axis:
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
You can see how the yellowish/greenish pixels are separated from the reddish/purplish pixels. I'd calculate the total number of pixels for each color class as well as the area fraction for each color class. I'd also give the mean LAB color of each, and if you have a "true/nominal/reference" color then I'd give the delta E (the "color difference" between the actual object and it's reference color. See my delta E demo in my File Exchange. Also, see my "Color detection by hue" full demo in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
9 Comments
Image Analyst
on 22 Mar 2014
OK. I prefer to remain anonymous, though some people know who I am (like people at the Mathworks and some others). If it works after you test it, then please mark my Answer as "Accepted."
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!