Research Article

Privacy Protection of Digital Images Using Watermarking and QR Code-based Visual Cryptography

Algorithm 1

Algorithm for image watermarking phase.
INPUT: Secret Image (C1) and watermark image (WI)
OUTPUT: Watermarked secret image (WC)
(1)Select secret image CI
(2)Perform wavelet decomposition and get WCI
(3)Split the selected wavelet WCI1, WCI2, WCI3, and WCIn
(4)Select the watermark image (WI)
(5)Split the binary watermark in blocks B1, B2, B3, …, Bn
(6)Embedding the watermark blocks into the selected wavelet coefficients
(7)Get the resulting values after embedding the watermark
(8)Perform wavelet reconstruction to get the watermarked image
(9)Stop