| java.lang.Object jj2000.j2k.wavelet.WTFilterSpec
WTFilterSpec | abstract public class WTFilterSpec (Code) | | 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.
See Also: jj2000.j2k.wavelet.analysis.AnWTFilterSpec See Also: jj2000.j2k.wavelet.synthesis.SynWTFilterSpec |
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 | |
public byte | getKerSpecType(int n) Returns the type of specification for the filters in the specified
component and tile. | abstract public int | getWTDataType() Returns the data type used by the filters in this object, as defined in
the 'DataBlk' interface. |
FILTER_SPEC_COMP_DEF | final public static byte FILTER_SPEC_COMP_DEF(Code) | | The identifier for "component default" specified filters
|
FILTER_SPEC_MAIN_DEF | final public static byte FILTER_SPEC_MAIN_DEF(Code) | | The identifier for "main default" specified filters
|
FILTER_SPEC_TILE_COMP | final public static byte FILTER_SPEC_TILE_COMP(Code) | | The identifier for "tile and component specific" specified filters
|
FILTER_SPEC_TILE_DEF | final public static byte FILTER_SPEC_TILE_DEF(Code) | | The identifier for "tile specific default" specified filters
|
specValType | protected byte specValType(Code) | | The spec type for each tile and component. The first index is the
component index, the second is the tile index. NOTE: The tile specific
things are not supported yet.
|
WTFilterSpec | protected WTFilterSpec(int nc)(Code) | | 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.
NOTE: The tile specific things are not supported yet
Parameters: nc - The number of components Parameters: nt - The number of tiles |
getKerSpecType | public byte getKerSpecType(int n)(Code) | | Returns the type of specification for the filters in the specified
component and tile. The specification type is one of:
'FILTER_SPEC_MAIN_DEF', 'FILTER_SPEC_COMP_DEF', 'FILTER_SPEC_TILE_DEF',
'FILTER_SPEC_TILE_COMP'.
NOTE: The tile specific things are not supported yet
Parameters: n - The component index Parameters: t - The tile index, in raster scan order. The specification type for component 'n' and tile 't'. |
getWTDataType | abstract public int getWTDataType()(Code) | | Returns the data type used by the filters in this object, as defined in
the 'DataBlk' interface.
The data type of the filters in this object See Also: jj2000.j2k.image.DataBlk |
|
|