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

Summary

Types

t()

Type that represents an CUDA.StereoConstantSpaceBP struct.

Types

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

Type that represents an CUDA.StereoConstantSpaceBP struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

estimateRecommendedParams(named_args)

View Source
@spec estimateRecommendedParams(Keyword.t()) :: any() | {:error, String.t()}
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: integer()
  • height: integer()
  • ndisp: integer()
  • iters: integer()
  • levels: integer()
  • nr_plane: integer()

Python prototype (for reference only):

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

getNrPlane

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

Python prototype (for reference only):

getNrPlane() -> retval
Link to this function

getUseLocalInitDataCost(named_args)

View Source
@spec getUseLocalInitDataCost(Keyword.t()) :: any() | {:error, String.t()}
@spec getUseLocalInitDataCost(Evision.CUDA.CUDA.StereoConstantSpaceBP.t()) ::
  boolean() | {:error, String.t()}

getUseLocalInitDataCost

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

Python prototype (for reference only):

getUseLocalInitDataCost() -> retval
@spec setNrPlane(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setNrPlane(self, nr_plane)

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

setNrPlane

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

Python prototype (for reference only):

setNrPlane(nr_plane) -> None
Link to this function

setUseLocalInitDataCost(named_args)

View Source
@spec setUseLocalInitDataCost(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setUseLocalInitDataCost(self, use_local_init_data_cost)

View Source
@spec setUseLocalInitDataCost(Evision.CUDA.CUDA.StereoConstantSpaceBP.t(), boolean()) ::
  Evision.CUDA.CUDA.StereoConstantSpaceBP.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