I specifically neeed to save my images in 1024 by 768 but can't figure out how. trusize is too large for my screen so it automatically gets resized to 56% of its original size when i use it with getframe.Im trying to get homogenously grey images of decreasing grey to get the full gray spectrum for a gamma calibratiin and just cant save the resolution. This has been pretty wordy but any help wuld be greatly appreciated! Andy
for ii = 1:4:grayscales;
Img = 0 + (ii - 1); figure('ColorMap', gray(256)); image(Img);axis equal; axis tight; axis off; truesize(gcf,[1024 768]); Image = getframe(gcf); %imwrite(Image.cdata,['gray',num2str(ii),'.tiff'], 'Resolution', [500]);
imwrite(Image.cdata,['gray',num2str(ii),'.bmp']); close all
Best Answer