morousg / cvGPUSpeedup

A faster implementation of OpenCV-CUDA that uses OpenCV objects, and more!
Apache License 2.0
34 stars 5 forks source link

Add some convenience functions #97

Closed morousg closed 4 months ago

morousg commented 4 months ago

Add the following functions:

template DerivedOutputType discard_last(const I& input);

struct StaticAddAlpha

template <typename I, VBase alpha> DerivedOutputType add_alpha(const I& input)