![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Logical not of a binary input image. More...
| IPSDKIPLLOGICAL_API image::ImagePtr | ipsdk::imaproc::logic::logicalNotImg (const image::ImageConstPtr &pInBinImg) |
| wrapper function for logical not of a binary input image More... | |
| IPSDKIPLLOGICAL_API void | ipsdk::imaproc::logic::logicalNotImg (const image::ImageConstPtr &pInBinImg, const image::ImagePtr &pOutImg) |
| wrapper function for logical not of a binary input image More... | |
Logical not of a binary input image.
On output image values are given by:
(with
corresponding to the logical not operator).
Input and output images must have same size and their buffer type must be ipsdk::image::eImageBufferType::eIBT_Binary.
When the Logical not operator is applied to a binary value, the result is 1 if the input value is 0; otherwise, the result is 0.
Here is an example of a Logical not operation applied to one 2D binary image (black pixels have value 0, white pixels have value 1) :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InBinImg | [Input] binary image for processing operation | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutImg, _pInBinImg) |
Global rule description for algorithm :
ipsdk::imaproc::matchSizeAndType (_pInBinImg,_pOutImg)
| IPSDKIPLLOGICAL_API image::ImagePtr ipsdk::imaproc::logic::logicalNotImg | ( | const image::ImageConstPtr & | pInBinImg | ) |
wrapper function for logical not of a binary input image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLLOGICAL_API void ipsdk::imaproc::logic::logicalNotImg | ( | const image::ImageConstPtr & | pInBinImg, |
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for logical not of a binary input image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14