Class ForwCompTransfSpec

java.lang.Object
jj2000.j2k.ModuleSpec
jj2000.j2k.image.CompTransfSpec
jj2000.j2k.image.forwcomptransf.ForwCompTransfSpec
All Implemented Interfaces:
Cloneable, FilterTypes

public class ForwCompTransfSpec extends CompTransfSpec implements FilterTypes
This class extends CompTransfSpec class in order to hold encoder specific aspects of CompTransfSpec.
See Also:
  • Constructor Details

    • ForwCompTransfSpec

      public ForwCompTransfSpec(int nt, int nc, byte type, AnWTFilterSpec wfs, J2KImageWriteParamJava wp, String values)
      Constructs a new 'ForwCompTransfSpec' for the specified number of components and tiles and the arguments of optName option. This constructor is called by the encoder. It also checks that the arguments belongs to the recognized arguments list.

      This constructor chose the component transformation type depending on the wavelet filters : RCT with w5x3 filter and ICT with w9x7 filter. Note: All filters must use the same data type.

      Parameters:
      nt - The number of tiles
      nc - The number of components
      type - the type of the specification module i.e. tile specific, component specific or both.
      wfs - The wavelet filter specifications