how to find threshold
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sapam Jaya
le 10 Nov 2013
Commenté : Sapam Jaya
le 12 Nov 2013
I have calculated the variance of an image.now i need to classify the pixels as foreground when the variance is more than a threshold ,otherwise it is classified as background pixel.how to select this threshold
0 commentaires
Réponse acceptée
Image Analyst
le 10 Nov 2013
Modifié(e) : Image Analyst
le 10 Nov 2013
It doesn't make sense to do what you said globally - just think about it.
There are several ways to do it locally adaptive: blockproc(), stdfilt(), nlfilter(), nested for loops, etc.
I show two of these in the demo attached below.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!