|
@@ -105,10 +105,22 @@ The following figures illustrate the exchanges that are done by level 1, 2 and 3
|
105
|
105
|
**Figure 8.** Level 3 scramble: (a) the diagonal quadrants are exchanged to then apply a level 2 scramble to each quadrant, (b) the left and right halves are exchanged in each quadrant, (c) a level 1 scramble is applied in each new quadrant.
|
106
|
106
|
|
107
|
107
|
|
|
108
|
+
|
|
109
|
+---
|
|
110
|
+
|
|
111
|
+---
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+!INCLUDE "../../eip-diagnostic/image-scrambler/en/diag-image-scrambler-01.html" <br>
|
|
115
|
+
|
|
116
|
+!INCLUDE "../../eip-diagnostic/image-scrambler/en/diag-image-scrambler-02.html" <br>
|
|
117
|
+
|
|
118
|
+
|
108
|
119
|
---
|
109
|
120
|
|
110
|
121
|
---
|
111
|
122
|
|
|
123
|
+
|
112
|
124
|
## Additional functions provided in the project
|
113
|
125
|
|
114
|
126
|
The project which you will be working on today contains the `cropSwap` function that implements the functionality of exchanging the pixels contains in two congruent rectangles within an image. Its prototype is:
|