trex.Algo
Class  StegoAlgoLSB.LSBDecryptFilter
java.lang.Object
  |
  +--java.awt.image.ImageFilter
        |
        +--java.awt.image.RGBImageFilter
              |
              +--trex.Filter.TRexFilterRGB
                    |
                    +--trex.Algo.StegoAlgoLSB.LSBDecryptFilter
- All Implemented Interfaces: 
- Cloneable, ImageConsumer
- Direct Known Subclasses: 
- StegoAlgoLSBpp.LSBppDecryptFilter
- Enclosing class:
- StegoAlgoLSB
- protected class StegoAlgoLSB.LSBDecryptFilter- extends TRexFilterRGB
LSBDecryptFilter is the decrypt filter for the LSB algorithm.
 
 
 
 
 
 
| Method Summary | 
|  int | filterRGB(int x,
          int y,
          int rgb)Extracts the data from the image.
 | 
 
 
 
 
 
StegoAlgoLSB.LSBDecryptFilter
public StegoAlgoLSB.LSBDecryptFilter(int w,
                                     int h)
- Constructs a new filter.
 
- Parameters:
- w- picture's width
- h- picture's height
filterRGB
public int filterRGB(int x,
                     int y,
                     int rgb)
- Extracts the data from the image.
 The data is stored privately and can be requested via the getData()
 method.
 
- 
- Specified by:
- filterRGBin class- RGBImageFilter
 
- 
- Parameters:
- x- horizontal coordinate
- y- vertical coordinate
- rgb- input pixel color
- Returns:
- Arbitrary rgb value, currently original color
- See Also:
- TRexFilterRGB.getData()