필터 지우기
필터 지우기

How to convert area of blobs in pixels to meters?

조회 수: 2 (최근 30일)
swati mane
swati mane 2019년 12월 3일
댓글: swati mane 2019년 12월 4일
I want to convert the area of blobs which is in pixels to meters. How to do this?
Thanks in advance.

채택된 답변

Walter Roberson
Walter Roberson 2019년 12월 3일
편집: Walter Roberson 2019년 12월 3일
Multiply the area by the height each pixel represents in meters, and by the width each pixel represents in meters, to get a result.
If the image is non-linear so that the heights and widths represented by the pixels are not constant, then you need to linearize first.
The difficult part of the task can be figuring out what heights and widths are represented by the pixels. Unless you have good quality information about the aperature and distance (or equivalent information) then you will typically need an object of known size in the field of view. If you are taking pictures of scenes you will typically need either at least two cameras (stereo) or else a second information channel that is measuring depth (such as laser, ultrasonic)
Note: if you have EXIF information that contains resolution information.. ignore it. Unless, that is, you are working with an instrument created specifically as a science device, in which case possibly it might be meaningful... but usually it is not.
  댓글 수: 3
Walter Roberson
Walter Roberson 2019년 12월 4일
편집: Walter Roberson 2019년 12월 4일
You need stereo registration for that. Because of perspective, not all positions in the picture represent equal distances, so covering a certain area in one part of the image represents a different area than if the same number of pixels are covered in a different part of the image.
swati mane
swati mane 2019년 12월 4일
ok Sir. Thank you.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by