📄 l8_1.m
字号:
%像素聚类区域成长法%
%读入一幅区域明显的图像,实验像素聚合%
[X,map]=bmpread('1.bmp');
seed=[250 200]; %随意设定一个种子点
[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)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -