public class InverseFourierTransform<T extends RealType<T>,S extends ComplexType<S>> extends Object implements MultiThreaded, OutputAlgorithm<T>, Benchmark
Constructor and Description |
---|
InverseFourierTransform(Image<S> fftImage,
FourierTransform<?,?> forwardTransform,
T type) |
InverseFourierTransform(Image<S> fftImage,
FourierTransform<T,?> forwardTransform) |
InverseFourierTransform(Image<S> fftImage,
T type) |
InverseFourierTransform(Image<S> fftImage,
T type,
FourierTransform.Rearrangement rearrangement,
boolean inPlace,
boolean scale,
boolean cropBack,
int[] originalSize,
int[] originalOffset) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput() |
float |
getAdditionalNormalization() |
boolean |
getCropBackToOriginalSize() |
boolean |
getDoScaling() |
String |
getErrorMessage() |
boolean |
getInPlaceTransform() |
int |
getNumThreads()
The number of threads used by the algorithm
|
int[] |
getOriginalOffset() |
int[] |
getOriginalSize() |
long |
getProcessingTime() |
FourierTransform.Rearrangement |
getRearrangement() |
Image<T> |
getResult() |
boolean |
process() |
void |
setAdditionalNormalization(float additionalNormalization) |
void |
setCropBackToOriginalSize(boolean cropBack) |
void |
setDoScaling(boolean scale) |
void |
setInPlaceTransform(boolean inPlace) |
void |
setNumThreads()
Sets the number of threads to the amount of processors available
|
void |
setNumThreads(int numThreads)
Sets the number of threads
|
void |
setOriginalOffset(int[] originalOffset) |
void |
setOriginalSize(int[] originalSize) |
void |
setRearrangement(FourierTransform.Rearrangement rearrangement) |
public InverseFourierTransform(Image<S> fftImage, T type, FourierTransform.Rearrangement rearrangement, boolean inPlace, boolean scale, boolean cropBack, int[] originalSize, int[] originalOffset)
public InverseFourierTransform(Image<S> fftImage, FourierTransform<T,?> forwardTransform)
public InverseFourierTransform(Image<S> fftImage, FourierTransform<?,?> forwardTransform, T type)
public void setRearrangement(FourierTransform.Rearrangement rearrangement)
public void setInPlaceTransform(boolean inPlace)
public void setDoScaling(boolean scale)
public void setCropBackToOriginalSize(boolean cropBack)
public void setOriginalSize(int[] originalSize)
public void setOriginalOffset(int[] originalOffset)
public void setAdditionalNormalization(float additionalNormalization)
public FourierTransform.Rearrangement getRearrangement()
public boolean getInPlaceTransform()
public boolean getDoScaling()
public boolean getCropBackToOriginalSize()
public int[] getOriginalSize()
public int[] getOriginalOffset()
public float getAdditionalNormalization()
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<T> getResult()
getResult
in interface OutputAlgorithm<T extends RealType<T>>
public boolean checkInput()
checkInput
in interface Algorithm
public String getErrorMessage()
getErrorMessage
in interface Algorithm
Copyright © 2015–2021 Fiji. All rights reserved.