hybridgroup / gocv

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

added missing cuda imgproc standalone functions #1227

Closed diegohce closed 1 month ago

diegohce commented 2 months ago

Added functions:

AlphaComp GammaCorrection SwapChannels CalcHist CalcHist_WithParams EqualizeHist EvenLevels HistEven HistRange BilateralFilter BlendLinear MeanShiftFiltering MeanShiftProc MeanShiftSegmentation

deadprogram commented 2 months ago

Hello @diegohce thank you very much for another great PR.

One small problem is that I think we need both the XXX and XXXWithStream versions for each CUDA function.

Please see https://github.com/hybridgroup/gocv/blob/f684ee7148c2bc244303ff8f45c9079f755c1524/cuda/arithm.go#L13-L28 for an example.

diegohce commented 2 months ago

Hello @diegohce thank you very much for another great PR.

One small problem is that I think we need both the XXX and XXXWithStream versions for each CUDA function.

Please see

https://github.com/hybridgroup/gocv/blob/f684ee7148c2bc244303ff8f45c9079f755c1524/cuda/arithm.go#L13-L28

for an example.

Hi @deadprogram , no problem, my bad. I wIl fix it asap

deadprogram commented 1 month ago

Thank you very much for the additions @diegohce now merging.