亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? matlab實(shí)用程序百例3.txt

?? 使用程序代碼非常實(shí)用的
?? TXT
?? 第 1 頁 / 共 5 頁
字號(hào):
實(shí)例72:圖像分析(1)

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實(shí)例72');
h1=axes('parent',h0,...
    'position',[0.25 0.45 0.5 0.5],...
    'visible','off');
I=imread('rice.tif');
imshow(I)
k=0;
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','圖像輪廓圖',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 100 60 20],...
    'callback',[...
        'cla,',...
        'k=1;,',...
        'I=imread(''rice.tif'');,',...
        'imcontour(I)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','SOBEL邊界圖',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 100 60 20],...
    'callback',[...
        'cla,',...
        'k=2;,',...
        'I=imread(''rice.tif'');,',...
        'BW=edge(I,''sobel'');,',...
        'imshow(BW)']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','CANNY邊界圖',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[180 100 60 20],...
    'callback',[...
       'cla,',...
        'k=3;,',...
        'I=imread(''rice.tif'');,',...
        'BW=edge(I,''canny'');,',...
        'imshow(BW)']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'string','灰度調(diào)整',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[20 50 60 20],...
    'callback',[...
        'cla,',...
        'k=4;,',...
        'I=imread(''rice.tif'');,',...
        'J=imadjust(I,[0.15 0.9],[0 1]);,',...
        'imshow(J,64)']);
b5=uicontrol('parent',h0,...
    'units','points',...
    'tag','b5',...
    'style','pushbutton',...
    'string','圖像柱狀圖',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[180 50 60 20],...
    'callback',[...
        'if k==0,',...
        'figure,',...
        'imhist(I,64),',...
        'end,',...
        'if k==1,',...
        'imhist(I,64),',...
        'end,',...
        'if k==2,',...
        'imhist(BW,64),',...
        'end,',...
        'if k==3,',...
        'imhist(BW,64),',...
        'end,',...
        'if k==4,',...
        'imhist(J),',...
        'end']);
b6=uicontrol('parent',h0,...
    'units','points',...
    'tag','b6',...
    'style','pushbutton',...
    'string','關(guān)閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 50 60 20],...
    'callback','close');
實(shí)例73:過濾圖像

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實(shí)例73');
h1=axes('parent',h0,...
    'position',[0.25 0.45 0.5 0.5],...
    'visible','off');
I=imread('eight.tif');
imshow(I)
u1=uimenu('parent',h0,...
    'tag','u1',...
    'label','添加噪聲',...
    'backgroundcolor',[0.75 0.75 0.75]);
u11=uimenu('parent',u1,...
    'tag','u11',...
    'label','SALT&PEPPER噪聲',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'callback',[...
        'set(u11,''checked'',''on'');,',...
        'set(u12,''checked'',''off'');,',...
        'cla,',...
        'I=imnoise(I,''salt & pepper'',0.02);,',...
        'imshow(I)']);
u12=uimenu('parent',u1,...
    'tag','u12',...
    'label','GAUSSIAN噪聲',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'callback',[...
        'set(u12,''checked'',''on'');,',...
        'set(u11,''checked'',''off'');,',...
        'cla,',...
        'I=imnoise(I,''gaussian'',0,0.005);,',...
        'imshow(I)']);
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','均平過濾',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[30 100 50 20],...
    'callback',[...
        'cla,',...
        'J=filter2(fspecial(''average'',3),I)/255;,',...
        'imshow(J)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','中值過濾',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 100 50 20],...
    'callback',[...
        'cla,',...
        'J=medfilt2(I,[3 3]);,',...
        'imshow(J)']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','自適應(yīng)過濾',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 100 50 20],...
    'callback',[...
        'cla,',...
        'J=wiener2(I,[5 5]);,',...
        'imshow(J)']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'string','關(guān)閉',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[90 50 70 30],...
    'callback','close');
實(shí)例74:圖像的區(qū)域處理

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實(shí)例74');
h1=axes('parent',h0,...
    'position',[0.25 0.45 0.5 0.5],...
    'visible','off');
I=imread('trees.tif');
imshow(I)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','區(qū)域過濾一',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[30 100 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''trees.tif'');,',...
        'imshow(I),',...
        'BW=roipoly;,',...
        'h=fspecial(''unsharp'');,',...
        'I2=roifilt2(h,I,BW);,',...
        'imshow(I2)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','區(qū)域過濾二',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 100 50 20],...
    'callback',[...
        'cla,',...
        'BW=imread(''text.tif'');,',...
        'f=inline(''imadjust(x,[],[],0.01)'');,',...
        'I2=roifilt2(I,BW,f);,',...
        'imshow(I2)']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','區(qū)域填充',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 100 50 20],...
    'callback',[...
        'cla,',...
        'load trees,',...
        'I=ind2gray(X,map);,',...
        'imshow(I),',...
        'I2=roifill;,',...
        'imshow(I2)']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'string','關(guān)閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[90 50 70 30],...
    'callback','close');
實(shí)例75:圖像的顏色處置

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實(shí)例75');
h1=axes('parent',h0,...
    'position',[0.12 0.45 0.75 0.5],...
    'visible','off');
I=imread('flowers.tif');
imshow(I)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','減少顏色',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[30 100 50 20],...
    'callback',[...
        'cla,',...
        '[X,map]=imread(''flowers.tif'');,',...
        '[Y,map2]=imapprox(X,map,64);,',...
        'image(Y),',...
        'colormap(map2)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','顏色抖動(dòng)',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 100 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''flowers.tif'');,',...
        '[X,map]=rgb2ind(I,128,''nodither'');,',...
        'imshow(X)']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','顏色轉(zhuǎn)換一',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 100 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''flowers.tif'');,',...
        'Y=rgb2ntsc(I);,',...
        'J=Y(:,:,1);,',...
        'imshow(J)']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'string','關(guān)閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 50 50 20],...
    'callback','close');
b5=uicontrol('parent',h0,...
    'units','points',...
    'tag','b5',...
    'style','pushbutton',...
    'string','顏色轉(zhuǎn)換三',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 50 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''flowers.tif'');,',...
        'J=rgb2ycbcr(I);,',...
        'imshow(J)']);
b6=uicontrol('parent',h0,...
    'units','points',...
    'tag','b6',...
    'style','pushbutton',...
    'string','顏色轉(zhuǎn)換二',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[30 50 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''flowers.tif'');,',...
        'J=rgb2hsv(I);,',...
        'imshow(J)']);
實(shí)例76:交換顯示圖像

h0=figure('toolbar','none',...
    'position',[198 56 500 500],...
    'name','實(shí)例76');
h1=axes('parent',h0,...
    'position',[0.15 0.5 0.7 0.5],...
    'visible','off');
u1=uimenu('parent',h0,...
    'label','加載圖像',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'tag','u1',...
    'callback',[...
        '[X,map]=imread(''800.jpg'',''jpg'');,',...
        'Y=imresize(X,2);,',...
        'image(Y),',...
        'colormap(map),',...
        'axis image,',...
        'camva(camva/2.5),',...
        'disp(''單擊鼠標(biāo)左鍵點(diǎn)取需要的點(diǎn)''),',...
        'disp(''單擊鼠標(biāo)右鍵確定最后一個(gè)點(diǎn)''),',...
        'while 1,',...
        '[x,y]=ginput(1);,',...
        'if ~strcmp(get(gcf,''selectiontype''),''normal''),',...
        'break,',...
        'end,',...
        'ct=camtarget;,',...
        'dx=x-ct(1);,',...
        'dy=y-ct(2);,',...
        'camdolly(dx,dy,ct(3),''movetarget'',''data''),',...
        'drawnow,',...
        'end']);
u2=uimenu('parent',h0,...
    'label','關(guān)閉',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'tag','u2',...
    'callback','close');
實(shí)例77:矢量數(shù)據(jù)的顯示

h0=figure('toolbar','none',...
    'position',[198 56 450 468],...
    'name','實(shí)例77');
h1=axes('parent',h0,...
    'position',[0.3 0.45 0.5 0.5],...
    'visible','off');
load wind
b1huidiao=[...
        'cla,',...
        'xmin = min(x(:));,',...
        'xmax = max(x(:));,',...
        'ymax = max(y(:));,',...
        'zmin = min(z(:));,',...
        'wind_speed = sqrt(u.^2 + v.^2 + w.^2);,',...
        'hsurfaces = slice(x,y,z,wind_speed,[xmin,100,xmax],ymax,zmin);,',...
        'set(hsurfaces,''FaceColor'',''interp'',''EdgeColor'',''none''),',...
        'hcont = contourslice(x,y,z,wind_speed,[xmin,100,xmax],ymax,zmin);,',...
        'set(hcont,''EdgeColor'',[.7,.7,.7],''LineWidth'',.5),',...
        '[sx,sy,sz] = meshgrid(80,20:10:50,0:5:15);,',...
        'hlines = streamline(x,y,z,y,v,w,sx,sy,sz);,',...
        'set(hlines,''LineWidth'',2,''Color'',''r''),',...
        'view(3),',...
        'daspect([2,2,1]),',...
        'axis tight'];
b2huidiao=[...
        'cla,',...
        'wind_speed = sqrt(u.^2 + v.^2 + w.^2);,',...
        'hiso = patch(isosurface(x,y,z,wind_speed,40));,',...
        'isonormals(x,y,z,wind_speed,hiso),',...
        'set(hiso,''FaceColor'',''red'',''EdgeColor'',''none'');,',...
        'hcap = patch(isocaps(x,y,z,wind_speed,40),''FaceColor'',''interp'',''EdgeColor'',''none'');,',...
        'colormap hsv,',...
        'daspect([1,1,1]);,',...
        '[f verts] = reducepatch(isosurface(x,y,z,wind_speed,30),0.07);,',...
        'h1 = coneplot(x,y,z,u,v,w,verts(:,1),verts(:,2),verts(:,3),3);,',...
        'set(h1,''FaceColor'',''blue'',''EdgeColor'',''none'');,',...
        'xrange = linspace(min(x(:)),max(x(:)),10);,',...
        'yrange = linspace(min(y(:)),max(y(:)),10);,',...
        'zrange = 3:4:15;,',...
        '[cx,cy,cz] = meshgrid(xrange,yrange,zrange);,',...
        'h2 = coneplot(x,y,z,u,v,w,cx,cy,cz,2);,',...
        'set(h2,''FaceColor'',''green'',''EdgeColor'',''none'');,',...
        'axis tight,',...
        'box on,',...
        'camproj perspective,',...
        'camzoom(1.25),',...
        'view(65,45),',...
        'camlight(-45,45),',...
        'lighting phong,',...
        'set(hcap,''AmbientStrength'',.6)'];
b1=uicontrol('parent',h0,...
    'style','pushbutton',...
    'units','points',...
    'tag','b1',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'string','可視化',...
    'position',[50 100 60 20],...
    'callback',b1huidiao);
b2=uicontrol('parent',h0,...
    'style','pushbutton',...
    'units','points',...
    'tag','b2',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'string','錐形圖',...
    'position',[200 100 60 20],...
    'callback',b2huidiao);
b3=uicontrol('parent',h0,...
    'style','pushbutton',...
    'units','points',...
    'tag','b3',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'string','關(guān)閉',...
    'position',[125 60 60 20],...
    'callback','close'); 
實(shí)例78:圖像分析(2)

h0=figure('toolbar','none',...
    'position',[198 56 350 468],... 
    'name','實(shí)例78');
h1=axes('parent',h0,...
    'position',[0.25 0.45 0.5 0.5],...
    'visible','off');
load imdemos flower
imshow(flower)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
综合久久给合久久狠狠狠97色 | 欧美精品vⅰdeose4hd| 激情综合色综合久久综合| 一区二区三区美女视频| 日韩理论电影院| 亚洲国产精品传媒在线观看| 精品国产91久久久久久久妲己| 日韩亚洲欧美综合| 精品国产一区二区精华| 精品国产在天天线2019| 国产亚洲一区二区三区四区| 国产欧美日韩精品一区| 国产精品福利一区二区三区| 国产精品乱码久久久久久| 综合久久综合久久| 天天色天天操综合| 国内久久婷婷综合| 99视频精品在线| 欧美日韩国产片| 精品国产区一区| 国产精品久久久久久久久久久免费看 | 精品一区二区三区在线观看国产| 久久成人免费电影| 成人av网站在线观看| 99re亚洲国产精品| 欧美日韩国产在线观看| 91精品中文字幕一区二区三区| 欧美精品一区视频| 夜夜嗨av一区二区三区中文字幕 | 国产综合色在线| 成人一区二区三区视频在线观看| 91视视频在线观看入口直接观看www | 欧美中文字幕一二三区视频| 91精品免费观看| 欧美韩国一区二区| 偷拍亚洲欧洲综合| 成人美女视频在线观看| 欧美日韩黄视频| 国产女人18毛片水真多成人如厕| 亚洲午夜精品17c| 国产成人免费网站| 欧美三级日韩三级国产三级| 久久免费精品国产久精品久久久久| 成人欧美一区二区三区黑人麻豆 | 国产东北露脸精品视频| 欧美在线观看视频在线| 欧美精品一区二区三区视频| 一区二区三区蜜桃网| 国产精品99久久久| 666欧美在线视频| 亚洲视频 欧洲视频| 激情五月婷婷综合| 91精品国产一区二区人妖| 中文字幕色av一区二区三区| 久久精品国产99国产| 欧美专区日韩专区| 亚洲女同ⅹxx女同tv| 国产资源在线一区| 欧美mv和日韩mv国产网站| 亚洲一区二区三区视频在线 | 久久精品国产亚洲高清剧情介绍 | 亚洲品质自拍视频| 国产69精品一区二区亚洲孕妇| 欧美高清你懂得| 一区二区三区在线视频免费观看| 成人黄色小视频在线观看| 精品国产免费人成电影在线观看四季 | 亚洲欧美电影院| www.亚洲在线| 国产女同性恋一区二区| 国产成人免费xxxxxxxx| 久久久91精品国产一区二区精品| 九九视频精品免费| 久久综合九色综合97_久久久| 日韩高清不卡在线| 精品美女被调教视频大全网站| 日本成人在线看| 欧美一区二区三区电影| 六月丁香婷婷色狠狠久久| 日韩三级在线观看| 久久99久久99小草精品免视看| 欧美一区二区三区啪啪| 美女任你摸久久| 久久久久久久综合| jlzzjlzz国产精品久久| 中文字幕一区二区三区在线不卡| av亚洲精华国产精华精| 一区二区在线免费观看| 欧美乱妇23p| 国产精品影视网| 国产精品理论在线观看| 色综合久久久久综合体| 亚洲一区二区在线视频| 日韩一区二区中文字幕| 国产一区二区三区黄视频 | 91久久久免费一区二区| 亚洲综合视频在线观看| 欧美电影影音先锋| 国产一区欧美二区| 亚洲人成伊人成综合网小说| 欧美午夜精品久久久久久超碰| 日本欧美加勒比视频| 久久精品亚洲国产奇米99| 91视频在线看| 日韩福利视频网| 国产精品理论片在线观看| 欧美日韩日日骚| 国产成人三级在线观看| 亚洲欧美一区二区视频| 91麻豆精品国产91久久久资源速度 | 亚洲免费资源在线播放| 欧美男人的天堂一二区| 国产一区二区三区综合| 亚洲欧美激情在线| 日韩精品在线一区| 91同城在线观看| 久久精品999| 亚洲一区在线视频观看| 国产日产欧美一区| 91精品国产综合久久精品性色| 国产电影精品久久禁18| 亚洲3atv精品一区二区三区| 中文字幕二三区不卡| 日韩三级电影网址| 色老汉一区二区三区| 成人性视频免费网站| 蜜桃91丨九色丨蝌蚪91桃色| 亚洲私人黄色宅男| 国产欧美日韩卡一| 欧美大肚乱孕交hd孕妇| 欧美亚洲动漫另类| eeuss鲁一区二区三区| 激情五月婷婷综合网| 亚洲va在线va天堂| 最近日韩中文字幕| 国产亚洲精品bt天堂精选| 欧美精品黑人性xxxx| 在线日韩一区二区| 99re亚洲国产精品| 成人免费视频一区二区| 国产一区三区三区| 九色|91porny| 久久99精品国产.久久久久久 | 国产成人综合亚洲91猫咪| 美女性感视频久久| 麻豆91在线观看| 日精品一区二区三区| 亚洲综合色视频| 国产精品成人一区二区三区夜夜夜| 久久久久久久久久久久久夜| 精品国内二区三区| 精品久久久久久久人人人人传媒| 欧美一区二区视频网站| 6080日韩午夜伦伦午夜伦| 91麻豆精品国产91久久久久久| 欧美日韩在线精品一区二区三区激情 | 国内精品自线一区二区三区视频| 免费成人小视频| 久久91精品国产91久久小草| 麻豆精品视频在线观看视频| 蜜桃一区二区三区在线观看| 美国十次了思思久久精品导航| 久久精品国产99国产| 国产乱妇无码大片在线观看| 国产成人av在线影院| 不卡免费追剧大全电视剧网站| 色婷婷综合久久久久中文一区二区| 在线欧美日韩精品| 欧美一区二区三区在线| 2017欧美狠狠色| 国产精品短视频| 午夜影院在线观看欧美| 狠狠色综合播放一区二区| 不卡的电影网站| 欧美日韩电影在线播放| 精品国产乱码久久久久久浪潮 | 成人激情图片网| 91蜜桃在线免费视频| 欧美四级电影网| 精品国产污网站| 亚洲视频一区二区在线| 五月婷婷久久综合| 国产精品一二三| 一本色道综合亚洲| 精品国精品国产| 亚洲精品国产a| 狠狠色综合色综合网络| 91国偷自产一区二区开放时间 | 在线免费观看成人短视频| 日韩一级二级三级| 亚洲欧洲av在线| 美国欧美日韩国产在线播放| 春色校园综合激情亚洲| 欧美日韩国产一二三| 久久久精品影视| 天天操天天综合网| 91影院在线免费观看| 精品日韩在线一区| 亚洲va欧美va人人爽午夜| 成人精品视频一区二区三区尤物|