ij.process
Class LUT

java.lang.Object
  extended by java.awt.image.ColorModel
      extended by java.awt.image.IndexColorModel
          extended by ij.process.LUT
All Implemented Interfaces:
java.awt.Transparency, java.lang.Cloneable

public class LUT
extends java.awt.image.IndexColorModel
implements java.lang.Cloneable


Field Summary
 double max
           
 double min
           
 
Fields inherited from class java.awt.image.ColorModel
pixel_bits, transferType
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
LUT(byte[] r, byte[] g, byte[] b)
           
LUT(java.awt.image.IndexColorModel cm, double min, double max)
           
LUT(int bits, int size, byte[] r, byte[] g, byte[] b)
           
 
Method Summary
 java.lang.Object clone()
           
 LUT createInvertedLut()
           
 byte[] getBytes()
           
 
Methods inherited from class java.awt.image.IndexColorModel
convertToIntDiscrete, createCompatibleSampleModel, createCompatibleWritableRaster, finalize, getAlpha, getAlphas, getBlue, getBlues, getComponents, getComponents, getComponentSize, getDataElement, getDataElements, getDataElements, getGreen, getGreens, getMapSize, getRed, getReds, getRGB, getRGBs, getTransparency, getTransparentPixel, getValidPixels, isCompatibleRaster, isCompatibleSampleModel, isValid, isValid, toString
 
Methods inherited from class java.awt.image.ColorModel
coerceData, equals, getAlpha, getAlphaRaster, getBlue, getColorSpace, getComponentSize, getDataElement, getDataElements, getGreen, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRed, getRGB, getRGBdefault, getTransferType, getUnnormalizedComponents, hasAlpha, hashCode, isAlphaPremultiplied
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

min

public double min

max

public double max
Constructor Detail

LUT

public LUT(byte[] r,
           byte[] g,
           byte[] b)

LUT

public LUT(int bits,
           int size,
           byte[] r,
           byte[] g,
           byte[] b)

LUT

public LUT(java.awt.image.IndexColorModel cm,
           double min,
           double max)
Method Detail

getBytes

public byte[] getBytes()

createInvertedLut

public LUT createInvertedLut()

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object