View Source Evision.RGBD.RgbdOdometry (Evision v0.2.9)
Summary
Functions
create
create
getCameraMatrix
getIterationCounts
getMaxDepth
getMaxDepthDiff
getMaxPointsPart
getMaxRotation
getMaxTranslation
getMinDepth
getMinGradientMagnitudes
getTransformType
prepareFrameCache
setCameraMatrix
setIterationCounts
setMaxDepth
setMaxDepthDiff
setMaxPointsPart
setMaxRotation
setMaxTranslation
setMinDepth
setMinGradientMagnitudes
setTransformType
Types
@type t() :: %Evision.RGBD.RgbdOdometry{ref: reference()}
Type that represents an RGBD.RgbdOdometry
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
create
Keyword Arguments
cameraMatrix:
Evision.Mat
.Camera matrix
minDepth:
float
.Pixels with depth less than minDepth will not be used (in meters)
maxDepth:
float
.Pixels with depth larger than maxDepth will not be used (in meters)
maxDepthDiff:
float
.Correspondences between pixels of two given frames will be filtered out if their depth difference is larger than maxDepthDiff (in meters)
iterCounts:
[integer()]
.Count of iterations on each pyramid level.
minGradientMagnitudes:
[float]
.For each pyramid level the pixels will be filtered out if they have gradient magnitude less than minGradientMagnitudes[level].
maxPointsPart:
float
.The method uses a random pixels subset of size frameWidth x frameHeight x pointsPart
transformType:
integer()
.Class of transformation
Return
- retval:
RgbdOdometry
Constructor.
Python prototype (for reference only):
create([, cameraMatrix[, minDepth[, maxDepth[, maxDepthDiff[, iterCounts[, minGradientMagnitudes[, maxPointsPart[, transformType]]]]]]]]) -> retval
@spec create(Keyword.t()) :: any() | {:error, String.t()}
@spec create( [ cameraMatrix: term(), iterCounts: term(), maxDepth: term(), maxDepthDiff: term(), maxPointsPart: term(), minDepth: term(), minGradientMagnitudes: term(), transformType: term() ] | nil ) :: t() | {:error, String.t()}
create
Keyword Arguments
cameraMatrix:
Evision.Mat
.Camera matrix
minDepth:
float
.Pixels with depth less than minDepth will not be used (in meters)
maxDepth:
float
.Pixels with depth larger than maxDepth will not be used (in meters)
maxDepthDiff:
float
.Correspondences between pixels of two given frames will be filtered out if their depth difference is larger than maxDepthDiff (in meters)
iterCounts:
[integer()]
.Count of iterations on each pyramid level.
minGradientMagnitudes:
[float]
.For each pyramid level the pixels will be filtered out if they have gradient magnitude less than minGradientMagnitudes[level].
maxPointsPart:
float
.The method uses a random pixels subset of size frameWidth x frameHeight x pointsPart
transformType:
integer()
.Class of transformation
Return
- retval:
RgbdOdometry
Constructor.
Python prototype (for reference only):
create([, cameraMatrix[, minDepth[, maxDepth[, maxDepthDiff[, iterCounts[, minGradientMagnitudes[, maxPointsPart[, transformType]]]]]]]]) -> retval
@spec getCameraMatrix(Keyword.t()) :: any() | {:error, String.t()}
@spec getCameraMatrix(t()) :: Evision.Mat.t() | {:error, String.t()}
getCameraMatrix
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
Evision.Mat.t()
Python prototype (for reference only):
getCameraMatrix() -> retval
@spec getIterationCounts(Keyword.t()) :: any() | {:error, String.t()}
@spec getIterationCounts(t()) :: Evision.Mat.t() | {:error, String.t()}
getIterationCounts
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
Evision.Mat.t()
Python prototype (for reference only):
getIterationCounts() -> retval
@spec getMaxDepth(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxDepth(t()) :: number() | {:error, String.t()}
getMaxDepth
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
double
Python prototype (for reference only):
getMaxDepth() -> retval
@spec getMaxDepthDiff(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxDepthDiff(t()) :: number() | {:error, String.t()}
getMaxDepthDiff
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
double
Python prototype (for reference only):
getMaxDepthDiff() -> retval
@spec getMaxPointsPart(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxPointsPart(t()) :: number() | {:error, String.t()}
getMaxPointsPart
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
double
Python prototype (for reference only):
getMaxPointsPart() -> retval
@spec getMaxRotation(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxRotation(t()) :: number() | {:error, String.t()}
getMaxRotation
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
double
Python prototype (for reference only):
getMaxRotation() -> retval
@spec getMaxTranslation(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxTranslation(t()) :: number() | {:error, String.t()}
getMaxTranslation
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
double
Python prototype (for reference only):
getMaxTranslation() -> retval
@spec getMinDepth(Keyword.t()) :: any() | {:error, String.t()}
@spec getMinDepth(t()) :: number() | {:error, String.t()}
getMinDepth
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
double
Python prototype (for reference only):
getMinDepth() -> retval
@spec getMinGradientMagnitudes(Keyword.t()) :: any() | {:error, String.t()}
@spec getMinGradientMagnitudes(t()) :: Evision.Mat.t() | {:error, String.t()}
getMinGradientMagnitudes
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
Evision.Mat.t()
Python prototype (for reference only):
getMinGradientMagnitudes() -> retval
@spec getTransformType(Keyword.t()) :: any() | {:error, String.t()}
@spec getTransformType(t()) :: integer() | {:error, String.t()}
getTransformType
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
Return
- retval:
integer()
Python prototype (for reference only):
getTransformType() -> retval
@spec prepareFrameCache(t(), Evision.RGBD.OdometryFrame.t(), integer()) :: {number(), number()} | {:error, String.t()}
prepareFrameCache
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- frame:
OdometryFrame
- cacheType:
integer()
Return
- retval:
Size
Python prototype (for reference only):
prepareFrameCache(frame, cacheType) -> retval
@spec setCameraMatrix(t(), Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}
setCameraMatrix
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
Evision.Mat
Python prototype (for reference only):
setCameraMatrix(val) -> None
@spec setIterationCounts(t(), Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}
setIterationCounts
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
Evision.Mat
Python prototype (for reference only):
setIterationCounts(val) -> None
setMaxDepth
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
double
Python prototype (for reference only):
setMaxDepth(val) -> None
setMaxDepthDiff
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
double
Python prototype (for reference only):
setMaxDepthDiff(val) -> None
setMaxPointsPart
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
double
Python prototype (for reference only):
setMaxPointsPart(val) -> None
setMaxRotation
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
double
Python prototype (for reference only):
setMaxRotation(val) -> None
setMaxTranslation
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
double
Python prototype (for reference only):
setMaxTranslation(val) -> None
setMinDepth
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
double
Python prototype (for reference only):
setMinDepth(val) -> None
@spec setMinGradientMagnitudes(t(), Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}
setMinGradientMagnitudes
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
Evision.Mat
Python prototype (for reference only):
setMinGradientMagnitudes(val) -> None
setTransformType
Positional Arguments
- self:
Evision.RGBD.RgbdOdometry.t()
- val:
integer()
Python prototype (for reference only):
setTransformType(val) -> None