Cube Root
1 개요
이미지에 세제곱근 연산을 수행하는 알고리즘입니다.
Operand가 없는 단항 연산입니다.
2 알고리즘 상세 설명
IDst(x,y)=3ISrc(x,y)
Source Value |
Destination Value |
 |
 |
Fig. Source and Destination values of Cube Root
3 예제 코드
CFLImage fliSourceImage;
CFLImage fliDestinationImage;
COperationCubeRoot cubeRoot;
cubeRoot.SetSourceImage(fliSourceImage);
cubeRoot.SetDestinationImage(fliDestinationImage);
cubeRoot.Execute();
CFLImage fliSourceImage = new CFLImage();
CFLImage fliDestinationImage = new CFLImage();
COperationCubeRoot cubeRoot = new COperationCubeRoot();
cubeRoot.SetSourceImage(ref fliSourceImage);
cubeRoot.SetDestinationImage(ref fliDestinationImage);
cubeRoot.Execute();
fliSourceImage = CFLImage()
fliDestinationImage = CFLImage()
cubeRoot = COperationCubeRoot()
cubeRoot.SetSourceImage(fliSourceImage)
cubeRoot.SetDestinationImage(fliDestinationImage)
cubeRoot.Execute()