![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
addition of an input image and a scalar More...
| IPSDKIPLARITHMETIC_API image::ImagePtr | ipsdk::imaproc::arithm::addScalarImg (const image::ImageConstPtr &pInImg, const ipReal64 inArithmeticVal) |
| wrapper function for addition of an image and a scalar More... | |
| IPSDKIPLARITHMETIC_API void | ipsdk::imaproc::arithm::addScalarImg (const image::ImageConstPtr &pInImg, const ipReal64 inArithmeticVal, const image::ImagePtr &pOutImg) |
| wrapper function for addition of an image and a scalar More... | |
addition of an input image and a scalar
Addition of an input image InImg and a scalar InArithmeticVal. 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::addScalarImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal64 | inArithmeticVal | ||
| ) |
wrapper function for addition of an image and a scalar
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLARITHMETIC_API void ipsdk::imaproc::arithm::addScalarImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal64 | inArithmeticVal, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for addition of an image and a scalar
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14