Cosecant

1 개요

이미지에 Cosecant 연산을 수행하는 알고리즘입니다.

2 알고리즘 상세 설명

이미지의 각 Channel 마다 Cosecant 연산을 수행합니다.

Source Image Destination Image
Source Image Destination Image
Fig. Source and Destination Images of Cosecant

3 예제 코드

COperationCosecant operationCosecant;

CFLImage fliSourceImage;
CFLImage fliDestinationImage;

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

operationCosecant.Execute();
COperationCosecant operationCosecant = new COperationCosecant();

CFLImage fliSourceImage = new CFLImage();
CFLImage fliDestinationImage = new CFLImage();

operationCosecant.SetSourceImage(ref fliSourceImage);
operationCosecant.SetDestinationImage(ref fliDestinationImage);

operationCosecant.Execute();