필터 지우기
필터 지우기

how to use square filter with value 4 for erode function

조회 수: 2 (최근 30일)
GEETHA KULALA
GEETHA KULALA 2016년 3월 14일
답변: Image Analyst 2016년 3월 14일
f=imread('gee.jpg');
se=strel('train',4);
k=imerode(f,se);
imshow(k);

답변 (1개)

Image Analyst
Image Analyst 2016년 3월 14일
'train' is not one of the options. Not sure what you want, but maybe you want to consider the 4 closest neighbors
grayImage = imread('gee.jpg');
se = [0,1,0; 1,0,1; 0,1,0];
erodedImage = imerode(grayImage , se);
imshow(erodedImage);

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by