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 widthh - 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:
 filterRGB in class RGBImageFilter
 
- Parameters:
 x - horizontal coordinatey - vertical coordinatergb - input pixel color
- Returns:
 - Arbitrary rgb value, currently original color
 - See Also:
 TRexFilterRGB.getData()