IMAQ Learn Calibration Template VI
Owning Palette: CalibrationInstalled With: NI Vision Development ModuleLearns a calibration from a template. The template can be an image of a grid of circles, or a set of pixel coordinates and corresponding real-world coordinates.
Note When learning a calibration template from an image of a grid of circles, the image type must be either U8 or I16. |
ROI Descriptor defines the region of interest to use in the learning process. All circles in the grid that are outside the defined region are not used when estimating the calibration transformation.
|
|||||||||||||||||||||||||||||||||
Image is a reference to the template used for calibrating your system. It should be an image of a grid of dots. The contents of this image are not used if the Reference Points array is provided to the VI. |
|||||||||||||||||||||||||||||||||
Calibration Learn Setup contains the following values:
|
|||||||||||||||||||||||||||||||||
Grid Descriptor contains information about a grid image that is used to learn the calibration. If the image has been calibrated previously, using the IMAQ Learn Calibration Template VI, this input is ignored and the previously defined grid descriptor is used. This is an optional input. This input contains the following information:
|
|||||||||||||||||||||||||||||||||
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.
|
|||||||||||||||||||||||||||||||||
Reference Points is the set of reference points to use in learning a calibration transformation. The minimum number of points is 4. If you connect Reference Points, a grid image is not required.
|
|||||||||||||||||||||||||||||||||
Calibration Axis Info defines a Reference Coordinate System for the real-world coordinates.
|
|||||||||||||||||||||||||||||||||
Calibrated Image is the reference to the output image. This image contains the learned calibration information. Use this image to propagate the calibration information through your application. The calibration information is associated with the image until the image is resized or disposed of. Use the IMAQ Write Image And Vision Info VI to save the calibration information to disk with the image. You can use the IMAQ Read Image And Vision InfoVI to retrieve the calibration information. |
|||||||||||||||||||||||||||||||||
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. |
|||||||||||||||||||||||||||||||||
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.
|
Examples
Refer to the following for examples that use this VI.
- LabVIEW\examples\Vision\2. Functions\Calibration\Perspective Calibration Example.llb
- LabVIEW\examples\Vision\2. Functions\Calibration\Simple Calibration Example.llb