JIU 0.12.0 Homepage

Uses of Class
net.sourceforge.jiu.color.quantization.MedianCutNode

Packages that use MedianCutNode
net.sourceforge.jiu.color.quantization Classes to perform color image quantization, the reduction of the number of unique colors in an image.  
 

Uses of MedianCutNode in net.sourceforge.jiu.color.quantization
 

Methods in net.sourceforge.jiu.color.quantization that return MedianCutNode
 MedianCutNode[] MedianCutQuantizer.createLeafList()
          Creates a linear list of leaf nodes.
 MedianCutNode MedianCutQuantizer.findNearestNeighbor(int[] rgb)
          For a given RGB value, searches the node in the internal node tree whose representative color is closest to this color.
 MedianCutNode MedianCutNode.getLeftSuccessor()
          Returns left successor node (or null if this node is a leaf).
 MedianCutNode MedianCutNode.getParentNode()
          Returns parent node (or null if this node is the root node).
 MedianCutNode MedianCutNode.getRightSuccessor()
          Returns right successor node (or null if this node is a leaf).
 MedianCutNode MedianCutNode.getSuccessor(int[] rgb)
           
 

Methods in net.sourceforge.jiu.color.quantization with parameters of type MedianCutNode
 int MedianCutQuantizer.findNearestNeighbor(MedianCutNode[] nodes, int red, int green, int blue)
          For each node in the argument array computes the distance between the representative color of that node and the color given by the three argument samples.
 void MedianCutQuantizer.splitNode(MedianCutNode node)
           
 double MedianCutNode.computeRgbDistance(MedianCutNode node)
          Computes the distance in RGB color space between the representative color of this node and the argument node and returns it as non-negative value.
 void MedianCutNode.setSuccessors(MedianCutNode left, MedianCutNode right)
          Sets the successor nodes for this node.
 

Constructors in net.sourceforge.jiu.color.quantization with parameters of type MedianCutNode
MedianCutNode(MedianCutNode parent, int index1, int index2)
          Creates a node for a Median Cut tree of nodes with index values for some external color array and the parent node.
 


JIU 0.12.0 Homepage

Copyright © 2000, 2001, 2002, 2003, 2004 Marco Schmidt