This paper empirically investigates the relationships between 15 design metrics and maintainability of 148 Java open source software.The results show that size and complexity metrics are strongly related to the mainta...This paper empirically investigates the relationships between 15 design metrics and maintainability of 148 Java open source software.The results show that size and complexity metrics are strongly related to the maintainability of open source software.However,cohesion and coupling,as currently captured by existing metrics,do not seem to have a significant impact on maintainability.When used together,these metrics can predict system maintainability fairly accurately(mean MREs below 30%).展开更多
针对传统单一的Canny算子在使用高斯滤波进行平滑处理时丢失大量边缘信息、无法保留大量图像细节的问题,提出一种基于Canny算子的图像边缘检测改进算法,弥补了传统算法在图像边缘检测中的不足.改进算法采用双边滤波代替传统高斯滤波,通...针对传统单一的Canny算子在使用高斯滤波进行平滑处理时丢失大量边缘信息、无法保留大量图像细节的问题,提出一种基于Canny算子的图像边缘检测改进算法,弥补了传统算法在图像边缘检测中的不足.改进算法采用双边滤波代替传统高斯滤波,通过控制双边滤波器权重参数来减少图像边缘信息的丢失;利用小波变换对图像高频系数进行放大,并缩小低频系数,增强图像细节;在配置了开源计算机视觉库的Microsoft Visual Studio 2010开发环境下,将增强后的边缘信息与传统算法的边缘信息进行比较,以验证其视觉效果及参数效果.结果表明,改进算法较传统算法具有明显优势.展开更多
基金Supported by the National Natural Science Foundation of China(60425206,60633010)the High Technology Research Project of Jiangsu Province(BG2005032)the Specialized Research Fund for the Doctoral Program of Higher Education of China(20060286020)
文摘This paper empirically investigates the relationships between 15 design metrics and maintainability of 148 Java open source software.The results show that size and complexity metrics are strongly related to the maintainability of open source software.However,cohesion and coupling,as currently captured by existing metrics,do not seem to have a significant impact on maintainability.When used together,these metrics can predict system maintainability fairly accurately(mean MREs below 30%).
文摘针对传统单一的Canny算子在使用高斯滤波进行平滑处理时丢失大量边缘信息、无法保留大量图像细节的问题,提出一种基于Canny算子的图像边缘检测改进算法,弥补了传统算法在图像边缘检测中的不足.改进算法采用双边滤波代替传统高斯滤波,通过控制双边滤波器权重参数来减少图像边缘信息的丢失;利用小波变换对图像高频系数进行放大,并缩小低频系数,增强图像细节;在配置了开源计算机视觉库的Microsoft Visual Studio 2010开发环境下,将增强后的边缘信息与传统算法的边缘信息进行比较,以验证其视觉效果及参数效果.结果表明,改进算法较传统算法具有明显优势.