Comparing leaf color to a standard shades of green
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Elvin
el 5 de Nov. de 2013
Comentada: Elvin
el 12 de Nov. de 2013
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:
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
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?
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
Thank you for the help. :)
0 comentarios
Respuesta aceptada
Image Analyst
el 10 de Nov. de 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 comentarios
Image Analyst
el 12 de Nov. de 2013
What is a soft copy? You still need to have a hard copy physical chart in the field of view.
Más respuestas (0)
Ver también
Categorías
Más información sobre Histograms en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!