Measure connected component's areas.

1 回表示 (過去 30 日間)
Emmanuelle
Emmanuelle 2017 年 1 月 4 日
編集済み: Emmanuelle 2017 年 1 月 4 日
I have a binary image with some connected components (not regular shapes, see pictures below). I would like to get/measure the dimensions (height,width,area) of the connected components. I am completely new in Matlab and Image processing... Is there a function in matlab that does this ? If not, how can I measure that ? Thanks
<</matlabcentral/answers/upl
oaded_files/66780/1.PNG>>

回答 (1 件)

Guillaume
Guillaume 2017 年 1 月 4 日
See regionprops which does exactly what you want.

Community Treasure Hunt

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

Start Hunting!

Translated by