?? l8_1.m
字號:
%程序L8_1.m: 像素聚類區(qū)域成長法%
%讀入一幅區(qū)域明顯的圖像,實驗像素聚合%
[X,map]=bmpread('L8_1.bmp');
seed=[250 200]; %隨意設(shè)定一個種子點
[Y_1]=regiongrow(X,seed,0,1000); %regiongrow程序在本實驗范例中
[Y_2]=regiongrow(X,seed,0,10000);
[Y_3]=regiongrow(X,seed,0,inf);
figure
subplot(221),imshow(X,map)
subplot(222),imshow(Y_1,map)
subplot(223),imshow(Y_2,map)
subplot(224),imshow(Y_3,map)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號