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

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

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

?? matlab程序百例
?? TXT
?? 第 1 頁 / 共 5 頁
字號(hào):
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','關(guān)閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[80 50 80 30],...
    'callback','close'); 
實(shí)例79:圖像邏輯操作

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實(shí)例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','濾波結(jié)果圖',...
    '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','目標(biāo)的核',...
    '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','目標(biāo)分割圖',...
    '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','關(guān)閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[170 60 50 20],...
    'callback','close');
實(shí)例80:進(jìn)度條的使用

h0=figure('toolbar','none',...
    'position',[198 56 350 450],...
    'name','實(shí)例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','轉(zhuǎn)換',...
    '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','關(guān)閉',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[150 80 60 25],...
    'callback','close');
例81:MRI數(shù)據(jù)的顯示

load mri
D = squeeze(D);
h0=figure('toolbar','none',...
    'position',[198 56 450 468],...
    'name','實(shí)例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','關(guān)閉',...
    'callback','close'); 
實(shí)例82:圖像類型轉(zhuǎn)換

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實(shí)例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','強(qiáng)度圖像',...
    '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','關(guān)閉',...
    'position',[100 50 50 20],...
    'callback','close'); 
實(shí)例83:特殊的圖像顯示技術(shù)

h0=figure('toolbar','none',...
    'position',[198 56 350 468],...
    'name','實(shí)例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','動(dòng)畫顯示',...
    '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','關(guān)閉',...
    '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)']);
實(shí)例84:圖像的幾何操作

h0=figure('toolbar','none',...
    'position',[198 56 400 468],...
    'name','實(shí)例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','圖像旋轉(zhuǎn)',...
    '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','關(guān)閉',...
    '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','請(qǐng)輸入旋轉(zhuǎn)角度(0~90)度',...
    'fontsize',12,...
    'position',[40 100 130 20]);
實(shí)例85:拉個(gè)朗日插值

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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
www.欧美日韩国产在线| 亚洲欧美一区二区三区国产精品| 亚洲蜜臀av乱码久久精品 | 欧美激情一区三区| 国产精品美女视频| 久久精品国产久精国产| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 国产欧美日韩精品a在线观看| www.视频一区| 亚洲欧洲日韩在线| 欧美成人乱码一区二区三区| eeuss国产一区二区三区| 视频一区二区国产| 国产欧美日韩在线视频| 欧美三级在线看| 国产一区二区伦理| 亚洲sss视频在线视频| 国产精品少妇自拍| www.在线欧美| 韩国成人在线视频| 日一区二区三区| 亚洲免费观看高清完整| 久久久久久综合| 91麻豆精品国产91久久久更新时间 | 欧美日精品一区视频| 国产一区二区伦理| 天堂午夜影视日韩欧美一区二区| 国产亚洲精品资源在线26u| 在线视频亚洲一区| aaa国产一区| 国产成人鲁色资源国产91色综| 亚洲福利视频三区| 一区二区三区在线视频免费| 国产精品素人一区二区| 欧美高清视频一二三区| 色av一区二区| 99精品国产热久久91蜜凸| 黑人巨大精品欧美黑白配亚洲| 亚洲观看高清完整版在线观看| 中文字幕在线一区| 久久精品一区二区三区四区| 欧美一区二区三区白人| 欧美日韩在线亚洲一区蜜芽| 色婷婷久久久亚洲一区二区三区| 成人国产精品免费观看视频| 国产精品一区二区久久不卡| 久久精品国产亚洲a| 久久久777精品电影网影网| 91成人在线精品| 欧美综合亚洲图片综合区| 亚洲成人动漫精品| 欧美绝品在线观看成人午夜影视| 老司机精品视频在线| 中文字幕国产精品一区二区| 欧美剧情片在线观看| 91麻豆精东视频| 国产成人免费视频精品含羞草妖精| 成人午夜碰碰视频| 偷窥国产亚洲免费视频 | 91在线观看美女| jizz一区二区| 99久久精品免费| 91成人看片片| 欧美日韩国产区一| 91.com视频| 精品国产区一区| 国产日产欧美精品一区二区三区| 亚洲国产成人私人影院tom| 中文字幕乱码久久午夜不卡| 国产精品嫩草99a| 中文字幕一区二区在线播放 | 一本久久a久久精品亚洲| 色综合天天综合给合国产| 色天使色偷偷av一区二区| 欧美三级午夜理伦三级中视频| 欧美性受xxxx| 91精品国产91久久久久久最新毛片 | 中文字幕av一区二区三区| 中文字幕视频一区| 亚洲狠狠爱一区二区三区| 日韩电影在线免费| 国产美女视频91| av电影在线观看完整版一区二区| 91激情五月电影| 欧美猛男男办公室激情| 久久久亚洲精品石原莉奈| 欧美视频中文字幕| 欧美成人福利视频| 亚洲一区二区中文在线| 国产成人综合在线播放| 欧美无乱码久久久免费午夜一区| 久久久91精品国产一区二区精品| 亚洲成人激情社区| 日韩一二三区不卡| 亚洲视频每日更新| 国产一区二区三区最好精华液| 欧美在线看片a免费观看| 国产日韩一级二级三级| 偷窥国产亚洲免费视频| 国产婷婷色一区二区三区四区| 亚洲人精品午夜| 69堂亚洲精品首页| **性色生活片久久毛片| 国产精品99久久久久久宅男| 欧美日韩精品电影| 亚洲欧美激情小说另类| 国产91高潮流白浆在线麻豆 | 亚洲精品综合在线| 久久se精品一区二区| 亚洲人成精品久久久久| 国产成人自拍在线| 欧美一区二区女人| 亚洲午夜一二三区视频| 99久久国产综合精品麻豆| 久久精品男人天堂av| 麻豆91在线看| 日韩一卡二卡三卡国产欧美| 亚洲电影视频在线| 91日韩一区二区三区| 国产精品久久免费看| 国产精品99久久不卡二区| ww久久中文字幕| 精品一区二区免费| 欧美电影免费观看高清完整版在线| 天堂av在线一区| 欧美日韩精品一区二区三区| 一二三四区精品视频| 在线观看成人小视频| 一区二区三区在线播| 久久一日本道色综合| 精品一区二区av| 精品99999| 国产一区二区三区av电影| 精品久久人人做人人爽| 美女mm1313爽爽久久久蜜臀| 欧美成人aa大片| 激情六月婷婷综合| 久久美女艺术照精彩视频福利播放| 国产一区二区三区久久悠悠色av| 精品噜噜噜噜久久久久久久久试看| 久久99精品国产麻豆婷婷| 2021国产精品久久精品| 国产风韵犹存在线视精品| 欧美国产成人在线| 99视频超级精品| 亚洲综合色婷婷| 欧美精品日韩一本| 久久精品国产99国产精品| 久久亚洲一区二区三区明星换脸| 国产很黄免费观看久久| 国产精品国产三级国产普通话99| 91社区在线播放| 午夜久久久久久| 日韩欧美国产wwwww| 国产·精品毛片| 亚洲视频网在线直播| 欧美影院午夜播放| 免费在线一区观看| 久久久久久日产精品| 99热国产精品| 偷拍自拍另类欧美| 久久久噜噜噜久噜久久综合| 91在线观看一区二区| 午夜欧美2019年伦理| 久久久久亚洲综合| 91亚洲永久精品| 日韩avvvv在线播放| 国产午夜精品久久久久久久 | 夜夜精品视频一区二区| 欧美一级在线视频| 成人a免费在线看| 亚洲国产视频直播| 久久久久久久久久久黄色| 91亚洲精品一区二区乱码| 日本在线不卡视频| 国产精品福利av| 日韩一区二区三区免费看 | 国模少妇一区二区三区| 成人免费小视频| 日韩精品专区在线影院观看| 成人福利视频在线| 日韩成人午夜电影| 国产精品大尺度| 欧美一区二区久久久| 北岛玲一区二区三区四区| 亚洲国产三级在线| 国产欧美一二三区| 欧美精品xxxxbbbb| 91在线视频免费观看| 激情文学综合丁香| 亚洲成人精品影院| 亚洲欧美在线观看| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 成人午夜av在线| 蜜臀久久99精品久久久画质超高清 | 国产91在线观看| 日本网站在线观看一区二区三区| 亚洲欧洲成人av每日更新| 26uuu精品一区二区| 欧美精品乱码久久久久久|