Module org.scijava.ops.image
Class CorrelateFFTF<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.correlate.CorrelateFFTF<I,O,K,C>
-
- Type Parameters:
I-O-K-C-
- All Implemented Interfaces:
Functions.Arity7<RandomAccessibleInterval<I>,RandomAccessibleInterval<K>,O,C,long[],OutOfBoundsFactory<I,RandomAccessibleInterval<I>>,OutOfBoundsFactory<K,RandomAccessibleInterval<K>>,RandomAccessibleInterval<O>>
public class CorrelateFFTF<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.Arity7<RandomAccessibleInterval<I>,RandomAccessibleInterval<K>,O,C,long[],OutOfBoundsFactory<I,RandomAccessibleInterval<I>>,OutOfBoundsFactory<K,RandomAccessibleInterval<K>>,RandomAccessibleInterval<O>>
Correlate op for (@link Img)- Author:
- Brian Northan
- Implementation Note:
- op names='filter.correlate', priority='10000.'
-
-
Constructor Summary
Constructors Constructor Description CorrelateFFTF()
-
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 fftType, long[] borderSize, OutOfBoundsFactory<I,RandomAccessibleInterval<I>> obfInput, OutOfBoundsFactory<K,RandomAccessibleInterval<K>> obfKernel)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 correlation 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.Arity7
andThen
-
-
-
-
Method Detail
-
apply
public RandomAccessibleInterval<O> apply(RandomAccessibleInterval<I> input, RandomAccessibleInterval<K> kernel, O outType, C fftType, long[] borderSize, OutOfBoundsFactory<I,RandomAccessibleInterval<I>> obfInput, OutOfBoundsFactory<K,RandomAccessibleInterval<K>> obfKernel)
TODO- Specified by:
applyin interfaceFunctions.Arity7<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>>>,OutOfBoundsFactory<K extends RealType<K> & NativeType<K>,RandomAccessibleInterval<K extends RealType<K> & NativeType<K>>>,RandomAccessibleInterval<O extends RealType<O> & NativeType<O>>>- Parameters:
input-kernel-outType-fftType-borderSize-obfInput-obfKernel-- 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 correlation filter computer
-
-