View Source Evision.CUDA.GpuMat (Evision v0.1.9)
Link to this section Summary
cv.cuda
Positional Arguments
- dtop:
int
- dbottom:
int
- dleft:
int
- dright:
int
Python prototype (for reference):
Positional Arguments
- m:
GpuMat
Keyword Arguments
- type:
int
.
Python prototype (for reference):
Positional Arguments
- m:
GpuMat
Keyword Arguments
- type:
int
.
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Positional Arguments
- x:
int
Python prototype (for reference):
Positional Arguments
- startcol:
int
- endcol:
int
Python prototype (for reference):
Variant 1:
Positional Arguments
- rtype:
int
- alpha:
double
Keyword Arguments
- beta:
double
.
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
Variant 1:
Positional Arguments
- rtype:
int
- alpha:
double
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
Variant 1:
Positional Arguments
- rtype:
int
- alpha:
double
- beta:
double
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
Positional Arguments
- rtype:
int
- alpha:
double
- beta:
double
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
##### Return
Variant 1:
Positional Arguments
- mask:
Evision.Mat
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
Positional Arguments
- mask:
Evision.Mat
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
Positional Arguments
- size:
Size
- type:
int
Python prototype (for reference):
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Python prototype (for reference):
##### Keyword Arguments
Variant 1:
Positional Arguments
- arr:
Evision.Mat
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
Variant 1:
Positional Arguments
- m:
GpuMat
- roi:
Rect
Python prototype (for reference):
Variant 1:
Positional Arguments
- rows:
int
- cols:
int
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
Positional Arguments
- rows:
int
- cols:
int
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Performs data download from GpuMat (Blocking call)
Performs data download from GpuMat (Non-Blocking call)
Performs data download from GpuMat (Non-Blocking call)
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Positional Arguments
- wholeSize:
Size
- ofs:
Point
Python prototype (for reference):
Python prototype (for reference):
Positional Arguments
- cn:
int
Keyword Arguments
- rows:
int
.
Python prototype (for reference):
Positional Arguments
- cn:
int
Keyword Arguments
- rows:
int
.
Python prototype (for reference):
Positional Arguments
- y:
int
Python prototype (for reference):
Positional Arguments
- startrow:
int
- endrow:
int
Python prototype (for reference):
Positional Arguments
- allocator:
GpuMat_Allocator*
Python prototype (for reference):
Positional Arguments
- s:
Scalar
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Positional Arguments
- mat:
GpuMat
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Performs data upload to GpuMat (Blocking call)
Performs data upload to GpuMat (Non-Blocking call)
Functions
Raising version of adjustROI/5
.
Raising version of assignTo/2
.
Raising version of assignTo/3
.
Raising version of channels/1
.
Raising version of clone/1
.
Raising version of col/2
.
Raising version of colRange/2
.
Raising version of colRange/3
.
Raising version of convertTo/2
.
Raising version of convertTo/3
.
Raising version of convertTo/4
.
Raising version of convertTo/5
.
Raising version of convertTo/6
.
Raising version of copyTo/1
.
Raising version of copyTo/2
.
Raising version of copyTo/3
.
Raising version of copyTo/4
.
Raising version of create/3
.
Raising version of create/4
.
Raising version of cuda_GpuMat/0
.
Raising version of cuda_GpuMat/1
.
Raising version of cuda_GpuMat/2
.
Raising version of cuda_GpuMat/3
.
Raising version of cuda_GpuMat/4
.
Raising version of cuda_GpuMat/5
.
Raising version of cudaPtr/1
.
Raising version of defaultAllocator/0
.
Raising version of depth/1
.
Raising version of download/1
.
Raising version of download/2
.
Raising version of download/3
.
Raising version of elemSize1/1
.
Raising version of elemSize/1
.
Raising version of empty/1
.
Raising version of get_step/1
.
Raising version of isContinuous/1
.
Raising version of locateROI/3
.
Raising version of release/1
.
Raising version of reshape/2
.
Raising version of reshape/3
.
Raising version of row/2
.
Raising version of rowRange/2
.
Raising version of rowRange/3
.
Raising version of setDefaultAllocator/1
.
Raising version of setTo/2
.
Raising version of setTo/3
.
Raising version of setTo/4
.
Raising version of size/1
.
Raising version of step1/1
.
Raising version of swap/2
.
Raising version of type/1
.
Raising version of updateContinuityFlag/1
.
Raising version of upload/2
.
Raising version of upload/3
.
Link to this section cv.cuda
Positional Arguments
- dtop:
int
- dbottom:
int
- dleft:
int
- dright:
int
Python prototype (for reference):
adjustROI(dtop, dbottom, dleft, dright) -> retval
Positional Arguments
- m:
GpuMat
Keyword Arguments
- type:
int
.
Python prototype (for reference):
assignTo(m[, type]) -> None
Positional Arguments
- m:
GpuMat
Keyword Arguments
- type:
int
.
Python prototype (for reference):
assignTo(m[, type]) -> None
Python prototype (for reference):
channels() -> retval
Python prototype (for reference):
clone() -> retval
Positional Arguments
- x:
int
Python prototype (for reference):
col(x) -> retval
Positional Arguments
- r:
Range
Python prototype (for reference):
colRange(r) -> retval
Positional Arguments
- startcol:
int
- endcol:
int
Python prototype (for reference):
colRange(startcol, endcol) -> retval
Positional Arguments
- rtype:
int
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype[, dst]) -> dst
Variant 1:
Positional Arguments
- rtype:
int
- alpha:
double
Keyword Arguments
- beta:
double
.
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype, alpha[, dst[, beta]]) -> dst
Variant 2:
Positional Arguments
- rtype:
int
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype, stream[, dst]) -> dst
Variant 3:
Positional Arguments
- rtype:
int
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype[, dst]) -> dst
Variant 1:
Positional Arguments
- rtype:
int
- alpha:
double
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype, alpha, stream[, dst]) -> dst
Variant 2:
Positional Arguments
- rtype:
int
- alpha:
double
Keyword Arguments
- beta:
double
.
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype, alpha[, dst[, beta]]) -> dst
Variant 3:
Positional Arguments
- rtype:
int
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype, stream[, dst]) -> dst
Variant 1:
Positional Arguments
- rtype:
int
- alpha:
double
- beta:
double
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype, alpha, beta, stream[, dst]) -> dst
Variant 2:
Positional Arguments
- rtype:
int
- alpha:
double
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype, alpha, stream[, dst]) -> dst
Positional Arguments
- rtype:
int
- alpha:
double
- beta:
double
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
convertTo(rtype, alpha, beta, stream[, dst]) -> dst
##### Return
- dst:
Evision.Mat
.
Python prototype (for reference):
copyTo([, dst]) -> dst
Positional Arguments
- mask:
Evision.Mat
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
copyTo(mask[, dst]) -> dst
Variant 1:
Positional Arguments
- mask:
Evision.Mat
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
copyTo(mask, stream[, dst]) -> dst
Variant 2:
Positional Arguments
- mask:
Evision.Mat
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
copyTo(mask[, dst]) -> dst
Positional Arguments
- mask:
Evision.Mat
- stream:
Stream
Return
- dst:
Evision.Mat
.
Python prototype (for reference):
copyTo(mask, stream[, dst]) -> dst
Positional Arguments
- size:
Size
- type:
int
Python prototype (for reference):
create(size, type) -> None
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Python prototype (for reference):
create(rows, cols, type) -> None
##### Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat([, allocator]) -> <cuda_GpuMat object>
Variant 1:
Positional Arguments
- arr:
Evision.Mat
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(arr[, allocator]) -> <cuda_GpuMat object>
Variant 2:
##### Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat([, allocator]) -> <cuda_GpuMat object>
Variant 1:
Positional Arguments
- m:
GpuMat
- roi:
Rect
Python prototype (for reference):
GpuMat(m, roi) -> <cuda_GpuMat object>
Variant 2:
Positional Arguments
- size:
Size
- type:
int
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(size, type[, allocator]) -> <cuda_GpuMat object>
Variant 3:
Positional Arguments
- arr:
Evision.Mat
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(arr[, allocator]) -> <cuda_GpuMat object>
Variant 1:
Positional Arguments
Python prototype (for reference):
GpuMat(m, rowRange, colRange) -> <cuda_GpuMat object>
Variant 2:
Positional Arguments
- size:
Size
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(size, type, s[, allocator]) -> <cuda_GpuMat object>
Variant 3:
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(rows, cols, type[, allocator]) -> <cuda_GpuMat object>
Variant 4:
Positional Arguments
- size:
Size
- type:
int
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(size, type[, allocator]) -> <cuda_GpuMat object>
Variant 1:
Positional Arguments
- rows:
int
- cols:
int
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(rows, cols, type, s[, allocator]) -> <cuda_GpuMat object>
Variant 2:
Positional Arguments
- size:
Size
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(size, type, s[, allocator]) -> <cuda_GpuMat object>
Variant 3:
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(rows, cols, type[, allocator]) -> <cuda_GpuMat object>
Positional Arguments
- rows:
int
- cols:
int
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Python prototype (for reference):
GpuMat(rows, cols, type, s[, allocator]) -> <cuda_GpuMat object>
Python prototype (for reference):
cudaPtr() -> retval
Python prototype (for reference):
defaultAllocator() -> retval
Python prototype (for reference):
depth() -> retval
Performs data download from GpuMat (Blocking call)
Return
- dst:
Evision.Mat
.
This function copies data from device memory to host memory. As being a blocking call, it is guaranteed that the copy operation is finished when this function returns.
Python prototype (for reference):
download([, dst]) -> dst
Performs data download from GpuMat (Non-Blocking call)
Positional Arguments
- stream:
Stream
Return
- dst:
Evision.Mat
.
This function copies data from device memory to host memory. As being a non-blocking call, this function may return even if the copy operation is not finished. The copy operation may be overlapped with operations in other non-default streams if \p stream is not the default stream and \p dst is HostMem allocated with HostMem::PAGE_LOCKED option.
Python prototype (for reference):
download(stream[, dst]) -> dst
Performs data download from GpuMat (Non-Blocking call)
Positional Arguments
- stream:
Stream
Return
- dst:
Evision.Mat
.
This function copies data from device memory to host memory. As being a non-blocking call, this function may return even if the copy operation is not finished. The copy operation may be overlapped with operations in other non-default streams if \p stream is not the default stream and \p dst is HostMem allocated with HostMem::PAGE_LOCKED option.
Python prototype (for reference):
download(stream[, dst]) -> dst
Python prototype (for reference):
elemSize1() -> retval
Python prototype (for reference):
elemSize() -> retval
Python prototype (for reference):
empty() -> retval
Python prototype (for reference):
isContinuous() -> retval
Positional Arguments
- wholeSize:
Size
- ofs:
Point
Python prototype (for reference):
locateROI(wholeSize, ofs) -> None
Python prototype (for reference):
release() -> None
Positional Arguments
- cn:
int
Keyword Arguments
- rows:
int
.
Python prototype (for reference):
reshape(cn[, rows]) -> retval
Positional Arguments
- cn:
int
Keyword Arguments
- rows:
int
.
Python prototype (for reference):
reshape(cn[, rows]) -> retval
Positional Arguments
- y:
int
Python prototype (for reference):
row(y) -> retval
Positional Arguments
- r:
Range
Python prototype (for reference):
rowRange(r) -> retval
Positional Arguments
- startrow:
int
- endrow:
int
Python prototype (for reference):
rowRange(startrow, endrow) -> retval
Positional Arguments
- allocator:
GpuMat_Allocator*
Python prototype (for reference):
setDefaultAllocator(allocator) -> None
Positional Arguments
- s:
Scalar
Python prototype (for reference):
setTo(s) -> retval
Positional Arguments
- s:
Scalar
- mask:
Evision.Mat
Python prototype (for reference):
setTo(s, mask) -> retval
Positional Arguments
- s:
Scalar
- mask:
Evision.Mat
- stream:
Stream
Python prototype (for reference):
setTo(s, mask, stream) -> retval
Python prototype (for reference):
size() -> retval
Python prototype (for reference):
step1() -> retval
Positional Arguments
- mat:
GpuMat
Python prototype (for reference):
swap(mat) -> None
Python prototype (for reference):
type() -> retval
Python prototype (for reference):
updateContinuityFlag() -> None
Performs data upload to GpuMat (Blocking call)
Positional Arguments
- arr:
Evision.Mat
This function copies data from host memory to device memory. As being a blocking call, it is guaranteed that the copy operation is finished when this function returns.
Python prototype (for reference):
upload(arr) -> None
Performs data upload to GpuMat (Non-Blocking call)
Positional Arguments
- arr:
Evision.Mat
- stream:
Stream
This function copies data from host memory to device memory. As being a non-blocking call, this function may return even if the copy operation is not finished. The copy operation may be overlapped with operations in other non-default streams if \p stream is not the default stream and \p dst is HostMem allocated with HostMem::PAGE_LOCKED option.
Python prototype (for reference):
upload(arr, stream) -> None
Link to this section Functions
Raising version of adjustROI/5
.
Raising version of assignTo/2
.
Raising version of assignTo/3
.
Raising version of channels/1
.
Raising version of clone/1
.
Raising version of col/2
.
Raising version of colRange/2
.
Raising version of colRange/3
.
Raising version of convertTo/2
.
Raising version of convertTo/3
.
Raising version of convertTo/4
.
Raising version of convertTo/5
.
Raising version of convertTo/6
.
Raising version of copyTo/1
.
Raising version of copyTo/2
.
Raising version of copyTo/3
.
Raising version of copyTo/4
.
Raising version of create/3
.
Raising version of create/4
.
Raising version of cuda_GpuMat/0
.
Raising version of cuda_GpuMat/1
.
Raising version of cuda_GpuMat/2
.
Raising version of cuda_GpuMat/3
.
Raising version of cuda_GpuMat/4
.
Raising version of cuda_GpuMat/5
.
Raising version of cudaPtr/1
.
Raising version of defaultAllocator/0
.
Raising version of depth/1
.
Raising version of download/1
.
Raising version of download/2
.
Raising version of download/3
.
Raising version of elemSize1/1
.
Raising version of elemSize/1
.
Raising version of empty/1
.
Raising version of get_step/1
.
Raising version of isContinuous/1
.
Raising version of locateROI/3
.
Raising version of release/1
.
Raising version of reshape/2
.
Raising version of reshape/3
.
Raising version of row/2
.
Raising version of rowRange/2
.
Raising version of rowRange/3
.
Raising version of setDefaultAllocator/1
.
Raising version of setTo/2
.
Raising version of setTo/3
.
Raising version of setTo/4
.
Raising version of size/1
.
Raising version of step1/1
.
Raising version of swap/2
.
Raising version of type/1
.
Raising version of updateContinuityFlag/1
.
Raising version of upload/2
.
Raising version of upload/3
.