hybridgroup / gocv

Go package for computer vision using OpenCV 4 and beyond. Includes support for DNN, CUDA, and OpenCV Contrib.
https://gocv.io
Other
6.42k stars 853 forks source link

ADD Cuda MultiplyWithStream #1141

Closed dwchoo closed 5 months ago

dwchoo commented 5 months ago

I wanted to use Multiply in Cuda. However, MultiplyWithStream was not available. OpenCV had Stream ready(cuda/arithm.cpp, cuda/arithm.h and opencv mutliply), but GoCV did not have MultiplyWithStream.
So I added the function and confirmed that it works well. It would be nice if MultiplyWithStream were available.
And I fixed the multiply opencv link because it was incorrect.
link in code : https://docs.opencv.org/master/d8/d34/group__cudaarithm__elem.html#ga124315aa226260841e25cc0b9ea99dc3 correct link : https://docs.opencv.org/4.x/d8/d34/group__cudaarithm__elem.html#ga497cc0615bf717e1e615143b56f00591