How to remove green part of disease leaf image?

2 views (last 30 days)
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: 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:
I did do some image analysis and gave code to someone here:

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.
Thanks in advance, Manu B.N


Find more on Agriculture in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!