net.sourceforge.jiu.data

Interface RGBIndex

Known Subinterfaces:
RGB24Image, RGB48Image, RGBImage, RGBIntegerImage
Known Implementing Classes:
ArbitraryPaletteQuantizer, BufferedRGB24Image, ErrorDiffusionDithering, HueSaturationValue, MedianCutNode, MedianCutQuantizer, MemoryRGB24Image, MemoryRGB48Image, OctreeColorQuantizer, OctreeNode, OrderedDither, Palette, PaletteSerialization, PCDYCbCrConversion, PopularityQuantizer, RGBColor, RGBColorComparator, RGBColorList, UniformPaletteQuantizer, WebsafePaletteCreator

public interface RGBIndex

This interface provides three int constants as index values for the three channels of an RGB image: red, green and blue. The three values are guaranteed to lie in the interval 0 to 2. Furthermore, all three values are different from each other, so that the complete interval from 0 to 2 is used.
Author:
Marco Schmidt

Field Summary

static int
INDEX_BLUE
The index value for the blue channel.
static int
INDEX_GREEN
The index value for the green channel.
static int
INDEX_RED
The index value for the red channel.

Field Details

INDEX_BLUE

public static final int INDEX_BLUE
The index value for the blue channel.
Field Value:
2

INDEX_GREEN

public static final int INDEX_GREEN
The index value for the green channel.
Field Value:
1

INDEX_RED

public static final int INDEX_RED
The index value for the red channel.
Field Value:
0