Package georegression.transform.se
Class AverageRotationMatrix_F32
java.lang.Object
georegression.transform.se.AverageRotationMatrix_F32
@Generated("georegression.transform.se.AverageRotationMatrix_F64")
public class AverageRotationMatrix_F32
extends Object
Finds the average of a set of quaternions by using a modification of the
method proposed in [1]. It works by finding the average rotation matrix then finds the best fit matrix
in SO-3, see page 200 of [2].
[1] MLA Markley, F. Landis, et al. "Quaternion averaging." (2007)
[2] "An Invitation to 3-D Vision, From Images to Geometric Models" 1st Ed. 2004. Springer.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(List<FMatrix3x3> list, FMatrix3x3 average) Finds average rotation matrix for matrices stored inFMatrix3x3format.booleanprocess(List<FMatrixRMaj> list, FMatrixRMaj average) Finds average rotation matrix for matrices stored inFMatrixRMajformat.<T> booleanprocessOp(List<T> list, FMatrixRMaj average, AverageRotationMatrix_F32.Convert<T> op) Computes average rotation matrix given a list with an arbitrary data type that can be converted into aFMatrix3x3.
-
Constructor Details
-
AverageRotationMatrix_F32
public AverageRotationMatrix_F32()
-
-
Method Details
-
process
Finds average rotation matrix for matrices stored inFMatrixRMajformat.- Parameters:
list- (Input) rotation matricesaverage- (Output) average rotation.- Returns:
- true if successful or false if it failed
-
process
Finds average rotation matrix for matrices stored inFMatrix3x3format.- Parameters:
list- (Input) rotation matricesaverage- (Output) average rotation.- Returns:
- true if successful or false if it failed
-
processOp
public <T> boolean processOp(List<T> list, FMatrixRMaj average, AverageRotationMatrix_F32.Convert<T> op) Computes average rotation matrix given a list with an arbitrary data type that can be converted into aFMatrix3x3.- Parameters:
list- List of data structures with rotation matrix in itaverage- (Output) Storage for computed average matrixop- Converts input data type toFMatrix3x3- Returns:
- true if successful or false if it failed
-