How to know how many pixels are a millimeter in my image?
9 views (last 30 days)
Show older comments
I got some dimensions in pixels from the image below (for example TotalArea=520000 pixels). I need to convert my dimensions from pixel to millimeters. I'm a newbie in matlab and I don't know where to start with this. I've already made the calibration with the Camera Calibrator provided by Matlab and I've obtained two folders:
- CameraParameters
- EstimationError
The image is the following:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1582151/image.png)
0 Comments
Answers (1)
Matt J
on 4 Jan 2024
You need to know the length in millimeters of a particular object or feature in the image to make that conversion.
7 Comments
Image Analyst
on 4 Jan 2024
@DGM right. I mentioned shadows and background flattening to him in his other question but he just said I was criticizing his question and he didn't want any more help from me. Too bad. With my 45 years experience designing imaging systems and image analysis software I could have been helpful.
See Also
Categories
Find more on MATLAB Support Package for IP Cameras 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!