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

IPread_AVS_Image


Synopsis

read an AVS image (.x) format file and convert it to an ip_Image

Input Ports

parent

UIconnection

 

Parameters

FileSB

UIfileSB

file browser to pick input file

 

Output Ports

Image

ip_Image_InByte

 

Description

IPread_AVS_Image reads an AVS image format file (suffix .x) and converts it to an ip_Image that can be processed by the IP image processing macros.

Input Ports

parent
The panel in which the file selection browser is placed

Parameters

FileSB
UIfileSB. A file browser to pick the input file. The file must be in AVS image format. The default location presented by the browser is
$AVS_PATH<0>/data/image/*.x.

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.

IPread_AVS_Image assumes 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, IPread_AVS_Image extracts the second subcomponent (veclen=1) of this scalar component (i.e., it extracts 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 using the Network Editor to Maximize the IPread_AVS_Image icon, Maximize the FldToImage icon, Open the scalarData icon, then Open its component subobject and type in a new value.

Example

Not available.

File

v/ip.v

See also

Related modules

 



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