| java.lang.Object jj2000.j2k.wavelet.synthesis.SynWTFilter jj2000.j2k.wavelet.synthesis.SynWTFilterFloat jj2000.j2k.wavelet.synthesis.SynWTFilterFloatLift9x7
SynWTFilterFloatLift9x7 | public class SynWTFilterFloatLift9x7 extends SynWTFilterFloat (Code) | | This class inherits from the synthesis wavelet filter definition for int
data. It implements the inverse wavelet transform specifically for the 9x7
filter. The implementation is based on the lifting scheme.
See the SynWTFilter class for details such as normalization, how to
split odd-length signals, etc. In particular, this method assumes that the
low-pass coefficient is computed first.
See Also: SynWTFilter See Also: SynWTFilterFloat |
Field Summary | |
final public static float | ALPHA | final public static float | BETA | final public static float | DELTA | final public static float | GAMMA | final public static float | KH | final public static float | KL |
Method Summary | |
public int | getAnHighNegSupport() Returns the negative support of the high-pass analysis filter. | public int | getAnHighPosSupport() Returns the positive support of the high-pass analysis filter. | public int | getAnLowNegSupport() Returns the negative support of the low-pass analysis filter. | public int | getAnLowPosSupport() Returns the positive support of the low-pass analysis filter. | public int | getImplType() Returns the implementation type of this filter, as defined in this
class, such as WT_FILTER_INT_LIFT, WT_FILTER_FLOAT_LIFT,
WT_FILTER_FLOAT_CONVOL. | public int | getSynHighNegSupport() Returns the negative support of the high-pass synthesis filter. | public int | getSynHighPosSupport() Returns the positive support of the high-pass synthesis filter. | public int | getSynLowNegSupport() Returns the negative support of the low-pass synthesis filter. | public int | getSynLowPosSupport() Returns the positive support of the low-pass synthesis filter. | public boolean | isReversible() Returns the reversibility of the filter. | public boolean | isSameAsFullWT(int tailOvrlp, int headOvrlp, int inLen) Returns true if the wavelet filter computes or uses the
same "inner" subband coefficient as the full frame wavelet transform,
and false otherwise. | public void | synthetize_hpf(float[] lowSig, int lowOff, int lowLen, int lowStep, float[] highSig, int highOff, int highLen, int highStep, float[] outSig, int outOff, int outStep) An implementation of the synthetize_hpf() method that works on int
data, for the inverse 9x7 wavelet transform using the lifting
scheme. | public void | synthetize_lpf(float[] lowSig, int lowOff, int lowLen, int lowStep, float[] highSig, int highOff, int highLen, int highStep, float[] outSig, int outOff, int outStep) An implementation of the synthetize_lpf() method that works on int
data, for the inverse 9x7 wavelet transform using the lifting
scheme. | public String | toString() |
ALPHA | final public static float ALPHA(Code) | | The value of the first lifting step coefficient
|
BETA | final public static float BETA(Code) | | The value of the second lifting step coefficient
|
DELTA | final public static float DELTA(Code) | | The value of the fourth lifting step coefficient
|
GAMMA | final public static float GAMMA(Code) | | The value of the third lifting step coefficient
|
KH | final public static float KH(Code) | | The value of the high-pass subband normalization factor
|
KL | final public static float KL(Code) | | The value of the low-pass subband normalization factor
|
getAnHighNegSupport | public int getAnHighNegSupport()(Code) | | Returns the negative support of the high-pass analysis filter. That is
the number of taps of the filter in the negative direction.
The number of taps of the high-pass analysis filter inthe negative direction |
getAnHighPosSupport | public int getAnHighPosSupport()(Code) | | Returns the positive support of the high-pass analysis filter. That is
the number of taps of the filter in the negative direction.
The number of taps of the high-pass analysis filter in thepositive direction |
getAnLowNegSupport | public int getAnLowNegSupport()(Code) | | Returns the negative support of the low-pass analysis filter. That is
the number of taps of the filter in the negative direction.
2 |
getAnLowPosSupport | public int getAnLowPosSupport()(Code) | | Returns the positive support of the low-pass analysis filter. That is
the number of taps of the filter in the negative direction.
The number of taps of the low-pass analysis filter in thepositive direction |
getImplType | public int getImplType()(Code) | | Returns the implementation type of this filter, as defined in this
class, such as WT_FILTER_INT_LIFT, WT_FILTER_FLOAT_LIFT,
WT_FILTER_FLOAT_CONVOL.
WT_FILTER_INT_LIFT. |
getSynHighNegSupport | public int getSynHighNegSupport()(Code) | | Returns the negative support of the high-pass synthesis filter. That is
the number of taps of the filter in the negative direction.
A MORE PRECISE DEFINITION IS NEEDED
The number of taps of the high-pass synthesis filter in thenegative direction |
getSynHighPosSupport | public int getSynHighPosSupport()(Code) | | Returns the positive support of the high-pass synthesis filter. That is
the number of taps of the filter in the negative direction.
A MORE PRECISE DEFINITION IS NEEDED
The number of taps of the high-pass synthesis filter in thepositive direction |
getSynLowNegSupport | public int getSynLowNegSupport()(Code) | | Returns the negative support of the low-pass synthesis filter. That is
the number of taps of the filter in the negative direction.
A MORE PRECISE DEFINITION IS NEEDED
The number of taps of the low-pass synthesis filter in thenegative direction |
getSynLowPosSupport | public int getSynLowPosSupport()(Code) | | Returns the positive support of the low-pass synthesis filter. That is
the number of taps of the filter in the negative direction.
A MORE PRECISE DEFINITION IS NEEDED
The number of taps of the low-pass synthesis filter in thepositive direction |
isReversible | public boolean isReversible()(Code) | | Returns the reversibility of the filter. A filter is considered
reversible if it is suitable for lossless coding.
true since the 9x7 is reversible, provided the appropriaterounding is performed. |
isSameAsFullWT | public boolean isSameAsFullWT(int tailOvrlp, int headOvrlp, int inLen)(Code) | | Returns true if the wavelet filter computes or uses the
same "inner" subband coefficient as the full frame wavelet transform,
and false otherwise. In particular, for block based transforms with
reduced overlap, this method should return false. The term "inner"
indicates that this applies only with respect to the coefficient that
are not affected by image boundaries processings such as symmetric
extension, since there is not reference method for this.
The result depends on the length of the allowed overlap when
compared to the overlap required by the wavelet filter. It also
depends on how overlap processing is implemented in the wavelet
filter.
Parameters: tailOvrlp - This is the number of samples in the inputsignal before the first sample to filter that can be used foroverlap. Parameters: headOvrlp - This is the number of samples in the inputsignal after the last sample to filter that can be used foroverlap. Parameters: inLen - This is the lenght of the input signal to filter.Therequired number of samples in the input signal after the last sampledepends on the length of the input signal. true if both overlaps are greater than 2, and correct processing is applied in the analyze() method. |
synthetize_hpf | public void synthetize_hpf(float[] lowSig, int lowOff, int lowLen, int lowStep, float[] highSig, int highOff, int highLen, int highStep, float[] outSig, int outOff, int outStep)(Code) | | An implementation of the synthetize_hpf() method that works on int
data, for the inverse 9x7 wavelet transform using the lifting
scheme. See the general description of the synthetize_hpf() method in
the SynWTFilter class for more details.
The low-pass and high-pass subbands are normalized by respectively
a factor of 1/KL and a factor of 1/KH
The coefficients of the first lifting step are [-DELTA 1 -DELTA].
The coefficients of the second lifting step are [-GAMMA 1 -GAMMA].
The coefficients of the third lifting step are [-BETA 1 -BETA].
The coefficients of the fourth lifting step are [-ALPHA 1 -ALPHA].
Parameters: lowSig - This is the array that contains the low-passinput signal. Parameters: lowOff - This is the index in lowSig of the first sample tofilter. Parameters: lowLen - This is the number of samples in the low-pass inputsignal to filter. Parameters: lowStep - This is the step, or interleave factor, of the low-passinput signal samples in the lowSig array. Parameters: highSig - This is the array that contains the high-pass inputsignal. Parameters: highOff - This is the index in highSig of the first sample tofilter. Parameters: highLen - This is the number of samples in the high-pass inputsignal to filter. Parameters: highStep - This is the step, or interleave factor, of thehigh-pass input signal samples in the highSig array. Parameters: outSig - This is the array where the output signal is placed. Itshould be long enough to contain the output signal. Parameters: outOff - This is the index in outSig of the element where to putthe first output sample. Parameters: outStep - This is the step, or interleave factor, of the outputsamples in the outSig array. See Also: SynWTFilter.synthetize_hpf |
synthetize_lpf | public void synthetize_lpf(float[] lowSig, int lowOff, int lowLen, int lowStep, float[] highSig, int highOff, int highLen, int highStep, float[] outSig, int outOff, int outStep)(Code) | | An implementation of the synthetize_lpf() method that works on int
data, for the inverse 9x7 wavelet transform using the lifting
scheme. See the general description of the synthetize_lpf() method in
the SynWTFilter class for more details.
The low-pass and high-pass subbands are normalized by respectively a
factor of 1/KL and a factor of 1/KH
The coefficients of the first lifting step are [-DELTA 1 -DELTA].
The coefficients of the second lifting step are [-GAMMA 1 -GAMMA].
The coefficients of the third lifting step are [-BETA 1 -BETA].
The coefficients of the fourth lifting step are [-ALPHA 1 -ALPHA].
Parameters: lowSig - This is the array that contains the low-pass inputsignal. Parameters: lowOff - This is the index in lowSig of the first sample tofilter. Parameters: lowLen - This is the number of samples in the low-pass inputsignal to filter. Parameters: lowStep - This is the step, or interleave factor, of the low-passinput signal samples in the lowSig array. Parameters: highSig - This is the array that contains the high-pass inputsignal. Parameters: highOff - This is the index in highSig of the first sample tofilter. Parameters: highLen - This is the number of samples in the high-pass inputsignal to filter. Parameters: highStep - This is the step, or interleave factor, of thehigh-pass input signal samples in the highSig array. Parameters: outSig - This is the array where the output signal is placed. Itshould be long enough to contain the output signal. Parameters: outOff - This is the index in outSig of the element where to putthe first output sample. Parameters: outStep - This is the step, or interleave factor, of the outputsamples in the outSig array. See Also: SynWTFilter.synthetize_lpf |
toString | public String toString()(Code) | | Returns a string of information about the synthesis wavelet filter
wavelet filter type. |
Methods inherited from jj2000.j2k.wavelet.synthesis.SynWTFilterFloat | public int getDataType()(Code)(Java Doc) abstract public void synthetize_hpf(float[] lowSig, int lowOff, int lowLen, int lowStep, float[] highSig, int highOff, int highLen, int highStep, float[] outSig, int outOff, int outStep)(Code)(Java Doc) public void synthetize_hpf(Object lowSig, int lowOff, int lowLen, int lowStep, Object highSig, int highOff, int highLen, int highStep, Object outSig, int outOff, int outStep)(Code)(Java Doc) abstract public void synthetize_lpf(float[] lowSig, int lowOff, int lowLen, int lowStep, float[] highSig, int highOff, int highLen, int highStep, float[] outSig, int outOff, int outStep)(Code)(Java Doc) public void synthetize_lpf(Object lowSig, int lowOff, int lowLen, int lowStep, Object highSig, int highOff, int highLen, int highStep, Object outSig, int outOff, int outStep)(Code)(Java Doc)
|
Methods inherited from jj2000.j2k.wavelet.synthesis.SynWTFilter | abstract public void synthetize_hpf(Object lowSig, int lowOff, int lowLen, int lowStep, Object highSig, int highOff, int highLen, int highStep, Object outSig, int outOff, int outStep)(Code)(Java Doc) abstract public void synthetize_lpf(Object lowSig, int lowOff, int lowLen, int lowStep, Object highSig, int highOff, int highLen, int highStep, Object outSig, int outOff, int outStep)(Code)(Java Doc)
|
|
|