How to find threhold values
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all,
Hope to get some help here.
I have a 2d array of size 1000x1000 that contains values. I would need to identify the shape of the lowest region (darkest blue) and do some processing. Do you guys have any idea on how I should proceed to identify the shape of it?
I thought of finding the lowest point in the whole grid and extend in all directions from there. But again, I do not know the threshold of the dark blue region compared to the lighter ones. So help in this would also be very much appreciated.
Thank you!

0 commentaires
Réponses (1)
Image Analyst
le 5 Avr 2014
You can get a binary "map" of where the image is lower than some amount, like
darkParts = grayImage < 0.005;
but then we need to know exactly what you want to know. What shape descriptors would be useful to you? The area? The perimeter? The circularity = Perimeter^2/(4*pi*area)?
Perhaps this would be useful for you: http://www.mathworks.com/matlabcentral/fileexchange/35452-finddepressions
0 commentaires
Voir également
Catégories
En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!