View Source Evision.PPFMatch3D.PPF3DDetector (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an PPFMatch3D.PPF3DDetector struct.

Link to this section Types

@type t() :: %Evision.PPFMatch3D.PPF3DDetector{ref: reference()}

Type that represents an PPFMatch3D.PPF3DDetector struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec match(t(), Evision.Mat.maybe_mat_in()) ::
  [Evision.PPFMatch3D.Pose3D.t()] | {:error, String.t()}

match

Positional Arguments
  • self: Evision.PPFMatch3D.PPF3DDetector.t()
  • scene: Evision.Mat.t()
Keyword Arguments
  • relativeSceneSampleStep: double.
  • relativeSceneDistance: double.
Return
  • results: [Evision.PPFMatch3D.Pose3D]

    \brief Matches a trained model across a provided scene.

Python prototype (for reference only):

match(scene[, relativeSceneSampleStep[, relativeSceneDistance]]) -> results
Link to this function

match(self, scene, opts)

View Source
@spec match(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) ::
  [Evision.PPFMatch3D.Pose3D.t()] | {:error, String.t()}

match

Positional Arguments
  • self: Evision.PPFMatch3D.PPF3DDetector.t()
  • scene: Evision.Mat.t()
Keyword Arguments
  • relativeSceneSampleStep: double.
  • relativeSceneDistance: double.
Return
  • results: [Evision.PPFMatch3D.Pose3D]

    \brief Matches a trained model across a provided scene.

Python prototype (for reference only):

match(scene[, relativeSceneSampleStep[, relativeSceneDistance]]) -> results
@spec pPF3DDetector() :: t() | {:error, String.t()}

PPF3DDetector

Return
  • self: Evision.PPFMatch3D.PPF3DDetector.t()

\brief Empty constructor. Sets default arguments

Python prototype (for reference only):

PPF3DDetector() -> <ppf_match_3d_PPF3DDetector object>
Link to this function

pPF3DDetector(relativeSamplingStep)

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

PPF3DDetector

Positional Arguments
  • relativeSamplingStep: double
Keyword Arguments
  • relativeDistanceStep: double.
  • numAngles: double.
Return
  • self: Evision.PPFMatch3D.PPF3DDetector.t()

Constructor with arguments

Python prototype (for reference only):

PPF3DDetector(relativeSamplingStep[, relativeDistanceStep[, numAngles]]) -> <ppf_match_3d_PPF3DDetector object>
Link to this function

pPF3DDetector(relativeSamplingStep, opts)

View Source
@spec pPF3DDetector(number(), [{atom(), term()}, ...] | nil) ::
  t() | {:error, String.t()}

PPF3DDetector

Positional Arguments
  • relativeSamplingStep: double
Keyword Arguments
  • relativeDistanceStep: double.
  • numAngles: double.
Return
  • self: Evision.PPFMatch3D.PPF3DDetector.t()

Constructor with arguments

Python prototype (for reference only):

PPF3DDetector(relativeSamplingStep[, relativeDistanceStep[, numAngles]]) -> <ppf_match_3d_PPF3DDetector object>
@spec trainModel(t(), Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}

trainModel

Positional Arguments
  • self: Evision.PPFMatch3D.PPF3DDetector.t()

  • model: Evision.Mat.t()

    \brief Trains a new model.

    \details Uses the parameters set in the constructor to downsample and learn a new model. When the model is learnt, the instance gets ready for calling "match".

Python prototype (for reference only):

trainModel(Model) -> None