|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.image.ImageFilter | +--java.awt.image.RGBImageFilter | +--trex.Filter.TRexFilterRGB | +--trex.Algo.StegoAlgoLSB.LSBEncryptFilter
LSBEncryptFilter is the encrypt filter for the LSB algorithm.
Field Summary |
Fields inherited from class trex.Filter.TRexFilterRGB |
data, h, w |
Fields inherited from class java.awt.image.RGBImageFilter |
canFilterIndexColorModel, newmodel, origmodel |
Fields inherited from class java.awt.image.ImageFilter |
consumer |
Fields inherited from interface java.awt.image.ImageConsumer |
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT |
Constructor Summary | |
StegoAlgoLSB.LSBEncryptFilter(String data,
int w,
int h)
Constructs a new filter. |
Method Summary | |
int |
filterRGB(int x,
int y,
int rgb)
hides 3 bits of data in exactely one pixel and returns the new pixel |
Methods inherited from class trex.Filter.TRexFilterRGB |
getData |
Methods inherited from class java.awt.image.RGBImageFilter |
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel |
Methods inherited from class java.awt.image.ImageFilter |
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StegoAlgoLSB.LSBEncryptFilter(String data, int w, int h)
data
- Data to hide in the picturew
- picture's widthh
- picture's heightMethod Detail |
public int filterRGB(int x, int y, int rgb)
filterRGB
in class RGBImageFilter
x
- horizontal coordinatey
- vertical coordinatergb
- input pixel color
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |