jj2000.j2k.wavelet.analysis
Interface ForwWTDataProps

All Superinterfaces:
ImgData
All Known Subinterfaces:
CBlkQuantDataSrcEnc, CBlkWTDataSrc, CodedCBlkDataSrcEnc, ForwWT
All Known Implementing Classes:
EntropyCoder, ForwardWT, Quantizer, ROIScaler

public interface ForwWTDataProps
extends ImgData

This interface extends the ImgData interface with methods that are necessary for forward wavelet data (i.e. data that is produced by a forward wavelet transform).


Method Summary
 SubbandAn getAnSubbandTree(int t, int c)
          Returns a reference to the root of subband tree structure representing the subband decomposition for the specified tile-component.
 int getCbULX()
          Returns the horizontal offset of the code-block partition.
 int getCbULY()
          Returns the vertical offset of the code-block partition.
 boolean isReversible(int t, int c)
          Returns the reversibility of the given tile-component.
 
Methods inherited from interface jj2000.j2k.image.ImgData
getCompImgHeight, getCompImgWidth, getCompSubsX, getCompSubsY, getCompULX, getCompULY, getImgHeight, getImgULX, getImgULY, getImgWidth, getNomRangeBits, getNomTileHeight, getNomTileWidth, getNumComps, getNumTiles, getNumTiles, getTile, getTileCompHeight, getTileCompWidth, getTileHeight, getTileIdx, getTilePartULX, getTilePartULY, getTileWidth, nextTile, setTile
 

Method Detail

isReversible

public boolean isReversible(int t,
                            int c)
Returns the reversibility of the given tile-component. Data is reversible when it is suitable for lossless and lossy-to-lossless compression.

Parameters:
t - Tile index
c - Component index
Returns:
true is the data is reversible, false if not.

getAnSubbandTree

public SubbandAn getAnSubbandTree(int t,
                                  int c)
Returns a reference to the root of subband tree structure representing the subband decomposition for the specified tile-component.

Parameters:
t - The index of the tile.
c - The index of the component.
Returns:
The root of the subband tree structure, see Subband.
See Also:
SubbandAn, Subband

getCbULX

public int getCbULX()
Returns the horizontal offset of the code-block partition. Allowable values are 0 and 1, nothing else.


getCbULY

public int getCbULY()
Returns the vertical offset of the code-block partition. Allowable values are 0 and 1, nothing else.