![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
subtraction of a scalar and an image (scalar - image) More...
| IPSDKIPLARITHMETIC_API image::ImagePtr | ipsdk::imaproc::arithm::subtractScalarImg (const ipReal64 inArithmeticVal, const image::ImageConstPtr &pInImg) |
| wrapper function for subtraction of a scalar and an image (scalar - image) More... | |
| IPSDKIPLARITHMETIC_API void | ipsdk::imaproc::arithm::subtractScalarImg (const ipReal64 inArithmeticVal, const image::ImageConstPtr &pInImg, const image::ImagePtr &pOutImg) |
| wrapper function for subtraction of a scalar and an image (scalar - image) More... | |
subtraction of a scalar and an image (scalar - image)
Subtraction of a scalar InArithmeticVal and an input image InImg. On output image values are given by:
Input and output images must have same size.
The scalar value is cast into the greatest type between the input and the output image. If both images have integer values whereas the salar has a real value, precision will be lost.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InArithmeticVal | [Input] value used for arithmetic operations | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | promoteUnary (_pOutImg, _pInImg, ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg,_pOutImg)
| IPSDKIPLARITHMETIC_API image::ImagePtr ipsdk::imaproc::arithm::subtractScalarImg | ( | const ipReal64 | inArithmeticVal, |
| const image::ImageConstPtr & | pInImg | ||
| ) |
wrapper function for subtraction of a scalar and an image (scalar - image)
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLARITHMETIC_API void ipsdk::imaproc::arithm::subtractScalarImg | ( | const ipReal64 | inArithmeticVal, |
| const image::ImageConstPtr & | pInImg, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for subtraction of a scalar and an image (scalar - image)
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14