Image Processing Best Way - To extract Only Disease Leaf part
Hi. Using opencv, what's the better way to extract of leaf image only disease part? By color segmentation, texture, etc?
For exemple: I do not want the green part of leaf (isolating), only internal yellow(disease). This resultant part (with disease) would be in a background black.
Thank's
As a first approach, you should use color segmentation. Texture analysis can be a good solution, but only if you know what are you doing. It's also harder to implement (as it's not part of OpenCV).
So transform the image to HSV color space and use inRange to get the yellow part.
thank you so much kbarni.