I = imread('rice.png');%读取米粒图像
figure(1); subplot(221)
imshow(I);%显示原图像
background = imopen(I,strel('disk',15));%形态学开操作
figure,
surf(double(background(1:8:end,1:
MATLAB图像处理之图像增强实战二
于 2021-03-27 08:22:51 首次发布
I = imread('rice.png');%读取米粒图像
figure(1); subplot(221)
imshow(I);%显示原图像
background = imopen(I,strel('disk',15));%形态学开操作
figure,
surf(double(background(1:8:end,1: