Module org.scijava.ops.image
Class DefaultIntegralImg<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.DefaultIntegralImg<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 DefaultIntegralImg<I extends RealType<I>,O extends RealType<O>> extends AbstractIntegralImg<I,O>
n-dimensional integral image that stores sums using
RealType. Care must be taken that sums do not overflow the capacity of the respectiveRealTypes (i.e.DoubleTypeorLongType).- Author:
- Stefan Helfrich (University of Konstanz)
- Implementation Note:
- op name='image.integral', priority=-99
-
-
Field Summary
-
Fields inherited from class org.scijava.ops.image.image.integral.AbstractIntegralImg
computeAdd, computeSquareAndAdd
-
-
Constructor Summary
Constructors Constructor Description DefaultIntegralImg()
-
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>>
-
-