public class LocalFrequency
extends java.lang.Object
implements ij.plugin.filter.PlugInFilter, ij.gui.DialogListener
| Modifier and Type | Field and Description |
|---|---|
static double |
frame_rate
Video frame rate, in frame/s
|
protected static ij.gui.GenericDialog |
gd
Reference to the dialog shown in this plugin
|
protected ij.ImagePlus |
imp
Holds a reference to the primary ImagePlus object associated with this plugin
|
protected ij.process.ImageProcessor |
ip
image processor at the time of starting the analysis
|
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING| Constructor and Description |
|---|
LocalFrequency() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dialogItemChanged(ij.gui.GenericDialog gd,
java.awt.AWTEvent e)
Read the video frame rate from user input
|
boolean |
doDialog()
Displays the dialog with the input field for the frame rate
|
void |
run(ij.process.ImageProcessor theIp)
For this class, displays the dialog to get the frame rate.
|
int |
setup(java.lang.String arg,
ij.ImagePlus imp)
Indicate that we need greyscale images and also
that the original image is not changed ( a new output image is generated instead)
|
protected static ij.gui.GenericDialog gd
protected ij.ImagePlus imp
protected ij.process.ImageProcessor ip
public static double frame_rate
public boolean dialogItemChanged(ij.gui.GenericDialog gd,
java.awt.AWTEvent e)
dialogItemChanged in interface ij.gui.DialogListenerpublic int setup(java.lang.String arg,
ij.ImagePlus imp)
setup in interface ij.plugin.filter.PlugInFilterpublic void run(ij.process.ImageProcessor theIp)
run in interface ij.plugin.filter.PlugInFilterpublic boolean doDialog()