[]
Creates a SubbandAn element with all the default values. The dimensions are (0,0) and the upper left corner is (0,0).
public SubbandAn()
Creates the top-level node and the entire subband tree, with the top-level dimensions, the number of decompositions, and the decomposition tree as specified.
<p>This constructor just calls the same constructor of the super class,
and then calculates the L2-norm (or energy weight) of each leaf.</p>
<p>This constructor does not initialize the value of the magBits or
stepWMSE member variables. This variables are normally initialized by
the quantizer (see Quantizer).</p>
public SubbandAn(int w, int h, int ulcx, int ulcy, int lvls, WaveletFilter[] hfilters, WaveletFilter[] vfilters)
| Type | Name | Description |
|---|---|---|
| int | w | The top-level width |
| int | h | The top-level height |
| int | ulcx | The horizontal coordinate of the upper-left corner with respect to the canvas origin, in the component grid. |
| int | ulcy | The vertical coordinate of the upper-left corner with respect to the canvas origin, in the component grid. |
| int | lvls | The number of levels (or LL decompositions) in the tree. |
| WaveletFilter[] | hfilters | The horizontal wavelet analysis filters for each resolution level, starting at resolution level 0. |
| WaveletFilter[] | vfilters | The vertical wavelet analysis filters for each resolution level, starting at resolution level 0. |