IPindex.gif Previous-2.gif Next-3.gif

IPmul_const


Synopsis

multiply an ip_Image by a float constant

Input Ports

&in_image

ip_Image

&in_roi

ip_Roi

 

Parameters

Const

UIfield

constant to multiply

 

Output Ports

dst

ip_Image_Out

TmpField

IPfld

obj

output renderable object

 

Description

IPmul_const multiplies each pixel in an ip_Image by a scalar float constant.

Input Ports

&in_image
The input is a reference to an ip_Image. The ip_Image 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 0 to 255.

Output Ports

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 product of the input ip_Image and the 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

Related modules

 



IPindex.gif Previous-2.gif Next-3.gif