OpenCV, without a doubt, has the largest collection of image processing functions, and recently they have begun to serve porting functions in CUDA. There appeared a new GPU module in the latest OpenCV with several features ported to CUDA.
Saying that OpenCV is not the best option for creating a CUDA-based application, since there are many dedicated CUDA libraries, such as CUVI , that beat OpenCV in performance . If you are looking for an optimized solution, try also.
source share