The ROI method is the Maxshift method. The ROIScaler works by scaling /// the quantized wavelet coefficients that do not affect the ROI (i.e /// background coefficients) so that these samples get a lower significance /// than the ROI ones. By scaling the coefficients sufficiently, the ROI /// coefficients can be recognized by their amplitude alone and no ROI mask /// needs to be generated at the decoder side. /// ///
The source module must be a quantizer and code-block's data is exchange /// with thanks to CBlkWTData instances. /// ///
The ROI Scaler creates a ROIMaskGenerator depending on what ROI /// information is in the ParameterList. If only rectangular ROI are used, /// the fast mask generator for rectangular ROI can be used.
/// ///A rectangular ROI is indicated by a 'R' followed the coordinates for /// the upper left corner of the ROI and then its width and height.
/// ///A circular ROI is indicated by a 'C' followed by the coordinates of /// the circle center and then the radius.
/// ///Before the R and C values, the component that are affected by the /// ROI are indicated.
/// ///The function calls on a ROIMaskGenerator to get the mask for scaling /// the coefficients in the current block.
/// ///The data returned by this method is a copy of the orignal /// data. Therfore it can be modified "in place" without any problems after /// being returned. The 'offset' of the returned data is 0, and the 'scanw' /// is the same as the code-block width. See the 'CBlkWTData' class.
/// ///The function calls on a ROIMaskGenerator to get the mask for scaling /// the coefficients in the current block.
/// ///