Class PnPRodriguesCodec

  • All Implemented Interfaces:
    org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.se.Se3_F64>

    public class PnPRodriguesCodec
    extends java.lang.Object
    implements org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.se.Se3_F64>
    Encoding an decoding a rotation and translation where the rotation is encoded as a 3-vector Rodrigues coordinate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decode​(double[] input, georegression.struct.se.Se3_F64 outputModel)  
      void encode​(georegression.struct.se.Se3_F64 input, double[] output)  
      int getParamLength()  
      • Methods inherited from class java.lang.Object

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

      • PnPRodriguesCodec

        public PnPRodriguesCodec()
    • Method Detail

      • decode

        public void decode​(double[] input,
                           georegression.struct.se.Se3_F64 outputModel)
        Specified by:
        decode in interface org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.se.Se3_F64>
      • encode

        public void encode​(georegression.struct.se.Se3_F64 input,
                           double[] output)
        Specified by:
        encode in interface org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.se.Se3_F64>
      • getParamLength

        public int getParamLength()
        Specified by:
        getParamLength in interface org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.se.Se3_F64>