public class CentroidLabelRegion extends AbstractUnaryFunctionOp<LabelRegion<?>,RealLocalizable> implements Ops.Geometric.Centroid
Op computes the centroid of a IterableRegion (Label).SpecialOp.FlavorNAME| Constructor and Description |
|---|
CentroidLabelRegion() |
| Modifier and Type | Method and Description |
|---|---|
RealLocalizable |
calculate(LabelRegion<?> input)
Calculates the output given some input.
|
in, out, run, setInputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, getIndependentInstance, runruncandidates, filterArity, opinitializepublic RealLocalizable calculate(LabelRegion<?> input)
UnaryFunctionOpcalculate in interface UnaryFunctionOp<LabelRegion<?>,RealLocalizable>input - Argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.