Comparing leaf color to a standard shades of green

3 views (last 30 days)
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. :)

Accepted Answer

Image Analyst
Image Analyst on 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 Comments
Image Analyst
Image Analyst on 12 Nov 2013
What is a soft copy? You still need to have a hard copy physical chart in the field of view.
Elvin
Elvin on 12 Nov 2013
By soft copy, I mean the one they used in making the LCC in computer before manufacturing it.

Sign in to comment.

More Answers (0)

Categories

Find more on Agriculture in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!