View Source Evision.CUDA.StereoBM (Evision v0.2.9)
Summary
Types
@type t() :: %Evision.CUDA.StereoBM{ref: reference()}
Type that represents an CUDA.StereoBM
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec compute( Evision.CUDA.CUDA.StereoBM.t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), Evision.CUDA.Stream.t() ) :: Evision.Mat.t() | {:error, String.t()}
@spec compute( Evision.CUDA.CUDA.StereoBM.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.Stream.t() ) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
compute
Positional Arguments
- self:
Evision.CUDA.StereoBM.t()
- left:
Evision.Mat
- right:
Evision.Mat
- stream:
Evision.CUDA.Stream.t()
Return
- disparity:
Evision.Mat.t()
.
Python prototype (for reference only):
compute(left, right, stream[, disparity]) -> disparity
Variant 2:
compute
Positional Arguments
- self:
Evision.CUDA.StereoBM.t()
- left:
Evision.CUDA.GpuMat.t()
- right:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- disparity:
Evision.CUDA.GpuMat.t()
.
Python prototype (for reference only):
compute(left, right, stream[, disparity]) -> disparity
@spec compute( Evision.CUDA.CUDA.StereoBM.t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
@spec compute( Evision.CUDA.CUDA.StereoBM.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil ) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
compute
Positional Arguments
- self:
Evision.CUDA.StereoBM.t()
- left:
Evision.Mat
- right:
Evision.Mat
- stream:
Evision.CUDA.Stream.t()
Return
- disparity:
Evision.Mat.t()
.
Python prototype (for reference only):
compute(left, right, stream[, disparity]) -> disparity
Variant 2:
compute
Positional Arguments
- self:
Evision.CUDA.StereoBM.t()
- left:
Evision.CUDA.GpuMat.t()
- right:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- disparity:
Evision.CUDA.GpuMat.t()
.
Python prototype (for reference only):
compute(left, right, stream[, disparity]) -> disparity