1 Démontrons le théorème suivant:
6 First of all, HUGO starts with computing the second order SPAM Features.
7 This steps is in $\theta(n^2 + 2\times 343^2)$ due to the computation
8 of the difference arrays and next of the 686 features (of size 343).
9 Next for each pixel, the distortion measure is calculated by +1/-1 modifying
10 its value and computing again the SPAM
11 features. Pixels are thus selected according to their ability to provide
12 an image whose SPAM features are close to the original ones.
13 The algorithm thus computes a distance between each feature
14 and the original ones,
15 which is at least in $\theta(343)$, and an overall distance between these
16 metrics, which is in $\theta(686)$. Computing the distance is thus in
17 $\theta(2\times 343^2)$ and this modification
18 is thus in $\theta(2\times 343^2 \times n^2)$.
19 Ranking these results may be achieved with a quick sort, which is in
20 $\theta(2 \times n^2 \ln(n))$ for data of size $n^2$.
21 The overall complexity of the pixel selection is finally
22 $\theta(n^2 +2 \times 343^2 + 2\times 343^2 \times n^2 + 2 \times n^2 \ln(n))$, \textit{i.e},
23 $\theta(2 \times n^2(343^2 + \ln(n)))$.
28 Let us focus now on WOW.
29 This scheme starts to compute the residual
30 of the cover as a convolution product which is in $\theta(n^2\ln(n^2))$.
31 The embedding suitability $\eta_{ij}$ is then computed for each pixel
32 $1 \le i,j \le n$ thanks to a convolution product again.
33 We thus have a complexity of $\theta(n^2 \times n^2\ln(n^2))$.
34 Moreover the suitability is computed for each wavelet level
36 This distortion computation step is thus in $\theta(6n^4\ln(n))$.
37 Finally a norm of these three values is computed for each pixel
38 which adds to this complexity the complexity of $\theta(n^2)$.
39 To summarize, the complixity is in $\theta(6n^4\ln(n) +n^2)$
41 What follows details the complexity of the distortion evaluation of the
42 UNIWARD scheme. This one is based to a convolution product $W$ of two elements
43 of size $n$ and is again in $\theta(n^2 \times n^2\ln(n^2))$,
45 these $W$ which is in $\theta(n^2)$.
46 This distortion computation step is thus in $\theta(6n^4\ln(n) + n^2)$.
49 Our edge selection is based on a Canny filter. When applied on a
50 $n \times n$ square image, the noise reduction step is in $\theta(5^3 n^2)$.
51 Next, let $T$ be the size of the Canny mask.
52 Computing gradients is in $\theta(4Tn^2)$ since derivatives of each direction (vertical or horizontal)
53 are in $\theta(2Tn^2)$.
54 Finally, thresholding with hysteresis is in $\theta(n^2)$.
55 The overall complexity is thus in $\theta((5^3+4T+1)n^2)$.