ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.roi.encoder Namespace / ROIMaskGenerator Class / makeMask Method
The root of the subband tree used in the decomposition
The max number of magnitude bits in any code-block
component number

In This Topic
    makeMask Method (ROIMaskGenerator)
    In This Topic
    This function generates the ROI mask for the entire tile. The mask is generated for one component. This method is called once for each tile and component.
    Syntax
    'Declaration
     
    
    Public MustOverride Sub makeMask( _
       ByVal sb As Subband, _
       ByVal magbits As Integer, _
       ByVal n As Integer _
    ) 
    public abstract void makeMask( 
       Subband sb,
       int magbits,
       int n
    )

    Parameters

    sb
    The root of the subband tree used in the decomposition
    magbits
    The max number of magnitude bits in any code-block
    n
    component number
    See Also