[]
public class ROIScaler : ImgDataAdapter, CBlkQuantDataSrcEnc, ForwWTDataProps, ImgData
Name | Description |
---|---|
ROIScaler(Quantizer, ROIMaskGenerator, bool, int, bool, EncoderSpecs) | Constructor of the ROI scaler, takes a Quantizer as source of data to scale. |
Name | Description |
---|---|
OPT_PREFIX | The prefix for ROI Scaler options: 'R' |
Name | Description |
---|---|
BlockAligned | This function returns the blockAligned flag |
CbULX | Returns the horizontal offset of the code-block partition. Allowable values are 0 and 1, nothing else. |
CbULY | Returns the vertical offset of the code-block partition. Allowable values are 0 and 1, nothing else. |
ParameterInfo | Returns the parameters that are used in this class and implementing classes. It returns a 2D String array. Each of the 1D arrays is for a different option, and they have 3 elements. The first element is the option name, the second one is the synopsis, the third one is a long description of what the parameter is and the fourth is its default value. The synopsis or description may be 'null', in which case it is assumed that there is no synopsis or description of the option, respectively. Null may be returned if no options are supported. |
ROIMaskGenerator | This function returns the ROI mask generator. |
Name | Description |
---|---|
createInstance(Quantizer, ParameterList, EncoderSpecs) | Creates a ROIScaler object. The Quantizer is the source of data to scale.
|
getAnSubbandTree(int, int) | Returns a reference to the subband tree structure representing the subband decomposition for the specified tile-component. |
getNextCodeBlock(int, CBlkWTData) | This function gets a datablk from the entropy coder. The sample sin the block, which consists of the quantized coefficients from the quantizer, are scaled by the values given for any ROIs specified.
|
getNextInternCodeBlock(int, CBlkWTData) | This function gets a datablk from the entropy coder. The sample sin the block, which consists of the quantized coefficients from the quantizer, are scaled by the values given for any ROIs specified.
|
isReversible(int, int) | Since ROI scaling is always a reversible operation, it calls isReversible() method of it source (the quantizer module). |
nextTile() | Advances to the next tile, in standard scan-line order (by rows then columns). An NoNextElementException is thrown if the current tile is the last one (i.e. there is no next tile). |
parseROIs(string, int, List<object>) | This function parses the values given for the ROIs with the argument -Rroi. Currently only circular and rectangular ROIs are supported.
|
setTile(int, int) | Changes the current tile, given the new indexes. An IllegalArgumentException is thrown if the indexes do not correspond to a valid tile. |
useRoi() | This function returns the flag indicating if any ROI functionality used |