|
Algorithm 1 Watermark embedding. |
-
Require:
Cover image (C), Watermark (W), m, s
-
Ensure:
Watermarked image ()
-
1:
Apply 1-IWT to C, to obtain LL, LH, HL and HH. Select LH and HL for embedding.
-
2:
Divide and into non-overlapping blocks.
-
3:
Find entropy for non-overlapping blocks and store it in vector .
-
4:
Apply SVD transform on LH and HL, to obtain . Select and for embedding.
-
5:
Select a block having a low entropy value for embedding.
-
6:
Encrypt the watermark image using the proposed encryption scheme
-
7:
Determine random embedding position and , using a BBS generator in selected block for embedding.
-
8:
Generate using the proposed intial scaling factor generation scheme
-
9:
For real time applications, skip Step 10 and move on to Step 11.
-
10:
Optimize using GA or ABC or FO algorithm using a following fitness function:
-
11:
Embed in and in using the following relation:
-
12:
Apply inverse SVD and IWT to get the watermarked image ().
|