- java.lang.Object
-
- org.scijava.ops.image.geom.CentroidII
-
- All Implemented Interfaces:
Function<IterableInterval<?>,RealLocalizable>
public class CentroidII extends Object implements Function<IterableInterval<?>,RealLocalizable>
This Op computes the centroid of aIterableRegion(Label).- Author:
- Tim-Oliver Buchholz (University of Konstanz)
- Implementation Note:
- op names='geom.centroid', priority='1'
-
-
Constructor Summary
Constructors Constructor Description CentroidII()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RealLocalizableapply(IterableInterval<?> input)TODO
-
-
-
Method Detail
-
apply
public RealLocalizable apply(IterableInterval<?> input)
TODO- Specified by:
applyin interfaceFunction<IterableInterval<?>,RealLocalizable>- Parameters:
input-- Returns:
- the centroid of the input
IterableInterval
-
-