Package net.sourceforge.jiu.color.data

Examples of net.sourceforge.jiu.color.data.CoOccurrenceMatrix


    for (int currentPass = 0; currentPass < numPasses; currentPass++)
    {
      Paletted8Image palImage = (Paletted8Image)quantizer.getOutputImage();
      palette = palImage.getPalette();
      // create co-occurrence matrix for paletted image
      CoOccurrenceMatrix com = MatrixCreator.createCoOccurrenceMatrix(palImage);
      // create co-occurrence frequency matrix for co-occurrence matrix
      CoOccurrenceFrequencyMatrix cofm = MatrixCreator.createCoOccurrenceFrequencyMatrix(com);
      // compute certain statistics from the co-occurrence frequency matrix
      computeStatistics(cofm);
      // find pairs of contouring and compressible colors
View Full Code Here


   * @throws MissingParameterException if matrix is null
   * @since 0.14.2
   */
  public static TextureAnalysis compute(IntegerImage image, int channelIndex) throws MissingParameterException
  {
    CoOccurrenceMatrix matrix = MatrixCreator.createCoOccurrenceMatrix(image, channelIndex);
    return compute(matrix);
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.jiu.color.data.CoOccurrenceMatrix

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.