boofcv.alg.geo.bundle
Class CalibPoseAndPointRodriguesCodec
- java.lang.Object
-
- boofcv.alg.geo.bundle.CalibPoseAndPointRodriguesCodec
-
- All Implemented Interfaces:
- ModelCodec<CalibratedPoseAndPoint>
public class CalibPoseAndPointRodriguesCodec extends java.lang.Object implements ModelCodec<CalibratedPoseAndPoint>
Parametrization for Bundle Adjustment with known calibration where the rotation matrix is encoded usingRodrigues_F64coordinates.
-
-
Constructor Summary
Constructors Constructor and Description CalibPoseAndPointRodriguesCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidconfigure(int numViews, int numPoints, int numViewsUnknown, boolean[] knownView)Specify the number of views and points it can expectedvoiddecode(double[] input, CalibratedPoseAndPoint outputModel)Converts the parameter array into a model.voidencode(CalibratedPoseAndPoint model, double[] param)Converts the provided model into the array format.intgetParamLength()Number of elements in array encoded parameters.
-
-
-
Method Detail
-
configure
public void configure(int numViews, int numPoints, int numViewsUnknown, boolean[] knownView)Specify the number of views and points it can expected
-
decode
public void decode(double[] input, CalibratedPoseAndPoint outputModel)Description copied from interface:ModelCodecConverts the parameter array into a model.- Specified by:
decodein interfaceModelCodec<CalibratedPoseAndPoint>- Parameters:
input- input model parameters.outputModel- Option (can be null) model.
-
encode
public void encode(CalibratedPoseAndPoint model, double[] param)
Description copied from interface:ModelCodecConverts the provided model into the array format.- Specified by:
encodein interfaceModelCodec<CalibratedPoseAndPoint>- Parameters:
model- Input model.param- Output parameterized model. Can be null.
-
getParamLength
public int getParamLength()
Description copied from interface:ModelCodecNumber of elements in array encoded parameters.- Specified by:
getParamLengthin interfaceModelCodec<CalibratedPoseAndPoint>
-
-
DataMelt 3.0 © DataMelt by jWork.ORG