Invert Intensity

1 개요

이미지의 강도를 반전하는 알고리즘입니다.

2 알고리즘 상세 설명

이미지의 각 Channel 마다 Invert Intensity 연산을 적용하여 강도를 반전합니다.

Source Image Destination Image
Source Image Destination Image
Fig. Source and Destination images of Invert Intensity

3 파라미터 설명

멤버함수 파라미터 설 명
SetRangeOfFloatingPointImage double f64Min IN 최소 강도
double f64Max IN 최대 강도
SetRangeOfFloatingPointImage float f32Min IN 최소 강도
float f32Max IN 최대 강도

4 예제 코드

COperationInvertIntensity operationInvertIntensity;

CFLImage fliSourceImage;
CFLImage fliDestinationImage;

operationInvertIntensity.SetSourceImage(fliSourceImage);
operationInvertIntensity.SetDestinationImage(fliDestinationImage);

operationInvertIntensity.Execute();
COperationInvertIntensity OperationInvertIntensity = new COperationInvertIntensity();
CFLImage fliSourceImage = new CFLImage();	
CFLImage fliDestinationImage = new CFLImage();	

OperationInvertIntensity.SetSourceImage(ref fliSourceImage);
OperationInvertIntensity.SetDestinationImage(ref fliDestinationImage);
OperationInvertIntensity.Execute();