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