Measurement of Rivet Hole Geometric Parameters Based on Machine Vision
In order to solve the problems of low efficiency and poor accuracy of the traditional rivet hole geometric pa-rameter measurement method,a method based on machine vision is proposed.The hole characteristic information is captured by CCD industrial camera.Gray processing,bilateral filter and histogram equalization are used to reduce the influence of color and noise on the image.Particle swarm optimization Otsu dual-threshold segmentation is used to extract the region of interest.Zernike moment subpixel edge detection is used to improve the edge detection accuracy instead of the traditional edge detection algorithm.The previous pixel loss is compensated by morphological processing.Improved Randomized Hough Transform(IRHT)is used to measure the center coordinate and radius of the hole by extracting the features of the hole.Fi-nally,pixel equivalent calibration is used to convert the measured pixel values into physical dimensions.The experimental re-sults show that the error of hole spacing measured by this method is less than 2%,and the error of the rivet hole with 2mm ra-dius is less than 4%,which is better than the traditional detection methods such as centroid algorithm and circle fitting.