필터 지우기
필터 지우기

I want a code that I can measure the picture of object , and the matlab code tell me the real length of each object , who knows ?

조회 수: 1 (최근 30일)
for example , I can measure the length of car in the picture , and mat lab tell me how much cm the length of real car
anyone can help me ????????????????????

채택된 답변

Walter Roberson
Walter Roberson 2014년 1월 11일
This cannot be done. You need to know at least one real-world distance in the picture.
An object in a picture that is 837 pixels wide might be 837 mm wide and 1 meter away, or it might be 837 cm wide and 10 meter away, or it might be 837 m wide and 1 km away. There is no way to tell without a physical distance.
If you need to go out with a piece of string and a measuring tape and measure the width of the lane, or the height of a stop sign, then do that.
If it helps, the last time I measured a stop sign, it was 2m 14cm from the top of the sign to the ground.
  댓글 수: 2
Image Analyst
Image Analyst 2014년 1월 11일
편집: Image Analyst 2014년 1월 11일
sara, I gave you code in http://www.mathworks.com/matlabcentral/answers/111945#answer_120468. And we went all over this calibration stuff in that thread, before you started this duplicate one. Apparently "codes" do not help u. But I'm not sure you even have an image. It looks like you have some kind of laser scanner system.

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

추가 답변 (0개)

카테고리

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