public class RigidPoseEstimator
extends java.lang.Object
The algorithm is the same as the SVD algorithm given in D.W. Eggert, A. Lorusso, R.B. Fischer, ``Estimating 3-D rigid body transformations: a comparisonof four major algorithms'', Machine Vision and Applications (1997) 9: 272–290.
Constructor and Description |
---|
RigidPoseEstimator() |
RigidPoseEstimator(java.util.Collection<? extends Vector3d> lpoints) |
Modifier and Type | Method and Description |
---|---|
void |
estimatePose(RigidTransform3d T,
java.util.List<? extends Vector3d> wpoints)
Estimates the transform from local to world coordinates given the
corresponding point positions in world coordinates.
|
void |
estimatePose(RigidTransform3d T,
VectorNd wpositions)
Estimates the transform from local to world coordinates given the
corresponding point positions in world coordinates.
|
void |
setLocalPoints(java.util.Collection<? extends Vector3d> lpoints)
Sets the local points for this estimator.
|
public RigidPoseEstimator()
public RigidPoseEstimator(java.util.Collection<? extends Vector3d> lpoints)
public void setLocalPoints(java.util.Collection<? extends Vector3d> lpoints)
lpoints
- collection of local pointspublic void estimatePose(RigidTransform3d T, VectorNd wpositions)
T
- returns the transformwpositions
- world point positions given as a single vectorpublic void estimatePose(RigidTransform3d T, java.util.List<? extends Vector3d> wpoints)
T
- returns the transformwpoints
- collection of world points