Class PnPRefineRodrigues

  • All Implemented Interfaces:
    RefinePnP, org.ddogleg.fitting.modelset.ModelFitter<georegression.struct.se.Se3_F64,​Point2D3D>

    public class PnPRefineRodrigues
    extends java.lang.Object
    implements RefinePnP
    Minimizes the projection residual error in a calibrated camera for a pose estimate. Rotation is encoded using rodrigues coordinates.
    • Constructor Summary

      Constructors 
      Constructor Description
      PnPRefineRodrigues​(double convergenceTol, int maxIterations)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean fitModel​(java.util.List<Point2D3D> obs, georegression.struct.se.Se3_F64 worldToCamera, georegression.struct.se.Se3_F64 refinedWorldToCamera)  
      double getFitScore()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PnPRefineRodrigues

        public PnPRefineRodrigues​(double convergenceTol,
                                  int maxIterations)
    • Method Detail

      • fitModel

        public boolean fitModel​(java.util.List<Point2D3D> obs,
                                georegression.struct.se.Se3_F64 worldToCamera,
                                georegression.struct.se.Se3_F64 refinedWorldToCamera)
        Specified by:
        fitModel in interface org.ddogleg.fitting.modelset.ModelFitter<georegression.struct.se.Se3_F64,​Point2D3D>
      • getFitScore

        public double getFitScore()
        Specified by:
        getFitScore in interface org.ddogleg.fitting.modelset.ModelFitter<georegression.struct.se.Se3_F64,​Point2D3D>