jj2000.j2k.entropy
Class Progression
java.lang.Object
|
+--jj2000.j2k.entropy.Progression
- public class Progression
- extends java.lang.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 |
int |
ce
Component index for the end of a progression. |
int |
cs
Component index for the start of a progression |
int |
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 progression |
int |
type
Progression type as defined in ProgressionType interface |
Constructor Summary |
Progression(int type,
int cs,
int ce,
int rs,
int re,
int lye)
Constructor. |
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
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.
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
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object