Class ProgressionSpec

  • All Implemented Interfaces:
    Cloneable

    public class ProgressionSpec
    extends ModuleSpec
    This class extends ModuleSpec class for progression type(s) and progression order changes holding purposes.

    It stores the progression type(s) used in the codestream. There can be only one progression type or several ones if progression order changes are used (POC markers).

    • Constructor Detail

      • ProgressionSpec

        public ProgressionSpec​(int nt,
                               int nc,
                               byte type)
        Creates a new ProgressionSpec object for the specified number of tiles and components.
        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. The ProgressionSpec class should only be used only with the type ModuleSpec.SPEC_TYPE_TILE.
      • ProgressionSpec

        public ProgressionSpec​(int nt,
                               int nc,
                               int nl,
                               IntegerSpec dls,
                               byte type,
                               J2KImageWriteParamJava wp,
                               String values)
        Creates a new ProgressionSpec object for the specified number of tiles, components and the J2KImageWriteParamJava instance.
        Parameters:
        nt - The number of tiles
        nc - The number of components
        nl - The number of layer
        dls - The number of decomposition levels specifications
        type - the type of the specification module. The ProgressionSpec class should only be used only with the type ModuleSpec.SPEC_TYPE_TILE.
        wp - The J2KImageWriteParamJava instance