j2d.color
Class ColorSafe
java.lang.Object
   j2d.color.ColorSafe
j2d.color.ColorSafe
- All Implemented Interfaces: 
- ImageProcessorInterface, java.io.Serializable
- public class ColorSafe 
- extends java.lang.Object- implements ImageProcessorInterface
Created by IntelliJ IDEA.
 User: dlyon
 Date: Apr 25, 2005
 Time: 12:27:12 PM
 Copyright DocJava, 2005
- See Also:
- Serialized Form
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ColorSafe
public ColorSafe()
getBrightness
public int getBrightness(java.awt.Color c)
- 
 
- 
 
printLutByBrightness
public void printLutByBrightness()
- 
 
- 
 
getColors
public java.awt.Color[] getColors(int brightness)
- 
 
- 
- Parameters:
- brightness- a number that ranges from 0..16
- Returns:
- all colors of a given brightness
 
printLutBrightness
public void printLutBrightness()
- 
 
- 
 
initBrightnessTable
public void initBrightnessTable()
- 
 
- 
 
getLut
public java.awt.Color[] getLut()
- 
 
- 
 
getLutSize
public int getLutSize()
- 
 
- 
 
main
public static void main(java.lang.String[] args)
- 
 
- 
 
process
public java.awt.Image process(java.awt.Image image)
- Description copied from interface: ImageProcessorInterface
- a basic garbage in, garbage out processor.
 
- 
- Specified by:
- processin interface- ImageProcessorInterface
 
- 
- Parameters:
- image- input image
- Returns:
- output image