How to convert pixel value into mm?

In my algorithm result, I am getting final circle diametr value in pixel I want to convert that into mm.How to go for this.

Réponses (1)

Walter Roberson
Walter Roberson le 5 Déc 2012

0 votes

You need to have additional information that tells you the conversion between pixels and mm. Most images do not have that information available, and many of the ones that do have it available in the headers are incorrect. You should only trust the headers in the case of calibrated scientific instruments.
The easiest way to proceed is to use the same conditions to take an image of an object with known size, and measure the pixel to size conversion from that.

1 commentaire

Image Analyst
Image Analyst le 5 Déc 2012
We really need to put this into the FAQ since we have to answer it about every week.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by