How to convert pixel value into mm?
4 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 5 Dec 2012
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 Comment
Image Analyst
on 5 Dec 2012
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!