Package boofcv.alg.geo.bundle.jacobians
Class JacobianSo3Quaternions
java.lang.Object
boofcv.alg.geo.bundle.jacobians.JacobianSo3Quaternions
- All Implemented Interfaces:
JacobianSo3
Jacobian for 4-tuple encoded
Quaternion (w,x,y,z).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidintvoidgetParameters(DMatrixRMaj R, double[] parameters, int offset) Converts the 3x3 rotation matrix into encoded parametersgetPartial(int param) Creates a new instance which is equivalent to 'this'.voidsetParameters(double[] parameters, int offset)
-
Constructor Details
-
JacobianSo3Quaternions
public JacobianSo3Quaternions()
-
-
Method Details
-
getParameters
Description copied from interface:JacobianSo3Converts the 3x3 rotation matrix into encoded parameters- Specified by:
getParametersin interfaceJacobianSo3- Parameters:
R- 3x3 (Input) rotation matrixparameters- (Output) storage for encoded rotation matrixoffset- index in parameters array
-
setParameters
public void setParameters(double[] parameters, int offset) - Specified by:
setParametersin interfaceJacobianSo3
-
computeJacobians
protected void computeJacobians() -
getParameterLength
public int getParameterLength()- Specified by:
getParameterLengthin interfaceJacobianSo3
-
getRotationMatrix
- Specified by:
getRotationMatrixin interfaceJacobianSo3
-
getPartial
- Specified by:
getPartialin interfaceJacobianSo3
-
newInstance
Description copied from interface:JacobianSo3Creates a new instance which is equivalent to 'this'. State is not copied.- Specified by:
newInstancein interfaceJacobianSo3
-