Clear Filters
Clear Filters

how to choose threshold while segmenting leaf from background?

2 views (last 30 days)
@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

Accepted Answer

Image Analyst
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
Image Analyst on 25 Sep 2016
Do you have a leaf on a pink gradient background that you want to post?
parul mittal
parul mittal on 6 Oct 2016
Yes sr I do have.. Once I Complete project with white background than il post it. Thnx sr

Sign in to comment.

More Answers (1)

waqar ismail
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

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!