| jj2000.j2k.wavelet.WaveletFilter
All known Subclasses: jj2000.j2k.wavelet.analysis.AnWTFilter, jj2000.j2k.wavelet.synthesis.SynWTFilter,
WaveletFilter | public interface WaveletFilter (Code) | | This interface defines how a wavelet filter implementation should
present itself. This interface defines only the commonalities
between the analysis and synthesis filters. The AnWTFilter
and SynWTFilter classes provide the specifics of analysis and
synthesis filters.
Both analysis and filters must be able to return the
extent of the negative and positive support for both synthesis and
analysis sides. This simplifies the sue of some functionalities
that need extra information about the filters.
See Also: jj2000.j2k.wavelet.analysis.AnWTFilter See Also: jj2000.j2k.wavelet.synthesis.SynWTFilter |
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 | getDataType() Returns the type of data on which this filter works, as defined
in the DataBlk interface. | 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. |
WT_FILTER_FLOAT_CONVOL | final public static int WT_FILTER_FLOAT_CONVOL(Code) | | The ID for floatring-poitn convolution implementations
|
WT_FILTER_FLOAT_LIFT | final public static int WT_FILTER_FLOAT_LIFT(Code) | | The ID for floating-point lifting spteps implementations
|
WT_FILTER_INT_LIFT | final public static int WT_FILTER_INT_LIFT(Code) | | The ID for integer lifting spteps implementations
|
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.
A MORE PRECISE DEFINITION IS NEEDED
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.
A MORE PRECISE DEFINITION IS NEEDED
The number of taps of the high-pass analysis filter inthe positive 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.
A MORE PRECISE DEFINITION IS NEEDED
The number of taps of the low-pass analysis filter inthe negative direction |
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.
A MORE PRECISE DEFINITION IS NEEDED
The number of taps of the low-pass analysis filter inthe positive direction |
getDataType | public int getDataType()(Code) | | Returns the type of data on which this filter works, as defined
in the DataBlk interface.
The type of data as defined in the DataBlk interface. See Also: jj2000.j2k.image.DataBlk |
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.
The implementation type of this filter:WT_FILTER_INT_LIFT, WT_FILTER_FLOAT_LIFT, WT_FILTER_FLOAT_CONVOL. |
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 inthe negative 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 inthe positive 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 inthe negative 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 inthe positive 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 if the filter is reversible, false otherwise. |
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 the overlaps are large enough and correct processing is performed, false otherwise. |
|
|