Comparing leaf color to a standard shades of green
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I just want to ask for a help on how am I going to do this project. What I'm trying to do is take a pic of a leaf and then compare its color with a standard chart. The char that I'll be using is this:
Here are my questions:
1. What method should I use in comparing the captured image with this standard one? Should I get the histogram of each shades of green in the chart and then compare it with the histogram of the captured image?
2. If my captured picture looks like in the picture below, what method should I use so that it only process the leaf? I mean, as you can see the image, the only leaf that I'm interested is the one in the middle. What should I do to remove those images that I'm not interested with?
Thank you for the help. :)
0 commentaires
Réponse acceptée
Image Analyst
le 10 Nov 2013
You need to calculate the Delta E, which is the color difference. See my Delta E demo in my File Exchange. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
To find the leaf, you will have to outline it with imfreehand() or roipolyold(). There is no way of knowing which leaf in the picture you want to examine the color of.
Of course you will have to hold your sample in the field of view so that it will have the same lighting (color and intensity) as the leaf, because as you know, you can get almost whatever RGB values you want out of your camera if you have different exposure levels, color of lighting, etc.
7 commentaires
Image Analyst
le 12 Nov 2013
What is a soft copy? You still need to have a hard copy physical chart in the field of view.
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!