View Source Evision.CUDA.StereoBM (Evision v0.2.9)

Summary

Types

t()

Type that represents an CUDA.StereoBM struct.

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(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

compute(self, left, right, stream)

View Source
@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
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
Link to this function

compute(self, left, right, stream, opts)

View Source
@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
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