|
Search:
Advanced search
|
Browse by category:
|
Contact Us |
Image Arithmetics |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ImgArithmetic
Applies an arithmetic operation to an image having as operand a second image or a constant.
Category:Image Processing
Properties: Operation, Image, Scalar, Scalar R, Scalar G, Scalar B, Display Operation, InputImage, OperandImage, Scalar, RedScalar, GreenScalar, BlueScalar, OutputImage.
Class:TVMImgArithmetic
Description
This operation applies an arithmetic, boolean or logic operation to the image pixels by operating each image pixel with the pixel at the same position of a second image or with a constant. The second image should be of the same size and color depth than the primary image. Below you'll find a table of available operations for ImgArithmetic.
Static Properties
Operation
Set the desired operation to apply.
Image
Specifies the image to use as second operand. Should be the same size and color depth as InputImage dynamic property. Equivalent to OperandImage of dynamic properties.
Scalar
Specifies the constant to use as scalar operand for gray level images. Equivalent to Scalar of dynamic properties.
Scalar R
Specifies the constant to use as scalar operand for color images in the red channel. Equivalent to RedScalar of dynamic properties.
Scalar G
Specifies the constant to use as scalar operand for color images in the green channel. Equivalent to GreenScalar of dynamic properties.
Scalar B
Specifies the constant to use as scalar operand for color images in the blue channel. Equivalent to BlueScalar of dynamic properties.
Display Operation
Specifies whether or not to display the image resulting from the operation.
Dynamic Properties
Input Properties
InputImage
Holds the image or ROI to be processed by the operation. Can be gray level or color image depending on the selected operator (see table above).
OperandImage
Holds the image to use as second operand. Should be the same size and color depth as InputImage. Equivalent to Image static property.
Scalar
Specifies the constant to use as scalar operand for gray level images. Equivalent to Scalar static property.
RedScalar
Specifies the constant to use as scalar operand for color images in the red channel. Equivalent to Scalar R static property.
GreenScalar
Specifies the constant to use as scalar operand for color images in the green channel. Equivalent to Scalar G static property.
BlueScalar
Specifies the constant to use as scalar operand for color images in the blue channel. Equivalent to Scalar B static property.
Output Properties
OutputImage
Holds the resulting image from the operation.
See also:
Sample
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Others in this Category | |
| Image Threshold | |
| Morphological Operator | |
| Image Adjustments | |
| Gradient filters | |
| Convolution | |
| Smoothing Filters | |
Powered by
KBPublisher (Knowledge base software)