Module org.scijava.ops.image
Class ConvolveFFTF<I extends RealType<I> & NativeType<I>,O extends RealType<O> & NativeType<O>,K extends RealType<K> & NativeType<K>,C extends ComplexType<C> & NativeType<C>>
- java.lang.Object
-
- org.scijava.ops.image.filter.convolve.ConvolveFFTF<I,O,K,C>
-
- Type Parameters:
I-O-K-C-
- All Implemented Interfaces:
Functions.Arity6<RandomAccessibleInterval<I>,RandomAccessibleInterval<K>,O,C,long[],OutOfBoundsFactory<I,RandomAccessibleInterval<I>>,RandomAccessibleInterval<O>>
public class ConvolveFFTF<I extends RealType<I> & NativeType<I>,O extends RealType<O> & NativeType<O>,K extends RealType<K> & NativeType<K>,C extends ComplexType<C> & NativeType<C>> extends Object implements Functions.Arity6<RandomAccessibleInterval<I>,RandomAccessibleInterval<K>,O,C,long[],OutOfBoundsFactory<I,RandomAccessibleInterval<I>>,RandomAccessibleInterval<O>>
Convolve op for (@link Img)- Author:
- Brian Northan
- Implementation Note:
- op names='filter.convolve'
-
-
Constructor Summary
Constructors Constructor Description ConvolveFFTF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomAccessibleInterval<O>apply(RandomAccessibleInterval<I> input, RandomAccessibleInterval<K> kernel, O outType, C complexType, long[] borderSize, OutOfBoundsFactory<I,RandomAccessibleInterval<I>> obfInput)TODOvoidcomputeFilter(RandomAccessibleInterval<I> input, RandomAccessibleInterval<K> kernel, RandomAccessibleInterval<O> output, long[] paddedSize, C complexType)create FFT memory, create FFT filter and run itComputers.Arity2<RandomAccessibleInterval<I>,RandomAccessibleInterval<K>,RandomAccessibleInterval<O>>createFilterComputer(RandomAccessibleInterval<I> raiExtendedInput, RandomAccessibleInterval<K> raiExtendedKernel, RandomAccessibleInterval<C> fftImg, RandomAccessibleInterval<C> fftKernel, RandomAccessibleInterval<O> output)create a convolve filter computer-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.function.Functions.Arity6
andThen
-
-
-
-
Method Detail
-
apply
public RandomAccessibleInterval<O> apply(RandomAccessibleInterval<I> input, RandomAccessibleInterval<K> kernel, O outType, C complexType, long[] borderSize, OutOfBoundsFactory<I,RandomAccessibleInterval<I>> obfInput)
TODO- Specified by:
applyin interfaceFunctions.Arity6<RandomAccessibleInterval<I extends RealType<I> & NativeType<I>>,RandomAccessibleInterval<K extends RealType<K> & NativeType<K>>,O extends RealType<O> & NativeType<O>,C extends ComplexType<C> & NativeType<C>,long[],OutOfBoundsFactory<I extends RealType<I> & NativeType<I>,RandomAccessibleInterval<I extends RealType<I> & NativeType<I>>>,RandomAccessibleInterval<O extends RealType<O> & NativeType<O>>>- Parameters:
input-kernel-outType-complexType-borderSize-obfInput-- Returns:
- the output
-
computeFilter
public void computeFilter(RandomAccessibleInterval<I> input, RandomAccessibleInterval<K> kernel, RandomAccessibleInterval<O> output, long[] paddedSize, C complexType)
create FFT memory, create FFT filter and run it
-
createFilterComputer
public Computers.Arity2<RandomAccessibleInterval<I>,RandomAccessibleInterval<K>,RandomAccessibleInterval<O>> createFilterComputer(RandomAccessibleInterval<I> raiExtendedInput, RandomAccessibleInterval<K> raiExtendedKernel, RandomAccessibleInterval<C> fftImg, RandomAccessibleInterval<C> fftKernel, RandomAccessibleInterval<O> output)
create a convolve filter computer
-
-