Extract

Description

Extracts (reduces) an image or part of an image with adjustment of 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). Extract Parameters : cluster,

Documentation illustration (illustration unavailable in the archive). Scale X : float, vertical sampling step, which defines the columns to be extracted (the horizontal reduction ratio). For example, with an X equal to 3, one out of every three columns is extracted from the Image Src into the Image Dst. Each column is extracted if the default value (1) is used.
Documentation illustration (illustration unavailable in the archive).
Scale Y : float,
horizontal sampling step, which defines the lines to be extracted (the vertical reduction ratio). Each row is extracted 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).