View Source Evision.PPFMatch3D.PPF3DDetector (Evision v0.2.9)
Summary
Types
@type t() :: %Evision.PPFMatch3D.PPF3DDetector{ref: reference()}
Type that represents an PPFMatch3D.PPF3DDetector
struct.
ref.
reference()
The underlying erlang resource variable.
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
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 match( t(), Evision.Mat.maybe_mat_in(), [relativeSceneDistance: term(), relativeSceneSampleStep: term()] | nil ) :: [Evision.PPFMatch3D.Pose3D.t()] | {:error, String.t()}
match
Positional Arguments
- self:
Evision.PPFMatch3D.PPF3DDetector.t()
- scene:
Evision.Mat
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
PPF3DDetector
Return
- self:
Evision.PPFMatch3D.PPF3DDetector.t()
\brief Empty constructor. Sets default arguments
Python prototype (for reference only):
PPF3DDetector() -> <ppf_match_3d_PPF3DDetector object>
@spec pPF3DDetector(Keyword.t()) :: any() | {:error, String.t()}
@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>
@spec pPF3DDetector(number(), [numAngles: term(), relativeDistanceStep: 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
\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