public class ProfilePlot extends Object
| Modifier and Type | Field | Description |
|---|---|---|
protected ImagePlus |
imp |
|
protected double |
magnification |
|
protected double[] |
profile |
|
protected String |
units |
|
protected double |
xInc |
|
protected float[] |
xValues |
|
protected String |
yLabel |
| Constructor | Description |
|---|---|
ProfilePlot() |
|
ProfilePlot(ImagePlus imp) |
|
ProfilePlot(ImagePlus imp,
boolean averageHorizontally) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
createWindow() |
Displays this profile plot in a window.
|
static double[] |
getColumnAverageProfile(Rectangle rect,
ImageProcessor ip) |
|
static double |
getFixedMax() |
Returns the profile plot y-axis max.
|
static double |
getFixedMin() |
Returns the profile plot y-axis min.
|
double |
getMax() |
Returns the calculated maximum value.
|
double |
getMin() |
Returns the calculated minimum value.
|
Plot |
getPlot() |
|
Dimension |
getPlotSize() |
Returns the size of the plot that createWindow() creates.
|
double[] |
getProfile() |
Returns the profile plot data.
|
static void |
setMinAndMax(double min,
double max) |
Sets the y-axis min and max.
|
protected ImagePlus imp
protected double[] profile
protected double magnification
protected double xInc
protected String units
protected String yLabel
protected float[] xValues
public ProfilePlot()
public ProfilePlot(ImagePlus imp)
public ProfilePlot(ImagePlus imp, boolean averageHorizontally)
public Dimension getPlotSize()
public void createWindow()
public Plot getPlot()
public double[] getProfile()
public double getMin()
public double getMax()
public static void setMinAndMax(double min,
double max)
public static double getFixedMin()
public static double getFixedMax()
public static double[] getColumnAverageProfile(Rectangle rect, ImageProcessor ip)