TOC PREV NEXT INDEX

IPshift

Synopsis

shift an ip_Image's bits left or right

Input Port

&in_image

ip_Image

&in_roi

ip_Roi

Parameters

Shift NBits

UIslider

number of bits to shift

Output Port

dst

ip_Image_Out

TmpField

IPfld

obj

output renderable object

Description

IPshift shifts each pixel in an ip_Image by a specified number of bits.

Input

&in_image

The input is a reference to an ip_Image. The ip_Image must be of type byte, short or int.

&in_roi

The input is a reference to an optional ip_Roi. The data must be of type byte.

Parameters

Shift NBits

Specifies the number of bits to shift. Positive indicates left shifts; negative indicates right shifts. The default is 0. The range is -7 to 7.
The right shift sign extension is device dependent.

Output Port

dst

The output is a new ip_Image of the same type, dimensions, and bands as the input ip_Image.

TmpField

This output is the ip_Image converted back into an AVS/Express field.

obj

This is a renderable version of the output image.sa1 This output is the ip_Image converted back into an AVS/Express field.

Example

Not available

File

v/ip.v

See also

Not applicable.

TOC PREV NEXT INDEX