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

IPfldToImage


Synopsis

convert an AVS/Express Field_Unif to an ip_Image

Input Ports

&In

IPfld

 

Parameters

Output Ports

Image

ip_Image_InByte

 

Description

IPfldToImage converts an AVS/Express Field_Unif into an ip_Image so that it can be processed by the 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.

IPfldToImage 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, IPfldToImage 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

Image
The output is a new ip_Image. 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

Related modules

 



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