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

IPlinremap


Synopsis

linearly remap an ip_Image

Input Ports

&in_image

ip_Image

&in_roi

ip_Roi

 

Parameters

Constant

UIslider

constant to add

Multiplier

UIslider

multiplier

 

Output Ports

dst

ip_Image_Out

TmpField

IPfld

obj

output renderable object

 

Description

IPlinremap linearly remaps images by first adding a Constant to the input ip_Image pixels, followed by multiplying by Multiplier, and finally clamping (in the case of byte and short images).

Input Ports

&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

Constant
UIslider. Float slider to set the constant value. The default is 0.0. The range is -255 to 255.
Multiplier
UIslider. Float slider to set the multiplier. The default is 1.0. The range is -255 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 linearly remapped 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.

Example

Libraries.Examples.Image_Processing.IPlinremap

File

v/ip.v

See also

Not applicable.

 



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