计算机应用与软件2024,Vol.41Issue(8):254-258,310,6.DOI:10.3969/j.issn.1000-386x.2024.08.036
面向FT-M7002的阈值分割算法优化实现
OPTIMIZED IMPLEMENTATION OF THRESHOLD SEGMENTATION ALGORITHM FOR FT-M7002
摘要
Abstract
In the rapid development of domestic high-performance DSP,there is a lack of high-performance image processing algorithm which can give full play to its architecture advantages.To solve the above problems,the widely-used Otsu threshold segmentation algorithm is optimized for FT platform.Based on the analysis of FT-M7002 architecture and Otsu threshold segmentation algorithm,this paper used Feiteng vector instruction set for manual vectorization rewriting to make full use of FT-M7002 platform ultra long vector register,so as to reduce the number of data access and improve data level parallelism.The performance test was carried out under various image matrix scales.The results show that the optimized threshold comparison module achieves 3.74~4.39 times acceleration effect,and the optimized Otsu threshold segmentation algorithm achieves 1.77~1.87 times acceleration effect.关键词
FT-M7002/Otsu阈值分割/手工向量化/循环展开/数据级并行Key words
FT-M7002/Otsu threshold segmentation/Manual vectorization/Loop unrolling/Data level parallelism分类
信息技术与安全科学引用本文复制引用
陈云,胡伟方,王梦园,商建东..面向FT-M7002的阈值分割算法优化实现[J].计算机应用与软件,2024,41(8):254-258,310,6.基金项目
国家重点研发计划子课题(2018YFB0505000). (2018YFB0505000)