| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectj2d.thresh.ThresholdProcessor
public class ThresholdProcessor
| Constructor Summary | |
|---|---|
| ThresholdProcessor(double threshold)The pixel value ranges from 0..255 | |
| Method Summary | |
|---|---|
|  short | getB(int b) | 
|  short | getG(int g) | 
|  short | getR(int r) | 
|  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 | 
| Constructor Detail | 
|---|
public ThresholdProcessor(double threshold)
threshold - a value that ranges from 0..255| Method Detail | 
|---|
public java.awt.Image process(java.awt.Image img)
ImageProcessorInterface
process in interface ImageProcessorInterfaceimg - input image
public short getR(int r)
getR in interface HppFilterInterfacepublic short getG(int g)
getG in interface HppFilterInterfacepublic short getB(int b)
getB in interface HppFilterInterface| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||