[]
        
(Showing Draft Content)

CSJ2K.j2k.roi.encoder.ROIMaskGenerator

ROIMaskGenerator Class

Inheritance
ROIMaskGenerator
Namespace: CSJ2K.j2k.roi.encoder
Assembly: C1.WPF.PdfViewer.4.6.2.dll
Syntax
public abstract class ROIMaskGenerator

Constructors

Name Description
ROIMaskGenerator(ROI[], int)

The constructor of the mask generator

Fields

Name Description
nrc

Number of components

roiInTile
roi_array

Array containing the ROIs

tileMaskMade

Flag indicating whether a mask has been made for the current tile

Properties

Name Description
ROIs

This function returns the ROIs in the image

Methods

Name Description
getROIMask(DataBlkInt, Subband, int, int)

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.

makeMask(Subband, int, int)

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.

tileChanged()

This function is called every time the tile is changed to indicate that there is need to make a new mask