j2d.thresh
Class Threshold3Processor
java.lang.Object
j2d.thresh.Threshold3Processor
- All Implemented Interfaces:
- HppFilter3Interface, ImageProcessorInterface, java.io.Serializable
public class Threshold3Processor
- extends java.lang.Object
- implements HppFilter3Interface, ImageProcessorInterface
- See Also:
- Serialized Form
Method Summary |
int |
average(int r,
int g,
int b)
|
short |
getB(int r,
int g,
int b)
|
short |
getG(int r,
int g,
int b)
|
short |
getR(int r,
int g,
int b)
|
java.awt.Image |
process(java.awt.Image img)
a basic garbage in, garbage out processor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Threshold3Processor
public Threshold3Processor(double _b)
process
public java.awt.Image process(java.awt.Image img)
- Description copied from interface:
ImageProcessorInterface
- a basic garbage in, garbage out processor.
- Specified by:
process
in interface ImageProcessorInterface
- Parameters:
img
- input image
- Returns:
- output image
average
public int average(int r,
int g,
int b)
getR
public short getR(int r,
int g,
int b)
- Specified by:
getR
in interface HppFilter3Interface
getG
public short getG(int r,
int g,
int b)
- Specified by:
getG
in interface HppFilter3Interface
getB
public short getB(int r,
int g,
int b)
- Specified by:
getB
in interface HppFilter3Interface