Fourth Root

1 개요

이미지에 네제곱근 연산을 수행하는 알고리즘입니다.
Operand가 없는 단항 연산입니다.

2 알고리즘 상세 설명

IDst(x,y)=ISrc(x,y)4I_{Dst}(x,y) = \sqrt[4]{I_{Src}(x,y)}

Source Value Destination Value
Source Image Destination Image
Fig. Source and Destination Values of Fourth Root

3 예제 코드

CFLImage fliSourceImage;
CFLImage fliDestinationImage;

COperationFourthRoot fourthRoot;

fourthRoot.SetSourceImage(fliSourceImage);
fourthRoot.SetDestinationImage(fliDestinationImage);
fourthRoot.Execute();
CFLImage fliSourceImage = new CFLImage();
CFLImage fliDestinationImage = new CFLImage();

COperationFourthRoot fourthRoot = new COperationFourthRoot();

fourthRoot.SetSourceImage(ref fliSourceImage);
fourthRoot.SetDestinationImage(ref fliDestinationImage);
fourthRoot.Execute();
fliSourceImage = CFLImage()
fliDestinationImage = CFLImage()

fourthRoot = COperationFourthRoot()

fourthRoot.SetSourceImage(fliSourceImage)
fourthRoot.SetDestinationImage(fliDestinationImage)
fourthRoot.Execute()