public class PadAndConvolveFFTF<I extends RealType<I>,O extends RealType<O> & NativeType<O>,K extends RealType<K>> extends AbstractBinaryFunctionOp<RandomAccessibleInterval<I>,RandomAccessibleInterval<K>,RandomAccessibleInterval<O>> implements Ops.Filter.Convolve, Contingent
PadAndConvolveFFT
.SpecialOp.Flavor
NAME
Constructor and Description |
---|
PadAndConvolveFFTF() |
Modifier and Type | Method and Description |
---|---|
RandomAccessibleInterval<O> |
calculate(RandomAccessibleInterval<I> img,
RandomAccessibleInterval<K> kernel)
Calculates the output given two inputs.
|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
RandomAccessibleInterval<O> |
createOutput(RandomAccessibleInterval<I> input,
RandomAccessibleInterval<K> kernel)
Create the output using the outFactory and outType if they exist.
|
void |
initialize()
Initializes the object.
|
in1, in2, out, run, setInput1, setInput2
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
in, setInput
calculate, run
run
candidates, filterArity, op
public void initialize()
Initializable
initialize
in interface Initializable
public RandomAccessibleInterval<O> createOutput(RandomAccessibleInterval<I> input, RandomAccessibleInterval<K> kernel)
public RandomAccessibleInterval<O> calculate(RandomAccessibleInterval<I> img, RandomAccessibleInterval<K> kernel)
BinaryFunctionOp
calculate
in interface BinaryFunctionOp<RandomAccessibleInterval<I extends RealType<I>>,RandomAccessibleInterval<K extends RealType<K>>,RandomAccessibleInterval<O extends RealType<O> & NativeType<O>>>
img
- first argument to the functionkernel
- second argument to the functionpublic boolean conforms()
Contingent
conforms
in interface Contingent
Copyright © 2014–2022 ImageJ. All rights reserved.