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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? matlabprocessor3.txt

?? matlab實例程序百例3 matlab實例
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
實例72:圖像分析(1)

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實例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','灰度調整',...
    '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','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 50 60 20],...
    'callback','close');
實例73:過濾圖像

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實例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','自適應過濾',...
    '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','關閉',...
    'fontsize',15,...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[90 50 70 30],...
    'callback','close');
實例74:圖像的區域處理

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實例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','區域過濾一',...
    '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','區域過濾二',...
    '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','區域填充',...
    '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','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[90 50 70 30],...
    'callback','close');
實例75:圖像的顏色處置

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實例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','顏色抖動',...
    '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','顏色轉換一',...
    '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','關閉',...
    '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','顏色轉換三',...
    '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','顏色轉換二',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[30 50 50 20],...
    'callback',[...
        'cla,',...
        'I=imread(''flowers.tif'');,',...
        'J=rgb2hsv(I);,',...
        'imshow(J)']);
實例76:交換顯示圖像

h0=figure('toolbar','none',...
    'position',[198 56 500 500],...
    'name','實例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(''單擊鼠標左鍵點取需要的點''),',...
        'disp(''單擊鼠標右鍵確定最后一個點''),',...
        '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','關閉',...
    'backgroundcolor',[0.753 0.753 0.753],...
    'tag','u2',...
    'callback','close');
實例77:矢量數據的顯示

h0=figure('toolbar','none',...
    'position',[198 56 450 468],...
    'name','實例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','關閉',...
    'position',[125 60 60 20],...
    'callback','close'); 
實例78:圖像分析(2)

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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一卡2卡三卡4卡5免费| 国产性色一区二区| 国产欧美日韩不卡免费| 亚洲精品第一国产综合野| 裸体一区二区三区| 99久久er热在这里只有精品66| 99综合电影在线视频| 9191久久久久久久久久久| 久久精品人人爽人人爽| 蜜乳av一区二区三区| 欧美婷婷六月丁香综合色| 一区精品在线播放| 国产精品亚洲视频| 7777精品伊人久久久大香线蕉的| 久久蜜臀中文字幕| 色狠狠一区二区| 国产精品中文字幕日韩精品| 在线视频中文字幕一区二区| 精品国产一二三| 成人av综合一区| 精品国产免费人成电影在线观看四季| 欧美网站一区二区| 国产精品国产三级国产普通话蜜臀| 国产精品污www在线观看| 日本欧美一区二区| 欧美一区午夜视频在线观看| 亚洲图片有声小说| 欧美系列日韩一区| 亚洲成av人片在线观看无码| 一本色道久久综合精品竹菊| 自拍偷拍国产亚洲| 91麻豆国产自产在线观看| 国产精品美女一区二区三区| 粗大黑人巨茎大战欧美成人| 国产精品免费aⅴ片在线观看| 中文字幕乱码亚洲精品一区| 免费成人在线视频观看| 91精品国产手机| 韩国一区二区视频| 精品久久久久久亚洲综合网| 狠狠色综合色综合网络| 精品国产乱码久久久久久影片| 18成人在线视频| 一本色道久久综合亚洲aⅴ蜜桃| 精品视频123区在线观看| 五月天丁香久久| 欧美日韩国产bt| 久久精品国产久精国产爱| 精品免费国产二区三区| 国产精品18久久久久久久久久久久| 99在线精品免费| 亚洲一级二级三级在线免费观看| 久久91精品久久久久久秒播| 久久久久久一二三区| 国产91丝袜在线观看| 亚洲欧洲精品一区二区精品久久久 | 色综合视频在线观看| 亚洲精品成人a在线观看| 91精品国产高清一区二区三区 | 粉嫩欧美一区二区三区高清影视 | 国产亚洲人成网站| proumb性欧美在线观看| 性做久久久久久| 久久丝袜美腿综合| 色诱视频网站一区| 日韩精品色哟哟| 国产亚洲欧洲一区高清在线观看| 婷婷综合五月天| 久久久www成人免费毛片麻豆 | 91精品欧美一区二区三区综合在 | 日产精品久久久久久久性色| 26uuu久久天堂性欧美| 99久久综合狠狠综合久久| 日本不卡一区二区| 亚洲欧洲精品一区二区三区不卡| 国产精品亚洲人在线观看| 亚洲精品国产无天堂网2021| 精品国产sm最大网站| 欧美性xxxxxxxx| 国产a久久麻豆| 免费成人美女在线观看| 一区二区三区精品在线| 国产日韩一级二级三级| 67194成人在线观看| 波多野结衣在线一区| 狠狠色综合播放一区二区| 欧美一级片免费看| 国产亚洲欧洲一区高清在线观看| 91免费看片在线观看| 亚洲成人午夜影院| 国产精品久久久久久久久搜平片 | av毛片久久久久**hd| 老司机午夜精品| 亚洲乱码一区二区三区在线观看| 91丝袜国产在线播放| 黄网站免费久久| 美女视频黄 久久| 亚洲国产欧美在线人成| 国产精品精品国产色婷婷| 欧美成人女星排名| 欧美一区二区在线播放| 欧美老女人在线| 欧美性色黄大片| 欧美自拍偷拍一区| 91精品福利视频| 色一情一乱一乱一91av| 91视频你懂的| 91丨九色porny丨蝌蚪| 99久久综合国产精品| 91影院在线观看| 91在线精品一区二区三区| www.欧美亚洲| 色婷婷综合久久| 在线视频国内自拍亚洲视频| 91丨九色丨蝌蚪富婆spa| 日本韩国欧美在线| 欧美视频日韩视频在线观看| 欧美亚洲国产一区二区三区va| 午夜久久久影院| 丝袜美腿高跟呻吟高潮一区| 日韩av一区二| 国精品**一区二区三区在线蜜桃| 中文在线一区二区| 国产精品女主播在线观看| 欧美国产成人精品| 亚洲色欲色欲www| 一区二区三区四区视频精品免费| 欧美一级黄色大片| 欧美成人艳星乳罩| 午夜精品久久久久久不卡8050| 91麻豆精品国产无毒不卡在线观看| 韩国女主播成人在线观看| 国产中文字幕一区| 国产一区二区三区在线观看免费 | 在线一区二区观看| 欧美精品国产精品| 欧美精品一区二区三区在线播放| 成人中文字幕在线| 欧美熟乱第一页| 久久伊人中文字幕| 国产亚洲精品aa午夜观看| 中文字幕一区二区三区在线不卡| 天天色天天操综合| 美女一区二区久久| 国产高清亚洲一区| 欧美在线观看一区二区| 欧美日韩国产另类一区| 欧美va亚洲va| 国产精品久久久久久亚洲毛片| 精品999久久久| 亚洲老妇xxxxxx| 美国一区二区三区在线播放| 成人av一区二区三区| 6080yy午夜一二三区久久| 久久久精品黄色| 亚洲图片欧美色图| 国产乱码精品一区二区三区av| 日韩成人av影视| 国产69精品久久久久毛片| 91久久人澡人人添人人爽欧美| 国产69精品久久777的优势| 色婷婷久久一区二区三区麻豆| 不卡视频在线看| 欧美tickling网站挠脚心| 国产精品的网站| 久久 天天综合| 欧美日韩成人在线| 成人免费在线播放视频| 狠狠色狠狠色综合系列| 欧美色网站导航| 最近日韩中文字幕| 国产精品综合二区| 欧美日本一区二区三区| 国产精品美女久久久久久久网站| 国产精品视频你懂的| 日韩激情一区二区| 91麻豆视频网站| 国产精品三级av| 国产在线精品一区二区夜色 | 日韩精品欧美精品| 91免费视频观看| 国产精品久久久久久亚洲伦| 精品一区二区三区免费播放| 欧美视频完全免费看| 亚洲色图欧美在线| av一区二区不卡| 国产欧美精品一区二区色综合| 亚洲欧洲日韩在线| 成人h动漫精品一区二区| 久久亚洲一级片| 久久精品噜噜噜成人av农村| 欧美日韩美少妇| 午夜av一区二区三区| 色欲综合视频天天天| 亚洲激情校园春色| 日本国产一区二区| 亚洲免费观看高清完整版在线观看| 亚洲成精国产精品女| 色婷婷综合五月| 亚洲国产视频一区二区|