Modifing source code

asked 2016-11-18 02:29:51 -0500

Hi,

I want to modify some part of openCV code. My purpose is to implement convolvution function with CUDA. I'm using ubuntu os, so was built by cmake and make commands. However, I'm new to cmake and makefile process. Thus, I doon't know how to include my file, which is .cu for cuda file, to source code.

Could you give me suggestion?

edit retag flag offensive close merge delete

Comments

It's only my own experience (with cpp): If you want to add functionnality to an existing module cmake I don(t think you have to worry about cmake list (like in cpp). You can try to add your sourcefile in your repo in this module. I think it would be include in your opencv. You have to add definition in this file I think too About convolution I think you have check if an filter2d implementation doest not exist

You can read this or report an issue too if you have a specific question

LBerger gravatar imageLBerger ( 2016-11-18 04:05:25 -0500 )edit