java.lang.Object
ij.plugin.FFT
- All Implemented Interfaces:
Measurements,PlugIn
This class implements the FFT, Inverse FFT and Redisplay Power Spectrum commands
in the Process/FFT submenu. It is based on Arlo Reeves'
Pascal implementation of the Fast Hartley Transform from NIH Image
(http://imagej.nih.gov/ij/docs/ImageFFT/).
The Fast Hartley Transform was restricted by U.S. Patent No. 4,646,256, but was placed
in the public domain by Stanford University in 1995 and is now freely available.
Version 2008-08-25 inverse transform: mask is always symmetrized
-
Field Summary
FieldsFields inherited from interface ij.measure.Measurements
ADD_TO_OVERLAY, ALL_STATS, AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, NaN_EMPTY_CELLS, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidVersion of filter() that accepts an ImagePlus for the filter.static voidfilter(ImagePlus imp, ImageProcessor filter) Does frequency domain fitering of the speciified imagestatic ImagePlusPerforms a forward FHT transform.static ImagePlusPerforms an inverse FHT transform.static voidmultiply(ImagePlus imp, ImageProcessor filter) Multiplies a Fourier domain image by a filtervoidThis method is called when the plugin is loaded.static void
-
Field Details
-
displayRawPS
public static boolean displayRawPS -
displayFHT
public static boolean displayFHT -
displayComplex
public static boolean displayComplex -
fileName
-
-
Constructor Details
-
FFT
public FFT()
-
-
Method Details
-
run
Description copied from interface:PlugInThis method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt. -
forward
Performs a forward FHT transform.- Parameters:
imp- A spatial domain image, which is not modified- Returns:
- A frequency domain version of the input image
- See Also:
-
multiply
Multiplies a Fourier domain image by a filter- Parameters:
imp- A frequency domain image, which is modified.filter- The filter, 32-bits (0-1) or 8-bits (0-255)- See Also:
-
inverse
Performs an inverse FHT transform.- Parameters:
imp- A frequency domain image- Returns:
- A spatial domain version of the input image
- See Also:
-
filter
Does frequency domain fitering of the speciified image- Parameters:
imp- The image to be filtered.filter- The filter, 32-bits (0-1) or 8-bits (0-255)- See Also:
-
filter
Version of filter() that accepts an ImagePlus for the filter. -
swapQuadrants
-