现代信息科技2024,Vol.8Issue(16):44-48,5.DOI:10.19850/j.cnki.2096-4706.2024.16.010
基于CUDA的Scharr算子并行化研究
Research on Parallelization of Scharr Operators Based on CUDA
摘要
Abstract
Traditional edge detection operators use the method of seeking gradients row by row in order,which makes it difficult to meet the high computational density requirements of large image sizes or high computational speed.This paper designs the Scharr operator from the perspective of parallelization,optimizes the algorithm on two-dimensional data parallel computing using CUDA language,proposes a design idea for multithreaded block offset calculation,and adopts stream processing to reduce transmission overhead.Experiment results show that compared with the traditional Scharr operator,it exhibits efficient recognition speed in image recognition of sizes on 7 000×7 000,with an acceleration ratio increased by about 300 times,and has high application value.关键词
边缘检测/Scharr算子/并行计算Key words
edge detection/Scharr operator/parallel computing分类
信息技术与安全科学引用本文复制引用
张晗,李芳..基于CUDA的Scharr算子并行化研究[J].现代信息科技,2024,8(16):44-48,5.基金项目
大学生网络行为特征及其失范行为约束机制研究,2020年自治区创新环境建设专项(2020D01C001) (2020D01C001)