sparse image representation via combined transforms - Convex ...
sparse image representation via combined transforms - Convex ...
sparse image representation via combined transforms - Convex ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
A.3. DETAILS 145<br />
(1,K +1), (1,K +2), (1,K +3), ··· (1, 4K − 1),<br />
(2,K +1), (2,K +2), (2,K +3), ··· (2, 4K − 1),<br />
.<br />
.<br />
.<br />
.<br />
(K − 1,K +1), (K − 1,K +2), (K − 1,K +3), ··· (K − 1, 4K − 1),<br />
(K, 2K +1), (K, 2K +2), (K, 2K +3), ··· (K, 4K − 1),<br />
(K +1, 2K +1), (K +1, 2K +2), (K +1, 2K +3), ··· (K +1, 4K),<br />
(K +2, 2K +1), (K +2, 2K +2), (K +2, 2K +3), ··· (K +2, 4K),<br />
.<br />
.<br />
.<br />
.<br />
(2K − 1, 2K +1), (2K − 1, 2K +2), (2K − 1, 2K +3), ··· (2K − 1, 4K),<br />
(2K, 3K +1), (2K, 3K +2), (2K, 3K +3), ··· (2K, 4K),<br />
(2K +1, 3K +1), (2K +1, 3K +2), (2K +1, 3K +3), ··· (2K +1, 4K),<br />
(2K +2, 3K +1), (2K +2, 3K +2), (2K +2, 3K +3), ··· (2K +2, 4K),<br />
.<br />
.<br />
.<br />
.<br />
(3K − 1, 3K +1), (3K − 1, 3K +2), (3K − 1, 3K +3), ··· (3K − 1, 4K).<br />
Table A.2: Order of edgelets within a square.<br />
We have the following algorithm: for matrix I, and an edgelet with end points (x 1 ,y 1 )<br />
and (x 2 ,y 2 ), where x 1 ,y 1 ,x 2 and y 2 are integers, we have<br />
Compute T(I,{x 1 ,y 1 ,x 2 ,y 2 })<br />
1. Case one: If the edge is horizontal (x 1 = x 2 ), then<br />
T(I,{x 1 ,y 1 ,x 2 ,y 2 })=<br />
x<br />
1 ∑ 1 +1<br />
2|y 2 − y 1 |<br />
∑<br />
i=x 1<br />
y 2<br />
j=y 1 +1<br />
I(i, j).<br />
2. Case two: If the edge is vertical (y 1 = y 2 ), then<br />
T(I,{x 1 ,y 1 ,x 2 ,y 2 })=<br />
1<br />
2|x 2 − x 1 |<br />
∑x 2<br />
i=x 1 +1<br />
y∑<br />
1 +1<br />
j=y 1<br />
I(i, j).<br />
3. Case three: The edge is neither horizontal nor vertical. We must have