public class OctreeQuant extends Object
| Constructor and Description |
|---|
OctreeQuant() |
| Modifier and Type | Method and Description |
|---|---|
static com.github.jjYBdx4IL.utils.awt.OctreeNode |
build(BufferedImage img) |
static int |
countLeafs(com.github.jjYBdx4IL.utils.awt.OctreeNode node) |
static int[] |
reduce(com.github.jjYBdx4IL.utils.awt.OctreeNode root,
int numColors) |
static void |
simpleReplaceColors(BufferedImage img,
com.github.jjYBdx4IL.utils.awt.OctreeNode root) |
public static int[] reduce(com.github.jjYBdx4IL.utils.awt.OctreeNode root,
int numColors)
public static com.github.jjYBdx4IL.utils.awt.OctreeNode build(BufferedImage img)
public static int countLeafs(com.github.jjYBdx4IL.utils.awt.OctreeNode node)
public static void simpleReplaceColors(BufferedImage img, com.github.jjYBdx4IL.utils.awt.OctreeNode root)
Copyright © 2014–2017 Github jjYBdx4IL Projects. All rights reserved.