Package net.imglib2.mesh.alg
Class InertiaTensor
- java.lang.Object
-
- net.imglib2.mesh.alg.InertiaTensor
-
public class InertiaTensor extends Object
Inertia tensor of a 3D mesh.Adapted from the
DefaultInertiaTensor3DMeshinimagej-opsby Tim-Oliver.- Author:
- Tim-Oliver Buchholz (University of Konstanz)
-
-
Constructor Summary
Constructors Constructor Description InertiaTensor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RealMatrixcalculate(Mesh input)Computes the inertia tensor.
-
-
-
Method Detail
-
calculate
public static RealMatrix calculate(Mesh input)
Computes the inertia tensor.- Parameters:
input- the inputMesh- Returns:
- a
RealMatrixwhose entries form the inertia tensor - Implementation Note:
- op names='geom.secondMoment'
-
-