没有合适的资源?快使用搜索试试~ 我知道了~
Image_convolution_with_CUDA.pdf
4星 · 超过85%的资源 需积分: 9 37 下载量 174 浏览量
2011-12-21
15:30:22
上传
评论
收藏 1005KB PDF 举报
温馨提示
试读
21页
Convolution filtering is a technique that can be used for a wide array of image processing tasks, some of which may include smoothing and edge detection. In this document we show how a separable convolution filter can be implemented in NVIDIA CUDA and provide some guidelines for performance optimizations.
资源推荐
资源详情
资源评论
June 2007
Image Convolution
with CUDA
Victor Podlozhnyuk
sdkfeedback@nvidia.com
June 2007 Page ii of 21
Document Change History
Version Date Responsible Reason for Change
0.1 10/25/2006 Lee Howes Initial version
0.2 2/09/2007 Mark Harris Revised Lee’s original document
0.3 2/26/2007 Eric Young Revised document to match new SDK document
format
0.8 3/21/2007 Mark Harris First release version.
1.0 06/1/2007 Victor Podlozhnyuk Adapted the whitepaper to new
convolutionSeparable project.
June 2007 Page iii of 21
Table of Contents
Table of Contents ...........................................................................................................................................iii
Abstract.............................................................................................................. 1
Motivation.........................................................................................................................................................2
How Does It Work?........................................................................................................................................3
A Naïve Implementation ................................................................................................................................5
Shared Memory and the Apron .....................................................................................................................6
Avoiding idle threads.......................................................................................................................................7
Separable Filters Can Increase Efficiency....................................................................................................9
Optimizing for memory coalescence..........................................................................................................10
Unrolling Loops.............................................................................................................................................11
Implementations Details...............................................................................................................................11
The Row Filter ...............................................................................................................................................11
The Column Filter .........................................................................................................................................13
Running the Sample ......................................................................................................................................14
Conclusion ......................................................................................................................................................16
Bibliography....................................................................................................................................................17
June 2007 Page 1 of 211
Abstract
Convolution filtering is a technique that can be used for a wide array of image processing
tasks, some of which may include smoothing and edge detection. In this document we show
how a separable convolution filter can be implemented in NVIDIA CUDA and provide
some guidelines for performance optimizations.
Image Convolution with CUDA
June 2007 Page 2 of 21
Motivation
Convolutions are used by many applications for engineering and mathematics. Many types
of blur filters or edge detection use convolutions. This example illustrates how using CUDA
can be used for an efficient and high performance implementation of a separable
convolution filter. Figure 1(b) shows the effect of a convolution filter.
Figure 1(a) Original Image
Figure 1(b) Blur convolution filter applied to the source image from Figure 1(a)
These two images show a comparison of an image convolution applied to an original source
image.
剩余20页未读,继续阅读
资源评论
- zlhwoxin2013-12-02学习cuda拿来参考下,可以用,多谢了
- liangyie2012-10-21很好很好很好的,只不过是没有很容易懂~ 概述性内容。
- lqzhu262013-08-02下下来做参考的,没有仔细看,文件可以用
myselfshj
- 粉丝: 23
- 资源: 22
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功