View Source Evision.CUDA.GpuMat (Evision v0.1.34)
Summary
Types
Type that represents an Evision.CUDA.GpuMat
struct.
Functions
assignTo
assignTo
channels
clone
col
colRange
colRange
convertTo
Variant 1:
convertTo
Variant 1:
convertTo
Variant 1:
convertTo
copyTo
Variant 1:
copyTo
Variant 1:
copyTo
Variant 1:
copyTo
create
cudaPtr
defaultAllocator
depth
Performs data download from GpuMat (Blocking call)
Variant 1:
Performs data download from GpuMat (Non-Blocking call)
Performs data download from GpuMat (Non-Blocking call)
elemSize1
elemSize
empty
GpuMat
Variant 1:
GpuMat
Variant 1:
GpuMat
Variant 1:
GpuMat
Variant 1:
GpuMat
isContinuous
locateROI
release
reshape
reshape
row
rowRange
rowRange
setDefaultAllocator
setTo
Variant 1:
setTo
Variant 1:
setTo
size
step1
swap
type
updateContinuityFlag
Variant 1:
Performs data upload to GpuMat (Blocking call)
Variant 1:
Performs data upload to GpuMat (Non-Blocking call)
Types
@type t() :: %Evision.CUDA.GpuMat{ channels: integer(), elemSize: integer(), raw_type: integer(), ref: reference(), shape: tuple(), type: Evision.Mat.mat_type() }
Type that represents an Evision.CUDA.GpuMat
struct.
channels:
int
.The number of matrix channels.
type:
Evision.Mat.mat_type()
.Type of the matrix elements, following
:nx
's convention.raw_type:
int
.The raw value returned from
int cv::Mat::type()
.shape:
tuple
.The shape of the matrix.
elemSize:
integer()
.Element size in bytes.
ref:
reference
.The underlying erlang resource variable.
Functions
adjustROI
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- dtop:
int
- dbottom:
int
- dleft:
int
- dright:
int
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
adjustROI(dtop, dbottom, dleft, dright) -> retval
assignTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- m:
Evision.CUDA.GpuMat.t()
Keyword Arguments
- type:
int
.
Python prototype (for reference only):
assignTo(m[, type]) -> None
assignTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- m:
Evision.CUDA.GpuMat.t()
Keyword Arguments
- type:
int
.
Python prototype (for reference only):
assignTo(m[, type]) -> None
channels
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
int
Python prototype (for reference only):
channels() -> retval
clone
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
clone() -> retval
col
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- x:
int
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
col(x) -> retval
colRange
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- r:
Range
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
colRange(r) -> retval
colRange
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- startcol:
int
- endcol:
int
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
colRange(startcol, endcol) -> retval
@spec convertTo(t(), integer()) :: Evision.Mat.t() | {:error, String.t()}
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype[, dst]) -> dst
@spec convertTo(t(), integer(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
@spec convertTo(t(), integer(), number()) :: Evision.Mat.t() | {:error, String.t()}
@spec convertTo(t(), integer(), Evision.CUDA.Stream.t()) :: Evision.Mat.t() | {:error, String.t()}
Variant 1:
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
- alpha:
double
Keyword Arguments
- beta:
double
.
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype, alpha[, dst[, beta]]) -> dst
Variant 2:
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype, stream[, dst]) -> dst
Variant 3:
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype[, dst]) -> dst
@spec convertTo(t(), integer(), number(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
@spec convertTo( t(), integer(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
@spec convertTo(t(), integer(), number(), Evision.CUDA.Stream.t()) :: Evision.Mat.t() | {:error, String.t()}
Variant 1:
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
- alpha:
double
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype, alpha, stream[, dst]) -> dst
Variant 2:
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
- alpha:
double
Keyword Arguments
- beta:
double
.
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype, alpha[, dst[, beta]]) -> dst
Variant 3:
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype, stream[, dst]) -> dst
@spec convertTo( t(), integer(), number(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
@spec convertTo(t(), integer(), number(), number(), Evision.CUDA.Stream.t()) :: Evision.Mat.t() | {:error, String.t()}
Variant 1:
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
- alpha:
double
- beta:
double
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype, alpha, beta, stream[, dst]) -> dst
Variant 2:
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
- alpha:
double
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype, alpha, stream[, dst]) -> dst
@spec convertTo( t(), integer(), number(), number(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
convertTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rtype:
int
- alpha:
double
- beta:
double
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
convertTo(rtype, alpha, beta, stream[, dst]) -> dst
@spec copyTo(t()) :: Evision.Mat.t() | {:error, String.t()}
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
copyTo([, dst]) -> dst
@spec copyTo(t(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
@spec copyTo(t(), Evision.Mat.maybe_mat_in()) :: Evision.Mat.t() | {:error, String.t()}
@spec copyTo(t(), t()) :: t() | {:error, String.t()}
@spec copyTo(t(), Evision.CUDA.Stream.t()) :: Evision.Mat.t() | {:error, String.t()}
Variant 1:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- mask:
Evision.Mat.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
copyTo(mask[, dst]) -> dst
Variant 2:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- mask:
Evision.CUDA.GpuMat.t()
Return
- dst:
Evision.CUDA.GpuMat.t()
.
Python prototype (for reference only):
copyTo(mask[, dst]) -> dst
Variant 3:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
copyTo(stream[, dst]) -> dst
Variant 4:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
copyTo([, dst]) -> dst
@spec copyTo(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
@spec copyTo(t(), t(), [{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}
@spec copyTo(t(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
@spec copyTo(t(), Evision.Mat.maybe_mat_in(), Evision.CUDA.Stream.t()) :: Evision.Mat.t() | {:error, String.t()}
@spec copyTo(t(), t(), Evision.CUDA.Stream.t()) :: t() | {:error, String.t()}
Variant 1:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- mask:
Evision.Mat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
copyTo(mask, stream[, dst]) -> dst
Variant 2:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- mask:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.CUDA.GpuMat.t()
.
Python prototype (for reference only):
copyTo(mask, stream[, dst]) -> dst
Variant 3:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- mask:
Evision.Mat.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
copyTo(mask[, dst]) -> dst
Variant 4:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- mask:
Evision.CUDA.GpuMat.t()
Return
- dst:
Evision.CUDA.GpuMat.t()
.
Python prototype (for reference only):
copyTo(mask[, dst]) -> dst
Variant 5:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
copyTo(stream[, dst]) -> dst
@spec copyTo( t(), Evision.Mat.maybe_mat_in(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
@spec copyTo(t(), t(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}
Variant 1:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- mask:
Evision.Mat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
Python prototype (for reference only):
copyTo(mask, stream[, dst]) -> dst
Variant 2:
copyTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- mask:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.CUDA.GpuMat.t()
.
Python prototype (for reference only):
copyTo(mask, stream[, dst]) -> dst
create
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- size:
Size
- type:
int
Python prototype (for reference only):
create(size, type) -> None
create
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- rows:
int
- cols:
int
- type:
int
Python prototype (for reference only):
create(rows, cols, type) -> None
cudaPtr
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
void*
Python prototype (for reference only):
cudaPtr() -> retval
@spec defaultAllocator() :: Evision.CUDA.GpuMat_Allocator.t() | {:error, String.t()}
defaultAllocator
Return
- retval:
GpuMat::Allocator*
Python prototype (for reference only):
defaultAllocator() -> retval
depth
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
int
Python prototype (for reference only):
depth() -> retval
@spec download(t()) :: Evision.Mat.t() | {:error, String.t()}
Performs data download from GpuMat (Blocking call)
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- dst:
Evision.Mat.t()
.
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 only):
download([, dst]) -> dst
@spec download(t(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
@spec download(t(), Evision.CUDA.Stream.t()) :: Evision.Mat.t() | {:error, String.t()}
Variant 1:
Performs data download from GpuMat (Non-Blocking call)
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
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 only):
download(stream[, dst]) -> dst
Variant 2:
Performs data download from GpuMat (Blocking call)
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- dst:
Evision.Mat.t()
.
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 only):
download([, dst]) -> dst
@spec download(t(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | {:error, String.t()}
Performs data download from GpuMat (Non-Blocking call)
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- dst:
Evision.Mat.t()
.
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 only):
download(stream[, dst]) -> dst
elemSize1
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
size_t
Python prototype (for reference only):
elemSize1() -> retval
elemSize
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
size_t
Python prototype (for reference only):
elemSize() -> retval
empty
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
bool
Python prototype (for reference only):
empty() -> retval
GpuMat
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat([, allocator]) -> <cuda_GpuMat object>
@spec gpuMat([{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}
@spec gpuMat(Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}
@spec gpuMat(t()) :: t() | {:error, String.t()}
@spec gpuMat(t()) :: t() | {:error, String.t()}
Variant 1:
GpuMat
Positional Arguments
- arr:
Evision.Mat.t()
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(arr[, allocator]) -> <cuda_GpuMat object>
Variant 2:
GpuMat
Positional Arguments
- arr:
Evision.CUDA.GpuMat.t()
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(arr[, allocator]) -> <cuda_GpuMat object>
Variant 3:
GpuMat
Positional Arguments
- m:
Evision.CUDA.GpuMat.t()
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(m) -> <cuda_GpuMat object>
Variant 4:
GpuMat
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat([, allocator]) -> <cuda_GpuMat object>
@spec gpuMat(Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}
@spec gpuMat(t(), [{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}
@spec gpuMat(t(), {number(), number(), number(), number()}) :: t() | {:error, String.t()}
@spec gpuMat( {number(), number()}, integer() ) :: t() | {:error, String.t()}
Variant 1:
GpuMat
Positional Arguments
- m:
Evision.CUDA.GpuMat.t()
- roi:
Rect
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(m, roi) -> <cuda_GpuMat object>
Variant 2:
GpuMat
Positional Arguments
- size:
Size
- type:
int
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(size, type[, allocator]) -> <cuda_GpuMat object>
Variant 3:
GpuMat
Positional Arguments
- arr:
Evision.Mat.t()
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(arr[, allocator]) -> <cuda_GpuMat object>
Variant 4:
GpuMat
Positional Arguments
- arr:
Evision.CUDA.GpuMat.t()
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(arr[, allocator]) -> <cuda_GpuMat object>
@spec gpuMat({number(), number()}, integer(), [{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}
@spec gpuMat(t(), {integer(), integer()} | :all, {integer(), integer()} | :all) :: t() | {:error, String.t()}
@spec gpuMat( {number(), number()}, integer(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()} ) :: t() | {:error, String.t()}
@spec gpuMat(integer(), integer(), integer()) :: t() | {:error, String.t()}
Variant 1:
GpuMat
Positional Arguments
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(m, rowRange, colRange) -> <cuda_GpuMat object>
Variant 2:
GpuMat
Positional Arguments
- size:
Size
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(size, type, s[, allocator]) -> <cuda_GpuMat object>
Variant 3:
GpuMat
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(rows, cols, type[, allocator]) -> <cuda_GpuMat object>
Variant 4:
GpuMat
Positional Arguments
- size:
Size
- type:
int
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(size, type[, allocator]) -> <cuda_GpuMat object>
@spec gpuMat( {number(), number()}, integer(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()}, [{atom(), term()}, ...] | nil ) :: t() | {:error, String.t()}
@spec gpuMat(integer(), integer(), integer(), [{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}
@spec gpuMat( integer(), integer(), integer(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()} ) :: t() | {:error, String.t()}
Variant 1:
GpuMat
Positional Arguments
- rows:
int
- cols:
int
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(rows, cols, type, s[, allocator]) -> <cuda_GpuMat object>
Variant 2:
GpuMat
Positional Arguments
- size:
Size
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(size, type, s[, allocator]) -> <cuda_GpuMat object>
Variant 3:
GpuMat
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(rows, cols, type[, allocator]) -> <cuda_GpuMat object>
@spec gpuMat( integer(), integer(), integer(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()}, [{atom(), term()}, ...] | nil ) :: t() | {:error, String.t()}
GpuMat
Positional Arguments
- rows:
int
- cols:
int
- type:
int
- s:
Scalar
Keyword Arguments
- allocator:
GpuMat_Allocator*
.
Return
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
GpuMat(rows, cols, type, s[, allocator]) -> <cuda_GpuMat object>
isContinuous
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
bool
Python prototype (for reference only):
isContinuous() -> retval
locateROI
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- wholeSize:
Size
- ofs:
Point
Python prototype (for reference only):
locateROI(wholeSize, ofs) -> None
release
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
release() -> None
reshape
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- cn:
int
Keyword Arguments
- rows:
int
.
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
reshape(cn[, rows]) -> retval
reshape
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- cn:
int
Keyword Arguments
- rows:
int
.
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
reshape(cn[, rows]) -> retval
row
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- y:
int
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
row(y) -> retval
rowRange
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- r:
Range
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
rowRange(r) -> retval
rowRange
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- startrow:
int
- endrow:
int
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
rowRange(startrow, endrow) -> retval
@spec setDefaultAllocator(Evision.CUDA.GpuMat_Allocator.t()) :: :ok | {:error, String.t()}
setDefaultAllocator
Positional Arguments
- allocator:
GpuMat_Allocator*
Python prototype (for reference only):
setDefaultAllocator(allocator) -> None
@spec setTo( t(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()} ) :: t() | {:error, String.t()}
setTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- s:
Scalar
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
setTo(s) -> retval
@spec setTo( t(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()}, Evision.Mat.maybe_mat_in() ) :: t() | {:error, String.t()}
@spec setTo( t(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()}, t() ) :: t() | {:error, String.t()}
@spec setTo( t(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()}, Evision.CUDA.Stream.t() ) :: t() | {:error, String.t()}
Variant 1:
setTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- s:
Scalar
- mask:
Evision.Mat.t()
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
setTo(s, mask) -> retval
Variant 2:
setTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- s:
Scalar
- mask:
Evision.CUDA.GpuMat.t()
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
setTo(s, mask) -> retval
Variant 3:
setTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- s:
Scalar
- stream:
Evision.CUDA.Stream.t()
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
setTo(s, stream) -> retval
@spec setTo( t(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()}, Evision.Mat.maybe_mat_in(), Evision.CUDA.Stream.t() ) :: t() | {:error, String.t()}
@spec setTo( t(), {number()} | {number(), number()} | {number(), number(), number()} | {number(), number(), number(), number()}, t(), Evision.CUDA.Stream.t() ) :: t() | {:error, String.t()}
Variant 1:
setTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- s:
Scalar
- mask:
Evision.Mat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
setTo(s, mask, stream) -> retval
Variant 2:
setTo
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- s:
Scalar
- mask:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- retval:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
setTo(s, mask, stream) -> retval
size
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
Size
Python prototype (for reference only):
size() -> retval
step1
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
size_t
Python prototype (for reference only):
step1() -> retval
swap
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- mat:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
swap(mat) -> None
type
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Return
- retval:
int
Python prototype (for reference only):
type() -> retval
updateContinuityFlag
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
Python prototype (for reference only):
updateContinuityFlag() -> None
@spec upload(t(), Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}
@spec upload(t(), t()) :: t() | {:error, String.t()}
Variant 1:
Performs data upload to GpuMat (Blocking call)
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- arr:
Evision.Mat.t()
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 only):
upload(arr) -> None
Variant 2:
Performs data upload to GpuMat (Blocking call)
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- arr:
Evision.CUDA.GpuMat.t()
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 only):
upload(arr) -> None
@spec upload(t(), Evision.Mat.maybe_mat_in(), Evision.CUDA.Stream.t()) :: t() | {:error, String.t()}
@spec upload(t(), t(), Evision.CUDA.Stream.t()) :: t() | {:error, String.t()}
Variant 1:
Performs data upload to GpuMat (Non-Blocking call)
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- arr:
Evision.Mat.t()
- stream:
Evision.CUDA.Stream.t()
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 only):
upload(arr, stream) -> None
Variant 2:
Performs data upload to GpuMat (Non-Blocking call)
Positional Arguments
- self:
Evision.CUDA.GpuMat.t()
- arr:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
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 only):
upload(arr, stream) -> None