Module org.scijava.ops.image
Class SquareIntegralImg<I extends RealType<I>,O extends RealType<O>>
- java.lang.Object
-
- org.scijava.ops.image.image.integral.AbstractIntegralImg<I,O>
-
- org.scijava.ops.image.image.integral.SquareIntegralImg<I,O>
-
- Type Parameters:
I- The type of the input image.
- All Implemented Interfaces:
BiConsumer<RandomAccessibleInterval<I>,RandomAccessibleInterval<O>>,Computers.Arity1<RandomAccessibleInterval<I>,RandomAccessibleInterval<O>>
public class SquareIntegralImg<I extends RealType<I>,O extends RealType<O>> extends AbstractIntegralImg<I,O>
n-dimensional squared integral image that stores sums using
RealType. Care must be taken that sums do not overflow the capacity ofRealType(i.e.DoubleTypeorLongType). Instead of the sum of values the sum of squared values is computed.- Author:
- Stefan Helfrich (University of Konstanz)
- Implementation Note:
- op name='image.squareIntegral', priority='99.'
-
-
Field Summary
-
Fields inherited from class org.scijava.ops.image.image.integral.AbstractIntegralImg
computeAdd, computeSquareAndAdd
-
-
Constructor Summary
Constructors Constructor Description SquareIntegralImg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Computers.Arity1<RandomAccessibleInterval<O>,RandomAccessibleInterval<O>>getComputer(int dimension)Implements the row-wise addition required for computations of integral images.-
Methods inherited from class org.scijava.ops.image.image.integral.AbstractIntegralImg
compute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Methods inherited from interface org.scijava.function.Computers.Arity1
accept
-
-
-
-
Method Detail
-
getComputer
public Computers.Arity1<RandomAccessibleInterval<O>,RandomAccessibleInterval<O>> getComputer(int dimension)
Description copied from class:AbstractIntegralImgImplements the row-wise addition required for computations of integral images.- Specified by:
getComputerin classAbstractIntegralImg<I extends RealType<I>,O extends RealType<O>>
-
-