Perform l-level discrete wavelet transform on the host as well as watermarked image.
The detail and approximation sub-images of the host as well as watermarked image is segmented into nonoverlapping rectangles of size [M.
For embedding, the watermarked primary watermark into the host image, we have used 2-level of decomposition using Daubechies filter bank.
To investigate the robustness of the algorithm, the watermarked image is attacked by Average and Median Filtering, Gaussian noise addition, JPEG and JPEG 2000 compression, Rotation, Resizing, Cropping and Histogram Equalization attacks.
To check the robustness against Image Compression, the watermarked image is tested by JPEG and JPEG 2000 compression attacks.
First, the size of watermarked image is reduced to 128x128 and then again expanded to its original size i.