
Summary
329
Computing the 1-D SDHT of the columns of the resulting matrix, we get
fc
2
-»•
31 1-1 9 "
-1 1-1 1
1 -5 -3 -9
-7 11 -3 -9 .
The original image can be obtained by computing the 1-D row inverse
SDHTs of the transform matrix followed by the 1-D column inverse SDHTs
of the resulting matrix and vice versa. I
The SFG of the 1-D SDHT algorithm remains the same for the compu-
tation of the 2-D SDHT with the same number of data values except for a
difference explained below. The vector formation is carried out in the re-
quired manner for the row (column) transforms. However, for the column
(row) transforms, the vector formation stage occurs after the computa-
tion of the row (column) transforms. In this intermediate vector formation
stage, the sum and difference values are stored, respectively, as the first
and second elements of a vector, at both the upper and lower nodes of a
butterfly. If data is read row-by-row from the input file, the output would
be written column-by-column and vice versa.
Example 16.9 Find the trace of the algorithm shown in Fig. 16.8: (i)
for the 1-D input data shown in Fig. 16.3 and (ii) for the 2-D input data of
Example 16.3.
Solution
(i) The trace is shown in Fig. 16.9. The sequency coefficients are
{31, -1,1, -7,11, -5,1,1, -1, -1,
-3, -3, -9, -9,1,9}
(ii) The trace is shown in Fig. 16.10. The sequency coefficients are the same
as that of Example 16.8. I
16.4 Summary
• In this Chapter, 1-D and 2-D DWT, NDHT, and SDHT and the
PM algorithms to compute them were described. These transforms,
particularly effective for representing waveforms with discontinu-
ities,
use a set of orthogonal rectangular waveforms as basis func-
i