[]
        
(Showing Draft Content)

CSJ2K.j2k.roi.encoder.ROIScaler.-ctor

ROIScaler Constructor

ROIScaler(Quantizer, ROIMaskGenerator, bool, int, bool, EncoderSpecs)

Constructor of the ROI scaler, takes a Quantizer as source of data to scale.

Declaration
public ROIScaler(Quantizer src, ROIMaskGenerator mg, bool roi, int sLev, bool uba, EncoderSpecs encSpec)
Parameters
Type Name Description
Quantizer src

The quantizer that is the source of data.

ROIMaskGenerator mg

The mask generator that will be used for all components

bool roi

Flag indicating whether there are rois specified.

int sLev

The resolution levels that belong entirely to ROI

bool uba

Flag indicating whether block aligning is used.

EncoderSpecs encSpec

The encoder specifications for addition of roi specs