IMAQ Get Calibration Info VI

LabView NI Vision

IMAQ Get Calibration Info VI

Owning Palette: CalibrationInstalled With: NI Vision Development Module

Returns calibration information associated with an image. Use the IMAQ Learn Calibration Template VI or the IMAQ Set Simple Calibration VI to set this calibration information.

IMAQ Get Calibration Info

cgenclasstagrefflat.gif

Calibrated Image is the reference to the input image that determines the output calibration information.

cerrcodeclst.gif

error in (no error) describes the error status before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.

cbool.gif

status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.

ci32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.

i2dsgl.gif

Error Map returns the error map if it was determined by the IMAQ Learn Calibration Template VI.

icclst.gif

User ROI Descriptor defines the region you specified at the time of calibration.

i1di32.gif

Global Rectangle contains the coordinates of the bounding rectangle.

i1dcclst.gif

Contours are each of the individual shapes that define an ROI.

ienum.gif

ID refers to whether the contour is the external or internal edge of an ROI.

iu32.gif

Type is the shape type of the contour.

i1di32.gif

Coordinates indicates the relative position of the contour.

igenclasstagrefflat.gif

Calibrated Image (duplicate) is a reference to the output image. This image is identical to the input Calibrated Image.

isgl.gif

Quality Score is the quality score of the learning process between 0–1000. A quality of 1000 means that the chosen algorithm learned the feature points well. It does not necessarily reflect the absolute accuracy of the estimated calibration mapping.

icclst.gif

Calibration Learn Setup contains the following values:

iu32.gif

Distortion indicates the type of distortion you can correct when correcting an image. Choose from the following options:

Perspective (0)

Image contains perspective calibration information.

Nonlinear (1)

Image contains nonlinear calibration information.

Simple Calibration (2)

Image contains simple calibration information (no perspective or nonlinear information).

Corrected (3)

Image has been corrected and contains calibration unit and scaling factor.

iu32.gif

Corrected Image Scaling defines the aspect scaling to use when correcting an image.

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.

iu32.gif

Corrected Image Learn ROI specifies the ROI to use when correcting an image.

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 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.

ibool.gif

Learn Error Map? is a Boolean input value. Set this input to TRUE if you want the software to calculate and store an error map during the learning process. The image error map reflects error bounds on the calibration transformation.

ibool.gif

Learn Correction Table? is a Boolean input value. Set this input to TRUE if you want the correction table to be determined and stored. The correction table accelerates the process of correcting an image. It is useful if several images are going to be corrected.

icclst.gif

Grid Descriptor returns scaling constants used to calibrate the image.

isgl.gif

X Step is the real-world distance between circle centers in the x direction.

isgl.gif

Y Step is the real-world distance between circle centers in the y direction.

ienum.gif

Unit is the units of X Step and Y Step.

inclst.gif

Threshold Range is the range of grayscale values in a grid image that represent the circles. This is the threshold range for detecting the centers of the circles. Lower value and Upper value must be between 0?255.

isgl.gif

Lower value is the lowest pixel value used during a manual threshold. The default is 1.

isgl.gif

Upper value is the highest pixel value used during a manual threshold. The default is 255.

ierrcodeclst.gif

error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.

icclst.gif

Calibration ROI Descriptor returns an ROI that corresponds to the region of the image where the calibration information is accurate.

i1di32.gif

Global Rectangle contains the coordinates of the bounding rectangle.

i1dcclst.gif

Contours are each of the individual shapes that define an ROI.

ienum.gif

ID refers to whether the contour is the external or internal edge of an ROI.

iu32.gif

Type is the shape type of the contour.

i1di32.gif

Coordinates indicates the relative position of the contour.

icclst.gif

Calibration Axis Info defines a Reference Coordinate System for the real-world coordinates.

inclst.gif

Origin Pixel is the origin of the reference coordinate system, expressed in pixel units.

isgl.gif

Angle Relative to Horizontal (deg) is the angle of the x-axis of the real-world coordinate system, in relation to the horizontal. The horizontal is expressed by a row of circle centers.

iu32.gif

Axis Reference is defined as Direct or Indirect. Refer to Axis Type for more information.