Class cv::cudev::GpuMat_#
#include <opencv2/cudev/ptr2d/gpumat.hpp>Collaboration diagram for cv::cudev::GpuMat_:
Public Member Functions#
Public Member Functions inherited from cv::cuda::GpuMat
Return |
Name |
Description |
|---|---|---|
copy constructor |
||
creates a GpuMat header for a part of the bigger matrix |
||
|
default constructor |
|
|
builds GpuMat from host memory (Blocking call) |
|
|
constructs GpuMat of the specified size and type |
|
constructs GpuMat and fills it with the specified value _s |
||
|
constructor for GpuMat headers pointing to user-allocated data |
|
|
||
|
||
|
||
destructor - calls release() |
||
|
moves/resizes the current GpuMat ROI inside the parent GpuMat |
|
|
||
|
returns number of channels |
|
returns deep copy of the GpuMat, i.e. the data is copied |
||
returns a new GpuMat header for the specified column |
||
… for the specified column span |
||
|
bindings overload which converts GpuMat to another datatype (Blocking call) |
|
|
|
bindings overload which converts GpuMat to another datatype with scaling (Non-Blocking call) |
|
bindings overload which converts GpuMat to another datatype (Non-Blocking call) |
|
|
converts GpuMat to another datatype (Blocking call) |
|
|
|
converts GpuMat to another datatype with scaling (Non-Blocking call) |
|
|
converts GpuMat to another datatype with scaling (Blocking call) |
|
|
bindings overload which converts GpuMat to another datatype with scaling(Blocking call) |
|
converts GpuMat to another datatype (Non-Blocking call) |
|
|
bindings overload which copies the GpuMat content to device memory (Blocking call) |
|
|
bindings overload which copies those GpuMat elements to “m” that are marked with non-zero mask elements (Blocking call) |
|
|
bindings overload which copies those GpuMat elements to “m” that are marked with non-zero mask elements (Non-Blocking call) |
|
|
bindings overload which copies the GpuMat content to device memory (Non-Blocking call) |
|
|
copies the GpuMat content to device memory (Blocking call) |
|
|
copies those GpuMat elements to “m” that are marked with non-zero mask elements (Blocking call) |
|
|
copies those GpuMat elements to “m” that are marked with non-zero mask elements (Non-Blocking call) |
|
|
copies the GpuMat content to device memory (Non-Blocking call) |
|
|
allocates new GpuMat data unless the GpuMat already has specified size and type |
|
|
||
|
||
|
returns element type |
|
|
Performs data download from GpuMat (Blocking call) |
|
|
Performs data download from GpuMat (Non-Blocking call) |
|
|
returns element size in bytes |
|
|
returns the size of element channel in bytes |
|
|
returns true if GpuMat data is NULL |
|
|
allocates or reuses underlying storage to fit the requested 2D size and type (no-op if already compatible) |
|
|
||
|
||
|
locates GpuMat header within a parent GpuMat |
|
extracts a rectangular sub-GpuMat (this is a generalized form of row, rowRange etc.) |
||
|
assignment operators |
|
|
returns pointer to y-th row |
|
|
template version of the above method |
|
|
||
|
||
|
decreases reference counter, deallocate the data when reference counter reaches 0 |
|
returns a new GpuMat header for the specified row |
||
… for the specified row span |
||
|
sets some of the GpuMat elements to s (Blocking call) |
|
|
sets some of the GpuMat elements to s, according to the mask (Blocking call) |
|
|
sets some of the GpuMat elements to s, according to the mask (Non-Blocking call) |
|
|
sets some of the GpuMat elements to s (Non-Blocking call) |
|
returns GpuMat size : width == number of columns, height == number of rows |
||
|
returns step/elemSize1() |
|
|
swaps with other smart pointer |
|
|
returns element type |
|
|
internal use method: updates the continuity flag |
|
|
Performs data upload to GpuMat (Blocking call) |
|
|
Performs data upload to GpuMat (Non-Blocking call) |
Static Public Member Functions#
Static Public Member Functions inherited from cv::cuda::GpuMat
Return |
Name |
Description |
|---|---|---|
default allocator |
||
|
Public Attributes#
Public Attributes inherited from cv::cuda::GpuMat
Member Typedef Documentation#
value_type#
typedef T cv::cudev::GpuMat_::value_type
Constructor & Destructor Documentation#
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(Allocator * allocator = defaultAllocator())
default constructor
GpuMat_()#
template<class Body>
cv::cudev::GpuMat_::GpuMat_(const Expr< Body > & expr)
expression templates
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(
const GpuMat & m,
Allocator * allocator = defaultAllocator() )
copy/conversion constructor. If m is of different type, it’s converted
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(const GpuMat_ & m)
copy constructor
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(
const GpuMat_ & m,
Range arowRange,
Range acolRange )
selects a submatrix
GpuMat_()#
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(
InputArray arr,
Allocator * allocator = defaultAllocator() )
builds GpuMat from host memory (Blocking call)
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(
int arows,
int acols,
Allocator * allocator = defaultAllocator() )
constructs GpuMat of the specified size
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(
int arows,
int acols,
Scalar val,
Allocator * allocator = defaultAllocator() )
constucts GpuMat and fills it with the specified value
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(
int arows,
int acols,
T * adata,
size_t astep = Mat::AUTO_STEP )
constructs a matrix on top of user-allocated data. step is in bytes(!!!), regardless of the type
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(
Size asize,
Allocator * allocator = defaultAllocator() )
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(
Size asize,
Scalar val,
Allocator * allocator = defaultAllocator() )
GpuMat_()#
cv::cudev::GpuMat_::GpuMat_(
Size asize,
T * adata,
size_t astep = Mat::AUTO_STEP )
Member Function Documentation#
adjustROI()#
GpuMat_ & cv::cudev::GpuMat_::adjustROI(
int dtop,
int dbottom,
int dleft,
int dright )
assign()#
template<class Body>
GpuMat_ & cv::cudev::GpuMat_::assign(
const Expr< Body > & expr,
Stream & stream )
channels()#
int cv::cudev::GpuMat_::channels()
clone()#
GpuMat_ cv::cudev::GpuMat_::clone()
overridden forms of GpuMat::row() etc.
col()#
colRange()#
GpuMat_ cv::cudev::GpuMat_::colRange(
int startcol,
int endcol )
colRange()#
create()#
void cv::cudev::GpuMat_::create(
int arows,
int acols )
allocates new GpuMat data unless the GpuMat already has specified size and type
create()#
depth()#
int cv::cudev::GpuMat_::depth()
elemSize()#
size_t cv::cudev::GpuMat_::elemSize()
overridden forms of GpuMat::elemSize() etc.
elemSize1()#
size_t cv::cudev::GpuMat_::elemSize1()
operator()()#
GpuMat_ cv::cudev::GpuMat_::operator()(
Range rowRange,
Range colRange )
operator()()#
operator=()#
template<class Body>
GpuMat_ & cv::cudev::GpuMat_::operator=(const Expr< Body > & expr)
operator=()#
GpuMat_ & cv::cudev::GpuMat_::operator=(const GpuMat_ & m)
assignment operators
operator#
T * cv::cudev::GpuMat_::operator[](int y)
more convenient forms of row and element access operators
operator#
const T * cv::cudev::GpuMat_::operator[](int y)
row()#
rowRange()#
GpuMat_ cv::cudev::GpuMat_::rowRange(
int startrow,
int endrow )
rowRange()#
step1()#
size_t cv::cudev::GpuMat_::step1()
stepT()#
size_t cv::cudev::GpuMat_::stepT()
returns step()/sizeof(T)
swap()#
void cv::cudev::GpuMat_::swap(GpuMat_ & mat)
swaps with other smart pointer
type()#
upload()#
void cv::cudev::GpuMat_::upload(InputArray arr)
pefroms upload data to GpuMat (Blocking call)
upload()#
void cv::cudev::GpuMat_::upload(
InputArray arr,
Stream & stream )
pefroms upload data to GpuMat (Non-Blocking call)
Source file#
The documentation for this class was generated from the following file:
opencv2/cudev/ptr2d/gpumat.hpp