Module org.scijava.ops.image
Package org.scijava.ops.image.stats
Class DefaultMomentNAboutMean<I extends RealType<I>,O extends RealType<O>>
- java.lang.Object
-
- org.scijava.ops.image.stats.DefaultMomentNAboutMean<I,O>
-
- Type Parameters:
I- input typeO- output type
- All Implemented Interfaces:
Computers.Arity2<RandomAccessibleInterval<I>,Integer,O>,Consumers.Arity3<RandomAccessibleInterval<I>,Integer,O>
public class DefaultMomentNAboutMean<I extends RealType<I>,O extends RealType<O>> extends Object implements Computers.Arity2<RandomAccessibleInterval<I>,Integer,O>
Op to calculate thestats.momentNAboutMeanusingstats.meanandstats.size. N can be bounded to any positiveInteger- Author:
- Gabriel Selzer
- Implementation Note:
- op names='stats.momentNAboutMean', priority='100.'
-
-
Constructor Summary
Constructors Constructor Description DefaultMomentNAboutMean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(RandomAccessibleInterval<I> input, Integer n, O output)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.function.Computers.Arity2
accept
-
Methods inherited from interface org.scijava.function.Consumers.Arity3
andThen
-
-
-
-
Method Detail
-
compute
public void compute(RandomAccessibleInterval<I> input, Integer n, O output)
TODO- Specified by:
computein interfaceComputers.Arity2<RandomAccessibleInterval<I extends RealType<I>>,Integer,O extends RealType<O>>- Parameters:
input- the input datan- the order of the moment to computeoutput- the output buffer in which the nth moment of the input data will be stored
-
-