Class Progression

java.lang.Object
jj2000.j2k.entropy.Progression
All Implemented Interfaces:
ProgressionType

public class Progression extends Object implements ProgressionType
This class holds one of the different progression orders defined in the bit stream. The type(s) of progression order are defined in the ProgressionType interface. A Progression object is totally defined by its component start and end, resolution level start and end and layer start and end indexes. If no progression order change is defined, there is only Progression instance.
See Also:
  • Field Details

    • type

      public int type
      Progression type as defined in ProgressionType interface
    • cs

      public int cs
      Component index for the start of a progression
    • ce

      public int ce
      Component index for the end of a progression.
    • rs

      public int rs
      Resolution index for the start of a progression
    • re

      public int re
      Resolution index for the end of a progression.
    • lye

      public int lye
      The index of the last layer.
  • Constructor Details

    • Progression

      public Progression(int type, int cs, int ce, int rs, int re, int lye)
      Constructor. Builds a new Progression object with specified type and bounds of progression.
      Parameters:
      type - The progression type
      cs - The component index start
      ce - The component index end
      rs - The resolution level index start
      re - The resolution level index end
      lye - The layer index end
  • Method Details