How to resize and display an image......
Show older comments
Hi All,
So when i do imagesc(img); it shows an image as follows:

However i want it to be displayed like this :
[EDITED, Jan, above picture is too wide to be embedded]
The difference is that the latter has been resized using the image resizing handles (from the corners of the image). Just to emphasise, i mean these handles :
^^but when applied to a figure in MATLAB.
I know i can do this manually but i want to incorporate this in my .m file and hence want to keep it automated.
Many thanks!!
Accepted Answer
More Answers (1)
Rui Zhao
on 20 Jun 2012
0 votes
doc imresize
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!