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

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

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

?? 實用程序 對于初學MATLAB的人 很有幫助 也給編程節省不少時間
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
imshow(flower)
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:拉個朗日插值

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线中文字幕不卡| 日本伊人精品一区二区三区观看方式| 欧美在线免费视屏| 色婷婷综合久色| 色综合一区二区三区| av一区二区不卡| aaa亚洲精品| 色呦呦国产精品| 欧美在线免费视屏| 欧美军同video69gay| 91精品国产91热久久久做人人| 777奇米四色成人影色区| 在线成人av影院| 精品第一国产综合精品aⅴ| 精品欧美乱码久久久久久| 久久精品视频免费| 国产精品网站一区| 依依成人综合视频| 日本免费新一区视频| 久久9热精品视频| 国产成人综合精品三级| 成人aa视频在线观看| 91免费视频网址| 精品视频123区在线观看| 日韩一区二区精品| 国产精品色在线观看| 亚洲国产日韩a在线播放性色| 日韩中文字幕亚洲一区二区va在线 | 久久精品国产亚洲一区二区三区 | xvideos.蜜桃一区二区| 国产精品欧美极品| 亚州成人在线电影| 国产成人综合在线播放| 91精彩视频在线观看| 欧美成人激情免费网| 国产精品对白交换视频| 婷婷成人综合网| 成人av免费观看| 欧美一级黄色大片| 亚洲精品美国一| 国产精品一区二区免费不卡 | 精品播放一区二区| 亚洲综合色视频| 国产+成+人+亚洲欧洲自线| 92精品国产成人观看免费| 7777精品久久久大香线蕉 | 91女人视频在线观看| 日韩欧美国产一区在线观看| 亚洲精品综合在线| 国产麻豆成人精品| 91精品国产乱码久久蜜臀| 中文字幕一区二区5566日韩| 激情综合五月婷婷| 69精品人人人人| 一区二区三区影院| av高清不卡在线| 久久久av毛片精品| 美美哒免费高清在线观看视频一区二区 | 亚洲国产你懂的| 成人动漫一区二区在线| 久久综合精品国产一区二区三区| 亚洲sss视频在线视频| 91丨九色丨黑人外教| 国产欧美在线观看一区| 国产在线精品一区二区夜色| 宅男在线国产精品| 日韩中文字幕亚洲一区二区va在线| 99精品在线免费| 国产精品灌醉下药二区| 成人性生交大片免费看在线播放 | 91偷拍与自偷拍精品| 久久伊人中文字幕| 精品亚洲成av人在线观看| 欧美一卡2卡3卡4卡| 青青草国产精品97视觉盛宴| 欧美伦理电影网| 日韩成人一级片| 日韩午夜激情免费电影| 免费在线观看不卡| 精品三级av在线| 国产在线日韩欧美| 中文天堂在线一区| 99精品热视频| 亚洲免费观看高清| 欧美人妇做爰xxxⅹ性高电影| 天堂成人国产精品一区| 91精品国产综合久久久久久久| 日韩成人午夜精品| 精品国产乱码久久久久久老虎| 老司机一区二区| 欧美精品一区男女天堂| 国产精品18久久久久| 国产精品久久久久婷婷二区次| caoporm超碰国产精品| 亚洲综合一区二区| 日韩欧美国产一区二区三区 | 波多野结衣精品在线| 一区二区视频在线| 欧美疯狂做受xxxx富婆| 久久精品国产精品亚洲红杏| 国产欧美日韩卡一| 色婷婷精品久久二区二区蜜臀av| 亚洲第一主播视频| 2021中文字幕一区亚洲| 91在线免费视频观看| 亚洲成人自拍一区| 久久美女艺术照精彩视频福利播放 | 欧美日韩国产一级| 精品一区二区免费| 亚洲欧美一区二区三区久本道91| 欧美高清精品3d| 高清beeg欧美| 日韩不卡一区二区三区| 国产精品午夜免费| 91超碰这里只有精品国产| 粉嫩高潮美女一区二区三区| 午夜伊人狠狠久久| 亚洲国产精品av| 日韩一区二区在线看| 一本大道久久a久久综合婷婷| 麻豆成人综合网| 亚洲狠狠爱一区二区三区| 久久综合成人精品亚洲另类欧美| 在线观看免费视频综合| 国产成人精品免费在线| 丝瓜av网站精品一区二区| 日韩美女视频19| 欧美精品一区二区三区蜜桃| 欧美人牲a欧美精品| 91麻豆高清视频| 国产美女精品在线| 免费观看一级特黄欧美大片| 一级日本不卡的影视| 国产精品欧美精品| 久久这里都是精品| 欧美成人精品1314www| 欧美嫩在线观看| 欧洲激情一区二区| av电影在线观看不卡| 国产精品一线二线三线精华| 秋霞av亚洲一区二区三| 亚洲韩国一区二区三区| 亚洲伦在线观看| 国产精品国产馆在线真实露脸| 久久久久久久网| 精品国产乱码久久久久久影片| 欧美一区三区四区| 7777精品伊人久久久大香线蕉经典版下载| 色综合久久综合网欧美综合网 | 95精品视频在线| 成人理论电影网| 成人免费毛片aaaaa**| 国产风韵犹存在线视精品| 精品一区二区免费| 青青草成人在线观看| 日本中文字幕一区二区有限公司| 一区二区三区鲁丝不卡| 亚洲影院理伦片| 无码av中文一区二区三区桃花岛| 亚洲高清不卡在线| 国产精品88888| 国产成人免费视频一区| 国产成人av资源| jlzzjlzz亚洲女人18| 日本久久电影网| 欧美色视频一区| 91精品婷婷国产综合久久性色| 日韩视频中午一区| 国产日韩欧美综合在线| 成人免费小视频| 亚洲国产wwwccc36天堂| 免费成人结看片| 东方欧美亚洲色图在线| 色噜噜狠狠色综合中国| 3atv一区二区三区| 久久久久国色av免费看影院| 亚洲欧美在线视频观看| 亚洲123区在线观看| 国产一区二区剧情av在线| 成人免费视频一区二区| 欧美午夜一区二区| 亚洲精品在线三区| 亚洲欧美日本在线| 首页欧美精品中文字幕| 国产黄色精品网站| 欧洲国产伦久久久久久久| 欧美一级欧美三级在线观看 | 在线免费不卡视频| 日韩亚洲欧美成人一区| 中文字幕不卡的av| 舔着乳尖日韩一区| 风间由美一区二区三区在线观看| 色94色欧美sute亚洲线路二 | 国产精品色婷婷久久58| 亚洲高清视频的网址| 国产精品中文字幕一区二区三区| 91黄视频在线| 国产女同互慰高潮91漫画| 天涯成人国产亚洲精品一区av| 成人h精品动漫一区二区三区|