Package jj2000.j2k.entropy
Class Progression
java.lang.Object
jj2000.j2k.entropy.Progression
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionintComponent index for the end of a progression.intComponent index for the start of a progressionintThe index of the last layer.intResolution index for the end of a progression.intResolution index for the start of a progressionintProgression type as defined in ProgressionType interfaceFields inherited from interface jj2000.j2k.codestream.ProgressionType
COMP_POS_RES_LY_PROG, LY_RES_COMP_POS_PROG, POS_COMP_RES_LY_PROG, RES_LY_COMP_POS_PROG, RES_POS_COMP_LY_PROG -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
public int typeProgression type as defined in ProgressionType interface -
cs
public int csComponent index for the start of a progression -
ce
public int ceComponent index for the end of a progression. -
rs
public int rsResolution index for the start of a progression -
re
public int reResolution index for the end of a progression. -
lye
public int lyeThe 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 typecs- The component index startce- The component index endrs- The resolution level index startre- The resolution level index endlye- The layer index end
-
-
Method Details