public class SliceRAI2RAI<I,O> extends AbstractUnaryComputerOp<RandomAccessibleInterval<I>,RandomAccessibleInterval<O>> implements SliceOp<RandomAccessibleInterval<I>,RandomAccessibleInterval<O>>
SliceOp
implementation for RandomAccessibleInterval
input and
RandomAccessibleInterval
output.
The input RandomAccessibleInterval
will be wrapped into a
SlicesII
, so that the given Op can compute on a per-slice base.
SpecialOp.Flavor
Constructor and Description |
---|
SliceRAI2RAI() |
Modifier and Type | Method and Description |
---|---|
void |
compute(RandomAccessibleInterval<I> input,
RandomAccessibleInterval<O> output)
Computes the output given some input.
|
void |
initialize()
Initializes the object.
|
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, getIndependentInstance, run, run
in, setInput
run
candidates, filterArity, op
ops, setEnvironment
setOutput
public void initialize()
Initializable
initialize
in interface Initializable
public void compute(RandomAccessibleInterval<I> input, RandomAccessibleInterval<O> output)
UnaryComputerOp
compute
in interface UnaryComputerOp<RandomAccessibleInterval<I>,RandomAccessibleInterval<O>>
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
Copyright © 2014–2022 ImageJ. All rights reserved.