| java.lang.Object jj2000.j2k.ModuleSpec jj2000.j2k.image.CompTransfSpec
All known Subclasses: jj2000.j2k.image.forwcomptransf.ForwCompTransfSpec,
CompTransfSpec | public class CompTransfSpec extends ModuleSpec (Code) | | This class extends ModuleSpec class in order to hold tile
specifications for component transformation
See Also: ModuleSpec |
Constructor Summary | |
public | CompTransfSpec(int nt, int nc, byte type) Constructs an empty 'CompTransfSpec' with specified number of
tile and components. |
Method Summary | |
public boolean | isCompTransfUsed() Check if component transformation is used in any of the tiles. |
CompTransfSpec | public CompTransfSpec(int nt, int nc, byte type)(Code) | | Constructs an empty 'CompTransfSpec' with specified number of
tile and components. This constructor is called by the
decoder. Note: The number of component is here for symmetry
purpose. It is useless since only tile specifications are
meaningful.
Parameters: nt - Number of tiles Parameters: nc - Number of components Parameters: type - the type of the specification module i.e. tile specific,component specific or both. |
isCompTransfUsed | public boolean isCompTransfUsed()(Code) | | Check if component transformation is used in any of the tiles. This
method must not be used by the encoder.
True if a component transformation is used in at least ontile. |
|
|