Effacer les filtres
Effacer les filtres

How to convert area of blobs in pixels to meters?

2 vues (au cours des 30 derniers jours)
swati mane
swati mane le 3 Déc 2019
Commenté : swati mane le 4 Déc 2019
I want to convert the area of blobs which is in pixels to meters. How to do this?
Thanks in advance.

Réponse acceptée

Walter Roberson
Walter Roberson le 3 Déc 2019
Modifié(e) : Walter Roberson le 3 Déc 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 commentaires
Walter Roberson
Walter Roberson le 4 Déc 2019
Modifié(e) : Walter Roberson le 4 Déc 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.
swati mane
swati mane le 4 Déc 2019
ok Sir. Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Feature Detection and Extraction dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by