Research Article
DWT-SVD Based Watermarking for High-Resolution Medical Holographic Images
Algorithm 3
Generating the Watermarked Image.
| Input: Cover Image, | | Output: Watermarked Image | (1) | Start | (2) | Read Cover Image (img1) | (3) | Get Width and Height from img1 | (4) | Select CBRNG file | (5) | Divide CBRNG numbers by CBRNG X and CBRNG Y | (6) | Normalize the values in the CBRNG X array by modulo with Width | (7) | Normalize the values in the CBRNG Y array by modulo with Height | (8) | Discard repetitive values in CBRNG X and Y | (9) | Get array | (10) | Get Width1 and Height1 from | (11) | for i = 1: Height1: 1 | | for j = 1: Width1: 1 | | img1(CBRNG Y(i), CBRNG X(j)) = (i,j) | | end for | (12) | Create from img1 array | (13) | Return | (14) | End |
|