Method | Description | |
---|---|---|
CreateContinuous ( Size size, MatType type ) : GpuMat |
Creates continuous GPU matrix
|
|
CreateContinuous ( int rows, int cols, MatType type ) : GpuMat |
Creates continuous GPU matrix
|
|
CreateContinuous ( Size size, MatType type, GpuMat m ) : void |
Creates continuous GPU matrix
|
|
CreateContinuous ( int rows, int cols, MatType type, GpuMat m ) : void |
Creates continuous GPU matrix
|
|
EnsureSizeIsEnough ( Size size, MatType type, GpuMat m ) : void |
Ensures that size of the given matrix is not less than (rows, cols) size and matrix type is match specified one too
|
|
EnsureSizeIsEnough ( int rows, int cols, MatType type, GpuMat m ) : void |
Ensures that size of the given matrix is not less than (rows, cols) size and matrix type is match specified one too
|
|
GetCudaEnabledDeviceCount ( ) : int |
Returns the number of installed CUDA-enabled devices. Use this function before any other GPU functions calls. If OpenCV is compiled without GPU support, this function returns 0.
|
|
GetDevice ( ) : int |
Returns the current device index set by SetDevice() or initialized by default.
|
|
PrintCudaDeviceInfo ( int device ) : void |
|
|
PrintShortCudaDeviceInfo ( int device ) : void |
|
|
RegisterPageLocked ( Mat m ) : void |
Page-locks the matrix m memory and maps it for the device(s)
|
|
ResetDevice ( ) : void |
Explicitly destroys and cleans up all resources associated with the current device in the current process. Any subsequent API call to this device will reinitialize the device.
|
|
SetDevice ( int device ) : int |
Sets a device and initializes it for the current thread.
|
|
ThrowIfGpuNotAvailable ( ) : void |
|
|
UnregisterPageLocked ( Mat m ) : void |
Unmaps the memory of matrix m, and makes it pageable again.
|
public static CreateContinuous ( Size size, MatType type ) : GpuMat | ||
size | Size | Number of rows and columns in a 2D array. |
type | MatType | Array type. |
return | GpuMat |
public static CreateContinuous ( int rows, int cols, MatType type ) : GpuMat | ||
rows | int | Number of rows in a 2D array. |
cols | int | Number of columns in a 2D array. |
type | MatType | Array type. |
return | GpuMat |
public static CreateContinuous ( Size size, MatType type, GpuMat m ) : void | ||
size | Size | Number of rows and columns in a 2D array. |
type | MatType | Array type. |
m | GpuMat | |
return | void |
public static CreateContinuous ( int rows, int cols, MatType type, GpuMat m ) : void | ||
rows | int | Number of rows in a 2D array. |
cols | int | Number of columns in a 2D array. |
type | MatType | Array type. |
m | GpuMat | |
return | void |
public static EnsureSizeIsEnough ( Size size, MatType type, GpuMat m ) : void | ||
size | Size | Number of rows and columns in a 2D array. |
type | MatType | Array type. |
m | GpuMat | |
return | void |
public static EnsureSizeIsEnough ( int rows, int cols, MatType type, GpuMat m ) : void | ||
rows | int | Number of rows in a 2D array. |
cols | int | Number of columns in a 2D array. |
type | MatType | Array type. |
m | GpuMat | |
return | void |
public static GetCudaEnabledDeviceCount ( ) : int | ||
return | int |
public static PrintCudaDeviceInfo ( int device ) : void | ||
device | int | |
return | void |
public static PrintShortCudaDeviceInfo ( int device ) : void | ||
device | int | |
return | void |
public static RegisterPageLocked ( Mat m ) : void | ||
m | Mat | |
return | void |
public static SetDevice ( int device ) : int | ||
device | int | System index of a GPU device starting with 0. |
return | int |
public static ThrowIfGpuNotAvailable ( ) : void | ||
return | void |
public static UnregisterPageLocked ( Mat m ) : void | ||
m | Mat | |
return | void |