matlab imshow 去掉白边

% imshow(I);

[x,y,z] = size(I);

imshow(I,'border','tight','initialmagnification','fit');

axis normal;

set (gcf,'Position',[0,0,x,y]);

你可能感兴趣的:(图像处理)