|
Algorithm 3 Diffusion algorithm |
Input: The shuffled image, H, , and . Output:
D, the diffusion vector. Step 1: Reshape H, . Step 2: Covert H to binary, . Step 3: Set . Step 4: Perform initial iterations, For to 999
End For Step 5: Set . Step 6: For to
End For Step 7: Preprocess the values of as follows: . Step 8: Covert Q to binary, . Step 9: Perform between and , say .
|