How to find threhold values

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!

답변 (1개)

Image Analyst
Image Analyst 2014년 4월 5일

0 개 추천

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)?

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2014년 4월 5일

답변:

2014년 4월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by