Study on Sub-Pixel Accuracy Dimensional Measurement of Medical Balloon Based on Machine Vision
摘要
针对医用球囊实际使用精度要求高,采用传统人工尺寸测量效率低、精度难以保证等问题,提出一种基于机器视觉的医用球囊亚像素级尺寸测量方法.首先,该方法将采集的图片灰度化并应用双边滤波降低噪声干扰,通过基于形态学闭运算处理的最大类间方差法提取出完整的球囊区域.其次,通过基于最大类间方差法的 Canny 算子实现自适应阈值边缘检测,在此基础上再利用改进的 Zernike 矩进行亚像素级定位获取亚像素坐标点.最后,通过基于 DBSCAN 的最小二乘拟合法求解出球囊的近端、远端、本体直径及本体长度.实验结果表明,该方法的平均测量精度可达 0.03 mm,测量精度高,速度快,在柔性易变形的球囊尺寸测量中具有较好的实际应用价值.
Targeting at the high precision requirements for the actual use of medical balloons,and the low efficiency and difficulty to ensure the accuracy of traditional manual size measurement,a machine vision-based sub-pixel level size measurement method for medical balloons is proposed.Firstly,the method greyscales the collected images and applies bilateral filtering to reduce the noise interference,and the complete balloon region is extracted by using the maximum inter-class variance method based on morphological closed-computer processing.Secondly,adaptive threshold edge detection is achieved by the Canny operator based on the maximum interclass variance method,on the basis of which subpixel-level localisation is performed to obtain subpixel coordinate points by using improved Zernike moments.Finally,the proximal end,distal end,body diameter and body length of the balloon are solved by using the DBSCAN-based least squares fitting method.The experimental results show that the average measurement accuracy of this method can reach 0.03 mm,with high measurement accuracy and fast speed,which has good practical application value in the measurement of the size of flexible and deformable balloon.