In response to the difficulties in measuring the dimensions of triangular precision workpieces and the high cost of inspection, this paper proposes a fast and accurate detection algorithm based on partial-area-effect model. Firstly, image preprocessing is performed through morphological operations. Then, the OTSU adaptive threshold is introduced into the partial-area-effect model algorithm to improve detection accuracy. Afterwards, straight edge information is extracted using 8-connected region Hough transform. Finally, the improved least squares method combining least squares with RANSAC method is used to fit the length of the straight line. This method has fast computation speed, high detection accuracy, with maximum measurement error less than 0.004mm, average measurement error accuracy less than 0.003mm, and average detection time less than 1.5s. It meets the accuracy requirements for workpiece inspection.
No takes yet. Share an insight, caveat, or question.
Yu et al. (2024) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: