Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

3d convolution in c++

I'm looking for some source code implementing 3d convolution. Ideally, I need C++ code or CUDA code. I'd appreciate if anybody can point me to a nice and fast implementation :-)

Cheers

like image 679
user237147 Avatar asked Dec 09 '25 22:12

user237147


1 Answers

you understand that convolution is normally done by using an fft? see, for example, http://en.wikipedia.org/wiki/Convolution

so you need an fft library.

Fastest method to compute convolution suggests http://www.fftw.org/ (for a traditional cpu).

for cuda, use cufft - http://www.gsic.titech.ac.jp/~ccwww/tebiki/tesla_e/tesla6_e.html

like image 157
andrew cooke Avatar answered Dec 12 '25 12:12

andrew cooke



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!