ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.wavelet Namespace / Subband Class
Fields Properties Methods


In This Topic
    Subband Class Members
    In This Topic

    The following tables list the members exposed by Subband.

    Public Fields
     NameDescription
    Public FieldThe base 2 exponent of the analysis gain of the subband. The analysis gain of a subband is defined as the gain of the previous subband (i.e. the one from which this one was obtained) multiplied by the line gain and by the column gain. The line (column) gain is the gain of the line (column) filter that was used to obtain it, which is the DC gain for a low-pass filter and the Nyquist gain for a high-pass filter. It is 0 by default.

    Using the base 2 exponent of the value contrains the possible gains to powers of 2. However this is perfectly compatible to the filter normalization policy assumed here. See the split() method for more details.

     
    Public FieldThe height of the subband  
    Public FieldTrue if it is a node in the tree, false if it is a leaf.  
    Public FieldThe level in the tree to which this subband belongs, which is the number of performed wavelet decompositions to get this subband. It is 0 for the top-level (i.e. root) node.  
    Public FieldThe nominal code-block height  
    Public FieldThe nominal code-block width  
    Public FieldThe number of code-blocks (in both directions) contained in this subband.  
    Public FieldThe orientation of this subband (WT_ORIENT_LL, WT_ORIENT_HL, WT_ORIENT_LH, WT_ORIENT_HH).  
    Public FieldThe resolution level to which this subband contributes. 0 is the smallest resolution level (the one with the lowest frequency LL subband).  
    Public FieldThe subband index within its resolution level. This value uniquely identifies a subband within a resolution level and a decomposition level within it. Note that only leaf elements represent "real" subbands, while node elements represent only intermediate stages.

    It is defined recursively. The root node gets a value of 0. For a given node, with a subband index 'b', its LL descendant gets 4*b, its HL descendant 4*b+1, its LH descendant 4*b+2, and its HH descendant 4*b+3, for their subband indexes.

     
    Public FieldThe horizontal coordinate of the upper-left corner of the subband, with respect to the canvas origin, in the component's grid and subband's decomposition level. This is the real horizontal index of the first column of this subband. If even the horizontal decomposition of this subband should be done with the low-pass-first convention. If odd it should be done with the high-pass-first convention.  
    Public FieldThe vertical coordinate of the upper-left corner of the subband, with respect to the canvas origin, in the component's grid and subband's decomposition level. This is the real vertical index of the first column of this subband. If even the vertical decomposition of this subband should be done with the low-pass-first convention. If odd it should be done with the high-pass-first convention.  
    Public FieldThe horizontal coordinate of the upper-left corner of the subband  
    Public FieldThe vertical coordinate of the upper-left corner of the subband  
    Public FieldThe width of the subband  
    Public FieldThe ID for the HH orientation  
    Public FieldThe ID for the HL (horizontal high-pass) orientation  
    Public FieldThe ID for the LH (vertical high-pass) orientation  
    Public FieldThe ID for the LL orientation  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns the HH child subband of this subband.  
    Public PropertyReturns the HL (horizontal high-pass) child subband of this subband.  
    Public PropertyThis function returns the horizontal wavelet filter relevant to this subband  
    Public PropertyReturns the LH (vertical high-pass) child subband of this subband.  
    Public PropertyReturns the LL child subband of this subband.  
    Public PropertyReturns the first leaf subband element in the next higher resolution level.  
    Public PropertyReturns 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).  
    Public PropertyThis function returns the vertical wavelet filter relevant to this subband  
    Top
    Public Methods
     NameDescription
    Public MethodReturns 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.  
    Public MethodReturns a subband element in the tree, given its resolution level and subband index. This method searches through the tree.  
    Public MethodReturns 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.  
    Public MethodReturns subband informations in a string.  
    Top
    See Also