https://www.mathworks.com/help/images/ref/imref2d.sizesmatch.html
sizesMatch - Determine if object and image are size-compatible - MATLAB
This MATLAB function returns True if the size of image A is consistent with the ImageSize property of spatial referencing object R.
determineobjectimagesizecompatible
https://jp.mathworks.com/help/map/ref/map.rasterref.geographiccellsreference.sizesmatch.html
sizesMatch - Determine if geographic or map raster object and image or raster are size-compatible -...
This MATLAB function determines whether geographic or map raster R is size-compatible with image or raster A.
https://it.mathworks.com/help/map/ref/map.rasterref.geographiccellsreference.sizesmatch.html
sizesMatch - Determine if geographic or map raster object and image or raster are size-compatible -...
This MATLAB function determines whether geographic or map raster R is size-compatible with image or raster A.