필터 지우기
필터 지우기

Extract multiple radius from an image

조회 수: 3 (최근 30일)
SenseOf
SenseOf 2012년 4월 9일
Hi, I have a grayscale image of quasi-circular objects. I have to compute their radius. I can extract these objects applying a threshold on the image. So now I have a b/w image with my quasi circular objects. In some way I found the centre of this objects. Now I want to compute with a for cycle their radius, extracting from the b/w image the columns corresponding to x-coordinates of the centers and calculating the length of the sequence of the "1" in those columns. How can I do this? Thanks

답변 (1개)

Ashish Uthama
Ashish Uthama 2012년 4월 12일
If you have the newer version with the Image Processing Toolbox, the imfindcircles might be useful (depending on the 'circularity' of your objects).
You could also try using the regionprops function in the Image Processing Toolbox to get characteristics of each object. You could then use the 'Area' and 'Perimeter' properties to deduce a rough estimate of the radius.

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by