public class ConvolveNaiveF<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
ConvolveFFTC.SpecialOp.FlavorNAME| Constructor and Description |
|---|
ConvolveNaiveF() |
| 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, setInput2ops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, getIndependentInstance, runin, setInputcalculate, runruncandidates, filterArity, oppublic void initialize()
Initializableinitialize in interface Initializablepublic RandomAccessibleInterval<O> createOutput(RandomAccessibleInterval<I> input, RandomAccessibleInterval<K> kernel)
public RandomAccessibleInterval<O> calculate(RandomAccessibleInterval<I> img, RandomAccessibleInterval<K> kernel)
BinaryFunctionOpcalculate 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()
Contingentconforms in interface ContingentCopyright © 2014–2022 ImageJ. All rights reserved.