I am using some previously developed image processing code in order to calculate some area moments of inertia. In order to use the previously developed code, I have to plot my cross section, save it as a jpg, then upload that file and run the code on it. One portion of the code looks for the resolution (mm/pixel) of the cross sections. Is there a way to calculate the resolution from just the iminfo and the known size in mm of the cross section?
MATLAB: Resolution of a MATLAB-created JPG
figureimage processingiminforesolution
Best Answer