OPTIMIZED IMPLEMENTATION OF THRESHOLD SEGMENTATION ALGORITHM FOR FT-M7002
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.