jp2codec.wavelet.synthesis
Class InvWTHelper

java.lang.Object
  extended by jp2codec.wavelet.synthesis.InvWTHelper

public class InvWTHelper
extends java.lang.Object

This abstract class provides default implementations of some of methods that are useful for inverse wavelet transforms. The implementations are general and can suit most inverse DWT implementation.


Constructor Summary
InvWTHelper(InvWTData src)
          Instantiates a new 'InvWTHelper' object to work with the specified source of wavelet coefficients.
 
Method Summary
 boolean isReversible(int t, int c)
          Returns the reversibility of the wavelet transform for the specified tile-component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvWTHelper

public InvWTHelper(InvWTData src)
Instantiates a new 'InvWTHelper' object to work with the specified source of wavelet coefficients.

Parameters:
src - The source of wavelet coefficients for the wavelet transform to "help".
Method Detail

isReversible

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

Parameters:
t - The index of the tile.
c - The index of the component.
Returns:
true is the wavelet transform is reversible, false if not.