|
| UMat (UMatUsageFlags usageFlags=USAGE_DEFAULT) CV_NOEXCEPT |
| default constructor More...
|
|
| UMat (int rows, int cols, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
| constructs 2D matrix of the specified size and type More...
|
|
| UMat (Size size, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
|
| UMat (int rows, int cols, int type, const Scalar &s, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
| constructs 2D matrix and fills it with the specified value _s. More...
|
|
| UMat (Size size, int type, const Scalar &s, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
|
| UMat (int ndims, const int *sizes, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
| constructs n-dimensional matrix More...
|
|
| UMat (int ndims, const int *sizes, int type, const Scalar &s, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
|
| UMat (const UMat &m) |
| copy constructor More...
|
|
| UMat (const UMat &m, const Range &rowRange, const Range &colRange=Range::all()) |
| creates a matrix header for a part of the bigger matrix More...
|
|
| UMat (const UMat &m, const Rect &roi) |
|
| UMat (const UMat &m, const Range *ranges) |
|
| UMat (const UMat &m, const std::vector< Range > &ranges) |
|
template<typename _Tp > |
| UMat (const std::vector< _Tp > &vec, bool copyData=false) |
| builds matrix from std::vector with or without copying the data More...
|
|
| UMat (UMat &&m) |
|
| ~UMat () |
| destructor - calls release() More...
|
|
void | addref () |
| increases the reference counter; use with care to avoid memleaks More...
|
|
UMat & | adjustROI (int dtop, int dbottom, int dleft, int dright) |
| moves/resizes the current matrix ROI inside the parent matrix. More...
|
|
void | assignTo (UMat &m, int type=-1) const |
|
int | channels () const |
| returns element type, similar to CV_MAT_CN(cvmat->type) More...
|
|
int | checkVector (int elemChannels, int depth=-1, bool requireContinuous=true) const |
| returns N if the matrix is 1-channel (N x ptdim) or ptdim-channel (1 x N) or (N x 1); negative number otherwise More...
|
|
CV_NODISCARD_STD UMat | clone () const |
| returns deep copy of the matrix, i.e. the data is copied More...
|
|
UMat | col (int x) const |
| returns a new matrix header for the specified column More...
|
|
UMat | colRange (int startcol, int endcol) const |
| ... for the specified column span More...
|
|
UMat | colRange (const Range &r) const |
|
void | convertTo (OutputArray m, int rtype, double alpha=1, double beta=0) const |
| converts matrix to another datatype with optional scaling. See cvConvertScale. More...
|
|
void | copySize (const UMat &m) |
| internal use function; properly re-allocates _size, _step arrays More...
|
|
void | copyTo (OutputArray m) const |
| copies the matrix content to "m". More...
|
|
void | copyTo (OutputArray m, InputArray mask) const |
| copies those matrix elements to "m" that are marked with non-zero mask elements. More...
|
|
void | create (int rows, int cols, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
| allocates new matrix data unless the matrix already has specified size and type. More...
|
|
void | create (Size size, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
|
void | create (int ndims, const int *sizes, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
|
void | create (const std::vector< int > &sizes, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT) |
|
void | deallocate () |
| deallocates the matrix data More...
|
|
int | depth () const |
| returns element type, similar to CV_MAT_DEPTH(cvmat->type) More...
|
|
UMat | diag (int d=0) const |
|
double | dot (InputArray m) const |
| computes dot-product More...
|
|
size_t | elemSize () const |
| returns element size in bytes, More...
|
|
size_t | elemSize1 () const |
| returns the size of element channel in bytes. More...
|
|
bool | empty () const |
| returns true if matrix data is NULL More...
|
|
Mat | getMat (AccessFlag flags) const |
|
void * | handle (AccessFlag accessFlags) const |
|
UMat | inv (int method=DECOMP_LU) const |
| matrix inversion by means of matrix expressions More...
|
|
bool | isContinuous () const |
| returns true iff the matrix data is continuous More...
|
|
bool | isSubmatrix () const |
| returns true if the matrix is a submatrix of another matrix More...
|
|
void | locateROI (Size &wholeSize, Point &ofs) const |
| locates matrix header within a parent matrix. See below More...
|
|
UMat | mul (InputArray m, double scale=1) const |
| per-element matrix multiplication by means of matrix expressions More...
|
|
void | ndoffset (size_t *ofs) const |
|
UMat | operator() (Range rowRange, Range colRange) const |
| extracts a rectangular sub-matrix More...
|
|
UMat | operator() (const Rect &roi) const |
|
UMat | operator() (const Range *ranges) const |
|
UMat | operator() (const std::vector< Range > &ranges) const |
|
UMat & | operator= (const UMat &m) |
| assignment operators More...
|
|
UMat & | operator= (const Scalar &s) |
| sets every matrix element to s More...
|
|
UMat & | operator= (UMat &&m) |
|
void | release () |
| decreases reference counter; More...
|
|
UMat | reshape (int cn, int rows=0) const |
| creates alternative matrix header for the same data, with different More...
|
|
UMat | reshape (int cn, int newndims, const int *newsz) const |
|
UMat | row (int y) const |
| returns a new matrix header for the specified row More...
|
|
UMat | rowRange (int startrow, int endrow) const |
| ... for the specified row span More...
|
|
UMat | rowRange (const Range &r) const |
|
UMat & | setTo (InputArray value, InputArray mask=noArray()) |
| sets some of the matrix elements to s, according to the mask More...
|
|
size_t | step1 (int i=0) const |
| returns step/elemSize1() More...
|
|
UMat | t () const |
| matrix transposition by means of matrix expressions More...
|
|
size_t | total () const |
| returns the total number of matrix elements More...
|
|
int | type () const |
| returns element type, similar to CV_MAT_TYPE(cvmat->type) More...
|
|
void | updateContinuityFlag () |
| internal use method: updates the continuity flag More...
|
|
|
static CV_NODISCARD_STD UMat | diag (const UMat &d, UMatUsageFlags usageFlags) |
| constructs a square diagonal matrix which main diagonal is vector "d" More...
|
|
static CV_NODISCARD_STD UMat | diag (const UMat &d) |
|
static CV_NODISCARD_STD UMat | eye (int rows, int cols, int type, UMatUsageFlags usageFlags) |
|
static CV_NODISCARD_STD UMat | eye (Size size, int type, UMatUsageFlags usageFlags) |
|
static CV_NODISCARD_STD UMat | eye (int rows, int cols, int type) |
|
static CV_NODISCARD_STD UMat | eye (Size size, int type) |
|
static MatAllocator * | getStdAllocator () |
| and the standard allocator More...
|
|
static CV_NODISCARD_STD UMat | ones (int rows, int cols, int type, UMatUsageFlags usageFlags) |
|
static CV_NODISCARD_STD UMat | ones (Size size, int type, UMatUsageFlags usageFlags) |
|
static CV_NODISCARD_STD UMat | ones (int ndims, const int *sz, int type, UMatUsageFlags usageFlags) |
|
static CV_NODISCARD_STD UMat | ones (int rows, int cols, int type) |
|
static CV_NODISCARD_STD UMat | ones (Size size, int type) |
|
static CV_NODISCARD_STD UMat | ones (int ndims, const int *sz, int type) |
|
static CV_NODISCARD_STD UMat | zeros (int rows, int cols, int type, UMatUsageFlags usageFlags) |
| Matlab-style matrix initialization. More...
|
|
static CV_NODISCARD_STD UMat | zeros (Size size, int type, UMatUsageFlags usageFlags) |
|
static CV_NODISCARD_STD UMat | zeros (int ndims, const int *sz, int type, UMatUsageFlags usageFlags) |
|
static CV_NODISCARD_STD UMat | zeros (int rows, int cols, int type) |
|
static CV_NODISCARD_STD UMat | zeros (Size size, int type) |
|
static CV_NODISCARD_STD UMat | zeros (int ndims, const int *sz, int type) |
|