View Source Evision.CUDA.DisparityBilateralFilter (Evision v0.2.9)
Summary
Functions
Variant 1:
Refines a disparity map using joint bilateral filtering.
Variant 1:
Refines a disparity map using joint bilateral filtering.
Clears the algorithm state
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
getDefaultName
getEdgeThreshold
getMaxDiscThreshold
getNumDisparities
getNumIters
getRadius
getSigmaRange
Reads algorithm parameters from a file storage
save
setEdgeThreshold
setMaxDiscThreshold
setNumDisparities
setNumIters
setRadius
setSigmaRange
Stores algorithm parameters in a file storage
write
Types
@type t() :: %Evision.CUDA.DisparityBilateralFilter{ref: reference()}
Type that represents an CUDA.DisparityBilateralFilter
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec apply(t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in()) :: Evision.Mat.t() | {:error, String.t()}
@spec apply(t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t()) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
Refines a disparity map using joint bilateral filtering.
Positional Arguments
self:
Evision.CUDA.DisparityBilateralFilter.t()
disparity:
Evision.Mat
.Input disparity map. CV_8UC1 and CV_16SC1 types are supported.
image:
Evision.Mat
.Input image. CV_8UC1 and CV_8UC3 types are supported.
Keyword Arguments
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
dst:
Evision.Mat.t()
.Destination disparity map. It has the same size and type as disparity .
Python prototype (for reference only):
apply(disparity, image[, dst[, stream]]) -> dst
Variant 2:
Refines a disparity map using joint bilateral filtering.
Positional Arguments
self:
Evision.CUDA.DisparityBilateralFilter.t()
disparity:
Evision.CUDA.GpuMat.t()
.Input disparity map. CV_8UC1 and CV_16SC1 types are supported.
image:
Evision.CUDA.GpuMat.t()
.Input image. CV_8UC1 and CV_8UC3 types are supported.
Keyword Arguments
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
dst:
Evision.CUDA.GpuMat.t()
.Destination disparity map. It has the same size and type as disparity .
Python prototype (for reference only):
apply(disparity, image[, dst[, stream]]) -> dst
@spec apply( t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), [{:stream, term()}] | nil ) :: Evision.Mat.t() | {:error, String.t()}
@spec apply( t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t(), [{:stream, term()}] | nil ) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
Refines a disparity map using joint bilateral filtering.
Positional Arguments
self:
Evision.CUDA.DisparityBilateralFilter.t()
disparity:
Evision.Mat
.Input disparity map. CV_8UC1 and CV_16SC1 types are supported.
image:
Evision.Mat
.Input image. CV_8UC1 and CV_8UC3 types are supported.
Keyword Arguments
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
dst:
Evision.Mat.t()
.Destination disparity map. It has the same size and type as disparity .
Python prototype (for reference only):
apply(disparity, image[, dst[, stream]]) -> dst
Variant 2:
Refines a disparity map using joint bilateral filtering.
Positional Arguments
self:
Evision.CUDA.DisparityBilateralFilter.t()
disparity:
Evision.CUDA.GpuMat.t()
.Input disparity map. CV_8UC1 and CV_16SC1 types are supported.
image:
Evision.CUDA.GpuMat.t()
.Input image. CV_8UC1 and CV_8UC3 types are supported.
Keyword Arguments
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
dst:
Evision.CUDA.GpuMat.t()
.Destination disparity map. It has the same size and type as disparity .
Python prototype (for reference only):
apply(disparity, image[, dst[, stream]]) -> dst
@spec clear(Keyword.t()) :: any() | {:error, String.t()}
@spec clear(t()) :: t() | {:error, String.t()}
Clears the algorithm state
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
Python prototype (for reference only):
clear() -> None
@spec empty(Keyword.t()) :: any() | {:error, String.t()}
@spec empty(t()) :: boolean() | {:error, String.t()}
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
Return
- retval:
bool
Python prototype (for reference only):
empty() -> retval
@spec getDefaultName(Keyword.t()) :: any() | {:error, String.t()}
@spec getDefaultName(t()) :: binary() | {:error, String.t()}
getDefaultName
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
Return
- retval:
String
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Python prototype (for reference only):
getDefaultName() -> retval
@spec getEdgeThreshold(Keyword.t()) :: any() | {:error, String.t()}
@spec getEdgeThreshold(t()) :: number() | {:error, String.t()}
getEdgeThreshold
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
Return
- retval:
double
Python prototype (for reference only):
getEdgeThreshold() -> retval
@spec getMaxDiscThreshold(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxDiscThreshold(t()) :: number() | {:error, String.t()}
getMaxDiscThreshold
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
Return
- retval:
double
Python prototype (for reference only):
getMaxDiscThreshold() -> retval
@spec getNumDisparities(Keyword.t()) :: any() | {:error, String.t()}
@spec getNumDisparities(t()) :: integer() | {:error, String.t()}
getNumDisparities
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
Return
- retval:
integer()
Python prototype (for reference only):
getNumDisparities() -> retval
@spec getNumIters(Keyword.t()) :: any() | {:error, String.t()}
@spec getNumIters(t()) :: integer() | {:error, String.t()}
getNumIters
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
Return
- retval:
integer()
Python prototype (for reference only):
getNumIters() -> retval
@spec getRadius(Keyword.t()) :: any() | {:error, String.t()}
@spec getRadius(t()) :: integer() | {:error, String.t()}
getRadius
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
Return
- retval:
integer()
Python prototype (for reference only):
getRadius() -> retval
@spec getSigmaRange(Keyword.t()) :: any() | {:error, String.t()}
@spec getSigmaRange(t()) :: number() | {:error, String.t()}
getSigmaRange
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
Return
- retval:
double
Python prototype (for reference only):
getSigmaRange() -> retval
@spec read(t(), Evision.FileNode.t()) :: t() | {:error, String.t()}
Reads algorithm parameters from a file storage
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- func:
Evision.FileNode
Python prototype (for reference only):
read(fn) -> None
save
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- filename:
String
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Python prototype (for reference only):
save(filename) -> None
setEdgeThreshold
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- edge_threshold:
double
Python prototype (for reference only):
setEdgeThreshold(edge_threshold) -> None
setMaxDiscThreshold
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- max_disc_threshold:
double
Python prototype (for reference only):
setMaxDiscThreshold(max_disc_threshold) -> None
setNumDisparities
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- numDisparities:
integer()
Python prototype (for reference only):
setNumDisparities(numDisparities) -> None
setNumIters
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- iters:
integer()
Python prototype (for reference only):
setNumIters(iters) -> None
setRadius
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- radius:
integer()
Python prototype (for reference only):
setRadius(radius) -> None
setSigmaRange
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- sigma_range:
double
Python prototype (for reference only):
setSigmaRange(sigma_range) -> None
@spec write(t(), Evision.FileStorage.t()) :: t() | {:error, String.t()}
Stores algorithm parameters in a file storage
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- fs:
Evision.FileStorage
Python prototype (for reference only):
write(fs) -> None
@spec write(t(), Evision.FileStorage.t(), binary()) :: t() | {:error, String.t()}
write
Positional Arguments
- self:
Evision.CUDA.DisparityBilateralFilter.t()
- fs:
Evision.FileStorage
- name:
String
Has overloading in C++
Python prototype (for reference only):
write(fs, name) -> None