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

IPfldToROI


Synopsis

convert an AVS/Express Field_Unif to an ip_Image

Input Ports

&In

IPfld

 

Parameters

Output Ports

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 Ports

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

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.

 



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