View Source Evision.CUDA.StereoConstantSpaceBP (Evision v0.2.9)
Summary
Functions
Uses a heuristic method to compute parameters (ndisp, iters, levelsand nrplane) for the specified image size (widthand height).
getNrPlane
getUseLocalInitDataCost
setNrPlane
setUseLocalInitDataCost
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(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
@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(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
@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