public class DefaultCenterOfGravity<T extends RealType<T>> extends AbstractUnaryFunctionOp<IterableInterval<T>,RealLocalizable> implements Ops.Geometric.CenterOfGravity
Op computes the center of gravity of a IterableRegion
(Label).SpecialOp.FlavorNAME| Constructor and Description |
|---|
DefaultCenterOfGravity() |
| Modifier and Type | Method and Description |
|---|---|
RealLocalizable |
calculate(IterableInterval<T> 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(IterableInterval<T> input)
UnaryFunctionOpcalculate in interface UnaryFunctionOp<IterableInterval<T extends RealType<T>>,RealLocalizable>input - Argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.