Image resize image in matlab
Show older comments
Hi, I am facing a blurring issue in the below code:
I = imread('waterframe-1.png');
I=imresize(I,[16 16]);
I=rgb2ycbcr(I);
I=ycbcr2rgb(I);
I=imresize(I,[256 256]);
I=ycbcr2rgb(I);
imshow(I);
Any help in this will be very highly appreciated
Thanks Mehwish
1 Comment
Jan
on 13 Jun 2013
You forgot to mention any dteilas about the problem. What exactly do you see and what do you expect?
Accepted Answer
More Answers (3)
Chandra Shekhar
on 13 Jun 2013
Edited: Chandra Shekhar
on 13 Jun 2013
0 votes
dont resize original image to [16 16] make it as it is.
follow following code to get more info
I = imread('waterframe-1.png');
I=imresize(I,[256 256]);
I=rgb2ycbcr(I);
I=ycbcr2rgb(I);
I=imresize(I,[256 256]);
I=ycbcr2rgb(I);
figure;imshow(I);
Mehwish
on 13 Jun 2013
0 votes
Mehwish
on 13 Jun 2013
0 votes
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!