|
|
|
@ -164,7 +164,8 @@ public: |
|
|
|
|
CUDA_GPU_MAT = 9 << KIND_SHIFT, |
|
|
|
|
UMAT =10 << KIND_SHIFT, |
|
|
|
|
STD_VECTOR_UMAT =11 << KIND_SHIFT, |
|
|
|
|
STD_BOOL_VECTOR =12 << KIND_SHIFT |
|
|
|
|
STD_BOOL_VECTOR =12 << KIND_SHIFT, |
|
|
|
|
STD_VECTOR_CUDA_GPU_MAT = 13 << KIND_SHIFT |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
_InputArray(); |
|
|
|
@ -181,6 +182,7 @@ public: |
|
|
|
|
template<typename _Tp, int m, int n> _InputArray(const Matx<_Tp, m, n>& matx); |
|
|
|
|
_InputArray(const double& val); |
|
|
|
|
_InputArray(const cuda::GpuMat& d_mat); |
|
|
|
|
_InputArray(const std::vector<cuda::GpuMat>& d_mat_array); |
|
|
|
|
_InputArray(const ogl::Buffer& buf); |
|
|
|
|
_InputArray(const cuda::HostMem& cuda_mem); |
|
|
|
|
template<typename _Tp> _InputArray(const cudev::GpuMat_<_Tp>& m); |
|
|
|
@ -192,6 +194,7 @@ public: |
|
|
|
|
UMat getUMat(int idx=-1) const; |
|
|
|
|
void getMatVector(std::vector<Mat>& mv) const; |
|
|
|
|
void getUMatVector(std::vector<UMat>& umv) const; |
|
|
|
|
void getGpuMatVector(std::vector<cuda::GpuMat>& gpumv) const; |
|
|
|
|
cuda::GpuMat getGpuMat() const; |
|
|
|
|
ogl::Buffer getOGlBuffer() const; |
|
|
|
|
|
|
|
|
@ -223,7 +226,7 @@ public: |
|
|
|
|
bool isUMatVector() const; |
|
|
|
|
bool isMatx() const; |
|
|
|
|
bool isVector() const; |
|
|
|
|
|
|
|
|
|
bool isGpuMatVector() const; |
|
|
|
|
~_InputArray(); |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
@ -283,6 +286,7 @@ public: |
|
|
|
|
_OutputArray(Mat& m); |
|
|
|
|
_OutputArray(std::vector<Mat>& vec); |
|
|
|
|
_OutputArray(cuda::GpuMat& d_mat); |
|
|
|
|
_OutputArray(std::vector<cuda::GpuMat>& d_mat); |
|
|
|
|
_OutputArray(ogl::Buffer& buf); |
|
|
|
|
_OutputArray(cuda::HostMem& cuda_mem); |
|
|
|
|
template<typename _Tp> _OutputArray(cudev::GpuMat_<_Tp>& m); |
|
|
|
@ -299,6 +303,7 @@ public: |
|
|
|
|
_OutputArray(const Mat& m); |
|
|
|
|
_OutputArray(const std::vector<Mat>& vec); |
|
|
|
|
_OutputArray(const cuda::GpuMat& d_mat); |
|
|
|
|
_OutputArray(const std::vector<cuda::GpuMat>& d_mat); |
|
|
|
|
_OutputArray(const ogl::Buffer& buf); |
|
|
|
|
_OutputArray(const cuda::HostMem& cuda_mem); |
|
|
|
|
template<typename _Tp> _OutputArray(const cudev::GpuMat_<_Tp>& m); |
|
|
|
@ -317,6 +322,7 @@ public: |
|
|
|
|
Mat& getMatRef(int i=-1) const; |
|
|
|
|
UMat& getUMatRef(int i=-1) const; |
|
|
|
|
cuda::GpuMat& getGpuMatRef() const; |
|
|
|
|
std::vector<cuda::GpuMat>& getGpuMatVecRef() const; |
|
|
|
|
ogl::Buffer& getOGlBufferRef() const; |
|
|
|
|
cuda::HostMem& getHostMemRef() const; |
|
|
|
|
void create(Size sz, int type, int i=-1, bool allowTransposed=false, int fixedDepthMask=0) const; |
|
|
|
@ -356,6 +362,7 @@ public: |
|
|
|
|
_InputOutputArray(const Mat& m); |
|
|
|
|
_InputOutputArray(const std::vector<Mat>& vec); |
|
|
|
|
_InputOutputArray(const cuda::GpuMat& d_mat); |
|
|
|
|
_InputOutputArray(const std::vector<cuda::GpuMat>& d_mat); |
|
|
|
|
_InputOutputArray(const ogl::Buffer& buf); |
|
|
|
|
_InputOutputArray(const cuda::HostMem& cuda_mem); |
|
|
|
|
template<typename _Tp> _InputOutputArray(const cudev::GpuMat_<_Tp>& m); |
|
|
|
|