Problem in resizing the image
Show older comments
I resized the image to 300 * 300 using following code
im = imread('E:\flower1\img.jpg');
k=imresize(im,[300,300]);
imwrite(k,'E:/flower1/aa.jpg','jpg');
But when I read the image
>> x=imread('e:\flower1\aa.jpg');
[r1 c1]=size(x);
>> r1
r1 =
300
>> c1
c1 =
900
I am getting no of columns 900. Can anybody explain tell me why this is 900?
1 Comment
KSSV
on 15 Dec 2016
It should not happen...attach your image here..
Accepted Answer
More Answers (0)
Categories
Find more on Read, Write, and Modify Image 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!