영상에 모폴로지 닫기 연산 수행

  • 원본 영상

  • 소스 코드
I=imread('bolts(이진)-1.png');
nhood=ones(3,3);
J=imopen(I, nhood);

figure;
subplot(1,2,1);
imshow(I);
title('<원본>','FontWeight','bold');
subplot(1,2,2);
imshow(J);
title('<닫기(Closing)>','FontWeight','bold');
  • 결과

Leave a Reply

Your email address will not be published. Required fields are marked *