Module org.scijava.ops.image
Package org.scijava.ops.image.geom
Class DefaultCenterOfGravity<T extends RealType<T>>
- java.lang.Object
-
- org.scijava.ops.image.geom.DefaultCenterOfGravity<T>
-
- All Implemented Interfaces:
Function<IterableInterval<T>,RealLocalizable>
public class DefaultCenterOfGravity<T extends RealType<T>> extends Object implements Function<IterableInterval<T>,RealLocalizable>
This Op computes the center of gravity of aIterableRegion(Label).- Author:
- Daniel Seebacher (University of Konstanz)
- Implementation Note:
- op names='geom.centerOfGravity'
-
-
Constructor Summary
Constructors Constructor Description DefaultCenterOfGravity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RealLocalizableapply(IterableInterval<T> input)TODO
-
-
-
Method Detail
-
apply
public RealLocalizable apply(IterableInterval<T> input)
TODO- Specified by:
applyin interfaceFunction<IterableInterval<T extends RealType<T>>,RealLocalizable>- Parameters:
input- the inputIterableInterval- Returns:
- the center of gravity, as a
RealLocalizable
-
-