亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美国产一区视频在线观看| 国产黑丝在线一区二区三区| 国产a级毛片一区| 欧美日韩黄色一区二区| **欧美大码日韩| 国产a精品视频| 精品国产乱码久久久久久久 | 中文字幕精品综合| 毛片一区二区三区| 欧美亚洲另类激情小说| 一色屋精品亚洲香蕉网站| 极品美女销魂一区二区三区免费| 欧美日韩一区三区四区| 亚洲男同1069视频| 丁香激情综合五月| 久久久国际精品| 韩国成人在线视频| 日韩精品一区二区三区视频| 亚洲成人av免费| 欧美日韩一区不卡| 偷偷要91色婷婷| 制服丝袜av成人在线看| 亚洲va国产天堂va久久en| 91女人视频在线观看| 亚洲天堂精品视频| 91在线视频免费观看| 亚洲日本va午夜在线电影| 99re这里都是精品| 亚洲欧美日韩一区二区 | 亚洲伦理在线免费看| www.综合网.com| 最新高清无码专区| 一本一本大道香蕉久在线精品 | 美女久久久精品| 欧美va日韩va| 国产乱妇无码大片在线观看| 久久精品一区二区三区四区| 国产很黄免费观看久久| 中文字幕在线观看不卡| 91高清视频在线| 天堂一区二区在线免费观看| 日韩欧美国产成人一区二区| 国产在线精品一区二区不卡了| 久久精品日产第一区二区三区高清版 | 久久99精品国产91久久来源| 精品国产sm最大网站免费看| 国产成人精品免费视频网站| ●精品国产综合乱码久久久久 | 欧美激情一区在线观看| 99久久精品免费看国产免费软件| 一区二区三区日韩精品| 在线不卡欧美精品一区二区三区| 看片网站欧美日韩| 最新国产成人在线观看| 欧美性xxxxx极品少妇| 麻豆中文一区二区| 国产日韩欧美精品综合| 91福利精品第一导航| 奇米四色…亚洲| 国产精品久久夜| 欧美日韩精品欧美日韩精品一 | 欧美日韩国产免费一区二区| 欧美在线三级电影| 免费在线欧美视频| 国产精品伦理一区二区| 欧美日韩一区三区四区| 国产精品一级片| 亚洲一区二区综合| 久久精品男人天堂av| 91官网在线免费观看| 国产精品一区免费视频| 亚洲午夜免费福利视频| 国产欧美一区二区三区鸳鸯浴 | 在线观看国产一区二区| 国内精品久久久久影院薰衣草| 最新欧美精品一区二区三区| 欧美不卡123| 欧美在线观看视频一区二区| 国产suv一区二区三区88区| 欧美一级生活片| 美女视频黄频大全不卡视频在线播放| 久久久久青草大香线综合精品| 91小视频在线观看| 久久97超碰国产精品超碰| 亚洲午夜三级在线| 亚洲欧美影音先锋| 久久久亚洲精华液精华液精华液| 欧美三级三级三级| 91蝌蚪国产九色| 国产激情一区二区三区| 蜜桃视频一区二区| 五月综合激情网| 亚洲一区二区视频| 亚洲欧洲美洲综合色网| 国产视频一区不卡| 日韩欧美一二三四区| 欧美日韩三级一区二区| 在线视频国内一区二区| 不卡视频在线观看| 成人一区在线看| 国产不卡视频一区| 国产成人在线视频免费播放| 国内一区二区视频| 国内国产精品久久| 国产一区二区看久久| 国产在线一区二区综合免费视频| 日韩av不卡一区二区| 丝袜a∨在线一区二区三区不卡| 亚洲精品一卡二卡| 一区二区三区在线不卡| 一区二区三区在线观看视频| 一区二区三区中文字幕在线观看| 综合亚洲深深色噜噜狠狠网站| 国产精品午夜春色av| 日本一区二区成人在线| 中文字幕色av一区二区三区| 亚洲精品国产无天堂网2021| 一区二区三区在线不卡| 亚洲国产精品久久久男人的天堂| 一区二区国产视频| 午夜日韩在线观看| 偷拍日韩校园综合在线| 琪琪久久久久日韩精品| 久久99久久99小草精品免视看| 国产在线视频不卡二| 国产成人综合自拍| av在线播放一区二区三区| 91国产丝袜在线播放| 日韩vs国产vs欧美| 青娱乐精品在线视频| 美腿丝袜亚洲三区| 久久99日本精品| 高清shemale亚洲人妖| 色哟哟日韩精品| 欧美区一区二区三区| 337p日本欧洲亚洲大胆色噜噜| 欧美激情中文字幕一区二区| 一区二区三区国产精品| 日韩福利视频导航| 国产大陆精品国产| 欧美三区在线观看| 久久久影院官网| 亚洲欧美视频在线观看视频| 人人爽香蕉精品| 成人午夜激情片| 在线播放国产精品二区一二区四区 | 五月天亚洲婷婷| 国产精品18久久久久| 91免费观看在线| 欧美不卡在线视频| 久久精品国产精品亚洲精品| 亚洲国产精品精华液2区45| 最新不卡av在线| 美女高潮久久久| av激情亚洲男人天堂| 日韩免费一区二区| 亚洲精品国产a| 国产成人自拍高清视频在线免费播放| 日本精品视频一区二区三区| 久久综合久久久久88| 亚洲午夜国产一区99re久久| 国产成人自拍网| 日韩三级.com| 亚洲国产精品久久久久秋霞影院| 国产在线国偷精品免费看| 欧美乱妇20p| 依依成人综合视频| 成人a级免费电影| 久久久综合视频| 免费在线成人网| 欧美色图第一页| 亚洲欧美日韩综合aⅴ视频| 国产精品一区在线观看你懂的| 91精品国产综合久久精品| 亚洲精品国产a久久久久久 | 韩国女主播一区二区三区| 91久久免费观看| 国产精品久久久久久久蜜臀 | 国产欧美视频在线观看| 午夜精品久久久久影视| 99vv1com这只有精品| 国产精品乱码一区二三区小蝌蚪| 麻豆成人久久精品二区三区红| 欧美视频三区在线播放| 亚洲图片欧美激情| 99re热这里只有精品视频| 亚洲国产精品t66y| 国产成人免费9x9x人网站视频| 精品少妇一区二区三区在线视频| 亚洲成a人片综合在线| 色88888久久久久久影院野外 | 色中色一区二区| 中文字幕第一区二区| 国产成人午夜精品5599 | 成人网男人的天堂| 国产欧美日韩亚州综合| 风间由美性色一区二区三区| 国产片一区二区| 成人aa视频在线观看| 亚洲免费观看在线观看|