Open

1 개요

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

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/CityNight.flif");

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

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

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

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

open.Execute();

5 관련 알고리즘

CMedianFilter, CMedianWeightedFilter, CMorphologyClose, CMorphologyDilate, CMorphologyErode, CMorphologyGradient, CMorphologyTopHat