필터 지우기
필터 지우기

provide code for diamond filter with value 3 using dilation

조회 수: 2 (최근 30일)
GEETHA KULALA
GEETHA KULALA 2016년 3월 16일
편집: Guillaume 2016년 3월 16일
f=imread('gee.jpg');
se=strel(0 1 0, 0 1 0, 1 0 1);
b=imdilate(f,se);
imshow(b);

답변 (1개)

Guillaume
Guillaume 2016년 3월 16일
편집: Guillaume 2016년 3월 16일
Not sure what your question is. If your question is about the usage of strel, why don't you read the documentation? If you want a 3x3 diamond:
se = strel('diamond', 1); %1 is (width - 1)/ 2, with width = 3

태그

Community Treasure Hunt

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

Start Hunting!

Translated by