Summary: | In order to realize automatic cutting of strain gauge diaphragm, it is needed to detect and identify strain gauge edge. Though classic canny algorithm can detect the edge of strain gauge, it has such problems as low accuracy, being easily influenced by light, random noise. This paper proposes an improved canny algorithm, replacing Gauss filtering of classic canny algorithm with median filtering, improving gradient magnitude calculation method, and selecting threshold with iteration. Compared to classic canny algorithm the method can improve the ability to resist random noise while detecting strain gauge edge more accurately. Application of the method to strain gauge edge detection will lay foundation for realization of strain gauge automatic cutting.
|