All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class VS.ColorUtils

java.lang.Object
   |
   +----VS.ColorUtils

public class ColorUtils
extends java.lang.Object

Constructor Index

 o ColorUtils()

Method Index

 o getA(int)
 o getBlue(int)
 o getBlueArray(int[])
 o getGreen(int)
 o getGreenArray(int[])
 o getRed(int)
 o getRedArray(int[])
 o imagetoInt(double[], double[], double[], int)
 o imagetoInt(float[], float[], float[])
 o imagetoInt(short[], short[], short[], int)
 o max(short, short, short)
 o min(short, short, short)
 o putRGB(short, short, short)

Constructors

 o ColorUtils
 public ColorUtils()

Methods

 o imagetoInt
 public static int[] imagetoInt(short imageR[],
                                short imageG[],
                                short imageB[],
                                int numPixels)
 o imagetoInt
 public static int[] imagetoInt(float imageR[],
                                float imageG[],
                                float imageB[])
 o imagetoInt
 public static int[] imagetoInt(double imageR[],
                                double imageG[],
                                double imageB[],
                                int numPixels)
 o getRed
 public short getRed(int valARGB)
 o getGreen
 public short getGreen(int valARGB)
 o getBlue
 public short getBlue(int valARGB)
 o getA
 public short getA(int valARGB)
 o putRGB
 public int putRGB(short r,
                   short g,
                   short b)
 o max
 public short max(short r,
                  short g,
                  short b)
 o min
 public short min(short r,
                  short g,
                  short b)
 o getRedArray
 public short[] getRedArray(int inputArray[])
 o getGreenArray
 public short[] getGreenArray(int inputArray[])
 o getBlueArray
 public short[] getBlueArray(int inputArray[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index