Steganos  1.0
Steganography for Processing
 All Classes Functions
org.quark.stegnos.Steganograph_v0 Class Reference
Inheritance diagram for org.quark.stegnos.Steganograph_v0:

Package Functions

 Steganograph_v0 ()
 
PImage embedImageInStegan (String pphrase, PImage cImage, PImage bImage)
 
PImage extractImageFromStegan (String pphrase, PImage sImage)
 
PImage embedTextInStegan (String pphrase, PImage cImage, String text)
 
String extractTextFromStegan (String pphrase, PImage sImage)
 
void unpackHeaders (int[] d)
 
void packHeaders (int[] h, int hm[])
 
void mergeHeadersWithCarrier (int[] h, int[] hm, int[] d)
 
Analysis analysis (PImage carrier, PImage burden)
 
Analysis analysis (PImage carrier, String burden)
 

Package Attributes

PImage bimage
 

Additional Inherited Members

- Public Attributes inherited from org.quark.stegnos.SteganosConstants
int TEXT_BURDEN = 0x0
 
int IMAGE_BURDEN = 0x1
 
int RGB = PConstants.RGB
 
int ARGB = PConstants.ARGB
 
int UTF8 = 0x1
 
int[] CARRIER3_BITS = { 0x00000000, 0x00010101, 0x00030303, 0x00070707, 0x000f0f0f, 0x001f1f1f, 0x003f3f3f, 0x007f7f7f, 0x00ffffff }
 
int[] CARRIER4_BITS = { 0x00000000, 0x01010101, 0x03030303, 0x07070707, 0x0f0f0f0f, 0x1f1f1f1f, 0x3f3f3f3f, 0x7f7f7f7f, 0xffffffff }
 
int[] RGB_MERGED_BITS = { 0x00000000, 0xe0000000, 0xfc000000, 0xff800000, 0xfff00000, 0xfffe0000, 0xffffc000, 0xfffff800, 0xffffff00 }
 
int[] ARGB_MERGED_BITS = { 0x00000000, 0xf0000000, 0xff000000, 0xfff00000, 0xffff0000, 0xfffff000, 0xffffff00, 0xfffffff0, 0xffffffff }
 

Detailed Description

This class provides methods to merge and to extract images or text from a carrier image.

Author
Peter Lager

Constructor & Destructor Documentation

org.quark.stegnos.Steganograph_v0.Steganograph_v0 ( )
package

Private constructor to prevent unwanted instantiations

Member Function Documentation

Analysis org.quark.stegnos.Steganograph_v0.analysis ( PImage  carrier,
PImage  burden 
)
packagevirtual

Perform an analysis on the proposed carrier / burden combination

Parameters
carrierthe carrier image
burdenthe burden image
Returns
the result of the analysis

Implements org.quark.stegnos.Steganograph.

Analysis org.quark.stegnos.Steganograph_v0.analysis ( PImage  carrier,
String  burden 
)
packagevirtual

Perform an analysis on the proposed carrier / burden combination

Parameters
carrierthe carrier image
burdenthe burden text
Returns
the result of the analysis

Implements org.quark.stegnos.Steganograph.

PImage org.quark.stegnos.Steganograph_v0.embedImageInStegan ( String  pphrase,
PImage  cImage,
PImage  bImage 
)
packagevirtual

Merge the burden image into the carrier image to create a stegan.

Parameters
pphrasepassword / pass-phrase
steganthe impregnated image (stegan)
bImagethe text to insert
Returns
the stegan

Implements org.quark.stegnos.Steganograph.

PImage org.quark.stegnos.Steganograph_v0.embedTextInStegan ( String  pphrase,
PImage  cImage,
String  text 
)
packagevirtual

Create a merge the text into the carrier image to make a stegan.

Parameters
pphrasepassword / pass-phrase
steganthe impregnated image (stegan)
textthe text to insert
Returns
the stegan

Implements org.quark.stegnos.Steganograph.

PImage org.quark.stegnos.Steganograph_v0.extractImageFromStegan ( String  pphrase,
PImage  sImage 
)
packagevirtual

Extract the image from the stegan.

Parameters
pphrasepassword / pass-phrase
sImagethe impregnated image (stegan)
Returns
null if unable to retrieve the image

Implements org.quark.stegnos.Steganograph.

String org.quark.stegnos.Steganograph_v0.extractTextFromStegan ( String  pphrase,
PImage  sImage 
)
packagevirtual

Extract the text from the stegan.

Parameters
pphrasepassword / pass-phrase
sImagethe impregnated image (stegan)
Returns
null if unable to retrieve text

Implements org.quark.stegnos.Steganograph.

void org.quark.stegnos.Steganograph_v0.mergeHeadersWithCarrier ( int[]  h,
int[]  hm,
int[]  d 
)
package

Merge the header information into the carrier data

Parameters
hheaders
hmheader masks
dcarrier pixel data
void org.quark.stegnos.Steganograph_v0.packHeaders ( int[]  h,
int  hm[] 
)
package

Create the headers and masks ready for merging with the carrier data.

Parameters
hheaders header information
hmheader masks used to clear image bits for header info
void org.quark.stegnos.Steganograph_v0.unpackHeaders ( int[]  d)
package

Unpack the header information from the data

Parameters
dcarrier pixel data

The documentation for this class was generated from the following file: