ComponentOne PDF for .NET
CSJ2K.j2k.roi.encoder Namespace / ROIMaskGenerator Class / getROIMask Method
The data block that is to be filled with the mask
The root of the current subband tree
The number of magnitude bits in this code-block
Component number

In This Topic
    getROIMask Method (ROIMaskGenerator)
    In This Topic
    This functions gets a DataBlk with the size of the current code-block and fills it with the ROI mask. The lowest scaling value in the mask for this code-block is returned by the function to be used for modifying the rate distortion estimations.
    Syntax
    'Declaration
     
    
    Public MustOverride Function getROIMask( _
       ByVal db As DataBlkInt, _
       ByVal sb As Subband, _
       ByVal magbits As Integer, _
       ByVal c As Integer _
    ) As Boolean
    public abstract bool getROIMask( 
       DataBlkInt db,
       Subband sb,
       int magbits,
       int c
    )

    Parameters

    db
    The data block that is to be filled with the mask
    sb
    The root of the current subband tree
    magbits
    The number of magnitude bits in this code-block
    c
    Component number

    Return Value

    Whether or not a mask was needed for this tile
    See Also