public class PeakFitter
extends java.lang.Object
implements ij.plugin.filter.ExtendedPlugInFilter, ij.gui.DialogListener
Modifier and Type | Field and Description |
---|---|
static double |
SIGMA_TO_FWHM |
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 |
---|
PeakFitter() |
Modifier and Type | Method and Description |
---|---|
boolean |
dialogItemChanged(ij.gui.GenericDialog dialog,
java.awt.AWTEvent e)
Dialog item changed.
|
static void |
fitPeak(ij.process.ImageProcessor ip,
double[] p,
double[] e)
Fit peak.
|
ij.measure.ResultsTable |
getResults() |
void |
run(ij.process.ImageProcessor ip) |
void |
setNPasses(int arg0)
Sets the n passes.
|
int |
setup(java.lang.String arg,
ij.ImagePlus imp)
Setup.
|
int |
showDialog(ij.ImagePlus imp,
java.lang.String arg,
ij.plugin.filter.PlugInFilterRunner pfr)
Show dialog.
|
public ij.measure.ResultsTable getResults()
public void run(ij.process.ImageProcessor ip)
run
in interface ij.plugin.filter.PlugInFilter
public static void fitPeak(ij.process.ImageProcessor ip, double[] p, double[] e)
ip
- the ipp
- the pe
- the epublic int setup(java.lang.String arg, ij.ImagePlus imp)
setup
in interface ij.plugin.filter.PlugInFilter
arg
- the argimp
- the imppublic boolean dialogItemChanged(ij.gui.GenericDialog dialog, java.awt.AWTEvent e)
dialogItemChanged
in interface ij.gui.DialogListener
dialog
- the dialoge
- the epublic void setNPasses(int arg0)
setNPasses
in interface ij.plugin.filter.ExtendedPlugInFilter
arg0
- the new n passespublic int showDialog(ij.ImagePlus imp, java.lang.String arg, ij.plugin.filter.PlugInFilterRunner pfr)
showDialog
in interface ij.plugin.filter.ExtendedPlugInFilter
imp
- the imparg
- the argpfr
- the pfr