How to convert area of blobs in pixels to meters?

4 views (last 30 days)
I want to convert the area of blobs which is in pixels to meters. How to do this?
Thanks in advance.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Dec 2019
Edited: Walter Roberson on 3 Dec 2019
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 Comments
Walter Roberson
Walter Roberson on 4 Dec 2019
Edited: Walter Roberson on 4 Dec 2019
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!