How can I make use of the full window size when zooming into very tall images?
When zooming into an image with a hight aspect ratio (heigth much larger than its width), the displayed image is constrained to the area that was used with the original imshow command and the rest of the window remains unused. How can I make use of the full window size?
Example (normally imtall would be a linescan camera image of size 10000 by 512 pixels but this demonstrates my problem pretty well):
im=imread(‘cameraman.tif’);
imtall=repmat(im,11,1); % size 2816 by 256
imshow(imtall)
zoom(10)
There would be enough space to the left and right side in the window to display the full cameraman:When zooming into an image with a hight aspect ratio (heigth much larger than its width), the displayed image is constrained to the area that was used with the original imshow command and the rest of the window remains unused. How can I make use of the full window size?
Example (normally imtall would be a linescan camera image of size 10000 by 512 pixels but this demonstrates my problem pretty well):
im=imread(‘cameraman.tif’);
imtall=repmat(im,11,1); % size 2816 by 256
imshow(imtall)
zoom(10)
There would be enough space to the left and right side in the window to display the full cameraman: When zooming into an image with a hight aspect ratio (heigth much larger than its width), the displayed image is constrained to the area that was used with the original imshow command and the rest of the window remains unused. How can I make use of the full window size?
Example (normally imtall would be a linescan camera image of size 10000 by 512 pixels but this demonstrates my problem pretty well):
im=imread(‘cameraman.tif’);
imtall=repmat(im,11,1); % size 2816 by 256
imshow(imtall)
zoom(10)
There would be enough space to the left and right side in the window to display the full cameraman: imshow, zoom, aspect ratio MATLAB Answers — New Questions









