public class HistogramBundle extends Object
Histogram1d
s with addtional
rendering information.Constructor and Description |
---|
HistogramBundle(Histogram1d<?> hist) |
HistogramBundle(List<Histogram1d<?>> histList) |
Modifier and Type | Method and Description |
---|---|
double |
getDataMax()
Gets the maximum value of the actual data range.
|
double |
getDataMin()
Gets the minimum value of the actual data range.
|
Histogram1d<?> |
getHistogram(int index)
Gets the histogram of interest for this HistogramBundle.
|
int |
getHistogramCount()
Returns the total number of histograms contained in this bundle.
|
double |
getLineIntercept()
Gets the line equation intercept.
|
double |
getLineSlope()
Gets the line equation slope.
|
long |
getMaxBin()
Gets the bin number of the maximum value.
|
long |
getMinBin()
Gets the bin number of the minimum value.
|
int |
getPreferredSizeX()
Gets the preferred X size of the widget for the rendering of this
histogram.
|
int |
getPreferredSizeY()
Gets the preferred Y size of the widget for the rendering of this
histogram.
|
double |
getTheoreticalMax()
Gets the maximum value of the desired range.
|
double |
getTheoreticalMin()
Gets the minimum value of the desired range.
|
boolean |
hasChanges()
Returns true if the bundle has been changed via use of some of the field
setting api.
|
void |
setDataMinMax(double min,
double max)
Sets the min/max values of the actual range.
|
void |
setHasChanges(boolean val)
Sets the changes flag.
|
void |
setHistogram(int index,
Histogram1d<?> hist)
Sets the histogram of interest for this HistogramBundle.
|
void |
setLineSlopeIntercept(double slope,
double intercept)
Sets the line equation for the slope line of a histogram.
|
void |
setMaxBin(long max)
Sets the bin number of the maximum value.
|
void |
setMinBin(long min)
Sets the bin number of the minimum value.
|
void |
setPreferredSize(int x,
int y)
Sets the preferred size for the rendering of this histogram as a widget.
|
void |
setTheoreticalMinMax(double min,
double max)
Sets the min/max values of the desired range.
|
public HistogramBundle(Histogram1d<?> hist)
public HistogramBundle(List<Histogram1d<?>> histList)
public boolean hasChanges()
public void setHasChanges(boolean val)
public int getHistogramCount()
public void setHistogram(int index, Histogram1d<?> hist)
public Histogram1d<?> getHistogram(int index)
public void setMinBin(long min)
public long getMinBin()
public void setMaxBin(long max)
public long getMaxBin()
public void setPreferredSize(int x, int y)
public int getPreferredSizeX()
public int getPreferredSizeY()
public void setLineSlopeIntercept(double slope, double intercept)
public double getLineSlope()
public double getLineIntercept()
public void setDataMinMax(double min, double max)
public double getDataMin()
public double getDataMax()
public void setTheoreticalMinMax(double min, double max)
public double getTheoreticalMin()
public double getTheoreticalMax()
Copyright © 2014–2022 ImageJ. All rights reserved.