摘要
以X口腔线龋齿边缘图像为例,给出其边缘描述及曲线平滑处理的MATLAB函数。在边缘图像边沿平滑处理后,采用了简单的点扫描方式描述边缘函数tocurve(g,h,w),其中引入了边缘线宽度约定参数w,以保证生成函数f比较准确;采用了适当改进的移动均值法,编制的平滑函数smooth_r(x,span,n)在对原函数头尾数据截断处理后,再按指定循环次数,进行了循环平滑处理。通过实验可知,采用上述函数处理医疗牙X线特征图像算法简洁,实用性强。
Taking the tooth X_ray image for example,this paper gives the MATLAB functions of edge description and the smooth treatment.The spot scanning function tocurve(g,h,w) leads in the width parameter w in order to assure the accuracy of the generating function.By way of improving the method of moving averages.The smooth function smooth_r(x,span,n) applicates the cycling treatments.The test result shows that these functions are simple and useful.
出处
《计算机与数字工程》
2010年第10期137-138,共2页
Computer & Digital Engineering