Channel Min

1 개요

원본 이미지 각 채널별 픽셀 값의 최솟값을 출력하는 알고리즘입니다.

2 알고리즘 상세 설명

IDst(x,y)=minnNISrc(x,y,n)I_{Dst}(x, y) = \min_{n \in N} I_{Src}(x, y, n)

NN 채널 이미지에서 최솟값을 추출하여 1채널 이미지로 결과를 출력합니다.

Source Value Destination Value
Source Image Destination Image
Fig. Channel Min 동작 예시

3 예제

CFLImage fliSourceImage;
CFLImage fliDestinationImage;

CChannelMin channelMin;
channelMin.SetSourceImage(fliSourceImage);
channelMin.SetDestinationImage(fliDestinationImage);

channelMin.Execute();
CChannelMin channelMin = new CChannelMin();

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

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

channelMin.Execute();