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

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

?? matlab實用程序百例3.txt

?? 一些matlab運用中的實例
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
colormap(copper)
n=size(X,1);
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'');,',...
        'X=double(flower);,',...
        'X=(0.25/256)*X;,',...
        'C=copper(35);,',...
        'set(gca,''colororder'',C(21:35,:),''box'',''on'');,',...
        'imcontour(X,3);,',...
        'axis([1 n 1 n]),',...
        'axis(''ij''),',...
        'axis(''square'')']);
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,',...
        'D=-del2(X);,',...
        'pcolor(D),',...
        'axis([1 n 1 n]),',...
        'axis(''ij''),',...
        'shading(''flat'')']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','3D表面圖',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 100 50 20],...
    'callback',[...
        'cla,',...
        'D=-del2(X);,',...
        'surf(X,D),',...
        'colormap(copper),',...
        'axis([1 n 1 n 0 1]),',...
        'axis(''ij''),',...
        'shading(''flat''),',...
        'view(-20,75);']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[80 50 80 30],...
    'callback','close'); 
實例79:圖像邏輯操作

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實例79');
h1=axes('parent',h0,...
    'position',[0.25 0.45 0.5 0.5],...
    'visible','off');
load imdemos bacteria
imshow(bacteria)
k1=~(bacteria>100);
k2=filter2(fspecial('laplacian'),bacteria);
k3=(k2>-4)&k1;
k4=erode(k1)&(k3==0);
[r,c]=find(k4);
k5=bwselect(k1,c,r);
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','二值分割圖',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[30 110 50 20],...
    'callback',[...
        'cla,',...
        'imshow(k1)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','濾波結果圖',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 110 50 20],...
    'callback',[...
        'cla,',...
        'imshow(k2)']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','閾值化圖',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 110 50 20],...
    'callback',[...
        'cla,',...
        'imshow(k3)']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'string','目標的核',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[30 60 50 20],...
    'callback',[...
        'cla,',...
        'imshow(k4)']);
b5=uicontrol('parent',h0,...
    'units','points',...
    'tag','b5',...
    'style','pushbutton',...
    'string','目標分割圖',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 60 50 20],...
    'callback',[...
        'cla,',...
        'imshow(k5)']);
b6=uicontrol('parent',h0,...
    'units','points',...
    'tag','b6',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 60 50 20],...
    'callback','close');
實例80:進度條的使用

h0=figure('toolbar','none',...
    'position',[198 56 350 450],...
    'name','實例80');
h1=axes('parent',h0,...
    'position',[0.25 0.45 0.6 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',[50 80 60 25],...
    'callback',[...
        'handlek=waitbar(0,''initializing......'');,',...
        'pause(0.5),',...
        'i=1;,',...
        'while  i<=100,',...
        'waitbar(i/100,handlek,[num2str(i),''%finished''],handlek),',...
        'i=i+1;,',...
        'pause(0.05),',...
        'end,',...
        'pause(1.5),',...
        'cla,',...
        'delete(handlek),',...
        'Y=rgb2ntsc(I);,',...
        'J=Y(:,:,1);,',...
        'imshow(J)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','關閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[150 80 60 25],...
    'callback','close');
例81:MRI數據的顯示

load mri
D = squeeze(D);
h0=figure('toolbar','none',...
    'position',[198 56 450 468],...
    'name','實例81');
h1=axes('parent',h0,...
    'position',[0.3 0.45 0.5 0.5],...
    'visible','off');
image_num = 8;
image(D(:,:,image_num))
axis image
colormap(map)
x = xlim;
y = ylim;
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[50 100 60 20],...
    'string','二維圖',...
    'callback',[...
        'cla,',...
        'contourslice(D,[],[],image_num),',...
        'axis ij,',...
        'xlim(x),',...
        'ylim(y),',...
        'daspect([1,1,1]),',...
        'colormap(''default'')']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[250 100 60 20],...
    'string','三維圖',...
    'callback',[...
        'cla,',...
        'phandles = contourslice(D,[],[],[1,12,19,27],8);,',...
        'view(3);,',...
        'axis tight,',...
        'set(phandles,''LineWidth'',2)']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[50 50 60 20],...
    'string','立體圖',...
    'callback',[...
        'cla,',...
        'Ds = smooth3(D);,',...
        'hiso = patch(isosurface(Ds,5),''FaceColor'',[1,.75,.65],''EdgeColor'',''none'');,',...
        'hcap = patch(isocaps(D,5),''FaceColor'',''interp'',''EdgeColor'',''none'');,',...
        'colormap(map),',...
        'view(45,30),',...
        'axis tight,',...
        'daspect([1,1,.4]),',...
        'lightangle(45,30),',...
        'lighting phong,',...
        'isonormals(Ds,hiso),',...
        'set(hcap,''AmbientStrength'',.6),',...
        'set(hiso,''SpecularColorReflectance'',0,''SpecularExponent'',50)']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[250 50 60 20],...
    'string','關閉',...
    'callback','close'); 
實例82:圖像類型轉換

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實例82');
h1=axes('parent',h0,...
    'position',[0.2 0.45 0.5 0.5],...
    'visible','off');
load earth
clims = [10 60];
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','強度圖像',...
    'position',[30 120 50 20],...
    'callback',[...
        'cla,',...
        'imagesc(X,clims),',...
        'colormap(gray)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','索引圖像',...
    'position',[100 120 50 20],...
    'callback',[...
        'cla,',...
        'image(X),',...
        'colormap(map),',...
        'axis image']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','真彩圖像',...
    'position',[170 120 50 20],...
    'callback',[...
        'cla,',...
        'image(X),',...
        'axis image']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'string','關閉',...
    'position',[100 50 50 20],...
    'callback','close'); 
實例83:特殊的圖像顯示技術

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實例83');
h1=axes('parent',h0,...
    'position',[0.25 0.45 0.5 0.5],...
    'visible','off');
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','顏色條',...
    'position',[30 120 50 20],...
    'callback',[...
        'cla,',...
        'I = imread(''plane.jpg'');,',...
        'imshow(I),',...
        'colorbar']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'position',[100 120 50 20],...
    'string','單幀顯示',...
    'callback',[...
        'cla,',...
        'load mri,',...
        'imshow(D(:,:,:,7))']);
b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','動畫顯示',...
    'position',[30 60 50 20],...
    'callback',[...
        'cla,',...
        'load mri,',...
        'montage(D,map),',...
        'mov=immovie(D,map);,',...
        'colormap(map),',...
        'movie(mov)']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','紋理映射',...
    'position',[170 60 50 20],...
    'callback',[...
        'cla,',...
        '[x,y,z] = cylinder;,',...
        'I = imread(''girls.jpg'');,',...
        'warp(x,z,y,I);']);
b5=uicontrol('parent',h0,...
    'units','points',...
    'tag','b5',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','關閉',...
    'position',[100 60 50 20],...
    'callback','close');
b6=uicontrol('parent',h0,...
    'units','points',...
    'tag','b6',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','多幀顯示',...
    'position',[170 120 50 20],...
    'callback',[...
        'cla,',...
        'load mri,',...
        'montage(D,map)']);
實例84:圖像的幾何操作

h0=figure('toolbar','none',...
    'position',[198 56 400 468],...
    'name','實例84');
h1=axes('parent',h0,...
    'position',[0.25 0.45 0.5 0.5],...
    'visible','off');
I=imread('plane.jpg','jpg');
imshow(I)
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','圖像旋轉',...
    'position',[200 120 50 20],...
    'callback',[...
        'cla,',...
        'k=str2num(get(e1,''string''));,',...
        'I=imread(''plane.jpg'',''jpg'');,',...
        'J=imrotate(I,k,''bilinear'');,',...
        'imshow(J)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','圖像剪切',...
    'position',[200 80 50 20],...
    'callback',[...
        'cla,',...
        'imshow plane.jpg,',...
        'I=imcrop;,',...
        'imshow(I)']);
  b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','pushbutton',...
    'string','關閉',...
    'position',[120 30 50 20],...
    'callback','close');
e1=uicontrol('parent',h0,...
    'units','points',...
    'tag','e1',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','edit',...
    'horizontalalignment','right',...
    'position',[50 80 100 20]);
t1=uicontrol('parent',h0,...
    'units','points',...
    'tag','t1',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'style','text',...
    'string','請輸入旋轉角度(0~90)度',...
    'fontsize',12,...
    'position',[40 100 130 20]);
實例85:拉個朗日插值

h0=figure('toolbar','none',...
    'position',[200 50 350 450],...
    'name','實例85');

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本麻豆一区二区三区视频| 69堂成人精品免费视频| 中文字幕av一区二区三区高 | 国产欧美精品国产国产专区| 激情综合色丁香一区二区| 日韩欧美资源站| 国产在线一区观看| 中文字幕高清一区| 色欧美乱欧美15图片| 亚洲韩国精品一区| 日韩一卡二卡三卡四卡| 久久99日本精品| 亚洲国产精品v| 欧美亚洲精品一区| 蜜桃精品视频在线观看| 国产日本欧洲亚洲| 色天天综合色天天久久| 婷婷成人综合网| 国产欧美日韩在线看| 91麻豆精品在线观看| 日韩高清欧美激情| 国产欧美一区二区在线| 色综合色综合色综合| 蜜桃传媒麻豆第一区在线观看| 国产农村妇女精品| 欧美综合欧美视频| 国产一区二区日韩精品| 亚洲精品成a人| 欧美一区二区啪啪| 成人黄色av网站在线| 天天综合日日夜夜精品| 国产三级精品三级在线专区| 色哟哟在线观看一区二区三区| 免费看日韩精品| 国产精品国产成人国产三级| 欧美电影影音先锋| av一二三不卡影片| 免费成人性网站| 一区二区在线看| 国产亚洲婷婷免费| 日韩一区二区在线看| 99久久777色| 国产专区综合网| 午夜精品久久久久久久久久久| 国产日韩av一区二区| 91麻豆精品国产91久久久更新时间 | 国产麻豆精品在线观看| 亚洲国产精品久久久久婷婷884| 日本一区二区三区dvd视频在线| 欧美日韩精品一区二区在线播放| 国产福利一区二区三区视频在线| 调教+趴+乳夹+国产+精品| 国产精品第四页| 久久美女艺术照精彩视频福利播放| 欧美视频你懂的| 99九九99九九九视频精品| 狠狠色丁香婷婷综合| 图片区小说区区亚洲影院| 亚洲天堂av一区| 亚洲国产精品黑人久久久| 亚洲精品一区二区三区精华液| 欧美日本国产视频| 欧美影院精品一区| 色中色一区二区| 北岛玲一区二区三区四区| 国产精品影视天天线| 极品少妇xxxx偷拍精品少妇| 日本成人在线电影网| 亚洲国产精品久久久久婷婷884| 一区二区在线观看视频在线观看| 成人免费一区二区三区在线观看| 久久精品人人爽人人爽| xnxx国产精品| 精品粉嫩超白一线天av| 欧美大片在线观看一区二区| 欧美一区二区视频免费观看| 欧美老年两性高潮| 3d动漫精品啪啪1区2区免费| 欧美日本在线观看| 欧美精品日日鲁夜夜添| 制服丝袜激情欧洲亚洲| 在线综合视频播放| 日韩欧美一区二区在线视频| 欧美一级国产精品| 精品区一区二区| 久久男人中文字幕资源站| 国产视频一区二区三区在线观看| 国产欧美日韩麻豆91| 亚洲国产成人午夜在线一区| 国产精品国产三级国产专播品爱网| 中日韩av电影| 亚洲精品乱码久久久久久黑人| 亚洲激情综合网| 午夜欧美一区二区三区在线播放| 日韩福利电影在线| 久久国产精品免费| 成人看片黄a免费看在线| 91日韩在线专区| 欧美日韩一区二区在线观看| 欧美一区二区三区日韩视频| 久久综合久色欧美综合狠狠| 国产精品污www在线观看| 亚洲精品视频一区| 日精品一区二区三区| 国产在线视频一区二区三区| 成人精品视频网站| 欧美日韩国产a| 国产亚洲制服色| 亚洲最新视频在线观看| 蜜桃久久av一区| 99热这里都是精品| 在线播放中文一区| 国产亚洲精品福利| 亚洲一区二区精品久久av| 久久精品国产亚洲高清剧情介绍 | 91黄色激情网站| 欧美一二三区在线观看| 中文字幕一区二区三区色视频| 亚洲一区在线观看免费观看电影高清 | 久久久亚洲精品石原莉奈| 中文字幕日本乱码精品影院| 丝袜美腿成人在线| av电影在线观看不卡| 91精品国产色综合久久ai换脸| 久久九九久久九九| 午夜精品福利在线| 高清shemale亚洲人妖| 欧美日韩aaa| 17c精品麻豆一区二区免费| 蜜桃视频在线观看一区二区| 成人免费在线视频观看| 不卡电影一区二区三区| 久久精品免费在线观看| 91热门视频在线观看| 欧美一级欧美三级在线观看| 国产欧美日韩精品a在线观看| 性久久久久久久久久久久| 国产成人免费视频网站高清观看视频 | 天天综合网天天综合色| 91麻豆swag| 日本一区免费视频| 久草中文综合在线| 欧美精品久久久久久久多人混战 | 久久影院午夜片一区| 亚洲成人久久影院| 91亚洲精品一区二区乱码| 久久精品视频免费| 精品一区二区三区欧美| 欧美久久久影院| 亚洲自拍另类综合| 97精品视频在线观看自产线路二| 久久理论电影网| 美国毛片一区二区| 欧美精品亚洲二区| 亚洲影视在线观看| 91九色02白丝porn| 综合自拍亚洲综合图不卡区| 国产suv精品一区二区三区| 久久综合视频网| 国产综合色产在线精品| 精品成人在线观看| 久久精品久久99精品久久| 日韩一区二区三区电影| 青椒成人免费视频| 日韩一区二区三区在线视频| 午夜精品成人在线视频| 欧美日韩一区二区三区不卡| 亚洲第一av色| 欧美人伦禁忌dvd放荡欲情| 亚洲综合av网| 欧美视频一区二| 午夜成人在线视频| 欧美一区二区三区思思人| 日韩国产欧美三级| 日韩一级视频免费观看在线| 激情综合一区二区三区| 久久免费美女视频| 丁香另类激情小说| 亚洲同性同志一二三专区| 91麻豆福利精品推荐| 亚洲午夜国产一区99re久久| 欧美区视频在线观看| 日韩**一区毛片| 精品99久久久久久| 成人免费毛片片v| 亚洲三级小视频| 欧美日韩亚洲国产综合| 日韩高清一区在线| 久久青草欧美一区二区三区| 成人精品在线视频观看| 亚洲婷婷在线视频| 欧美电影影音先锋| 国产精品中文字幕日韩精品| 中文字幕乱码一区二区免费| 色综合久久综合网| 奇米精品一区二区三区在线观看一| 久久色中文字幕| 色一情一伦一子一伦一区| 日韩国产欧美视频| 亚洲国产精品成人久久综合一区 |