Comparing leaf color to a standard shades of green

3 次查看(过去 30 天)
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. :)

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Agriculture 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by