|
Algorithm 2: Target-Preserving Sparse DWT (TPS-DWT) |
Input: RD map ; wavelet basis ; decomposition level ; Output: Enhanced RD map . |
-
1:
perform L-level 2D Discrete Wavelet Transform:
-
2:
-
3:
for to do
-
4:
for each coefficient in do
-
5:
Compute soft threshold;
-
6:
sign ;
-
7:
if indicates target region at coefficient then
-
8:
Keep original coefficient;
-
9:
;
-
10:
end
-
11:
Update detail coefficient with ;
-
12:
end
-
13:
end
-
14:
Reconstruct enhanced RD map:
-
15:
;
-
16:
return
|