Documentation of 'boofcv.alg.geo.pose.PnPRodriguesCodec' Java class
PnPRodriguesCodec
boofcv.alg.geo.pose

Class PnPRodriguesCodec

  • All Implemented Interfaces:
    ModelCodec<Se3_F64>


    public class PnPRodriguesCodec
    extends java.lang.Object
    implements ModelCodec<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 and Description
      void decode(double[] input, Se3_F64 outputModel)
      Converts the parameter array into a model.
      void encode(Se3_F64 input, double[] output)
      Converts the provided model into the array format.
      int getParamLength()
      Number of elements in array encoded parameters.
      • Methods inherited from class java.lang.Object

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

      • PnPRodriguesCodec

        public PnPRodriguesCodec()
    • Method Detail

      • decode

        public void decode(double[] input,
                           Se3_F64 outputModel)
        Description copied from interface: ModelCodec
        Converts the parameter array into a model.
        Specified by:
        decode in interface ModelCodec<Se3_F64>
        Parameters:
        input - input model parameters.
        outputModel - Option (can be null) model.
      • encode

        public void encode(Se3_F64 input,
                           double[] output)
        Description copied from interface: ModelCodec
        Converts the provided model into the array format.
        Specified by:
        encode in interface ModelCodec<Se3_F64>
        Parameters:
        input - Input model.
        output - Output parameterized model. Can be null.
      • getParamLength

        public int getParamLength()
        Description copied from interface: ModelCodec
        Number of elements in array encoded parameters.
        Specified by:
        getParamLength in interface ModelCodec<Se3_F64>

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.