亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产精品一区二区久久精品爱涩| 日韩欧美另类在线| 宅男噜噜噜66一区二区66| 国产欧美综合色| 婷婷亚洲久悠悠色悠在线播放| 国产一区久久久| 欧美三片在线视频观看| 中文字幕va一区二区三区| 日韩国产高清在线| 欧亚一区二区三区| 自拍偷在线精品自拍偷无码专区| 麻豆精品一区二区三区| 欧美在线视频全部完| 欧美国产禁国产网站cc| 久久精品久久99精品久久| 在线视频观看一区| 综合激情成人伊人| 成人午夜激情在线| 亚洲一区在线播放| 91无套直看片红桃| 欧美一区三区二区| 国产日韩欧美在线一区| 日韩影视精彩在线| 精品视频资源站| 亚洲一区二区在线播放相泽| 91在线视频播放| 国产精品伦一区二区三级视频| 国产精品亚洲一区二区三区在线| 日韩欧美123| 美女视频一区二区三区| 欧美乱熟臀69xxxxxx| 亚欧色一区w666天堂| 在线欧美小视频| 亚洲午夜精品网| 欧美日韩美女一区二区| 午夜精品久久久久久久久| 欧美日韩精品一二三区| 午夜精品一区二区三区电影天堂| 欧美日韩综合色| 日本中文一区二区三区| 日韩午夜在线观看| 国产一区免费电影| 中文一区在线播放| 欧洲人成人精品| 免费高清在线视频一区·| 日韩欧美高清在线| 国产精品自在在线| 亚洲私人黄色宅男| 在线观看亚洲精品| 免费观看30秒视频久久| 久久女同互慰一区二区三区| 国产**成人网毛片九色| 亚洲男人的天堂在线观看| 欧洲亚洲国产日韩| 精品一区二区在线观看| 国产婷婷色一区二区三区在线| 成人综合在线观看| 亚洲在线成人精品| 欧美一区二区三区免费观看视频| 精品一区二区三区在线观看 | 麻豆精品视频在线观看| 精品999久久久| av影院午夜一区| 亚洲高清免费在线| 久久色在线观看| 色综合久久88色综合天天免费| 韩国三级在线一区| 日韩一区中文字幕| 欧美女孩性生活视频| 国产综合久久久久久鬼色| 亚洲精品国产无套在线观| 日韩色在线观看| 97久久精品人人澡人人爽| 婷婷成人激情在线网| 国产精品嫩草99a| 91精品国产一区二区| 成人97人人超碰人人99| 蜜臀av一区二区| 亚洲精品国产无天堂网2021| 欧美精品一区二区三区在线| 色综合久久综合| 精品午夜久久福利影院| 夜夜嗨av一区二区三区| 国产午夜精品久久| 91精品国产综合久久小美女| 91亚洲资源网| 韩国欧美国产1区| 亚洲成人免费av| 亚洲日穴在线视频| 久久嫩草精品久久久久| 91精品在线一区二区| 色综合天天综合给合国产| 九九**精品视频免费播放| 性感美女极品91精品| 亚洲人成伊人成综合网小说| 精品欧美一区二区三区精品久久 | 69av一区二区三区| 福利视频网站一区二区三区| 免费一级欧美片在线观看| 亚洲在线观看免费视频| 亚洲视频一二区| 国产精品成人一区二区三区夜夜夜 | 国产自产v一区二区三区c| 午夜久久久久久久久久一区二区| 国产精品久久久一本精品| 久久久久久久综合日本| 精品久久久久久综合日本欧美| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲一卡二卡三卡四卡| 亚洲欧洲制服丝袜| 免费人成在线不卡| 亚洲午夜久久久久久久久久久 | 日韩成人午夜精品| 亚洲h在线观看| 亚洲高清免费视频| 亚洲chinese男男1069| 亚洲成av人**亚洲成av**| 亚洲成人福利片| 亚洲成人动漫精品| 日韩激情视频网站| 免费在线观看不卡| 国产乱淫av一区二区三区| 国产精品白丝av| 高清国产一区二区| 99这里只有精品| 一本一本大道香蕉久在线精品 | 亚洲一区二区三区自拍| 亚洲自拍都市欧美小说| 亚洲一区二区精品久久av| 亚洲人成网站色在线观看| 亚洲一区国产视频| 免费观看久久久4p| 国产精品一区在线观看乱码| 国产精品18久久久久久久久| 国产精品一卡二| 成人av免费在线| 在线看国产一区二区| 3atv在线一区二区三区| 亚洲精品一线二线三线无人区| 久久久久久久综合色一本| 免费成人av资源网| 国产精品亚洲专一区二区三区 | 666欧美在线视频| 久久久综合精品| 亚洲丝袜精品丝袜在线| 亚洲午夜精品在线| 国产在线精品视频| 色婷婷狠狠综合| 日韩欧美的一区| 亚洲国产精品精华液2区45| 亚洲人一二三区| 久久国产三级精品| 福利视频网站一区二区三区| 欧美三级电影在线看| 国产亚洲欧洲一区高清在线观看| 亚洲色图在线看| 日本vs亚洲vs韩国一区三区二区| 国产乱子轮精品视频| 欧美亚洲国产一区二区三区va| 日韩一区二区在线播放| 亚洲色图丝袜美腿| 久久99国产精品久久99| 91福利在线免费观看| 精品国产乱码91久久久久久网站| 1区2区3区精品视频| 久久成人综合网| 欧美在线观看一区| 国产视频视频一区| 婷婷国产v国产偷v亚洲高清| 成av人片一区二区| 日韩免费观看高清完整版| 亚洲女同ⅹxx女同tv| 国产成人综合在线观看| 91精品国产品国语在线不卡| 亚洲男人的天堂在线观看| 国产成人精品一区二区三区四区| 51精品国自产在线| 一区二区欧美视频| av亚洲精华国产精华精| 亚洲精品在线免费播放| 青青青爽久久午夜综合久久午夜| 91精彩视频在线观看| 国产精品久久久久9999吃药| 国产精品99久久久久久似苏梦涵 | 久久精品国产秦先生| 欧美日韩一区二区三区四区| 国产精品久久久久aaaa樱花| 国产成人免费视频网站| 精品国产91久久久久久久妲己| 丝袜a∨在线一区二区三区不卡| 91在线观看高清| 亚洲人成在线播放网站岛国| www.欧美色图| 亚洲国产精品激情在线观看| 国产成人精品免费网站| 国产欧美一二三区| 国产v综合v亚洲欧| 欧美国产日韩a欧美在线观看| 国产99久久久国产精品免费看 | 精品三级在线看|