Implementing the Extract Grid Features of NI Calibration Training using VDM

Updated Nov 17, 2022

Reported In

Software

  • Vision Development Module
  • Vision Builder for Automated Inspection
  • LabVIEW
  • Vision Assistant

Driver

  • NI-IMAQ
  • IMAQ Vision

Issue Details

I am using NI Calibration Training Utility to calibrate for a distortion model (or microplanes) and I can do this in VBAI (Vision Builder for Automated Inspection) as well.  In Step 3 - Extract Grid Features, there are three parameters that cover Valid Dot Area, Valid Circularity, and Ignore Objects Touching Region Borders, as shown in the image below.  

How do I control these three parameters and other Extract Grid Feature parameters within VDM (Vision Development Module)?  What is the VDM equivalent?

Solution

The IMAQ Particle Filter 3 VI provides the parameters equivalent to Valid Dot Area, Valid Circularity, and Ignore Objects Touching Region Borders available in NI Calibration Training Utility.  

The IMAQ Particle Filter 3 VI can be found in Vision and Motion»Image Processing»Image Processing»Morphology.  

There is also an example that shows the use of the IMAQ Particle Filter 3 VI and a thresholding VI that is located at LabVIEW\examples\Vision\Calibration\Perspective Calibration.vi.
 

Additional Information

There are calibration VIs included in VDM that are located in Vision and Motion»Vision Utilities»Calibration.  However, these VIs do not include image processing options that are included the in NI Calibration Training Interface.  In order to get the same functionality in LabVIEW via VDM, you need to use VIs from other palettes.