org.hd.d.pg2k.svrCore.MIME
Class Quantize.Cube

java.lang.Object
  extended by org.hd.d.pg2k.svrCore.MIME.Quantize.Cube
Enclosing class:
Quantize

static class Quantize.Cube
extends java.lang.Object


Nested Class Summary
(package private) static class Quantize.Cube.Node
          A single Node in the tree.
(package private) static class Quantize.Cube.Search
          The result of a closest color search.
 
Field Summary
(package private)  int[] colormap
           
(package private)  int colors
           
(package private)  int depth
           
(package private)  int max_colors
           
(package private)  int nodes
           
(package private)  int[][] pixels
           
(package private)  Quantize.Cube.Node root
           
 
Constructor Summary
Quantize.Cube(int[][] pixels, int max_colors)
           
 
Method Summary
(package private)  void assignment()
           
(package private)  void classification()
           
(package private)  void reduction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pixels

int[][] pixels

max_colors

int max_colors

colormap

int[] colormap

root

Quantize.Cube.Node root

depth

int depth

colors

int colors

nodes

int nodes
Constructor Detail

Quantize.Cube

Quantize.Cube(int[][] pixels,
              int max_colors)
Method Detail

classification

void classification()

reduction

void reduction()

assignment

void assignment()

DHD Multimedia Gallery V1.60.69

Copyright (c) 1996-2012, Damon Hart-Davis. All rights reserved.