|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.rsl.konrad.utils.FHTUtil
public abstract class FHTUtil
This class is currently unused as all transforms in OSCAR are now based on JTransforms However some of these methods may come in handy when dealing with the ImageJ implementation of the FHT. Many of the methods are very similar to the ones in ij/plugin/FFT.java. If code was partially taken from there this is declared in the comment before the method.
Constructor Summary | |
---|---|
FHTUtil()
|
Method Summary | |
---|---|
static ij.process.FHT |
complexToFHT(ij.process.FloatProcessor real,
ij.process.FloatProcessor imag)
Converts real and imaginary parts of an FFT to Hartley domain. |
static ij.process.FloatProcessor |
imaginaryFromFHT(ij.process.FHT fht)
Computes the imaginary values of an FFT given the values of an FHT. |
static ij.process.ImageProcessor |
padImageProcessor(ij.process.ImageProcessor ip)
Image is padded with 0. |
static ij.process.ImageProcessor |
padImageProcessor(ij.process.ImageProcessor ip,
int maxN)
Image is padded with 0. |
static ij.process.ImageProcessor |
powerFromFHT(ij.process.FHT fht)
Computes the power spectrum of an FFT given the values of an FHT. |
static ij.process.FloatProcessor |
realFromFHT(ij.process.FHT fht)
Computes the real values of an FFT given the values of an FHT. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FHTUtil()
Method Detail |
---|
public static ij.process.ImageProcessor padImageProcessor(ij.process.ImageProcessor ip, int maxN)
ip
- the ImageProcessor to be padded.
public static ij.process.ImageProcessor padImageProcessor(ij.process.ImageProcessor ip)
ip
- the ImageProcessor to be padded.
public static ij.process.FHT complexToFHT(ij.process.FloatProcessor real, ij.process.FloatProcessor imag)
real
- FloatProcessor with the real valuesimag
- FloatProcessor with the imaginary values
public static ij.process.FloatProcessor imaginaryFromFHT(ij.process.FHT fht)
fht
- the FHT as input
public static ij.process.FloatProcessor realFromFHT(ij.process.FHT fht)
fht
- the FHT as input
public static ij.process.ImageProcessor powerFromFHT(ij.process.FHT fht)
fht
- the FHT as input
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |