public class CentroidLabelRegion extends AbstractUnaryFunctionOp<LabelRegion<?>,RealLocalizable> implements Ops.Geometric.Centroid
Op
computes the centroid of a IterableRegion
(Label).SpecialOp.Flavor
NAME
Constructor and Description |
---|
CentroidLabelRegion() |
Modifier and Type | Method and Description |
---|---|
RealLocalizable |
calculate(LabelRegion<?> input)
Calculates the output given some input.
|
in, out, run, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
run
candidates, filterArity, op
initialize
public RealLocalizable calculate(LabelRegion<?> input)
UnaryFunctionOp
calculate
in interface UnaryFunctionOp<LabelRegion<?>,RealLocalizable>
input
- Argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.