public class CentroidII extends AbstractUnaryFunctionOp<IterableInterval<?>,RealLocalizable> implements Ops.Geometric.Centroid
Op
computes the centroid of a IterableRegion
(Label).SpecialOp.Flavor
NAME
Constructor and Description |
---|
CentroidII() |
Modifier and Type | Method and Description |
---|---|
RealLocalizable |
calculate(IterableInterval<?> 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(IterableInterval<?> input)
UnaryFunctionOp
calculate
in interface UnaryFunctionOp<IterableInterval<?>,RealLocalizable>
input
- Argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.