problem in image resizing when shown in axes?
4 views (last 30 days)
Show older comments
Mansoor ahmadi on 14 Jan 2015
Commented: Sean de Wolski on 15 Jan 2015
I want to resize the image to 50x50 pixels. Then I show it in an axes(I have a user interface and axes placed on my interface), but it does not seem normal -- the resized image lost its resolution.
This is my code:
image = imread('2.jpg');
resizeIm = imresize(image,[50 50]);
Please see the the two images I attached. You will know.
Sean de Wolski on 14 Jan 2015
How big was the original? Of course it's going to lose resolution if you remove pixels (i.e. 50x50 is smaller than what you started with).
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!