on page 269 (Fig. 7.9) the line
should
read
} while (i <= nover2);
} while (i < nover2)
the code on the accompaigning CDROM is also wrong:
CH7/FWT2D.C
and CH7/FWT1D.C
need to be fixed
on page 206, the code for cdpo2()
is broken; the third inner
for
loop should read:
For J = BEGIN to F.OMEGA
OUT[I*STEP] += FILTER[J] * IN[2*I-J+Q]
on page 207, the wrong index variable is used in acdpo()
; all
three for
loops should use j
to reference the
OUT[]
array:
link to Errata
page
For I = 0 to JO2-Q2
OUT[J*STEP] += FILTER[Q+2*I-J]*IN[I]
For I = max(0,JA2) to min(Q2-1,JO2)
OUT[J*STEP] += FILTER[2*I-J]*IN[I]
For I = JA2+Q2 to Q2-1
OUT[J*STEP] += FILTER[2*I-J-Q]*IN[I]