|
| __host__ | GpuMat_ (Allocator *allocator=defaultAllocator()) |
| | 默认构造函数
|
| |
| template<class Body > |
| __host__ | GpuMat_ (const Expr< Body > &expr) |
| | 表达式模板
|
| |
| __host__ | GpuMat_ (const GpuMat &m, Allocator *allocator=defaultAllocator()) |
| | 复制/转换构造函数。如果 m 是不同类型,则将其转换
|
| |
| __host__ | GpuMat_ (const GpuMat_ &m) |
| | 复制构造函数
|
| |
| __host__ | GpuMat_ (const GpuMat_ &m, Range arowRange, Range acolRange) |
| | 选择子矩阵
|
| |
| __host__ | GpuMat_ (const GpuMat_ &m, Rect roi) |
| |
| __host__ | GpuMat_ (InputArray arr, Allocator *allocator=defaultAllocator()) |
| | 从主机内存构建 GpuMat (阻塞调用)
|
| |
| __host__ | GpuMat_ (int arows, int acols, Allocator *allocator=defaultAllocator()) |
| | 构造指定大小的 GpuMat
|
| |
| __host__ | GpuMat_ (int arows, int acols, Scalar val, Allocator *allocator=defaultAllocator()) |
| | 构造 GpuMat 并用指定值填充
|
| |
| __host__ | GpuMat_ (int arows, int acols, T *adata, size_t astep=Mat::AUTO_STEP) |
| | 在用户分配的数据上构建矩阵。 step 以字节为单位(!!!),不考虑类型
|
| |
| __host__ | GpuMat_ (Size asize, Allocator *allocator=defaultAllocator()) |
| |
| __host__ | GpuMat_ (Size asize, Scalar val, Allocator *allocator=defaultAllocator()) |
| |
| __host__ | GpuMat_ (Size asize, T *adata, size_t astep=Mat::AUTO_STEP) |
| |
| __host__ GpuMat_ & | adjustROI (int dtop, int dbottom, int dleft, int dright) |
| |
| template<class Body > |
| __host__ GpuMat_ & | assign (const Expr< Body > &expr, Stream &stream) |
| |
| __host__ int | channels () const |
| |
| __host__ GpuMat_ | clone () const |
| | etc. 重载形式 GpuMat::row() 等
|
| |
| __host__ GpuMat_ | col (int x) const |
| |
| __host__ GpuMat_ | colRange (int startcol, int endcol) const |
| |
| __host__ GpuMat_ | colRange (Range r) const |
| |
| __host__ void | create (int arows, int acols) |
| | 除非 GpuMat 已经指定大小和类型,否则分配新的 GpuMat 数据
|
| |
| __host__ void | create (Size asize) |
| |
| __host__ int | depth () const |
| |
| __host__ size_t | elemSize () const |
| | 等重载形式 GpuMat::elemSize() 等
|
| |
| __host__ size_t | elemSize1 () const |
| |
| __host__ GpuMat_ | operator() (Range rowRange, Range colRange) const |
| |
| __host__ GpuMat_ | operator() (Rect roi) const |
| |
| template<class Body > |
| __host__ GpuMat_ & | operator= (const Expr< Body > &expr) |
| |
| __host__ GpuMat_ & | operator= (const GpuMat_ &m) |
| | 赋值运算符
|
| |
| __host__ T * | operator[] (int y) |
| | 行和元素访问运算符的更方便的形式
|
| |
| __host__ const T * | operator[] (int y) const |
| |
| __host__ GpuMat_ | row (int y) const |
| |
| __host__ GpuMat_ | rowRange (int startrow, int endrow) const |
| |
| __host__ GpuMat_ | rowRange (Range r) const |
| |
| __host__ size_t | step1 () const |
| |
| __host__ size_t | stepT () const |
| | 返回 步长 step()/sizeof(T)
|
| |
| __host__ void | swap (GpuMat_ &mat) |
| | 与其他智能指针交换
|
| |
| __host__ int | type () const |
| |
| __host__ void | upload (InputArray arr) |
| | 执行数据上传到 GpuMat (阻塞调用)
|
| |
| __host__ void | upload (InputArray arr, Stream &stream) |
| | 执行数据上传到 GpuMat (非阻塞调用)
|
| |
| | GpuMat (const GpuMat &m) |
| | 复制构造函数
|
| |
| | GpuMat (const GpuMat &m, Range rowRange, Range colRange) |
| | 为较大矩阵的一部分创建 GpuMat 标头
|
| |
| | GpuMat (const GpuMat &m, Rect roi) |
| |
| | GpuMat (GpuMat::Allocator *allocator=GpuMat::defaultAllocator()) |
| | 默认构造函数
|
| |
| | GpuMat (InputArray arr, GpuMat::Allocator *allocator=GpuMat::defaultAllocator()) |
| | 从主机内存构建 GpuMat (阻塞调用)
|
| |
| | GpuMat (int rows, int cols, int type, GpuMat::Allocator *allocator=GpuMat::defaultAllocator()) |
| | 构建指定大小和类型的 GpuMat
|
| |
| | GpuMat (int rows, int cols, int type, Scalar s, GpuMat::Allocator *allocator=GpuMat::defaultAllocatorBOOT) |
| | 构建GpuMat并使用指定的值_s填充
|
| |
| | GpuMat (int rows, int cols, int type, void *data, size_t step=Mat::AUTO_STEPBOOT) |
| | GpuMat的头构造器指向用户分配的数据
|
| |
| | GpuMat (Size size, int type, GpuMat::Allocator *allocator=GpuMat::defaultAllocatorBOOT) |
| |
| | GpuMat (Size size, int type, Scalar s, GpuMat::Allocator *allocator=GpuMat::defaultAllocatorBOOT) |
| |
| | GpuMat (Size size, int type, void *data, size_t step=Mat::AUTO_STEPBOOT) |
| |
| | ~GpuMat () |
| | 析构函数 - 调用release()
|
| |
| GpuMat & | adjustROI (int dtop, int dbottom, int dleft, int dright) |
| | 移动/调整当前GpuMat的ROI在父GpuMat内部的大小
|
| |
| void | assignTo (GpuMat &m, int type=-1) const |
| |
| int | channels () const |
| | 返回通道数
|
| |
| GpuMat | clone () const |
| | 返回 GpuMat 的深拷贝,即数据被复制
|
| |
| GpuMat | col (int x) const |
| | 返回指定列的新 GpuMat 标题
|
| |
| GpuMat | colRange (int startcol, int endcol) const |
| | ... 对于指定的列范围
|
| |
| GpuMat | colRange (Range r) const |
| |
| void | convertTo (GpuMat &dst, int rtype, double alpha, double beta, Stream &stream) const |
| | 重载,将 GpuMat 转换为另一种数据类型并缩放(非阻塞调用)
|
| |
| void | convertTo (GpuMat &dst, int rtype, double alpha=1.0, double beta=0.0) const |
| | 重载,将 GpuMat 转换为另一种数据类型并缩放(阻塞调用)
|
| |
| void | convertTo (GpuMat &dst, int rtype, Stream &stream) const |
| | 重载,将 GpuMat 转换为另一种数据类型(非阻塞调用)
|
| |
| void | convertTo (OutputArray dst, int rtype) const |
| | 阻止调用,将 GpuMat 转换为另一种数据类型
|
| |
| void | convertTo (OutputArray dst, int rtype, double alpha, double beta, Stream &stream) const |
| | 非阻塞调用,将 GpuMat 转换为另一种数据类型并缩放
|
| |
| void | convertTo (OutputArray dst, int rtype, double alpha, double beta=0.0) const |
| | 阻塞调用,将 GpuMat 转换为另一种数据类型并缩放
|
| |
| void | convertTo (OutputArray dst, int rtype, double alpha, Stream &stream) const |
| | 非阻塞调用,将 GpuMat 转换为另一种数据类型并缩放
|
| |
| void | convertTo (OutputArray dst, int rtype, Stream &stream) const |
| | 非阻塞调用,将 GpuMat 转换为另一种数据类型
|
| |
| void | copyTo (GpuMat &dst) const |
| | 绑定过载,将 GpuMat 内容复制到设备内存(阻塞调用)
|
| |
| void | copyTo (GpuMat &dst, GpuMat &mask) const |
| | 绑定过载,将那些带有非零掩码元素的 GpuMat 元素复制到 "m"(阻塞调用)
|
| |
| void | copyTo (GpuMat &dst, GpuMat &mask, Stream &stream) const |
| | 绑定过载,将那些带有非零掩码元素的 GpuMat 元素复制到 "m"(非阻塞调用)
|
| |
| void | copyTo (GpuMat &dst, Stream &stream) const |
| | 绑定过载,将 GpuMat 内容复制到设备内存(非阻塞调用)
|
| |
| void | copyTo (OutputArray dst) const |
| | 将 GpuMat 内容复制到设备内存(阻塞调用)
|
| |
| void | copyTo (OutputArray dst, InputArray mask) const |
| | 将那些带有非零掩码元素的 GpuMat 元素复制到 "m"(阻塞调用)
|
| |
| void | copyTo (OutputArray dst, InputArray mask, Stream &stream) const |
| | 将那些带有非零掩码元素的 GpuMat 元素复制到 "m"(非阻塞调用)
|
| |
| void | copyTo (OutputArray dst, "classcv_1_1cuda_1_1Stream.h">Stream &stream) const |
| | 将 GpuMat 内容复制到设备内存(非阻塞调用)
|
| |
| void | create (int rows, int cols, int type) |
| | 除非 GpuMat 已经指定了大小和类型,否则分配新的 GpuMat 数据
|
| |
| void | create (Size size, int type) |
| |
| void * | cudaPtr () const |
| |
| int | depth () const |
| | 返回元素类型
|
| |
| void | download (OutputArray dst) const |
| | 从 GpuMat 执行数据下载(阻塞调用)
|
| |
| void | download (OutputArray dst, Stream &stream) const |
| | 从 GpuMat 执行数据下载(非阻塞调用)
|
| |
| size_t | elemSize () const |
| | 返回以字节为单位的元素大小
|
| |
| size_t | elemSize1 () const |
| | 返回元素通道大小(以字节为单位)
|
| |
| bool | empty () const |
| | 如果 GpuMat 数据为NULL,则返回true
|
| |
| bool | isContinuous () const |
| |
| void | locateROI (Size &wholeSize, Point &ofs) const |
| | 在父 GpuMat 中定位 GpuMat 报头
|
| |
| template<typename _Tp > |
| | operator PtrStep< _Tp > () const |
| |
| template<typename _Tp > |
| | operator PtrStepSz< _Tp > () const |
| |
| GpuMat | operator() (Range rowRange, Range colRange) const |
| | 提取矩形子-GpuMat(这是row、rowRange等的通用形式)
|
| |
| GpuMat | operator() (Rect roi) const |
| |
| GpuMat & | operator= (const GpuMat &m) |
| | 赋值运算符
|
| |
| uchar * | ptr (int y=0) |
| | 返回y-th行的指针
|
| |
| template<typename _Tp > |
| _Tp * | ptr (int y=0) |
| | 上述方法的模板版本
|
| |
| const uchar * | ptr (int y=0) const |
| |
| template<typename _Tp > |
| const _Tp * | ptr (int y=0) const |
| |
| void | release () |
| | 减少引用计数,当引用计数达到0时释放数据
|
| |
| GpuMat | reshape (int cn, int rows=0) const |
| |
| GpuMat | row (int y) const |
| | 返回特定行的 GpuMat 标头
|
| |
| GpuMat | rowRange (int startrow, int endrow) const |
| | ... 用于指定行跨度
|
| |
| GpuMat | rowRange (Range r) const |
| |
| GpuMat & | setTo (Scalar s) |
| | 将一些 GpuMat 元素设置为 s (阻塞调用)
|
| |
| GpuMat & | setTo (Scalar s, InputArray mask) |
| | 根据掩码设置一些 GpuMat 元素到 s (阻塞调用)
|
| |
| GpuMat & | setTo (Scalar s, InputArray mask, Stream &stream) |
| | 根据掩码设置一些 GpuMat 元素到 s (非阻塞调用)
|
| |
| GpuMat & | setTo (Scalar s, Stream &stream) |
| | 将一些 GpuMat 元素设置为 s (非阻塞调用)
|
| |
| Size | size () const |
| | 返回 GpuMat 的大小: 宽度 = 列数,高度 = 行数
|
| |
| size_t | step1 () const |
| | 返回 step/elemSize1()
|
| |
| void | swap (GpuMat &mat) |
| | 与其他智能指针交换
|
| |
| int | type () const |
| | 返回元素类型
|
| |
| void | updateContinuityFlag () |
| | 内部使用方法:更新连续性标志
|
| |
| void | upload (InputArray arr) |
| | 执行数据上传到 GpuMat (阻塞调用)
|
| |
| void | upload (InputArray arr, Stream &stream) |
| | 执行数据上传到 GpuMat (非阻塞调用)
|
| |