How to remove a certain colored part from an image in Matlb?

1 view (last 30 days)
Hi all, I am trying to remove a green colored part from a leaf image and want to left only with damage part of leaf which are not green. How can I do this task?

Answers (1)

Image Analyst
Image Analyst on 9 Jan 2016
Search for the tag leaf and you will find my code for doing exactly that for another person.
In general, you can go here to find demos for color segmentation and masking: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Or else use the "Color Thresholder" app on the Apps tab of MATLAB.

Categories

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!