IPadd_const
Synopsis
add a float constant to an ip_Image
Input Port
&in_image
|
ip_Image
|
&in_roi
|
ip_Roi
|
Parameters
Const
|
UIfield
|
constant to add
|
Output Port
dst
|
ip_Image_Out
|
TmpField
|
IPfld
|
obj
|
output renderable object
|
Description
IPadd adds a floating-point constant to each pixel in the input ip_Image.
Input
&in_image
The input is a reference to an ip_Image. The ip_Images can be of any data type.
&in_roi
The input is a reference to an optional ip_Roi. The data must be of type byte.
Parameters
Const
UIfield. Typein to set the constant value. The default is 0.0. The range is unbounded.
Output Port
dst
The output is a new ip_Image of the same dimensions, type, and number of bands as the input ip_Image. Its data values represent the addition of the input ip_Image and the float constant.
TmpField
This output is the ip_Image converted back into an AVS/Express field.
obj
This is a renderable version of the output.
Example
Not available
File
v/ip.v
See also