|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Histogram | |
---|---|
be.hogent.tarsos.sampled.pitch | Contains internal and external pitch trackers. |
be.hogent.tarsos.ui.pitch | Most of the user interface elements + publish subscribe wiring. |
be.hogent.tarsos.util | Utility classes for string handling, logging, configuration, some DSP tasks. |
be.hogent.tarsos.util.histogram | Histogram and histogram correlation classes. |
be.hogent.tarsos.util.histogram.peaks | Peak extraction from histograms. |
Uses of Histogram in be.hogent.tarsos.sampled.pitch |
---|
Methods in be.hogent.tarsos.sampled.pitch that return Histogram | |
---|---|
static Histogram |
PitchFunctions.createFrequencyTable(java.util.List<java.lang.Double> values,
double classWidth,
double start,
double stop)
Creates a frequency table. |
static Histogram |
PitchFunctions.readFrequencyTable(java.lang.String fileName)
Reads a frequency table (histogram) from disk. |
Methods in be.hogent.tarsos.sampled.pitch with parameters of type Histogram | |
---|---|
static void |
PitchFunctions.exportFrequencyTable(Histogram histogram,
java.lang.String fileName)
|
static void |
PitchFunctions.exportFrequencyTable(Histogram histogram,
java.lang.String fileName,
double start,
double stop)
|
Uses of Histogram in be.hogent.tarsos.ui.pitch |
---|
Methods in be.hogent.tarsos.ui.pitch that return Histogram | |
---|---|
Histogram |
HistogramData.getFirst()
|
Histogram |
HistogramData.getHistogram(PitchDetectionMode mode)
|
Constructors in be.hogent.tarsos.ui.pitch with parameters of type Histogram | |
---|---|
HistogramLayer(javax.swing.JComponent component,
Histogram histogram,
ScaleChangedListener scalePublisher,
java.awt.Color color)
|
|
PitchClassHistogramPanel(Histogram histogram,
ScaleChangedListener scaleChangedPublisher)
|
Uses of Histogram in be.hogent.tarsos.util |
---|
Methods in be.hogent.tarsos.util with parameters of type Histogram | |
---|---|
void |
SimplePlot.addData(int set,
Histogram histogram)
|
void |
SimplePlot.addData(int set,
Histogram histogram,
int displacement)
|
Uses of Histogram in be.hogent.tarsos.util.histogram |
---|
Subclasses of Histogram in be.hogent.tarsos.util.histogram | |
---|---|
class |
PitchClassHistogram
|
class |
PitchHistogram
The PitchHistogram accepts values from 0 to 9600 cents or +- from 16Hz to 40000Hz: the human hearing range is completely covered. The start and stop values can be configured. Values outside the defined range are ignored! |
Methods in be.hogent.tarsos.util.histogram that return Histogram | |
---|---|
Histogram |
Histogram.add(double value)
Adds a value to the Histogram. |
Histogram |
Histogram.add(Histogram other)
Calculates the sum of two histograms. |
Histogram |
Histogram.add(Histogram other,
int offset)
Calculates the sum of two histograms. |
Histogram |
Histogram.addToEachBin(long value)
Adds a number of items to each bin. |
Histogram |
Histogram.baselineHistogram()
Searches the minimum number of items in a bin and subtracts all bins with this value. |
Histogram |
Histogram.clone()
|
Histogram |
Histogram.gaussianSmooth(double standardDeviation)
Smooth the histogram using Gaussians. |
Histogram |
Histogram.invert()
Inverts this histograms. |
Histogram |
Histogram.max(Histogram other)
Takes the maximum of the bin value in each histogram and changes the current histogram to this maximum value. |
static Histogram |
Histogram.mean(java.util.List<Histogram> histograms)
Calculates a histogram mean of a list of histograms. |
Histogram |
Histogram.multiply(double factor)
Multiplies each class (bin) count with a factor. |
Histogram |
Histogram.normalize()
Normalizes the peaks in a histogram. |
Histogram |
Histogram.raise(double exponent)
Raises each class count to the power of exponent. |
Histogram |
Histogram.smooth(boolean isWeighted,
int k)
Computes a smoothed version of the histogram. |
Histogram |
Histogram.subtract(Histogram other)
Subtracts two histograms. |
Methods in be.hogent.tarsos.util.histogram with parameters of type Histogram | |
---|---|
Histogram |
Histogram.add(Histogram other)
Calculates the sum of two histograms. |
Histogram |
Histogram.add(Histogram other,
int offset)
Calculates the sum of two histograms. |
double |
Histogram.correlation(Histogram otherHistogram)
Return the correlation of this histogram with another one. |
double |
Histogram.correlation(Histogram otherHistogram,
CorrelationMeasure correlationMeasure)
Return the correlation of this histogram with another one. |
double |
HistogramCorrelation.correlation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram)
The implementation of a histogram correlation or distance measure. |
double |
CrossCorrelation.correlation(Histogram thisHistogam,
int displacement,
Histogram otherHistogram)
|
double |
CityBlockDistance.correlation(Histogram thisHistogam,
int displacement,
Histogram otherHistogram)
|
double |
EuclideanDistance.correlation(Histogram thisHistogam,
int displacement,
Histogram otherHistogram)
|
double |
BhattacharyaDistance.correlation(Histogram first,
int displacement,
Histogram second)
|
double |
Intersection.correlation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram)
|
double |
Histogram.correlationWithDisplacement(int displacement,
Histogram otherHistogram)
|
double |
Histogram.correlationWithDisplacement(int displacement,
Histogram otherHistogram,
CorrelationMeasure correlationMeasure)
|
int |
Histogram.displacementForOptimalCorrelation(Histogram otherHistogram)
|
int |
Histogram.displacementForOptimalCorrelation(Histogram otherHistogram,
CorrelationMeasure correlationMeasure)
Returns the number of classes the other histogram needs to be displaced to get optimal correlation with this histogram. |
Histogram |
Histogram.max(Histogram other)
Takes the maximum of the bin value in each histogram and changes the current histogram to this maximum value. |
void |
Histogram.plotCorrelation(Histogram otherHistogram,
CorrelationMeasure correlationMeasure,
java.lang.String fileName,
java.lang.String title)
|
void |
HistogramCorrelation.plotCorrelation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram,
java.lang.String fileName,
java.lang.String title)
Plots two histograms and the intersection between the two. |
void |
CrossCorrelation.plotCorrelation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram,
java.lang.String fileName,
java.lang.String title)
|
void |
CityBlockDistance.plotCorrelation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram,
java.lang.String fileName,
java.lang.String title)
|
void |
EuclideanDistance.plotCorrelation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram,
java.lang.String fileName,
java.lang.String title)
|
void |
BhattacharyaDistance.plotCorrelation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram,
java.lang.String fileName,
java.lang.String title)
|
void |
Intersection.plotCorrelation(Histogram thisHistogram,
int displacement,
Histogram otherHistogram,
java.lang.String fileName,
java.lang.String title)
|
Histogram |
Histogram.subtract(Histogram other)
Subtracts two histograms. |
Method parameters in be.hogent.tarsos.util.histogram with type arguments of type Histogram | |
---|---|
static Histogram |
Histogram.mean(java.util.List<Histogram> histograms)
Calculates a histogram mean of a list of histograms. |
Constructors in be.hogent.tarsos.util.histogram with parameters of type Histogram | |
---|---|
Histogram(Histogram original)
Creates a new, empty histogram using the same parameters of the original histogram. |
Uses of Histogram in be.hogent.tarsos.util.histogram.peaks |
---|
Methods in be.hogent.tarsos.util.histogram.peaks that return Histogram | |
---|---|
static Histogram |
PeakDetector.newPeakDetection(java.util.List<Peak> peaks)
Create a histogram with peak information. |
Methods in be.hogent.tarsos.util.histogram.peaks with parameters of type Histogram | |
---|---|
static double |
PeakDetector.calculateLocalHeightScore(Histogram histogram,
int index,
int windowSize)
The local height score defines a measure for the height of a peak within a window. |
static java.util.List<Peak> |
PeakDetector.detect(Histogram histogram)
|
static java.util.List<Peak> |
PeakDetector.detect(Histogram histogram,
int windowSize,
int thresholdFactor)
|
java.util.List<Peak> |
PeakDetector.PeakDetectionStrategy.detect(Histogram histogram,
int windowSize,
int thresholdFactor)
|
static java.util.List<Peak> |
PeakDetector.detectNumberOfPeaks(Histogram histogram,
int numberOfPeaks)
Finds the requested number of (most salient) peaks in the histogram. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |