how to choose threshold while segmenting leaf from background?

10 visualizzazioni (ultimi 30 giorni)
@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

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

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

Categorie

Scopri di più su Agriculture in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by