Computer Science ›› 2015, Vol. 42 ›› Issue (Z6): 221-222.

Previous Articles     Next Articles

Sobel Edge-detection on Color Image Based on Interoperability between CUDA and OpenGL

LI Chi-xin and LAN Cong-hua   

  • Online:2018-11-14 Published:2018-11-14

Abstract: With the quick development of general-computing on GPU,many jobs which were once implemented by CPU now can be delivered to GPU.In this paper,depending on the interoperability between CUDA and OpenGL,jobs of edge-detection on color image and displaying result are all finished by GPU,the only job for CPU is delivering data to GPU.By doing so,computing speed is increased and efficiency of GPU is maximized.The experimental results indicate that interoperability between CUDA and OpenGL is an effective method which can combine parallel processing capability of GPU and displaying capability of GPU.Compared with other 2 kinds of scheme which only uses CPU to process image and only uses GPU to parallelly compute data,this kind of scheme can achieve 80 times speedup when processing high resolution image.

Key words: Edge-detection,Interoperability,CUDA,OpenGL,Sobel

[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!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!