|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jj2000.j2k.wavelet.WTFilterSpec
This is the generic class from which the ones that hold the analysis or synthesis filters to be used in each part of the image derive. See AnWTFilterSpec and SynWTFilterSpec.
The filters to use are defined by a hierarchy. The hierarchy is:
- Tile and component specific filters
- Tile specific default filters
- Component main default filters
- Main default filters
At the moment tiles are not supported by this class.
AnWTFilterSpec
,
SynWTFilterSpec
Field Summary | |
static byte |
FILTER_SPEC_COMP_DEF
The identifier for "component default" specified filters |
static byte |
FILTER_SPEC_MAIN_DEF
The identifier for "main default" specified filters |
static byte |
FILTER_SPEC_TILE_COMP
The identifier for "tile and component specific" specified filters |
static byte |
FILTER_SPEC_TILE_DEF
The identifier for "tile specific default" specified filters |
protected byte[] |
specValType
The spec type for each tile and component. |
Constructor Summary | |
protected |
WTFilterSpec(int nc)
Constructs a 'WTFilterSpec' object, initializing all the components and tiles to the 'FILTER_SPEC_MAIN_DEF' spec type, for the specified number of components and tiles. |
Method Summary | |
byte |
getKerSpecType(int n)
Returns the type of specification for the filters in the specified component and tile. |
abstract int |
getWTDataType()
Returns the data type used by the filters in this object, as defined in the 'DataBlk' interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte FILTER_SPEC_MAIN_DEF
public static final byte FILTER_SPEC_COMP_DEF
public static final byte FILTER_SPEC_TILE_DEF
public static final byte FILTER_SPEC_TILE_COMP
protected byte[] specValType
Constructor Detail |
protected WTFilterSpec(int nc)
NOTE: The tile specific things are not supported yet
nc
- The number of componentsMethod Detail |
public abstract int getWTDataType()
DataBlk
public byte getKerSpecType(int n)
NOTE: The tile specific things are not supported yet
n
- The component index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |