This essentially adds support for map projections to function imtransform from the Image Processing toolbox.
The demo demonstrates the reprojection of a geotiff, from geographic latitude and longitude to UTM coordinates.
If you just want to display an image as a figure in a different map projection, please refer to function geoshow from the Mapping Toolbox.
This was inspired by http://www.gdal.org/gdalwarp.html
Felipe G. Nievinski (2020). mimtransform (https://www.mathworks.com/matlabcentral/fileexchange/30270-mimtransform), MATLAB Central File Exchange. Retrieved .
Compute XYScale myself to avoid 'images:imtransform:warnForAutomaticScaleChange' warning newly introduced by MathWorks.