public abstract class ImageFactory
extends java.lang.Object
Constructor and Description |
---|
ImageFactory() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
makeBinaryImage(boolean[][] binary_image,
boolean invert)
Converts the array of pixels to BufferedImage.
|
static java.awt.image.BufferedImage |
makeColorImage(int[][] int_image) |
static java.awt.image.BufferedImage |
makeColorImage(int[][] int_image,
int color_count) |
static int[] |
makeColors(int count) |
static java.awt.image.BufferedImage |
makeGreyImage(int[][] int_image,
boolean filter) |
static java.awt.image.BufferedImage |
makeWidthMap(Misc.Pair<Misc.Int2D,java.lang.Integer> pair) |
public static java.awt.image.BufferedImage makeBinaryImage(boolean[][] binary_image, boolean invert)
public static java.awt.image.BufferedImage makeGreyImage(int[][] int_image, boolean filter)
public static java.awt.image.BufferedImage makeColorImage(int[][] int_image, int color_count)
public static java.awt.image.BufferedImage makeWidthMap(Misc.Pair<Misc.Int2D,java.lang.Integer> pair)
public static java.awt.image.BufferedImage makeColorImage(int[][] int_image)
public static int[] makeColors(int count)