I - input typepublic class IntegralMean<I extends RealType<I>> extends AbstractUnaryComputerOp<RectangleNeighborhood<Composite<I>>,DoubleType> implements Ops.Stats.IntegralMean
SpecialOp.FlavorNAME| Constructor and Description |
|---|
IntegralMean() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(RectangleNeighborhood<Composite<I>> input,
DoubleType output)
Computes the output given some input.
|
static int |
norm(int cornerPosition)
Computes L1 norm of the position of an
IntegralCursor. |
in, out, setInput, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcompute, getIndependentInstance, run, runruncandidates, filterArity, opinitializepublic void compute(RectangleNeighborhood<Composite<I>> input, DoubleType output)
UnaryComputerOpcompute in interface UnaryComputerOp<RectangleNeighborhood<Composite<I extends RealType<I>>>,DoubleType>input - Argument to the computation, which must be non-nulloutput - Object where the computation's result will be stored, which
must be non-null and a different object than inputpublic static int norm(int cornerPosition)
IntegralCursor. Computation
is based on determining the number of 1 bits in the position.cornerPosition - position vector of an IntegralCursor encoded
as integerCopyright © 2014–2022 ImageJ. All rights reserved.