View Source Evision.RGBD.FastICPOdometry (Evision v0.2.9)

Summary

Types

t()

Type that represents an RGBD.FastICPOdometry struct.

Types

@type t() :: %Evision.RGBD.FastICPOdometry{ref: reference()}

Type that represents an RGBD.FastICPOdometry struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec create(Keyword.t()) :: any() | {:error, String.t()}
@spec create(Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}

create

Positional Arguments
Keyword Arguments
  • maxDistDiff: float.

    Correspondences between pixels of two given frames will be filtered out if their depth difference is larger than maxDepthDiff

  • angleThreshold: float.

    Correspondence will be filtered out if an angle between their normals is bigger than threshold

  • sigmaDepth: float.

    Depth sigma in meters for bilateral smooth

  • sigmaSpatial: float.

    Spatial sigma in pixels for bilateral smooth

  • kernelSize: integer().

    Kernel size in pixels for bilateral smooth

  • iterCounts: [integer()].

    Count of iterations on each pyramid level

Return
  • retval: FastICPOdometry

Constructor.

Python prototype (for reference only):

create(cameraMatrix[, maxDistDiff[, angleThreshold[, sigmaDepth[, sigmaSpatial[, kernelSize[, iterCounts]]]]]]) -> retval
Link to this function

create(cameraMatrix, opts)

View Source
@spec create(
  Evision.Mat.maybe_mat_in(),
  [
    angleThreshold: term(),
    iterCounts: term(),
    kernelSize: term(),
    maxDistDiff: term(),
    sigmaDepth: term(),
    sigmaSpatial: term()
  ]
  | nil
) :: t() | {:error, String.t()}

create

Positional Arguments
Keyword Arguments
  • maxDistDiff: float.

    Correspondences between pixels of two given frames will be filtered out if their depth difference is larger than maxDepthDiff

  • angleThreshold: float.

    Correspondence will be filtered out if an angle between their normals is bigger than threshold

  • sigmaDepth: float.

    Depth sigma in meters for bilateral smooth

  • sigmaSpatial: float.

    Spatial sigma in pixels for bilateral smooth

  • kernelSize: integer().

    Kernel size in pixels for bilateral smooth

  • iterCounts: [integer()].

    Count of iterations on each pyramid level

Return
  • retval: FastICPOdometry

Constructor.

Python prototype (for reference only):

create(cameraMatrix[, maxDistDiff[, angleThreshold[, sigmaDepth[, sigmaSpatial[, kernelSize[, iterCounts]]]]]]) -> retval
Link to this function

getAngleThreshold(named_args)

View Source
@spec getAngleThreshold(Keyword.t()) :: any() | {:error, String.t()}
@spec getAngleThreshold(t()) :: number() | {:error, String.t()}

getAngleThreshold

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
Return
  • retval: float

Python prototype (for reference only):

getAngleThreshold() -> retval
Link to this function

getCameraMatrix(named_args)

View Source
@spec getCameraMatrix(Keyword.t()) :: any() | {:error, String.t()}
@spec getCameraMatrix(t()) :: Evision.Mat.t() | {:error, String.t()}

getCameraMatrix

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

getCameraMatrix() -> retval
Link to this function

getIterationCounts(named_args)

View Source
@spec getIterationCounts(Keyword.t()) :: any() | {:error, String.t()}
@spec getIterationCounts(t()) :: Evision.Mat.t() | {:error, String.t()}

getIterationCounts

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

getIterationCounts() -> retval
Link to this function

getKernelSize(named_args)

View Source
@spec getKernelSize(Keyword.t()) :: any() | {:error, String.t()}
@spec getKernelSize(t()) :: integer() | {:error, String.t()}

getKernelSize

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
Return
  • retval: integer()

Python prototype (for reference only):

getKernelSize() -> retval
Link to this function

getMaxDistDiff(named_args)

View Source
@spec getMaxDistDiff(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxDistDiff(t()) :: number() | {:error, String.t()}

getMaxDistDiff

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
Return
  • retval: double

Python prototype (for reference only):

getMaxDistDiff() -> retval
Link to this function

getSigmaDepth(named_args)

View Source
@spec getSigmaDepth(Keyword.t()) :: any() | {:error, String.t()}
@spec getSigmaDepth(t()) :: number() | {:error, String.t()}

getSigmaDepth

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
Return
  • retval: float

Python prototype (for reference only):

getSigmaDepth() -> retval
Link to this function

getSigmaSpatial(named_args)

View Source
@spec getSigmaSpatial(Keyword.t()) :: any() | {:error, String.t()}
@spec getSigmaSpatial(t()) :: number() | {:error, String.t()}

getSigmaSpatial

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
Return
  • retval: float

Python prototype (for reference only):

getSigmaSpatial() -> retval
Link to this function

getTransformType(named_args)

View Source
@spec getTransformType(Keyword.t()) :: any() | {:error, String.t()}
@spec getTransformType(t()) :: integer() | {:error, String.t()}

getTransformType

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
Return
  • retval: integer()

Python prototype (for reference only):

getTransformType() -> retval
Link to this function

prepareFrameCache(named_args)

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

prepareFrameCache(self, frame, cacheType)

View Source
@spec prepareFrameCache(t(), Evision.RGBD.OdometryFrame.t(), integer()) ::
  {number(), number()} | {:error, String.t()}

prepareFrameCache

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
  • frame: OdometryFrame
  • cacheType: integer()
Return
  • retval: Size

Python prototype (for reference only):

prepareFrameCache(frame, cacheType) -> retval
Link to this function

setAngleThreshold(named_args)

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

setAngleThreshold(self, f)

View Source
@spec setAngleThreshold(t(), number()) :: t() | {:error, String.t()}

setAngleThreshold

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
  • f: float

Python prototype (for reference only):

setAngleThreshold(f) -> None
Link to this function

setCameraMatrix(named_args)

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

setCameraMatrix(self, val)

View Source
@spec setCameraMatrix(t(), Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}

setCameraMatrix

Positional Arguments

Python prototype (for reference only):

setCameraMatrix(val) -> None
Link to this function

setIterationCounts(named_args)

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

setIterationCounts(self, val)

View Source
@spec setIterationCounts(t(), Evision.Mat.maybe_mat_in()) ::
  t() | {:error, String.t()}

setIterationCounts

Positional Arguments

Python prototype (for reference only):

setIterationCounts(val) -> None
Link to this function

setKernelSize(named_args)

View Source
@spec setKernelSize(Keyword.t()) :: any() | {:error, String.t()}
@spec setKernelSize(t(), integer()) :: t() | {:error, String.t()}

setKernelSize

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
  • f: integer()

Python prototype (for reference only):

setKernelSize(f) -> None
Link to this function

setMaxDistDiff(named_args)

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

setMaxDistDiff(self, val)

View Source
@spec setMaxDistDiff(t(), number()) :: t() | {:error, String.t()}

setMaxDistDiff

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
  • val: float

Python prototype (for reference only):

setMaxDistDiff(val) -> None
Link to this function

setSigmaDepth(named_args)

View Source
@spec setSigmaDepth(Keyword.t()) :: any() | {:error, String.t()}
@spec setSigmaDepth(t(), number()) :: t() | {:error, String.t()}

setSigmaDepth

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
  • f: float

Python prototype (for reference only):

setSigmaDepth(f) -> None
Link to this function

setSigmaSpatial(named_args)

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

setSigmaSpatial(self, f)

View Source
@spec setSigmaSpatial(t(), number()) :: t() | {:error, String.t()}

setSigmaSpatial

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
  • f: float

Python prototype (for reference only):

setSigmaSpatial(f) -> None
Link to this function

setTransformType(named_args)

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

setTransformType(self, val)

View Source
@spec setTransformType(t(), integer()) :: t() | {:error, String.t()}

setTransformType

Positional Arguments
  • self: Evision.RGBD.FastICPOdometry.t()
  • val: integer()

Python prototype (for reference only):

setTransformType(val) -> None