Perform Calibration with User-Defined Points

NI Vision Assistant

Perform Calibration with User-Defined Points

  1. Click Image»Image Calibration or select Image Calibration in the Image tab of the Processing Functions palette.
  2. Select Calibration Using User-Defined Points and click OK.
  3. Select the type of Distortion that applies to the image.
  4. Select a point. You can select a point that was defined by a previous inspection step by double-clicking the point in the list or clicking the point in the image. You also can define a new point by clicking an unspecified pixel in the image.
  5. Enter the Real-World Coordinates of the point you selected.
  6. Select at least three more points.
  7. Click OK.
  8. Click the Specify Calibration Axis tab.
  9. Select the origin of the calibration axis by entering the X- and Y-coordinates or by selecting an Existing Point from the list.
  10. Select the User-Defined Angle of the calibration or select an Existing Angle. If you choose an Existing Angle from the list, you can add 90°, 180°, or 270° to the value.
  11. Select an Axis Reference.
  12. Click OK to learn the calibration.
  13. Browse to the directory you want to save the calibration information in, enter a File name, and click OK.
  14. Click OK to save the step in the script and close the Parameter window.

Control Descriptions

Define Reference Points Tab

  • Open Image—Image on which you specify points to base the calibration. This image must be the same size as the image you want to calibrate. Vision Assistant does not run the script on this image.
  • Distortion—Type of image distortion.
  • Select at least 4 points—Points defined in the image that you can use to calibrate the image.
  • Reset—Option to deselect all points.
  • Unit—Real-world unit of the measurement.
  • Image Coordinates—Pixel coordinates of the selected point.
  • Real-World Coordinates—Real-world coordinates of the selected point.

Specify Calibration Axis Tab

  • Axis Origin
    • User Defined—X- and y-coordinates of the pixel that you want to use as the calibration axis origin.
    • Existing Point—Point defined in a previous step that you want to use as the calibration axis origin.
  • X Axis Angle
    • User Defined—Angle you want to use between the x-axis of the calibration axes and the horizontal axis of the image.
    • Existing Angle—Angle defined in a previous step that you want to use between the x-axis of the calibration axes and the horizontal axis of the image. You can select a value from the + control to add to the Angle value.
  • Axis Reference—Direction of the y-axis.

Related Topics

Calibrate Controls