Class QuantStepSizeSpec

  • All Implemented Interfaces:
    Cloneable

    public class QuantStepSizeSpec
    extends ModuleSpec
    This class extends ModuleSpec class in order to hold specifications about the quantization base normalized step size to use in each tile-component.
    See Also:
    ModuleSpec
    • Constructor Detail

      • QuantStepSizeSpec

        public QuantStepSizeSpec​(int nt,
                                 int nc,
                                 byte type)
        Constructs an empty 'QuantStepSizeSpec' with specified number of tile and components. This constructor is called by the decoder.
        Parameters:
        nt - Number of tiles
        nc - Number of components
        type - the type of the specification module i.e. tile specific, component specific or both.
      • QuantStepSizeSpec

        public QuantStepSizeSpec​(int nt,
                                 int nc,
                                 byte type,
                                 J2KImageWriteParamJava wp,
                                 String values)
        Constructs a new 'QuantStepSizeSpec' for the specified number of components and tiles and the arguments of "-Qstep" option.
        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.