|
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.analysis.MatrixCreator
This class creates and initializes co-occurrence matrices and co-occurrence frequency matrices.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static CoOccurrenceMatrix createCoOccurrenceMatrix(Gray8Image image)
public static CoOccurrenceMatrix createCoOccurrenceMatrix(Paletted8Image image)
public static CoOccurrenceMatrix createCoOccurrenceMatrix(IntegerImage image, int channelIndex)
public static void initCoOccurrenceMatrix(IntegerImage image, int channelIndex, CoOccurrenceMatrix matrix)
image
- the image that will be used to initialize the matrixmatrix
- the matrix that will first be cleared and then initialized from the image
IllegalArgumentException
- if at least one of the arguments is null or if the
palette size is not equal to the matrix dimensionpublic static CoOccurrenceFrequencyMatrix createCoOccurrenceFrequencyMatrix(CoOccurrenceMatrix A)
initCoOccurrenceFrequencyMatrix(net.sourceforge.jiu.color.data.CoOccurrenceMatrix, net.sourceforge.jiu.color.data.CoOccurrenceFrequencyMatrix)
with them to initialize the new matrix,
then returns it.
A MemoryCoOccurrenceFrequencyMatrix
is created.
A
- the co-occurrence matrix from which the resulting matrix will be initialized
IllegalArgumentException
- if the argument matrix is nullpublic static void initCoOccurrenceFrequencyMatrix(CoOccurrenceMatrix A, CoOccurrenceFrequencyMatrix cofm)
A
- co-occurrence matrix used as inputcofm
- co-occurrence matrix, will be initialized by this method
IllegalArgumentException
- if either matrix is null or if the dimensions are not equal
|
JIU 0.12.0 Homepage | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |