Welcome to our Support Center

Expand

Description

Expands (duplicates) an image or part of an image by adjusting the horizontal and vertical resolution. Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted U8, I16, RGB and HSL.

 Optional Rectangle : cluster, defines a four-element cluster that contains the left, top, right, and bottom coordinates of the region to process. The VI applies the operation to the entire image if the four-element are equal to 0.

 Left : integer, left coordinate.
 
Top : integer, 
top coordinate.
 
Right : integer, 
right coordinate.
 
Bottom : integer, 
bottom coordinate.

Expand Parameters : cluster,

Scale X : float, specifies the number of pixel duplications per column. The column is recopied if the default value (1) is used.
Scale Y : float,
specifies the number of pixel duplications per line. The row is recopied if the default value (1) is used.

Output parameters

 

Image Dst : class

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install TIGR library to run it).

Table of Contents