TOC PREV NEXT INDEX

IPfldToROI

Synopsis

convert an AVS/Express Field_Unif to an ip_Image

Input Port

&In

IPfld

Parameters

none

Output Port

Roi

ip_Roi_Out

Description

IPfldToROI converts an AVS/Express Field_Unif into an ip_Roi so that it can be used in IP image processing macros.

Input

&In

The input is a reference to an AVS/Express Field_Unif. The Field_Unif is assumed to be Dim2.
IPfldToROI is currently written to assume that the input field is the AVS/Express analog of an AVS ARGB image. Thus, the input AVS/Express field must have a single component. By default, IPfldToROI will extract the second subcomponent (veclen=1) of this scalar component. (I.e., it will extract the "red" channel of the input AVS ARGB image.) You can extract a different subcomponent by manually setting the value of the component subobject. You do this by using the Network Editor to Maximize the IPfldToImage icon; then Open the scalarData icon, then Open its component subobject and type in a new value.

Output Port

Roi

The output is a new ip_Roi. It has the same dimensions as the input field. Its nband=1, and its data type is set to byte.

Example

Not available

File

v/ip.v

See also

Not applicable.

TOC PREV NEXT INDEX