Expand

Description

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

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted U8, I16, RGB and HSL.

Documentation illustration (illustration unavailable in the archive). 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.

Documentation illustration (illustration unavailable in the archive). Left : integer, left coordinate.
Documentation illustration (illustration unavailable in the archive). 
Top : integer, 
top coordinate.
Documentation illustration (illustration unavailable in the archive). 
Right : integer, 
right coordinate.
Documentation illustration (illustration unavailable in the archive). 
Bottom : integer, 
bottom coordinate.

Documentation illustration (illustration unavailable in the archive).

Documentation illustration (illustration unavailable in the archive). Expand Parameters : cluster,

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

Documentation illustration (illustration unavailable in the archive).

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Image Dst : class

Examples

All these examples 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 Computer Vision ​library to run it).