Package com.openstego.desktop.util.dwt
Class DWT
- java.lang.Object
-
- com.openstego.desktop.util.dwt.DWT
-
public class DWT extends Object
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
Constructors Constructor Description DWT(int cols, int rows, int filterID, int level, int method)
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageTree
forwardDWT(int[][] pixels)
Method to perform forward DWT on the pixel datavoid
inverseDWT(ImageTree dwts, int[][] pixels)
Method to perform inverse DWT to get back the pixel data
-
-
-
Method Detail
-
forwardDWT
public ImageTree forwardDWT(int[][] pixels)
Method to perform forward DWT on the pixel data- Parameters:
pixels
- Image pixel data- Returns:
- Image tree data after DWT
-
inverseDWT
public void inverseDWT(ImageTree dwts, int[][] pixels)
Method to perform inverse DWT to get back the pixel data- Parameters:
dwts
- DWT data as image treepixels
- Image pixel data
-
-