View Source Evision.CUDA.StereoSGM (Evision v0.2.9)
Summary
Functions
Variant 1:
Computes disparity map for the specified stereo pair
Variant 1:
Computes disparity map for the specified stereo pair
Variant 1:
Computes disparity map with specified CUDA Stream
Variant 1:
Computes disparity map with specified CUDA Stream
Types
@type t() :: %Evision.CUDA.StereoSGM{ref: reference()}
Type that represents an CUDA.StereoSGM
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec compute( Evision.CUDA.CUDA.StereoSGM.t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in() ) :: Evision.Mat.t() | {:error, String.t()}
@spec compute( Evision.CUDA.CUDA.StereoSGM.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t() ) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
Computes disparity map for the specified stereo pair
Positional Arguments
self:
Evision.CUDA.StereoSGM.t()
left:
Evision.Mat
.Left 8-bit or 16-bit unsigned single-channel image.
right:
Evision.Mat
.Right image of the same size and the same type as the left one.
Return
disparity:
Evision.Mat.t()
.Output disparity map. It has the same size as the input images. StereoSGM computes 16-bit fixed-point disparity map (where each disparity value has 4 fractional bits).
Python prototype (for reference only):
compute(left, right[, disparity]) -> disparity
Variant 2:
Computes disparity map for the specified stereo pair
Positional Arguments
self:
Evision.CUDA.StereoSGM.t()
left:
Evision.CUDA.GpuMat.t()
.Left 8-bit or 16-bit unsigned single-channel image.
right:
Evision.CUDA.GpuMat.t()
.Right image of the same size and the same type as the left one.
Return
disparity:
Evision.CUDA.GpuMat.t()
.Output disparity map. It has the same size as the input images. StereoSGM computes 16-bit fixed-point disparity map (where each disparity value has 4 fractional bits).
Python prototype (for reference only):
compute(left, right[, disparity]) -> disparity
@spec compute( Evision.CUDA.CUDA.StereoSGM.t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
@spec compute( Evision.CUDA.CUDA.StereoSGM.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t(), [{atom(), term()}, ...] | nil ) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
Computes disparity map for the specified stereo pair
Positional Arguments
self:
Evision.CUDA.StereoSGM.t()
left:
Evision.Mat
.Left 8-bit or 16-bit unsigned single-channel image.
right:
Evision.Mat
.Right image of the same size and the same type as the left one.
Return
disparity:
Evision.Mat.t()
.Output disparity map. It has the same size as the input images. StereoSGM computes 16-bit fixed-point disparity map (where each disparity value has 4 fractional bits).
Python prototype (for reference only):
compute(left, right[, disparity]) -> disparity
Variant 2:
Computes disparity map for the specified stereo pair
Positional Arguments
self:
Evision.CUDA.StereoSGM.t()
left:
Evision.CUDA.GpuMat.t()
.Left 8-bit or 16-bit unsigned single-channel image.
right:
Evision.CUDA.GpuMat.t()
.Right image of the same size and the same type as the left one.
Return
disparity:
Evision.CUDA.GpuMat.t()
.Output disparity map. It has the same size as the input images. StereoSGM computes 16-bit fixed-point disparity map (where each disparity value has 4 fractional bits).
Python prototype (for reference only):
compute(left, right[, disparity]) -> disparity
@spec compute_with_stream( Evision.CUDA.CUDA.StereoSGM.t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), Evision.CUDA.Stream.t() ) :: Evision.Mat.t() | {:error, String.t()}
@spec compute_with_stream( Evision.CUDA.CUDA.StereoSGM.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.Stream.t() ) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
Computes disparity map with specified CUDA Stream
Positional Arguments
- self:
Evision.CUDA.StereoSGM.t()
- left:
Evision.Mat
- right:
Evision.Mat
- stream:
Evision.CUDA.Stream.t()
Return
- disparity:
Evision.Mat.t()
.
@sa compute
Python prototype (for reference only):
compute_with_stream(left, right, stream[, disparity]) -> disparity
Variant 2:
Computes disparity map with specified CUDA Stream
Positional Arguments
- self:
Evision.CUDA.StereoSGM.t()
- left:
Evision.CUDA.GpuMat.t()
- right:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- disparity:
Evision.CUDA.GpuMat.t()
.
@sa compute
Python prototype (for reference only):
compute_with_stream(left, right, stream[, disparity]) -> disparity
@spec compute_with_stream( Evision.CUDA.CUDA.StereoSGM.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_with_stream( Evision.CUDA.CUDA.StereoSGM.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:
Computes disparity map with specified CUDA Stream
Positional Arguments
- self:
Evision.CUDA.StereoSGM.t()
- left:
Evision.Mat
- right:
Evision.Mat
- stream:
Evision.CUDA.Stream.t()
Return
- disparity:
Evision.Mat.t()
.
@sa compute
Python prototype (for reference only):
compute_with_stream(left, right, stream[, disparity]) -> disparity
Variant 2:
Computes disparity map with specified CUDA Stream
Positional Arguments
- self:
Evision.CUDA.StereoSGM.t()
- left:
Evision.CUDA.GpuMat.t()
- right:
Evision.CUDA.GpuMat.t()
- stream:
Evision.CUDA.Stream.t()
Return
- disparity:
Evision.CUDA.GpuMat.t()
.
@sa compute
Python prototype (for reference only):
compute_with_stream(left, right, stream[, disparity]) -> disparity