opencv and CUDA kernel

Hi,

I am new to opencv and I have the following questions.

  1. Is it possible to use opencv functions in CUDA program ? I tried it and I haven’t been able to compile it successfully. CImg doesn’t seem to compile too.
  2. Regarding opencv-GPU, the sample program on OpenCV-GPU page compiles and runs successfully. apart from the opencv-gpu functions, is there a way to include my own cuda kernels in the program ?

Have you considering using the free version of ArrayFire for this? It has more image processing than the GPU version of OpenCV and is easier to use. Also, it adapts well to the inclusion of your own CUDA kernels.