jj2000.j2k.wavelet.analysis
Interface ForwWTDataProps
- All Known Subinterfaces:
- CBlkQuantDataSrcEnc, CBlkWTDataSrc, CodedCBlkDataSrcEnc, ForwWT
- 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 |
int |
getPartitionULX()
Returns the horizontal coordinate of the origin of the cell and
code-block partition, with respect to the canvas origin, on the
reference grid. |
int |
getPartitionULY()
Returns the vertical coordinate of the origin of the cell and
code-block partition, with respect to the canvas origin, on the
reference grid. |
SubbandAn |
getSubbandTree(int t,
int c)
Returns a reference to the root of subband tree structure representing
the subband decomposition for the specified tile-component. |
boolean |
isReversible(int t,
int c)
Returns the reversibility of the given tile-component. |
Methods inherited from interface jj2000.j2k.image.ImgData |
getCompHeight,
getCompImgHeight,
getCompImgWidth,
getCompSubsX,
getCompSubsY,
getCompWidth,
getHeight,
getImgHeight,
getImgULX,
getImgULY,
getImgWidth,
getNomRangeBits,
getNumComps,
getNumTiles,
getNumTiles,
getTile,
getTileIdx,
getTileOff,
getULX,
getULY,
getWidth,
nextTile,
setTile |
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 indexc
- Component index- Returns:
- true is the data is reversible, false if not.
getSubbandTree
public SubbandAn getSubbandTree(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
getPartitionULX
public int getPartitionULX()
- Returns the horizontal coordinate of the origin of the cell and
code-block partition, with respect to the canvas origin, on the
reference grid. Allowable values are 0 and 1, nothing else.
- Returns:
- The horizontal coordinate of the origin of the cell and
code-block partitions, with respect to the canvas origin, on the
reference grid.
getPartitionULY
public int getPartitionULY()
- Returns the vertical coordinate of the origin of the cell and
code-block partition, with respect to the canvas origin, on the
reference grid. Allowable values are 0 and 1, nothing else.
- Returns:
- The vertical coordinate of the origin of the cell and
code-block partitions, with respect to the canvas origin, on the
reference grid.