View Source Evision.CUDA.StereoConstantSpaceBP (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an CUDA.StereoConstantSpaceBP struct.

Functions

Uses a heuristic method to compute parameters (ndisp, iters, levelsand nrplane) for the specified image size (widthand height).

getNrPlane

getUseLocalInitDataCost

Link to this section Types

@type t() :: %Evision.CUDA.StereoConstantSpaceBP{ref: reference()}

Type that represents an CUDA.StereoConstantSpaceBP struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

estimateRecommendedParams(width, height, ndisp, iters, levels, nr_plane)

View Source
@spec estimateRecommendedParams(
  integer(),
  integer(),
  integer(),
  integer(),
  integer(),
  integer()
) ::
  :ok | {:error, String.t()}

Uses a heuristic method to compute parameters (ndisp, iters, levelsand nrplane) for the specified image size (widthand height).

Positional Arguments
  • width: int
  • height: int
  • ndisp: int
  • iters: int
  • levels: int
  • nr_plane: int

Python prototype (for reference only):

estimateRecommendedParams(width, height, ndisp, iters, levels, nr_plane) -> None
@spec getNrPlane(t()) :: integer() | {:error, String.t()}

getNrPlane

Positional Arguments
  • self: Evision.CUDA.StereoConstantSpaceBP.t()
Return
  • retval: int

Python prototype (for reference only):

getNrPlane() -> retval
Link to this function

getUseLocalInitDataCost(self)

View Source
@spec getUseLocalInitDataCost(t()) :: boolean() | {:error, String.t()}

getUseLocalInitDataCost

Positional Arguments
  • self: Evision.CUDA.StereoConstantSpaceBP.t()
Return
  • retval: bool

Python prototype (for reference only):

getUseLocalInitDataCost() -> retval
Link to this function

setNrPlane(self, nr_plane)

View Source
@spec setNrPlane(t(), integer()) :: t() | {:error, String.t()}

setNrPlane

Positional Arguments
  • self: Evision.CUDA.StereoConstantSpaceBP.t()
  • nr_plane: int

Python prototype (for reference only):

setNrPlane(nr_plane) -> None
Link to this function

setUseLocalInitDataCost(self, use_local_init_data_cost)

View Source
@spec setUseLocalInitDataCost(t(), boolean()) :: t() | {:error, String.t()}

setUseLocalInitDataCost

Positional Arguments
  • self: Evision.CUDA.StereoConstantSpaceBP.t()
  • use_local_init_data_cost: bool

Python prototype (for reference only):

setUseLocalInitDataCost(use_local_init_data_cost) -> None