▍1. 找圆心坐标
图像拟合圆并标记圆心坐标,有需要的同志可以参考(The image is fitted to the circle and the center coordinates are marked)
用halcon给实际采集的图像进行畸变矫正,然后可以再人为添加一定程度的畸变,以便于定量研究,可运行已调试,可作为学习参考(Halcon is used to correct the distortion of the image collected, and then the human can add some degree of distortion to facilitate quantitative research. It can be run and debugged, and can be used as a reference for study)
缺陷检测,顶帽变换,底帽变换,halcon,可以直接使用(Defect detection, top hat transformation, and bottom cap transform, Halcon, can be used directly)