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

IPand_const


Synopsis

perform bitwise "and" operation between an ip_Image and a scalar constant

Input Ports

&in_image

ip_Image

&in_roi

ip_Roi

 

Parameters

Const

UIfield

constant to and

 

Output Ports

dst

ip_Image_Out

TmpField

IPfld

obj

output renderable object

 

Description

IPand_const performs a bitwise logical "and" operation on each pixel of the input ip_Image with a specified scalar constant.

Input Ports

&in_image
The input is a reference to an ip_Image. The data type can be of type byte, short or int only.

&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.

Output Ports

dst
The output is a new ip_Image of the same dimensions, type, and number of bands as the input ip_Image whose data values represent the anded results.
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