|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.jpeg.jj2000.j2k.wavelet.synthesis.SynWTFilter
ucar.jpeg.jj2000.j2k.wavelet.synthesis.SynWTFilterInt
public abstract class SynWTFilterInt
This extends the synthesis wavelet filter general definitions of SynWTFilter by adding methods that work for int data specifically. Implementations that work on int data should inherit from this class.
See the SynWTFilter class for details such as normalization, how to split odd-length signals, etc.
The advantage of using the specialized method is that no casts are performed.
SynWTFilter
Field Summary |
---|
Fields inherited from interface ucar.jpeg.jj2000.j2k.wavelet.WaveletFilter |
---|
WT_FILTER_FLOAT_CONVOL, WT_FILTER_FLOAT_LIFT, WT_FILTER_INT_LIFT |
Fields inherited from interface ucar.jpeg.jj2000.j2k.codestream.Markers |
---|
COC, COD, COM, CRG, EOC, EPH, EPH_LENGTH, ERS_SEG_SYMBOLS, ERS_SOP, MAX_COMP_BITDEPTH, MAX_LPPM, MAX_LPPT, PLM, PLT, POC, PPM, PPT, PRECINCT_PARTITION_DEF_SIZE, QCC, QCD, RCOM_GEN_USE, RGN, RSIZ_BASELINE, RSIZ_ER_FLAG, RSIZ_ROI, SCOX_HOR_CB_PART, SCOX_PRECINCT_PARTITION, SCOX_USE_EPH, SCOX_USE_SOP, SCOX_VER_CB_PART, SIZ, SOC, SOD, SOP, SOP_LENGTH, SOT, SQCX_EXP_MASK, SQCX_EXP_SHIFT, SQCX_GB_MSK, SQCX_GB_SHIFT, SQCX_NO_QUANTIZATION, SQCX_SCALAR_DERIVED, SQCX_SCALAR_EXPOUNDED, SRGN_IMPLICIT, SSIZ_DEPTH_BITS, TLM |
Constructor Summary | |
---|---|
SynWTFilterInt()
|
Method Summary | |
---|---|
int |
getDataType()
Returns the type of data on which this filter works, as defined in the DataBlk interface, which is always TYPE_INT for this class. |
abstract void |
synthetize_hpf(int[] lowSig,
int lowOff,
int lowLen,
int lowStep,
int[] highSig,
int highOff,
int highLen,
int highStep,
int[] outSig,
int outOff,
int outStep)
A specific version of the synthetize_hpf() method that works on int data. |
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)
The general version of the synthetize_hpf() method, it just calls the specialized version. |
abstract void |
synthetize_lpf(int[] lowSig,
int lowOff,
int lowLen,
int lowStep,
int[] highSig,
int highOff,
int highLen,
int highStep,
int[] outSig,
int outOff,
int outStep)
A specific version of the synthetize_lpf() method that works on int data. |
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)
The general version of the synthetize_lpf() method, it just calls the specialized version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ucar.jpeg.jj2000.j2k.wavelet.WaveletFilter |
---|
getAnHighNegSupport, getAnHighPosSupport, getAnLowNegSupport, getAnLowPosSupport, getImplType, getSynHighNegSupport, getSynHighPosSupport, getSynLowNegSupport, getSynLowPosSupport, isReversible, isSameAsFullWT |
Constructor Detail |
---|
public SynWTFilterInt()
Method Detail |
---|
public abstract void synthetize_lpf(int[] lowSig, int lowOff, int lowLen, int lowStep, int[] highSig, int highOff, int highLen, int highStep, int[] outSig, int outOff, int outStep)
lowSig
- This is the array that contains the low-pass
input signal.lowOff
- This is the index in lowSig of the first sample to
filter.lowLen
- This is the number of samples in the low-pass
input signal to filter.lowStep
- This is the step, or interleave factor, of the
low-pass input signal samples in the lowSig array.highSig
- This is the array that contains the high-pass
input signal.highOff
- This is the index in highSig of the first sample to
filter.highLen
- This is the number of samples in the high-pass
input signal to filter.highStep
- This is the step, or interleave factor, of the
high-pass input signal samples in the highSig array.outSig
- This is the array where the output signal is
placed. It should be long enough to contain the output signal.outOff
- This is the index in outSig of the element where
to put the first output sample.outStep
- This is the step, or interleave factor, of the
output samples in the outSig array.SynWTFilter.synthetize_lpf(java.lang.Object, int, int, int, java.lang.Object, int, int, int, java.lang.Object, int, int)
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)
synthetize_lpf
in class SynWTFilter
lowSig
- This is the array that contains the low-pass
input signal. It must be an int[].lowOff
- This is the index in lowSig of the first sample to
filter.lowLen
- This is the number of samples in the low-pass
input signal to filter.lowStep
- This is the step, or interleave factor, of the
low-pass input signal samples in the lowSig array.highSig
- This is the array that contains the high-pass
input signal. Itmust be an int[].highOff
- This is the index in highSig of the first sample to
filter.highLen
- This is the number of samples in the high-pass
input signal to filter.highStep
- This is the step, or interleave factor, of the
high-pass input signal samples in the highSig array.outSig
- This is the array where the output signal is
placed. It should be and int[] and long enough to contain the
output signal.outOff
- This is the index in outSig of the element where
to put the first output sample.outStep
- This is the step, or interleave factor, of the
output samples in the outSig array.SynWTFilter.synthetize_lpf(java.lang.Object, int, int, int, java.lang.Object, int, int, int, java.lang.Object, int, int)
public abstract void synthetize_hpf(int[] lowSig, int lowOff, int lowLen, int lowStep, int[] highSig, int highOff, int highLen, int highStep, int[] outSig, int outOff, int outStep)
lowSig
- This is the array that contains the low-pass
input signal.lowOff
- This is the index in lowSig of the first sample to
filter.lowLen
- This is the number of samples in the low-pass
input signal to filter.lowStep
- This is the step, or interleave factor, of the
low-pass input signal samples in the lowSig array.highSig
- This is the array that contains the high-pass
input signal.highOff
- This is the index in highSig of the first sample to
filter.highLen
- This is the number of samples in the high-pass
input signal to filter.highStep
- This is the step, or interleave factor, of the
high-pass input signal samples in the highSig array.outSig
- This is the array where the output signal is
placed. It should be long enough to contain the output signal.outOff
- This is the index in outSig of the element where
to put the first output sample.outStep
- This is the step, or interleave factor, of the
output samples in the outSig array.SynWTFilter.synthetize_hpf(java.lang.Object, int, int, int, java.lang.Object, int, int, int, java.lang.Object, int, int)
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)
synthetize_hpf
in class SynWTFilter
lowSig
- This is the array that contains the low-pass
input signal. It must be an int[].lowOff
- This is the index in lowSig of the first sample to
filter.lowLen
- This is the number of samples in the low-pass
input signal to filter.lowStep
- This is the step, or interleave factor, of the
low-pass input signal samples in the lowSig array.highSig
- This is the array that contains the high-pass
input signal. Itmust be an int[].highOff
- This is the index in highSig of the first sample to
filter.highLen
- This is the number of samples in the high-pass
input signal to filter.highStep
- This is the step, or interleave factor, of the
high-pass input signal samples in the highSig array.outSig
- This is the array where the output signal is
placed. It should be and int[] and long enough to contain the
output signal.outOff
- This is the index in outSig of the element where
to put the first output sample.outStep
- This is the step, or interleave factor, of the
output samples in the outSig array.SynWTFilter.synthetize_hpf(java.lang.Object, int, int, int, java.lang.Object, int, int, int, java.lang.Object, int, int)
public int getDataType()
jj2000.j2k.image.DataBlk
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |