public abstract class WTFilterSpec extends Object
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
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
protected WTFilterSpec(int nc)
NOTE: The tile specific things are not supported yet
nc
- The number of componentsnt
- The number of tilespublic abstract int getWTDataType()
DataBlk
public byte getKerSpecType(int n)
NOTE: The tile specific things are not supported yet
n
- The component indext
- The tile index, in raster scan order.Copyright © 2015–2022 SCIFIO. All rights reserved.