NI Vision for LabVIEW

Calibration

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

Use the Calibration VIs to spatially calibrate an image. Spatial calibration converts pixel coordinates to real-world coordinates while compensating for potential perspective errors or nonlinear distortions in your imaging system.

Palette Object Description
IMAQ Calibration Target to Points - Circular Dots 2

Detects circular dots in a binary image and returns the pixel and real world points for calibration. Refines the location of circular dots using a supplied grayscale image.

IMAQ Set Simple Calibration2

Sets a simple calibration using pixel ratios in the x and y direction.

IMAQ Learn Micro Plane

Learns the microplane calibration information for correcting images in a nonplanar working plane.

IMAQ Learn Perspective Calibration

Learns perspective calibration information to correct perspective distortion introduced by a camera that is not perpendicular to the plane of the object under inspection.

IMAQ Learn Distortion Model

Learns a distortion model of the camera and lens setup. If your camera is not perpendicular to the object under inspection, you can combine distortion modeling with perspective calibration.

IMAQ Learn Camera Model

Learns detailed camera characteristics, including the focal length, optical center, and distortion model. Because a camera model includes a distortion model, you do not need to compute a separate distortion model.

IMAQ Set Calibration Axis Info 2

Assigns coordinate system information to a calibration template image.

IMAQ Correction Learn Setup

Sets parameters used to correct the calibration in an image.

IMAQ Set Calibration Info

Applies calibration information from a calibration template to another image. Both images must be the same size.

IMAQ Get Calibration Info 3

Returns calibration information associated with an image.

IMAQ Get Camera Parameters

Returns the internal and external paramters of the learned camera model.

IMAQ Get Calibration Thumbnail Image

Returns the thumbnail images that were stored during the learning phase of calibration.

IMAQ Compact Calibration Info

Removes the information and thumbnail images used to learn the calibration, to make the size of the calibration file smaller. Relearning and retrieving thumbnails are not possible after compaction.

IMAQ Convert Real World to Pixel

Transforms real-world coordinates to pixel coordinates, according to the calibration information acquired from the IMAQ Learn Calibration Template VI, the IMAQ Set Simple Calibration VI, or copied from a calibrated image using the IMAQ Set Calibration Info VI.

IMAQ Convert Pixel to Real World

Transforms pixel coordinates to real-world coordinates, according to the calibration information contained in the image. Calibration information is attached to this image by the IMAQ Learn Calibration Template VI, the IMAQ Set Simple Calibration VI, or the IMAQ Set Calibration Info VI.

IMAQ Correct Calibrated Image

Corrects a calibrated image by applying a calibration to create a spatially correct image.

IMAQ Read Image And Vision Info

Reads an image file, including any extra vision information saved with the image. This includes overlay information, pattern matching template information, calibration information, and custom data, as written by the IMAQ Write Image And Vision Info File 2 instance of the IMAQ Write File 2 VI.

IMAQ Write Image And Vision Info File 2

Writes an image, along with extra vision information associated with the image, to a PNG file. This extra vision information includes overlay information, pattern matching template information, calibration information, and custom data.



Log in to get a better experience