Close

1 개요

모폴로지 Close 연산을 수행하는 알고리즘입니다.

2 알고리즘 상세 설명

Source Image Destination Image
Source Image Destination Image
Source Image Destination Image
Fig. Half Kernel size = 1

3 파라미터 설정 및 사용 방법

파라미터 목록(Morphology_Common 항목 참고)

4 예제 코드

커널 설정 방법(Morphology_Common 항목 참고)

CFLImage fliSourceImage;
CFLImage fliDestinationImage;

fliSourceImage.Load(L"ExampleImages/Morphology/Chip_Noise.flif");

CMorphologyClose close;
//////////////////////////////////
// 공통 파라미터 설정
//////////////////////////////////
close.SetSourceImage(fliSourceImage);
close.SetDestinationImage(fliDestinationImage);
close.SetKernel(5);

close.Execute();
CFLImage fliSourceImage = new CFLImage();
CFLImage fliDestinationImage = new CFLImage();

fliSourceImage.Load("ExampleImages/Morphology/Chip_Noise.flif");

CMorphologyClose close = new CMorphologyClose();
//////////////////////////////////
// 공통 파라미터 설정
//////////////////////////////////
close.SetSourceImage(ref fliSourceImage);
close.SetDestinationImage(ref fliDestinationImage);
close.SetKernel(5);

close.Execute();

5 관련 알고리즘

CMedianFilter, CMedianWeightedFilter, CMorphologyDilate, CMorphologyErode, CMorphologyOpen, CMorphologyGradient, CMorphologyTopHat