NI Vision for LabVIEW

IMAQ Set Calibration Axis Info 2 VI

  • Updated2023-02-21
  • 11 minute(s) read
Owning Palette: Calibration
Requires: NI Vision Development Module

Assigns coordinate system information to a calibration template image.

IMAQ Set Calibration Axis Info

Assigns coordinate system information to a calibration template image. Use this instance with a point distance calibration, when the image is not distorted, and the origin of the calibration axis is within the image.

Examples

Supported Image Types

8-bit unsigned grayscale 16-bit unsigned grayscale 32-bit RGB 16-bit signed grayscale floating point grayscale 32-bit HSL

IMAQ Set Calibration Axis Info

cgenclasstagrefflat.gif

Calibration Template Image In is a reference to the template image to use for calibrating your system.

ccclst.gif

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

cnclst.gif

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

csgl.gif

Angle Relative to Horizontal (deg) is the angle of the x-axis of the real-world coordinate system, in relation to the X-axis of the previously set calibration axis. For distortion model and microplane calibrations, the horizontal is expressed by a row of circle centers. For perspective calibration, the angle is relative to the implicit calibration axis that was defined when learning the calibration. The Reference Points define the implicit calibration axis.

cu32.gif

Axis Reference specifies the direction of the coordinate system. The Axis Reference can be Direct or Indirect. Refer to Axis Type for more 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.

igenclasstagrefflat.gif

Calibration Template Image Out is the reference to the output image.

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.

IMAQ Set Calibration Axis Info - Point

Assigns coordinate system information to a calibration template image. Use this instance when the image is calibrated with a perspective, distortion model, or microplanes, and the origin of the calibration axis is within the image.

Note  This method is recommended over setting the axis using an angle because it is usually more accurate to specify a point on the X-axis than the angle of the calibration axis, especially if the image is distorted.

Supported Image Types

8-bit unsigned grayscale 16-bit unsigned grayscale 32-bit RGB 16-bit signed grayscale floating point grayscale 32-bit HSL

IMAQ Set Calibration Axis Info - Point

cgenclasstagrefflat.gif

Calibration Template Image In is a reference to the template image to use for calibrating your system.

ccclst.gif

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

cnclst.gif

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

cnclst.gif

X Axis Pixel is the pixel on the positive side of the X-axis. The angle between the Origin Pixel and the X Axis Pixel defines the angle of the calibration axis.

csgl.gif

X is the x-coordinate of the point.

csgl.gif

Y is the y-coordinate of the point.

cu32.gif

Axis Reference specifies the direction of the coordinate system. The Axis Reference can be Direct or Indirect. Refer to Axis Type for more 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.

igenclasstagrefflat.gif

Calibration Template Image Out is the reference to the output image.

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.

IMAQ Set Calibration Axis Info - Reference Points

Assigns coordinate system information to a calibration template image. Use this instance when the origin of the calibration axis is outside of the image.

Supported Image Types

8-bit unsigned grayscale 16-bit unsigned grayscale 32-bit RGB 16-bit signed grayscale floating point grayscale 32-bit HSL

IMAQ Set Calibration Axis Info - Reference Points

cgenclasstagrefflat.gif

Calibration Template Image In is a reference to the template image to use for calibrating your system.

c1dnclst.gif

Pixel Coordinates are the coordinates of 3 reference points in the image, in pixels.

cdbl.gif

X is the x-coordinate of the point.

cdbl.gif

Y is the y-coordinate of the point.

c1dnclst.gif

Real World Coordinates are the corresponding locations of the 3 previously specified reference points in the real world.

cdbl.gif

X is the x-coordinate of the point.

cdbl.gif

Y is the y-coordinate of the point.

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.

igenclasstagrefflat.gif

Calibration Template Image Out is the reference to the output image.

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.

Log in to get a better experience