Package boofcv.alg.geo.pose
Class PnPRodriguesCodec
- java.lang.Object
-
- boofcv.alg.geo.pose.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.
-
-
Constructor Summary
Constructors Constructor Description PnPRodriguesCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(double[] input, georegression.struct.se.Se3_F64 outputModel)voidencode(georegression.struct.se.Se3_F64 input, double[] output)intgetParamLength()
-
-
-
Method Detail
-
decode
public void decode(double[] input, georegression.struct.se.Se3_F64 outputModel)- Specified by:
decodein interfaceorg.ddogleg.fitting.modelset.ModelCodec<georegression.struct.se.Se3_F64>
-
encode
public void encode(georegression.struct.se.Se3_F64 input, double[] output)- Specified by:
encodein interfaceorg.ddogleg.fitting.modelset.ModelCodec<georegression.struct.se.Se3_F64>
-
getParamLength
public int getParamLength()
- Specified by:
getParamLengthin interfaceorg.ddogleg.fitting.modelset.ModelCodec<georegression.struct.se.Se3_F64>
-
-