I
- The type of the input image.public abstract class AbstractIntegralImg<I extends RealType<I>> extends AbstractUnaryHybridCF<RandomAccessibleInterval<I>,RandomAccessibleInterval<RealType<?>>> implements Contingent
SpecialOp.Flavor
Constructor and Description |
---|
AbstractIntegralImg() |
Modifier and Type | Method and Description |
---|---|
void |
compute(RandomAccessibleInterval<I> input,
RandomAccessibleInterval<RealType<?>> output)
Computes the output given some input.
|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
RandomAccessibleInterval<RealType<?>> |
createOutput(RandomAccessibleInterval<I> input)
Create an output object given some input.
|
abstract AbstractUnaryHybridCI<IterableInterval<I>,IterableInterval<I>> |
getComputer(int dimension)
Implements the row-wise addition required for computations of integral
images.
|
void |
initialize()
Initializes the object.
|
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculate, calculate, createOutput, getIndependentInstance, run, run
compute
in, setInput
run
setOutput
candidates, filterArity, op
ops, setEnvironment
public void initialize()
Initializable
initialize
in interface Initializable
public void compute(RandomAccessibleInterval<I> input, RandomAccessibleInterval<RealType<?>> output)
UnaryComputerOp
compute
in interface UnaryComputerOp<RandomAccessibleInterval<I extends RealType<I>>,RandomAccessibleInterval<RealType<?>>>
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 RandomAccessibleInterval<RealType<?>> createOutput(RandomAccessibleInterval<I> input)
UnaryOutputFactory
createOutput
in interface UnaryOutputFactory<RandomAccessibleInterval<I extends RealType<I>>,RandomAccessibleInterval<RealType<?>>>
input
- which determines how to create the outputpublic boolean conforms()
Contingent
conforms
in interface Contingent
public abstract AbstractUnaryHybridCI<IterableInterval<I>,IterableInterval<I>> getComputer(int dimension)
Copyright © 2014–2022 ImageJ. All rights reserved.