计算机科学 ›› 2015, Vol. 42 ›› Issue (Z6): 221-222.
李驰新,兰聪花
LI Chi-xin and LAN Cong-hua
摘要: 为了充分发挥GPU通用计算的能力,将以往由CPU承担的计算任务更多地移交给GPU完成,使用了基于CUDA和OpenGL的互操作技术,完全依靠GPU完成彩色图像的边缘检测和结果显示任务,CPU只负责传递数据到GPU,既提高了整个过程的计算速度,也最大程度地发挥了GPU的功效。实验结果表明,基于CUDA和OpenGL的互操作的图像处理技术是一种有效结合GPU并行处理能力和GPU图像显示技术的解决方案,与只使用CPU和只使用GPU并行计算的方案相比,本方法在处理高分辨率的图像时,可以获得80倍以上的加速比。
[1] NVIDIA.CUDA Compute Unified Device Architecture:Pro-gramming Guide(Version 4.2)[EB/OL].[2011-11].http://www.nvidia.com/object/cuda_home.html [2] 邢军.基于 Sobel 算子数字图像的边缘检测[J].微机发展,2009,0(14):3360-3361 [3] Sonka M,Hlavac V.Image Processing,Analysis,and MachineVision [M].Tsinghua University Press,2011 [4] NVIDIA.CUDA SDK-Graphics Interop[EB/OL].http://www.nvidia.cn/content/cudazone/cuda_sdk/Graphics_Interop.html [5] Podlozhnyuk V.Image Convolution with CUDA[EB/OL].2007-01-06.http://www.nvidia.com/object/cuda_home.html [6] NVIDIA.NVIDIA CUDA Compute Unified Device Architec-ture:Programming Guide(Version 4.2)[EB/OL].http://www.nvidia.com/object/cuda_home.html [7] Ahn S H.OpenGL Pixel Buffer Object[EB/OL].http://www.songho.ca/opengl/gl_pbo.html [8] CSDN.CUDA与OpenGL交互开发[EB/OL].http://blog.csdn.net/ruby97/article/details/8851403 [9] Zuo H R.Fast Sobel Edge Detection Algorithm Base on GPU[J].Opto-Electronic Engineering,2009(1):8-12 [10] 谭立勋,刘缠牢,李春燕.实时图像处理中Sobel 算子的改进 [J].弹箭与制导学报,2006,26(1):291-293 [11] Kharlamov A,Podlozhnyuk V.Image Denoising [EB/OL].2007-05-16.http://www.nvidia.com/object/cuda_home.html [12] 左颢睿,张启衡.基于GPU 的快速Sobel 边缘检测算法[J].光电工程,2009,6(1):10-12 |
No related articles found! |
|