j2d.gui
Class ColorReduction
java.lang.Object
   j2d.gui.ColorReduction
j2d.gui.ColorReduction
- All Implemented Interfaces: 
- ImageProcessorInterface, java.io.Serializable
- public class ColorReduction 
- extends java.lang.Object- implements ImageProcessorInterface
Created by IntelliJ IDEA.
 User: Kyle
 Date: Apr 18, 2010
 Time: 2:28:04 PM
 To change this template use File | Settings | File Templates.
- See Also:
- Serialized Form
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
ColorReduction
public ColorReduction()
process
public java.awt.Image process(java.awt.Image img)
- Description copied from interface: ImageProcessorInterface
- a basic garbage in, garbage out processor.
 
- 
- Specified by:
- processin interface- ImageProcessorInterface
 
- 
- Parameters:
- img- input image
- Returns:
- output image
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
 
setWidth
public void setWidth(int w)
- 
 
- 
 
getWidth
public int getWidth()
- 
 
- 
 
setHeight
public void setHeight(int h)
- 
 
- 
 
getHeight
public int getHeight()
- 
 
- 
 
setPercent
public void setPercent(double p)
- 
 
- 
 
getPercent
public double getPercent()
- 
 
-