T
- - the output, RealType
S
- - the input, ComplexType
FFT
instead@Deprecated public class InverseFourierTransform<T extends RealType<T>,S extends ComplexType<S>> extends Object implements MultiThreaded, OutputAlgorithm<Img<T>>, Benchmark
RandomAccessibleInterval
or Img
. The inverse
transform is always performed in place as otherwise more constraints for the input are necessary (has to be copied).
If you do not want to compute it in place, make a copy before.Constructor and Description |
---|
InverseFourierTransform(Img<S> fftImage,
FourierTransform<?,?> forwardTransform,
T type)
Deprecated.
This inverse FFT can be only done in place, if desired.
|
InverseFourierTransform(Img<S> fftImage,
FourierTransform<T,?> forwardTransform)
Deprecated.
This inverse FFT can be only done in place, if desired.
|
InverseFourierTransform(Img<S> fftImage,
T type)
Deprecated.
This inverse FFT can be only done in place, if desired.
|
InverseFourierTransform(RandomAccessibleInterval<S> fftImage,
ImgFactory<T> imgFactory,
FourierTransform<?,?> forwardTransform,
T type)
Deprecated.
This inverse FFT can be only done in place, i.e.
|
InverseFourierTransform(RandomAccessibleInterval<S> fftImage,
ImgFactory<T> imgFactory,
FourierTransform<T,?> forwardTransform)
Deprecated.
This inverse FFT is computed in place, i.e.
|
InverseFourierTransform(RandomAccessibleInterval<S> fftImage,
ImgFactory<T> imgFactory,
T type)
Deprecated.
This inverse FFT can be only done in place, i.e.
|
InverseFourierTransform(RandomAccessibleInterval<S> fftImage,
ImgFactory<T> imgFactory,
T type,
FourierTransform.Rearrangement rearrangement,
boolean scale,
boolean cropBack,
int[] originalSize,
int[] originalOffset)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput()
Deprecated.
|
float |
getAdditionalNormalization()
Deprecated.
|
boolean |
getCropBackToOriginalSize()
Deprecated.
|
boolean |
getDoScaling()
Deprecated.
|
String |
getErrorMessage()
Deprecated.
|
int |
getNumThreads()
Deprecated.
The number of threads used by the algorithm
|
int[] |
getOriginalOffset()
Deprecated.
|
int[] |
getOriginalSize()
Deprecated.
|
long |
getProcessingTime()
Deprecated.
|
FourierTransform.Rearrangement |
getRearrangement()
Deprecated.
|
Img<T> |
getResult()
Deprecated.
|
boolean |
process()
Deprecated.
|
void |
setAdditionalNormalization(float additionalNormalization)
Deprecated.
|
void |
setCropBackToOriginalSize(boolean cropBack)
Deprecated.
|
void |
setDoScaling(boolean scale)
Deprecated.
|
void |
setNumThreads()
Deprecated.
Sets the number of threads to the amount of processors available
|
void |
setNumThreads(int numThreads)
Deprecated.
Sets the number of threads
|
void |
setOriginalOffset(int[] originalOffset)
Deprecated.
|
void |
setOriginalSize(int[] originalSize)
Deprecated.
|
void |
setRearrangement(FourierTransform.Rearrangement rearrangement)
Deprecated.
|
public InverseFourierTransform(RandomAccessibleInterval<S> fftImage, ImgFactory<T> imgFactory, T type, FourierTransform.Rearrangement rearrangement, boolean scale, boolean cropBack, int[] originalSize, int[] originalOffset)
public InverseFourierTransform(RandomAccessibleInterval<S> fftImage, ImgFactory<T> imgFactory, FourierTransform<T,?> forwardTransform)
fftImage
- - the input as RandomAccessibleInterval
imgFactory
- - the ImgFactory
for the outputforwardTransform
- - the ForwardTransform (FourierTransform
) which still has all parameterspublic InverseFourierTransform(RandomAccessibleInterval<S> fftImage, ImgFactory<T> imgFactory, FourierTransform<?,?> forwardTransform, T type)
fftImage
- - the input as RandomAccessibleInterval
imgFactory
- - the ImgFactory
for the outputforwardTransform
- - the ForwardTransform (FourierTransform
) which still has all parameterstype
- - a Type instance for the outputpublic InverseFourierTransform(RandomAccessibleInterval<S> fftImage, ImgFactory<T> imgFactory, T type)
fftImage
- - the input as RandomAccessibleInterval
imgFactory
- - the ImgFactory
for the outputtype
- - a Type instance for the outputpublic InverseFourierTransform(Img<S> fftImage, FourierTransform<T,?> forwardTransform) throws IncompatibleTypeException
fftImage
- - the input as Img
forwardTransform
- - the ForwardTransform (FourierTransform
) which still has all parametersIncompatibleTypeException
public InverseFourierTransform(Img<S> fftImage, FourierTransform<?,?> forwardTransform, T type) throws IncompatibleTypeException
fftImage
- - the input as Img
forwardTransform
- - the ForwardTransform (FourierTransform
) which still has all parameterstype
- - a Type instance for the outputIncompatibleTypeException
public InverseFourierTransform(Img<S> fftImage, T type) throws IncompatibleTypeException
fftImage
- - the input as Img
type
- - a Type instance for the outputIncompatibleTypeException
public void setRearrangement(FourierTransform.Rearrangement rearrangement)
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 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 boolean checkInput()
checkInput
in interface Algorithm
public String getErrorMessage()
getErrorMessage
in interface Algorithm
Copyright © 2015–2022 ImgLib2. All rights reserved.