Table Of Contents

Setup Learn Calibration Correction (G Dataflow)

Last Modified: June 25, 2019

Sets parameters used to correct the calibration in an image.

connector_pane_image
datatype_icon

ROI descriptor

ROI to use when correcting the calibration in an image. The whole image is corrected if there is no user-defined ROI.

datatype_icon

Global Rectangle

Coordinates of the bounding rectangle.

datatype_icon

Global Rectangle

Coordinates of the bounding rectangle.

datatype_icon

reference image

Reference to the image containing calibration information.

datatype_icon

correction learn setup

Information about how the image correction is performed.

datatype_icon

Corrected Image Scaling

Aspect scaling to use when correcting an image.

Name Value Description
Scale to Preserve Area 0

The corrected image is scaled such that the features in the image have the same size as the input image.

Scale to Fit 1

The corrected image is scaled to be the same size as the input image.

datatype_icon

Corrected Image Learn ROI

ROI to use when correcting an image.

Name Value Description
Full Image 0

The whole image is always corrected, regardless of the user-defined or calibration-defined ROIs.

Calibration ROI 1

The area defined by the Calibration ROI is corrected. The calibration ROI is computed by the algorithm and corresponds to the area of the calibration template containing dots.

ROI 2

The area defined by ROI Descriptor.gtype is corrected.

ROI AND Calibration ROI 3

The area defined by the intersection of the ROI and Calibration ROI is corrected.

ROI OR Calibration ROI 4

The area defined by the union of the ROI and Calibration ROI is corrected.

datatype_icon

Learn Correction Table?

Boolean value specifying whether to learn a correction table. The correction table accelerates the process of correcting an image. It is useful if several images are going to be corrected.

TRUE Determine and store the correction table.
FALSE Do not store the correction table.

Default: FALSE

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

apply calibration axis

Boolean value that specifies whether the node takes into account the orientation and Axis reference of the calibration axis when correcting the image. As a result, the corrected image might be rotated and/or flipped, based on the angle and axis reference.

TRUE Apply the calibration axis to the corrected image.
FALSE Ignore the calibration axis when correcting the image.

Default: TRUE

datatype_icon

calibration template image out

Reference to the output image. This image contains the learned calibration information.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics