This invention discloses a method and apparatus for calibrating a telecentric
structured light system based on the geometric center of a
checkerboard pattern. The method includes: selecting test calibration board images from a set of calibration board images; performing
image edge detection and binarization based on the
Sobel operator to obtain a binarized edge map; performing line detection based on the
Hough transform, calculating the rotation correction angles corresponding to the vertical lines of the
checkerboard pattern, and constructing a
rotation matrix using the rotation correction angles; constructing a standard
checkerboard pattern
template based on ROI selection and edge expansion
processing of the test calibration board images; performing normalization
processing on each calibration board image, and then performing
template matching and sub-pixel-level center localization with the standard
checkerboard pattern template to finally determine the center coordinates of the
checkerboard pattern in the corresponding calibration board image as feature point coordinates; and using the
rotation matrix to perform attitude correction on the feature point coordinates of each calibration board image, thereby calibrating the telecentric
structured light system. This invention can significantly improve calibration accuracy and stability.