|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.desy.acop.video.displayer.ImageCLUT
public class ImageCLUT
Represents a Color LookUp Table (CLUT) for TINE images.
| Constructor Summary | |
|---|---|
ImageCLUT(ColorMap colorMap,
int[] nBits)
|
|
| Method Summary | |
|---|---|
ColorMap |
getColorMap()
Returns the color map |
int[] |
getComponentSize()
Returns an array of the number of bits per color component. |
int |
getComponentSize(int componentIdx)
Returns the number of bits for the specified color component. |
int |
getMaxBits()
|
int |
getMaxValue()
|
int |
getMinValue()
|
int |
getNumComponents()
Returns the number of color components |
int |
getPixelSize()
Returns the number of bits per pixel. |
boolean |
isGreyscale()
Returns true if number of color components is equal to 1, otherwise false |
boolean |
isRGB()
Returns true if number of color components array is equal to {8, 8, 8}, otherwise false. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImageCLUT(ColorMap colorMap,
int[] nBits)
| Method Detail |
|---|
public ColorMap getColorMap()
public int getComponentSize(int componentIdx)
componentIdx - the index of the color component
java.lang.ArrayIndexOutOfBoundsException - if componentIdx is greater than the number of
components or less than zero
java.lang.NullPointerException - if the number of bits array is nullpublic int[] getComponentSize()
public int getNumComponents()
public int getPixelSize()
public boolean isRGB()
public boolean isGreyscale()
public int getMaxBits()
public int getMinValue()
public int getMaxValue()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||