- java.lang.Object
-
- org.scijava.ops.image.geom.geom3d.DefaultCompactness
-
- All Implemented Interfaces:
BiConsumer<net.imglib2.mesh.Mesh,DoubleType>,Computers.Arity1<net.imglib2.mesh.Mesh,DoubleType>
public class DefaultCompactness extends Object implements Computers.Arity1<net.imglib2.mesh.Mesh,DoubleType>
Generic implementation ofgeom.compactness. Based on http://www.sciencedirect.com/science/article/pii/S003132030700324X. In the paper compactness is defined as area^3/volume^2. For a sphere this is minimized and results in 36*PI. To get values between (0,1] we use (36*PI)/(area^3/volume^2).- Author:
- Tim-Oliver Buchholz (University of Konstanz)
- Implementation Note:
- op names='geom.compactness', label='Geometric (3D): Compactness', priority='10000.'
-
-
Constructor Summary
Constructors Constructor Description DefaultCompactness()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(net.imglib2.mesh.Mesh input, DoubleType compactness)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Methods inherited from interface org.scijava.function.Computers.Arity1
accept
-
-
-
-
Method Detail
-
compute
public void compute(net.imglib2.mesh.Mesh input, DoubleType compactness)TODO- Specified by:
computein interfaceComputers.Arity1<net.imglib2.mesh.Mesh,DoubleType>- Parameters:
input-compactness-
-
-