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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
int
void
getParameters
(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'.void
setParameters
(double[] parameters, int offset)
-
Constructor Details
-
JacobianSo3Quaternions
public JacobianSo3Quaternions()
-
-
Method Details
-
getParameters
Description copied from interface:JacobianSo3
Converts the 3x3 rotation matrix into encoded parameters- Specified by:
getParameters
in 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:
setParameters
in interfaceJacobianSo3
-
computeJacobians
protected void computeJacobians() -
getParameterLength
public int getParameterLength()- Specified by:
getParameterLength
in interfaceJacobianSo3
-
getRotationMatrix
- Specified by:
getRotationMatrix
in interfaceJacobianSo3
-
getPartial
- Specified by:
getPartial
in interfaceJacobianSo3
-
newInstance
Description copied from interface:JacobianSo3
Creates a new instance which is equivalent to 'this'. State is not copied.- Specified by:
newInstance
in interfaceJacobianSo3
-