Package boofcv.alg.geo.pose
Class PnPStereoRefineRodrigues
java.lang.Object
boofcv.alg.geo.pose.PnPStereoRefineRodrigues
- All Implemented Interfaces:
RefinePnPStereo
,ModelFitter<Se3_F64,
Stereo2D3D>
Minimizes the reprojection residual error for a pose estimate (left camera) in a calibrated stereo camera.
Rotation is encoded using rodrigues coordinates. Transform between left and right camera
is assumed to be known and must be specified by the user. Observations are in normalized image coordinates.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fitModel
(List<Stereo2D3D> obs, Se3_F64 worldToLeft, Se3_F64 refinedWorldToLeft) double
void
setLeftToRight
(Se3_F64 leftToRight)
-
Field Details
-
minimizer
-
-
Constructor Details
-
PnPStereoRefineRodrigues
public PnPStereoRefineRodrigues(double convergenceTol, int maxIterations)
-
-
Method Details
-
setLeftToRight
- Specified by:
setLeftToRight
in interfaceRefinePnPStereo
-
fitModel
- Specified by:
fitModel
in interfaceModelFitter<Se3_F64,
Stereo2D3D>
-
getFitScore
public double getFitScore()- Specified by:
getFitScore
in interfaceModelFitter<Se3_F64,
Stereo2D3D>
-