|
JIU 0.14.3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | |
---|---|
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. |
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 |
MedianCutNode.setSuccessors(MedianCutNode left,
MedianCutNode right)
Sets the successor nodes for this node. |
void |
MedianCutQuantizer.splitNode(MedianCutNode 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.14.3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |