MATLAB Answers

How to remove green part of disease leaf image?

8 views (last 30 days)
HEMANGI THORAT
HEMANGI THORAT on 23 Mar 2015
Edited: Manu BN on 27 Apr 2015
I am working on plant diseases. i want to remove the green part of leaf? how should I proceed?

Answers (2)

Image Analyst
Image Analyst on 23 Mar 2015
Try one of my color segmentation demos in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 Create a mask of the green pixels and then do something with it. You have not defined "remove" so I can't say exactly what you want. They can't be removed or deleted since the image must remain rectangular. But you can set the diseased part to another color if you want.
See where other people have worked on leaves with this link: http://www.mathworks.com/matlabcentral/answers/?term=tag%3A%22leaf%22
I did do some image analysis and gave code to someone here: http://www.mathworks.com/matlabcentral/answers/110329#answer_118985

Manu BN
Manu BN on 27 Apr 2015
Edited: Manu BN on 27 Apr 2015
Hi, Here is the code to Plant Disease Analysis. I would like someone to review it.
https://in.mathworks.com/matlabcentral/fileexchange/50624-plant-disease-classification
Thanks in advance, Manu B.N

Categories

Community Treasure Hunt

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

Start Hunting!