the resolution for one pixel

2 visualizzazioni (ultimi 30 giorni)
simira atraqi
simira atraqi il 27 Mar 2012
Hello, I have image in Matlab, how can I know the resolution for one pixel, if every pixel 1 mm or more, I mean how can I measure on the image. Thank you very much

Risposte (2)

Jan
Jan il 27 Mar 2012
You can't. An image is represented as a 3D RGB array, but there is no information about the resolution - usually.
If you think, that it is possible in theory to determine the resolution, please specify the expression "I have image in Matlab".

Image Analyst
Image Analyst il 27 Mar 2012
You have to measure some known thing in your image, such as a ruler or meter stick. Then calculate the number of pixels per mm, or mm per pixel. Then you have a calibration factor that you can divide or multiply respectively to get your answer in mm.

Community Treasure Hunt

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

Start Hunting!

Translated by