MATLAB: How to change pixel size

digital image processingspatial calibration

How do I specify pixel size in Matlab? Can I specify the calibration factor directly in the code? I would like to change the initial pixel size from 1mm to 0.29mm.
The image that I am analyzing does not have an object that I can calibrate.

Best Answer

Yes. You can define a calibration factor of 0.29 mm per pixel. Then just multiply your pixel measurements by 0.29 for lengths and 0.29^2 for areas.