| java.lang.Object jj2000.j2k.ModuleSpec jj2000.j2k.wavelet.analysis.AnWTFilterSpec
AnWTFilterSpec | public class AnWTFilterSpec extends ModuleSpec (Code) | | This class extends ModuleSpec class for analysis filters specification
holding purpose.
See Also: ModuleSpec |
Constructor Summary | |
public | AnWTFilterSpec(int nt, int nc, byte type, QuantTypeSpec qts, J2KImageWriteParamJava wp, String values) Constructs a new 'AnWTFilterSpec' for the specified number of
components and tiles.
Parameters: nt - The number of tiles Parameters: nc - The number of components Parameters: type - the type of the specification module i.e. |
Method Summary | |
public AnWTFilter[] | getHFilters(int t, int c) Returns the horizontal analysis filters to be used in component 'n' and
tile 't'.
The horizontal analysis filters are returned in an array of
AnWTFilter. | public AnWTFilter[] | getVFilters(int t, int c) Returns the vertical analysis filters to be used in component 'n' and
tile 't'.
The vertical analysis filters are returned in an array of
AnWTFilter. | public int | getWTDataType(int t, int c) Returns the data type used by the filters in this object, as defined in
the 'DataBlk' interface for specified tile-component. | public boolean | isReversible(int t, int c) Check the reversibility of filters contained is the given
tile-component. | public String | toString() |
AnWTFilterSpec | public AnWTFilterSpec(int nt, int nc, byte type, QuantTypeSpec qts, J2KImageWriteParamJava wp, String values)(Code) | | Constructs a new 'AnWTFilterSpec' for the specified number of
components and tiles.
Parameters: nt - The number of tiles Parameters: nc - The number of components Parameters: type - the type of the specification module i.e. tile specific,component specific or both. Parameters: qts - Quantization specifications |
getHFilters | public AnWTFilter[] getHFilters(int t, int c)(Code) | | Returns the horizontal analysis filters to be used in component 'n' and
tile 't'.
The horizontal analysis filters are returned in an array of
AnWTFilter. Each element contains the horizontal filter for each
resolution level starting with resolution level 1 (i.e. the analysis
filter to go from resolution level 1 to resolution level 0). If there
are less elements than the maximum resolution level, then the last
element is assumed to be repeated.
Parameters: t - The tile index, in raster scan order Parameters: c - The component index. The array of horizontal analysis filters for component 'n' andtile 't'. |
getVFilters | public AnWTFilter[] getVFilters(int t, int c)(Code) | | Returns the vertical analysis filters to be used in component 'n' and
tile 't'.
The vertical analysis filters are returned in an array of
AnWTFilter. Each element contains the vertical filter for each
resolution level starting with resolution level 1 (i.e. the analysis
filter to go from resolution level 1 to resolution level 0). If there
are less elements than the maximum resolution level, then the last
element is assumed to be repeated.
Parameters: t - The tile index, in raster scan order Parameters: c - The component index. The array of horizontal analysis filters for component 'n' andtile 't'. |
getWTDataType | public int getWTDataType(int t, int c)(Code) | | Returns the data type used by the filters in this object, as defined in
the 'DataBlk' interface for specified tile-component.
Parameters: t - Tile index Parameters: c - Component index The data type of the filters in this object See Also: jj2000.j2k.image.DataBlk |
isReversible | public boolean isReversible(int t, int c)(Code) | | Check the reversibility of filters contained is the given
tile-component.
Parameters: t - The index of the tile Parameters: c - The index of the component |
|
|