Channel Extraction

1 개요

원본 이미지에서 하나의 채널을 추출하여 1채널 이미지로 출력하는 알고리즘입니다.

2 알고리즘 상세 설명

다채널 이미지에서 추출하고자 하는 채널의 번호를 설정하면, 해당 채널값을 추출하여 1채널 이미지로 출력합니다.

Source Result (0 번 채널)
Source1 Result
Fig. Channel Extraction 동작 예시

3 예제

CChannelExtraction channelExtraction;

CFLImage fliSourceImage;
channelExtraction.SetSourceImage(fliSourceImage);

CFLImage fliDestinationImage;
channelExtraction.SetDestinationImage(fliDestinationImage);

channelExtraction.SetExtractionChannel(EChannelSelection_Channel_0);
channelExtraction.Execute();
CChannelExtraction channelExtraction = new CChannelExtraction();

CFLImage fliSourceImage = new CFLImage();
channelExtraction.SetSourceImage(ref fliSourceImage);

CFLImage fliDestinationImage = new CFLImage();
channelExtraction.SetDestinationImage(ref fliDestinationImage);

channelExtraction.SetExtractionChannel(EChannelSelection.Channel_0);
channelExtraction.Execute();