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.
0 个评论
回答(1 个)
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
2012-12-5
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!