[]
This class represents a subband in a tree structure that describes the subband decomposition for a wavelet transform, specifically for the syhthesis side.
<p>The element can be either a node or a leaf of the tree. If it is a node
then ther are 4 descendants (LL, HL, LH and HH). If it is a leaf there are
no descendants.</p><p>The tree is bidirectional. Each element in the tree structure has a
"parent", which is the subband from which the element was obtained by
decomposition. The only exception is the root element which has no parent
(i.e.it's null), for obvious reasons.</p>
public class SubbandSyn : Subband
Name | Description |
---|---|
SubbandSyn() | Creates a SubbandSyn element with all the default values. The dimensions are (0,0) and the upper left corner is (0,0). |
SubbandSyn(int, int, int, int, int, WaveletFilter[], WaveletFilter[]) | 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.
|
Name | Description |
---|---|
hFilter | The horizontal analysis filter used to recompose this subband, from its childs. This is applicable to "node" elements only. The default value is null. |
magbits | The number of magnitude bits |
vFilter | The vertical analysis filter used to decompose this subband, from its childs. This is applicable to "node" elements only. The default value is null. |
Name | Description |
---|---|
HH | Returns the HH child subband of this subband. |
HL | Returns the HL (horizontal high-pass) child subband of this subband. |
HorWFilter | This function returns the horizontal wavelet filter relevant to this subband |
LH | Returns the LH (vertical high-pass) child subband of this subband. |
LL | Returns the LL child subband of this subband. |
Parent | Returns the parent of this subband. The parent of a subband is the subband from which this one was obtained by decomposition. The root element has no parent subband (null). |
VerWFilter | This function returns the vertical wavelet filter relevant to this subband |
Name | Description |
---|---|
split(WaveletFilter, WaveletFilter) | Splits the current subband in its four subbands. It changes the status of this element (from a leaf to a node, and sets the filters), creates the childs and initializes them. An IllegalArgumentException is thrown if this subband is not a leaf.
|