hi…i need to resize the images to 512×512 and then save the image….m using imwrite to save but it saving it as blank images…my code is as below…plz help asap..
a=imread('1.jpg');b=double(a)+1; %converting uint to double
c=imresize(b, [512 512]);imwrite(c,'1f.jpg');figure,imshow(a,[]);figure,imshow(c,[]);
Best Answer