|
JIU 0.12.0 Homepage | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jiu.color.data.BaseCoOccurrenceFrequencyMatrix
This abstract class encapsulates all data of a co-occurrence
frequency matrix except for the frequency values.
The method computeStatistics is implemented.
Any class extending this class only has to
deal with storing the frequency values (MemoryCoOccurrenceFrequencyMatrix
does this by using a one-dimensional array internally).
Constructor Summary | |
BaseCoOccurrenceFrequencyMatrix()
|
Method Summary | |
void |
computeStatistics()
Assumes that the co-occurrence frequency values have been initialized. |
double |
getMean(int index)
Returns the mean of the co-occurrence frequency values. |
double |
getScofMean()
Returns the mean of all self co-occurrence frequency values. |
double |
getScofStddev()
Returns the standard deviation of all self co-occurrence frequency values. |
double |
getScofSum()
Return the sum of mean and standard deviation of the self co-occurrence frequency values. |
double |
getStddev(int index)
Returns the standard deviation of the values getValue(index, i) with i running from 0 to CoOccurrenceFrequencyMatrix.getDimension() - 1. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.jiu.color.data.CoOccurrenceFrequencyMatrix |
clear, getDimension, getValue, getValue, setValue |
Constructor Detail |
public BaseCoOccurrenceFrequencyMatrix()
Method Detail |
public void computeStatistics()
computeStatistics
in interface CoOccurrenceFrequencyMatrix
public double getMean(int index)
getMean
in interface CoOccurrenceFrequencyMatrix
public double getStddev(int index)
CoOccurrenceFrequencyMatrix
CoOccurrenceFrequencyMatrix.getDimension()
- 1.
getStddev
in interface CoOccurrenceFrequencyMatrix
index
- first argument to all calls of getValue used to determine the standard deviationpublic double getScofMean()
getScofMean
in interface CoOccurrenceFrequencyMatrix
public double getScofStddev()
getScofStddev
in interface CoOccurrenceFrequencyMatrix
public double getScofSum()
computeStatistics()
has been called already.
getScofSum
in interface CoOccurrenceFrequencyMatrix
|
JIU 0.12.0 Homepage | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |