How to convert pixel value into mm?

2 次查看(过去 30 天)
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.

回答(1 个)

Walter Roberson
Walter Roberson 2012-12-5
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 个评论
Image Analyst
Image Analyst 2012-12-5
We really need to put this into the FAQ since we have to answer it about every week.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by