public class FitGaussianPrune
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
indexHigh |
protected int |
indexLow |
| Constructor and Description |
|---|
FitGaussianPrune(int maxIterations,
double thresholdSigma,
int minSeparation) |
| Modifier and Type | Method and Description |
|---|---|
double |
getMean() |
double |
getSigma() |
void |
process(IntensityHistogram h,
int low,
int high)
Computes statistics of pixel intensity values inside histogram.
|
public FitGaussianPrune(int maxIterations,
double thresholdSigma,
int minSeparation)
maxIterations - Maximum number of iterations. Try 20thresholdSigma - Number of standard deviations a point is away for it to be pruned. Try 4minSeparation - A bin will not be pruned if it is this close to the mean. 1 or 3 typicallypublic void process(IntensityHistogram h, int low, int high)
h - Histogram being processedlow - Index of the lower bound being analyzedhigh - Index of the upper bound being analyzedpublic double getMean()
public double getSigma()