I
- input typepublic class IntegralMean<I extends RealType<I>> extends AbstractUnaryComputerOp<RectangleNeighborhood<Composite<I>>,DoubleType> implements Ops.Stats.IntegralMean
SpecialOp.Flavor
NAME
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, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
compute, getIndependentInstance, run, run
run
candidates, filterArity, op
initialize
public void compute(RectangleNeighborhood<Composite<I>> input, DoubleType output)
UnaryComputerOp
compute
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 input
public 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.