The CudaMem type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AssignTo | ||
| CanMapHostMemory |
returns if host memory can be mapperd to gpu address space;
| |
| Channels |
Returns the number of matrix channels.
| |
| Clone |
returns deep copy of the matrix, i.e. the data is copied
| |
| Create |
allocates new matrix data unless the matrix already has specified size and type.
| |
| CreateGpuMatHeader |
maps host memory into device address space and returns GpuMat header for it. Throws exception if not supported by hardware.
| |
| CreateMatHeader |
returns matrix header with disabled reference counting for CudaMem data.
| |
| Depth |
Returns the depth of a matrix element.
| |
| Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
| ElemSize |
Returns the matrix element size in bytes.
| |
| ElemSize1 |
Returns the size of each matrix element channel in bytes.
| |
| Empty |
returns true if GpuMatrix data is NULL
| |
| Equals | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| IsContinuous |
returns true iff the GpuMatrix data is continuous
(i.e. when there are no gaps between successive rows).
similar to CV_IS_GpuMat_CONT(cvGpuMat->type)
| |
| Release |
Clean up any resources being used.
| |
| Size |
Returns a matrix size.
| |
| Step |
a distance between successive rows in bytes; includes the gap if any
| |
| Step1 |
Returns a normalized step.
| |
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToString | (Inherited from Object.) | |
| Type |
Returns the type of a matrix element.
|
See Also