| jj2000.j2k.wavelet.WaveletTransform
WaveletTransform | public interface WaveletTransform extends ImgData(Code) | | This interface defines how a forward or inverse wavelet transform
should present itself. As specified in the ImgData interface,
from which this class inherits, all operations are confined to the
current tile, and all coordinates are relative to it.
The definition of the methods in this interface allows for
different types of implementation, reversibility and levels of
decompositions for each component and each tile. An implementation
of this interface does not need to support all this flexibility
(e.g., it may provide the same implementation type and
decomposition levels for all tiles and components).
|
Field Summary | |
final public static int | WT_IMPL_FULL ID for full-page based implementations of wavelet transforms. | final public static int | WT_IMPL_LINE ID for line based implementations of wavelet transforms. |
Method Summary | |
public int | getImplementationType(int n) Returns the implementation type of this wavelet transform
(WT_IMPL_LINE or WT_IMPL_FRAME) for the specified component,
in the current tile.
Parameters: n - The index of the component. | public boolean | isReversible(int t, int c) Returns the reversibility of the wavelet transform for the
specified component and tile. |
WT_IMPL_FULL | final public static int WT_IMPL_FULL(Code) | | ID for full-page based implementations of wavelet transforms. Full-page
based implementations should be avoided since they require
large amounts of memory.
|
WT_IMPL_LINE | final public static int WT_IMPL_LINE(Code) | | ID for line based implementations of wavelet transforms.
|
getImplementationType | public int getImplementationType(int n)(Code) | | Returns the implementation type of this wavelet transform
(WT_IMPL_LINE or WT_IMPL_FRAME) for the specified component,
in the current tile.
Parameters: n - The index of the component. WT_IMPL_LINE or WT_IMPL_FULL for line,block or full-page based transforms. |
isReversible | public boolean isReversible(int t, int c)(Code) | | Returns the reversibility of the wavelet transform for the
specified component and tile. A wavelet transform is reversible
when it is suitable for lossless and lossy-to-lossless
compression.
Parameters: t - The index of the tile. Parameters: c - The index of the component. true is the wavelet transform is reversible, false if not. |
|
|