![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/252307/image.png)
How to convert area of blobs in pixels to meters?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
swati mane
am 3 Dez. 2019
Kommentiert: swati mane
am 4 Dez. 2019
I want to convert the area of blobs which is in pixels to meters. How to do this?
Thanks in advance.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 3 Dez. 2019
Bearbeitet: Walter Roberson
am 3 Dez. 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/252307/image.png)
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 Kommentare
Walter Roberson
am 4 Dez. 2019
Bearbeitet: Walter Roberson
am 4 Dez. 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Feature Detection and Extraction finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!