public abstract class AbstractNeighborhoodBasedFilter<I,O> extends AbstractUnaryComputerOp<RandomAccessibleInterval<I>,IterableInterval<O>>
SpecialOp.Flavor
Constructor and Description |
---|
AbstractNeighborhoodBasedFilter() |
Modifier and Type | Method and Description |
---|---|
void |
compute(RandomAccessibleInterval<I> input,
IterableInterval<O> output)
Computes the output given some input.
|
Shape |
getShape()
Get the shape (structuring element) used by this filter.
|
void |
initialize()
Initializes the object.
|
protected abstract UnaryComputerOp<Iterable<I>,O> |
unaryComputer(O outType) |
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, getIndependentInstance, run, run
run
candidates, filterArity, op
ops, setEnvironment
public void initialize()
Initializable
public void compute(RandomAccessibleInterval<I> input, IterableInterval<O> output)
UnaryComputerOp
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 Shape getShape()
protected abstract UnaryComputerOp<Iterable<I>,O> unaryComputer(O outType)
Copyright © 2014–2022 ImageJ. All rights reserved.