vs
Class ColorUtils

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

public class ColorUtils
extends java.lang.Object


Constructor Summary
ColorUtils()
           
 
Method Summary
 short getA(int valARGB)
           
 short getBlue(int valARGB)
           
 short[] getBlueArray(int[] inputArray)
           
 short getGreen(int valARGB)
           
 short[] getGreenArray(int[] inputArray)
           
 short getRed(int valARGB)
           
 short[] getRedArray(int[] inputArray)
           
static int[] imagetoInt(double[] imageR, double[] imageG, double[] imageB, int numPixels)
           
static int[] imagetoInt(float[] imageR, float[] imageG, float[] imageB)
           
static int[] imagetoInt(short[] imageR, short[] imageG, short[] imageB, int numPixels)
           
 short max(short r, short g, short b)
           
 short min(short r, short g, short b)
           
 int putRGB(short r, short g, short b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorUtils

public ColorUtils()
Method Detail

getA

public short getA(int valARGB)

getBlue

public short getBlue(int valARGB)

getBlueArray

public short[] getBlueArray(int[] inputArray)

getGreen

public short getGreen(int valARGB)

getGreenArray

public short[] getGreenArray(int[] inputArray)

getRed

public short getRed(int valARGB)

getRedArray

public short[] getRedArray(int[] inputArray)

imagetoInt

public static int[] imagetoInt(double[] imageR,
                               double[] imageG,
                               double[] imageB,
                               int numPixels)

imagetoInt

public static int[] imagetoInt(float[] imageR,
                               float[] imageG,
                               float[] imageB)

imagetoInt

public static int[] imagetoInt(short[] imageR,
                               short[] imageG,
                               short[] imageB,
                               int numPixels)

max

public short max(short r,
                 short g,
                 short b)

min

public short min(short r,
                 short g,
                 short b)

putRGB

public int putRGB(short r,
                  short g,
                  short b)