Abstract:Aiming at the problems of low efficiency and low precision in manual measurement of honing Angle of engine cylinder wall in practical industrial testing, a measuring method based on machine vision was proposed. Firstly, Gabor optimal filter channel algorithm is used to process the sample image to obtain the enhanced linear feature pattern image. Then, DFT transformation is performed on the pattern image to obtain the Fourier spectrum image. Then, the peak lines in the spectrum image are obtained based on the digital differential analysis algorithm and the included Angle of the two peak lines is calculated as the calculation result. Meanwhile, the results were compared with the manual measurement results based on Camera Measure software. The test results show that the error of this method is only 0.33% compared with manual measurement, and the mean difference of repeated measurement is within ±1°. In terms of detection time, the average detection time of a workpiece is 0.53s. This method has the advantages of high precision and fast speed, which can effectively replace manual measurement in industrial testing.