Examples of CoOccurrenceFrequencyMatrix


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

      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
      leaves = quantizer.createLeafList();
      findColorPairs(cofm, com);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.