How do I change the resolution of an image produced by imagesc?
Show older comments
How can I change the resolution of the image part of the figure produced by imagesc? I was going to try using imresize but I can't figure out how to make it work. I'm trying to purposefully reduce the quality of a data set as part of a simulation.
1 Comment
Ross Brain
on 11 Apr 2015
Accepted Answer
More Answers (1)
Chris McComb
on 10 Apr 2015
To use imresize, you first read the image in:
a = imread('image.jpg');
Then, you apply imresize as follows (for example to reduce resolution by 50%):
b = imresize(a, 0.5);
Your reduced image is stored to b.
1 Comment
Ross Brain
on 11 Apr 2015
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!

