个matlab界面设计

个matlab界面设计

ID:16172625

大小:19.12 KB

页数:50页

时间:2018-08-08

个matlab界面设计_第1页
个matlab界面设计_第2页
个matlab界面设计_第3页
个matlab界面设计_第4页
个matlab界面设计_第5页
资源描述:

《个matlab界面设计》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、实例72:图像分析(1)h0=figure('toolbar','none',...'position',[19856350468],...'name','实例72');h1=axes('parent',h0,...'position',[0.250.450.50.5],...'visible','off');I=imread('rice.tif');imshow(I)k=0;b1=uicontrol('parent',h0,...'units','points',...'tag','b1',...

2、'style','pushbutton',...'string','图像轮廓图',...'backgroundcolor',[0.750.750.75],...'position',[201006020],...'callback',[...'cla,',...'k=1;,',...'I=imread(''rice.tif'');,',...'imcontour(I)']);b2=uicontrol('parent',h0,...'units','points',...'tag','b2',...'

3、style','pushbutton',...'string','SOBEL边界图',...'backgroundcolor',[0.750.750.75],...'position',[1001006020],...'callback',[...'cla,',...'k=2;,',...'I=imread(''rice.tif'');,',...'BW=edge(I,''sobel'');,',...'imshow(BW)']);b3=uicontrol('parent',h0,...'units

4、','points',...'tag','b3',...'style','pushbutton',...'string','CANNY边界图',...'backgroundcolor',[0.750.750.75],...'position',[1801006020],...'callback',[...'cla,',...'k=3;,',...'I=imread(''rice.tif'');,',...'BW=edge(I,''canny'');,',...'imshow(BW)']);b4=ui

5、control('parent',h0,...'units','points',...'tag','b4',...'style','pushbutton',...'string','灰度调整',...'backgroundcolor',[0.750.750.75],...'position',[20506020],...'callback',[...'cla,',...'k=4;,',...'I=imread(''rice.tif'');,',...'J=imadjust(I,[0.150.9],[

6、01]);,',...'imshow(J,64)']);b5=uicontrol('parent',h0,...'units','points',...'tag','b5',...'style','pushbutton',...'string','图像柱状图',...'backgroundcolor',[0.750.750.75],...'position',[180506020],...'callback',[...'ifk==0,',...'figure,',...'imhist(I,64),'

7、,...'end,',...'ifk==1,',...'imhist(I,64),',...'end,',...'ifk==2,',...'imhist(BW,64),',...'end,',...'ifk==3,',...'imhist(BW,64),',...'end,',...'ifk==4,',...'imhist(J),',...'end']);b6=uicontrol('parent',h0,...'units','points',...'tag','b6',...'style','pu

8、shbutton',...'string','关闭',...'backgroundcolor',[0.750.750.75],...'position',[100506020],...'callback','close');实例73:过滤图像h0=figure('toolbar','none',...'position',[19856350468],...'name','实例73');h1=axes('parent',h0,...'position',[0.250.4

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。