|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.computing.ai.vision.Filter
org.jscience.computing.ai.vision.InvertFilter
public class InvertFilter
This filter inverts an image. The filter is simply implemented using
Java's LookupOp, defining the lookup table as: lut[i] =
(byte)(255-i);
| Constructor Summary | |
|---|---|
InvertFilter()
Creates a new instance of InvertFilter |
|
| Method Summary | |
|---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage image,
java.awt.image.BufferedImage output)
Invert the input image. |
java.lang.String |
toString()
DOCUMENT ME! |
| Methods inherited from class org.jscience.computing.ai.vision.Filter |
|---|
filter, verifyOutput, verifyOutput, verifyOutput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvertFilter()
| Method Detail |
|---|
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage image,
java.awt.image.BufferedImage output)
filter in class Filterimage - the input image.output - the output image (optional).
Filter.verifyOutput(BufferedImage,BufferedImage)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 | ||||||||