How to find the length of an object in an image?

조회 수: 3 (최근 30일)
Brahm
Brahm 2014년 11월 18일
댓글: SUBASHINI N 2017년 2월 1일
Hi,
I am new to image processing and I am looking for a way to find the length in cm of an object in an image. In particular, I am dealing with images of human body segments like feet, hands etc.
Thanks
  댓글 수: 1
SUBASHINI N
SUBASHINI N 2017년 2월 1일
i don't know to find length of an image in matlb can you explain

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

채택된 답변

Image Analyst
Image Analyst 2014년 11월 18일
You can use regionprops. See a Image Segmentation Tutorial demo in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862.
Also see VisionBib http://www.visionbib.com/bibliography/contents.html to find papers on body part segmentation.
  댓글 수: 2
Brahm
Brahm 2014년 11월 28일
Hi Image Analyst, with your help I have gotten to the point of obtaining perimeter and area of the surface of objects I need.
But, how do i convert the area from number of pixels to cm^2 and in what units does matlab calculate the perimeter and how can you convert the perimeter into cm?
Image Analyst
Image Analyst 2014년 11월 28일
It's all in pixels. To get into some other units you need to multiply by the spatial calibration factor. Measure something of known length, say 1 meter. Then see how many pixels it is. Divide the two and you have your factor. See attached demo.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by