现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2014年
6期
8-11
,共4页
徐克强%梁光明%刘任任%王职军%谢俊
徐剋彊%樑光明%劉任任%王職軍%謝俊
서극강%량광명%류임임%왕직군%사준
图像处理%Canny算子%DSP优化%图像快速分割
圖像處理%Canny算子%DSP優化%圖像快速分割
도상처리%Canny산자%DSP우화%도상쾌속분할
image processing%Canny operator%DSP optimization%fast image segmentation
为了在DSP平台实现细胞图像快速分割,详细分析Canny算子原理,结合TI DSP TMS320C6678处理器特性,实现了算法移植。针对与外部存储器图像数据交互,改变以往对图像逐灰度值进行访问的方式,设计了矢量化数据打包方法处理高斯滤波来提高并行运算。且在梯度计算、阈值计算过程中,采用宽存储器访问方法提高读写外部存储器效率。结果表明设计的优化方法在不改变分割效果前提下改善了算子速度,可为工程人员在DSP平台进行算法移植与优化提供借鉴。
為瞭在DSP平檯實現細胞圖像快速分割,詳細分析Canny算子原理,結閤TI DSP TMS320C6678處理器特性,實現瞭算法移植。針對與外部存儲器圖像數據交互,改變以往對圖像逐灰度值進行訪問的方式,設計瞭矢量化數據打包方法處理高斯濾波來提高併行運算。且在梯度計算、閾值計算過程中,採用寬存儲器訪問方法提高讀寫外部存儲器效率。結果錶明設計的優化方法在不改變分割效果前提下改善瞭算子速度,可為工程人員在DSP平檯進行算法移植與優化提供藉鑒。
위료재DSP평태실현세포도상쾌속분할,상세분석Canny산자원리,결합TI DSP TMS320C6678처리기특성,실현료산법이식。침대여외부존저기도상수거교호,개변이왕대도상축회도치진행방문적방식,설계료시양화수거타포방법처리고사려파래제고병행운산。차재제도계산、역치계산과정중,채용관존저기방문방법제고독사외부존저기효솔。결과표명설계적우화방법재불개변분할효과전제하개선료산자속도,가위공정인원재DSP평태진행산법이식여우화제공차감。
In order to realise the quick image segmentation in the DSP platform,the Canny detector theory is analyzed in detail. The arithmetic transplant was implemented in combition with TI DSP TMS320C6678 processor properties. Aiming at data interaction with the images in external memory,the past mode that the images were accessed according to gray values one by one was improved. The vectorized packed data was designed for dealing with Gaussian filtering to improve the parallel operation, and the accessing method of wide memory in the process of gradient compution and the threshold value calculation was adopted to improve the read-write efficiency of external memory. The result indicates that the optimization method designed in this paper can improve the velocity of Canny operator under the condition of not changing the segmentation result,and can provide a reference for the engineers to carry out arithmetic transplant and optimization on the DSP platform.