Logical Nor
1 개요
이미지를 스칼라 또는 다른 이미지와 Logical Nor 연산을 수행하는 알고리즘입니다.
2 알고리즘 상세 설명
이미지를 스칼라 또는 다른 이미지와 각 Channel 마다 Logical Nor 연산을 수행합니다.
Source Image | Operand Image | Destination Image |
---|---|---|
![]() |
![]() |
![]() |
Fig. Source, Operand and Destination images of Logical Nor
3 예제 코드
Scalar 연산
COperationLogicalNor LogicalNor;
CFLImage fliSourceImage;
CFLImage fliDestinationImage;
CMultiVar<double> mulVarScalar;
LogicalNor.SetSourceImage(fliSourceImage);
LogicalNor.SetDestinationImage(fliDestinationImage);
LogicalNor.SetOperationSource(EOperationSource_Scalar);
LogicalNor.SetScalarValue(mulVarScalar);
LogicalNor.Execute();
Image 연산
COperationLogicalNor LogicalNor;
CFLImage fliSourceImage;
CFLImage fliOperandImage;
CFLImage fliDestinationImage;
LogicalNor.SetSourceImage(fliSourceImage);
LogicalNor.SetOperandImage(fliOperandImage);
LogicalNor.SetDestinationImage(fliDestinationImage);
LogicalNor.SetOperationSource(EOperationSource_Image);
LogicalNor.Execute();