프로퍼티 | 타입 | 설명 | |
---|---|---|---|
anGainExp | int | ||
h | int | ||
isNode | bool | ||
level | int | ||
nomCBlkH | int | ||
nomCBlkW | int | ||
numCb | Coord | ||
orientation | int | ||
resLvl | int | ||
sbandIdx | int | ||
ulcx | int | ||
ulcy | int | ||
ulx | int | ||
uly | int | ||
w | int |
메소드 | 설명 | |
---|---|---|
Subband ( ) : System |
Creates a Subband element with all the default values. The dimensions are (0,0), the upper left corner is (0,0) and the upper-left corner with respect to the canvas is (0,0) too.
|
|
Subband ( int w, int h, int ulcx, int ulcy, int lvls, WaveletFilter hfilters, WaveletFilter vfilters ) : System |
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. For the analysis subband gain calculation it is assumed that analysis filters are normalized with a DC gain of 1 and a Nyquist gain of 2. This constructor does not initialize the value of the magBits member variable. This variable is normally initialized by the quantizer, on the encoder side, or the bit stream reader, on the decoder side.
|
|
ToString ( ) : System.String |
Returns subband informations in a string.
|
|
getSubband ( int x, int y ) : |
Returns a reference to the Subband element to which the specified point belongs. The specified point must be inside this (i.e. the one defined by this object) subband. This method searches through the tree.
|
|
getSubbandByIdx ( int rl, int sbi ) : |
Returns a subband element in the tree, given its resolution level and subband index. This method searches through the tree.
|
|
nextSubband ( ) : |
Returns the next subband in the same resolution level, following the subband index order. If already at the last subband then null is returned. If this subband is not a leaf an IllegalArgumentException is thrown.
|
메소드 | 설명 | |
---|---|---|
initChilds ( ) : void |
Initializes the childs of this node with the correct values. The sizes of the child subbands are calculated by taking into account the position of the subband in the canvas. For the analysis subband gain calculation it is assumed that analysis filters are normalized with a DC gain of 1 and a Nyquist gain of 2.
|
|
split ( WaveletFilter hfilter, WaveletFilter vfilter ) : |
Splits the current subband in its four subbands. This creates the four childs (LL, HL, LH and HH) and converts the leaf in a node.
|
public Subband ( int w, int h, int ulcx, int ulcy, int lvls, WaveletFilter hfilters, WaveletFilter vfilters ) : System | ||
w | int | The top-level width /// /// |
h | int | The top-level height /// /// |
ulcx | int | The horizontal coordinate of the upper-left corner with /// respect to the canvas origin, in the component grid. /// /// |
ulcy | int | The vertical coordinate of the upper-left corner with /// respect to the canvas origin, in the component grid. /// /// |
lvls | int | The number of levels (or LL decompositions) in the tree. /// /// |
hfilters | WaveletFilter | The horizontal wavelet filters (analysis or synthesis) /// for each resolution level, starting at resolution level 0. If there are /// less elements in the array than there are resolution levels, the last /// element is used for the remaining resolution levels. /// /// |
vfilters | WaveletFilter | The vertical wavelet filters (analysis or synthesis) /// for each resolution level, starting at resolution level 0. If there are /// less elements in the array than there are resolution levels, the last /// element is used for the remaining resolution levels. /// /// |
리턴 | System |
public getSubband ( int x, int y ) : |
||
x | int | horizontal coordinate of the specified point. /// /// |
y | int | horizontal coordinate of the specified point. /// /// |
리턴 |
public getSubbandByIdx ( int rl, int sbi ) : |
||
rl | int | The resolution level. /// /// |
sbi | int | The subband index, within the resolution level. /// /// |
리턴 |
protected abstract split ( WaveletFilter hfilter, WaveletFilter vfilter ) : |
||
hfilter | WaveletFilter | The horizontal wavelet filter used to decompose this /// subband. /// /// |
vfilter | WaveletFilter | The vertical wavelet filter used to decompose this /// subband. /// /// |
리턴 |