jj2000.j2k.entropy
Class Progression

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

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
 
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
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, wait, wait, wait
 

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 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 Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object