필터 지우기
필터 지우기

HOW TO FIND THE DIAMETER FOR THE IRREGULAR SHAPE OF AN IMAGE

조회 수: 5 (최근 30일)
ajith
ajith 2012년 10월 8일
I NEED TO FIND THE DIAMETER OF THE IRREGULAR SHAPE OF AN IMAGE?

답변 (2개)

David Legland
David Legland 2012년 10월 8일
Hi,
in the image processing toolbox there is a function "regionprops" that gives you the equivalent diameter of a particle. You can also access the major axis length of the inertia ellipse, that is a useful feature.
You can also consider Feret diameter, but you need to search on the FEx.
regards, David

Image Analyst
Image Analyst 2012년 10월 8일
편집: Image Analyst 2012년 10월 8일
See my Image Segmentation Tutorial at http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862. The function regionprops has a measurement "EquivDiameter" that you can ask for. It's basically sqrt(4*Area/pi) which is what you get for the diameter if you assume a circle of the same area as your blob.
  댓글 수: 1
ajith
ajith 2012년 10월 9일
편집: ajith 2012년 10월 9일
sir,
I only use MATLAB 7.5.0 so how to run the coding. if it possible to send the simple example coding to me for find the diameter of the irregular shape image

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by