how to choose threshold while segmenting leaf from background?
2 views (last 30 days)
Show older comments
parul mittal
on 23 Sep 2016
Answered: waqar ismail
on 4 Feb 2018
@ImageAnalyst sr I want to know how to choose segmentation threshold. As I m working on plant identification from leaf and in my database there are different images it's quite possible threshold for one image not works for another. Sr how to choose it. Kindly reply sr. Thanks
0 Comments
Accepted Answer
Image Analyst
on 23 Sep 2016
Yes, that's true. If you have just random arbitrary pictures then it may not be possible to do what you want. For example if you have a photo of a forest with dozens of trees in it, then finding and classifying every type of leaf in the photo will not be possible. It's best if you can get a single leaf on a uniform background. Then you can look at the hue, saturation, and lightness histograms to come up with a scheme that works. Personally I'm a fan of triangle thresholding.
6 Comments
Image Analyst
on 25 Sep 2016
Do you have a leaf on a pink gradient background that you want to post?
More Answers (1)
waqar ismail
on 4 Feb 2018
i need dataset of plant.. that u are using please sent me with segmentation code. it is part of my project.. mail me at waqar.ismail001@gmail.com
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!