public class FourierTransform<T extends RealType<T>,S extends ComplexType<S>> extends Object implements MultiThreaded, OutputAlgorithm<S>, Benchmark
Modifier and Type | Class and Description |
---|---|
static class |
FourierTransform.FFTOptimization |
static class |
FourierTransform.PreProcessing |
static class |
FourierTransform.Rearrangement |
Constructor and Description |
---|
FourierTransform(Image<T> image,
S complexType) |
FourierTransform(Image<T> image,
S complexType,
FourierTransform.FFTOptimization fftOptimization) |
FourierTransform(Image<T> image,
S complexType,
FourierTransform.PreProcessing preProcessing) |
FourierTransform(Image<T> image,
S complexType,
FourierTransform.PreProcessing preProcessing,
FourierTransform.Rearrangement rearrangement,
FourierTransform.FFTOptimization fftOptimization,
float relativeImageExtension,
float relativeFadeOutDistance,
int minExtension) |
FourierTransform(Image<T> image,
S complexType,
FourierTransform.Rearrangement rearrangement) |
FourierTransform(Image<T> image,
S complexType,
OutOfBoundsStrategyFactory<T> strategy) |
public FourierTransform(Image<T> image, S complexType, FourierTransform.PreProcessing preProcessing, FourierTransform.Rearrangement rearrangement, FourierTransform.FFTOptimization fftOptimization, float relativeImageExtension, float relativeFadeOutDistance, int minExtension)
public FourierTransform(Image<T> image, S complexType, FourierTransform.Rearrangement rearrangement)
public FourierTransform(Image<T> image, S complexType, FourierTransform.FFTOptimization fftOptimization)
public FourierTransform(Image<T> image, S complexType, FourierTransform.PreProcessing preProcessing)
public FourierTransform(Image<T> image, S complexType, OutOfBoundsStrategyFactory<T> strategy)
public void setPreProcessing(FourierTransform.PreProcessing preProcessing)
public void setRearrangement(FourierTransform.Rearrangement rearrangement)
public void setFFTOptimization(FourierTransform.FFTOptimization fftOptimization)
public void setRelativeFadeOutDistance(float relativeFadeOutDistance)
public void setCustomOutOfBoundsStrategy(OutOfBoundsStrategyFactory<T> strategy)
public void setMinExtension(int minExtension)
public void setImageExtension(int[] imageExtension)
public boolean setExtendedOriginalImageSize(int[] inputSize)
public void setRelativeImageExtension(float extensionRatio)
public T getImageType()
public int[] getExtendedSize()
public FourierTransform.PreProcessing getPreProcessing()
public FourierTransform.Rearrangement getRearrangement()
public FourierTransform.FFTOptimization getFFOptimization()
public float getRelativeImageExtension()
public int[] getImageExtension()
public float getRelativeFadeOutDistance()
public OutOfBoundsStrategyFactory<T> getCustomOutOfBoundsStrategy()
public int getMinExtension()
public int[] getOriginalSize()
public int[] getOriginalOffset()
public int[] getFFTInputOffset()
public int[] getFFTInputSize()
protected int[] getExtendedImageSize(Image<?> img, int[] imageExtension)
protected int[] getZeroPaddingSize(int[] imageSize, FourierTransform.FFTOptimization fftOptimization)
public long getProcessingTime()
getProcessingTime
in interface Benchmark
public void setNumThreads()
MultiThreaded
setNumThreads
in interface MultiThreaded
public void setNumThreads(int numThreads)
MultiThreaded
setNumThreads
in interface MultiThreaded
numThreads
- - number of threads to usepublic int getNumThreads()
MultiThreaded
getNumThreads
in interface MultiThreaded
public Image<S> getResult()
getResult
in interface OutputAlgorithm<S extends ComplexType<S>>
public boolean checkInput()
checkInput
in interface Algorithm
public String getErrorMessage()
getErrorMessage
in interface Algorithm
Copyright © 2015–2021 Fiji. All rights reserved.