2D array image(x,y) when shown by using "imshow" command is shown as a matrix so that the first pixel value appears at the left top corner. This code rotates and flips the 2D array image(x,y) so that when the image is shown by using the command "imshow", the coordinates begin at (x=0,y=0) in the bottom left corner which is more conventional for physical coordinate system
Tatiana Latychevskaia (2022). imshow for x,y images (https://www.mathworks.com/matlabcentral/fileexchange/104055-imshow-for-x-y-images), MATLAB Central File Exchange. 검색됨 .