|
JIU 0.13.0 Website | ||||||||||
| 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 CoOccurrenceFrequencyMatrixpublic double getMean(int index)
getMean in interface CoOccurrenceFrequencyMatrixpublic double getStddev(int index)
CoOccurrenceFrequencyMatrixCoOccurrenceFrequencyMatrix.getDimension() - 1.
getStddev in interface CoOccurrenceFrequencyMatrixindex - first argument to all calls of getValue used to determine the standard deviationpublic double getScofMean()
getScofMean in interface CoOccurrenceFrequencyMatrixpublic double getScofStddev()
getScofStddev in interface CoOccurrenceFrequencyMatrixpublic double getScofSum()
computeStatistics() has been called already.
getScofSum in interface CoOccurrenceFrequencyMatrix
|
JIU 0.13.0 Website | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||