43 #ifndef OPENCV_CUDA_TRANSFORM_HPP
44 #define OPENCV_CUDA_TRANSFORM_HPP
47 #include "utility.hpp"
48 #include "detail/transform_detail.hpp"
56 namespace cv {
namespace cuda {
namespace device
58 template <
typename T,
typename D,
typename UnOp,
typename Mask>
59 static inline void transform(PtrStepSz<T> src, PtrStepSz<D>
dst, UnOp op,
const Mask&
mask, cudaStream_t stream)
61 typedef TransformFunctorTraits<UnOp> ft;
62 transform_detail::TransformDispatcher<VecTraits<T>::cn == 1 && VecTraits<D>::cn == 1 && ft::smart_shift != 1>::call(src,
dst, op,
mask, stream);
65 template <
typename T1,
typename T2,
typename D,
typename BinOp,
typename Mask>
66 static inline void transform(PtrStepSz<T1>
src1, PtrStepSz<T2>
src2, PtrStepSz<D>
dst, BinOp op,
const Mask&
mask, cudaStream_t stream)
68 typedef TransformFunctorTraits<BinOp> ft;
69 transform_detail::TransformDispatcher<VecTraits<T1>::cn == 1 && VecTraits<T2>::cn == 1 && VecTraits<D>::cn == 1 && ft::smart_shift != 1>::call(
src1,
src2,
dst, op,
mask, stream);
CV_EXPORTS_W void transform(InputArray src, OutputArray dst, InputArray m)
Performs the matrix transformation of every array element.
const CvArr const CvArr * src2
Definition: core_c.h:994
const CvArr * src1
Definition: core_c.h:993
CV_EXPORTS OutputArray int double double InputArray mask
Definition: imgproc.hpp:2132
OutputArray dst
Definition: imgproc.hpp:3564
"black box" representation of the file storage associated with a file on disk.
Definition: calib3d.hpp:441