MATLAB: Sir,How i can extract a single leaf excluding its background of that stem..??

background supressiondisease detectionleafleaf disease detection

i need to select that diseased leaf only..how can i do that. please send me the code..

Best Answer

Dear Siddha,
This could be a way to get your result:
  1. Detect all the objects in the image. (<http://www.mathworks.com/discovery/object-detection.html website>)
  2. Analyse each object if there is an infection.This could be done here.
  3. Then you can construct an image with only the leaves that have an infection.
Good luck! Christiaan