|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.openstego.util.dwt.DWT
Class to handle Discrete Wavelet Transforms (DWT). This class is conversion of C to Java for the file "dwt.c" file provided by Peter Meerwald at: http://www.cosy.sbg.ac.at/~pmeerw/Watermarking/ Refer to his thesis on watermarking: Peter Meerwald, Digital Image Watermarking in the Wavelet Transfer Domain, Master's Thesis, Department of Scientific Computing, University of Salzburg, Austria, January 2001.
| Constructor Summary | |
DWT(int cols,
int rows,
int filterID,
int level,
int method)
Default constructor |
|
| Method Summary | |
ImageTree |
forwardDWT(int[][] pixels)
Method to perform forward DWT on the pixel data |
ImageTree |
forwardDWTwp(int[][] pixels)
Method to perform forward DWT (WP) on the pixel data |
void |
inverseDWT(ImageTree dwts,
int[][] pixels)
Method to perform inverse DWT to get back the pixel data |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DWT(int cols,
int rows,
int filterID,
int level,
int method)
cols - Image widthrows - Image heightfilterID - Filter ID to uselevel - Decomposition levelmethod - Wavelet filtering method| Method Detail |
public ImageTree forwardDWT(int[][] pixels)
pixels - Image pixel data
public ImageTree forwardDWTwp(int[][] pixels)
pixels - Image pixel data
public void inverseDWT(ImageTree dwts,
int[][] pixels)
dwts - DWT data as image treepixels - Image pixel data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||