Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2008-12-14
年龄: 38
帖子: 2
声望力: 0 ![]() |
![]()
case 1
WImage4=a1; WImage4(1:64,1:512)=512; %WImage4(224:256,1:256)=256; %WImage4(1:256,224:256)=256; %WImage4(1:256,1:32)=256; WImage4cl=mat2gray(WImage4); figure(2); subplot(1,1,1); %subplot(2,3,4); imshow(WImage4cl); title('部分剪切后图像'); figure(1); M1=WImage4cl; %M_1=uint8(M1); %imwrite(M_1,'cutpart.bmp','bmp'); 我只知道这个是图像剪切的程序,但是怎么剪切的却清楚,有哪位达人帮我解释一下这段程序啊。越详细越好。。 |
![]() |
![]() |