IPdivide

Synopsis

divide two ip_Images

Input Port

&in_image1

ip_Image

&in_image2

ip_Image

&in_roi

ip_Roi

Parameters

none

Output Port

dst

ip_Image_Out

TmpField

IPfld

obj

output renderable object

Description

IPdivide divides two ip_Images (in_image1/in_image2).

Input

&in_image1
&in_image2

The inputs are references to two ip_Images. The ip_Images can be of any data type, but must match in bands, type, and size.

&in_roi

ip_Roi. An optional region of interest. The data must be of type byte.

Parameters

Output Port

dst

The output is a new ip_Image of the same dimensions, type, and number of bands as the input ip_Images. Its data values represent the division of the two input ip_Images.
If IPdivide detects a divide by zero, it sets the destination pixel to the pixel's maximum value.

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

IPsubtract
IPmultiply
IPadd