Package jj2000.j2k.entropy
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:
ProgressionType
-
-
Field Summary
Fields Modifier and Type Field Description int
ce
Component index for the end of a progression.int
cs
Component index for the start of a progressionint
lye
The index of the last layer.int
re
Resolution index for the end of a progression.int
rs
Resolution index for the start of a progressionint
type
Progression type as defined in ProgressionType interface-
Fields 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 Constructor Description Progression(int type, int cs, int ce, int rs, int re, int lye)
Constructor.
-
-
-
Field Detail
-
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 Detail
-
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
-
-