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.
Reference to the source image.
Reference to the image containing calibration information.
Set of reference points to use in learning a calibration. Create the reference points manually or use the Calibration Target to Points - Circular Dots node.
Coordinates of 3 reference points in the image, in pixels.
X-coordinate of the point.
Y-coordinate of the point.
Relative locations of the dots in the real world.
X-coordinate of the point.
Y-coordinate of the point.
Unit of the Real World Coordinates.
Size of the calibration template image.
Horizontal size of the image.
Vertical size of the image.
Distortion model settings to use.
Type of distortion model.
Name | Value | Description |
---|---|---|
None | -1 |
Do not learn a distortion model. |
Polynomial | 0 |
Learn a polynomial distortion model. Using multiple coefficients increases computation accuracy at the expense of speed. |
Division | 1 |
Learn a division distortion model. Use this distortion model when the image contains minimal distortion. |
Polynomial model configuration.
Number of polynomial coefficients to use.
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.
Default: No error
Reference to the output image.
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.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application