Initialization of SPIHT
The lowest subband indices are put into S.
- If (i,j) in lowest subband then output sign (0 for - and 1 for +) of B[i,j] and put (i,j) into S.
A stack Z of zero trees is formed using the lowest resolution subband indices as roots.
- If (i,j) in the lowest subband is a root of a zero tree of type R if i is odd or (i is even and j is odd).