In This Topic
This class writes almost of the markers and marker segments in main header and in tile-part headers. It is created by the run() method of the Encoder instance.
A marker segment includes a marker and eventually marker segment parameters. It is designed by the three letter code of the marker associated with the marker segment. JPEG 2000 part I defines 6 types of markers:
- Delimiting : SOC,SOT,SOD,EOC (written in FileCodestreamWriter).
- Fixed information: SIZ.
- Functional: COD,COC,RGN,QCD,QCC,POC.
- In bit-stream: SOP,EPH.
- Pointer: TLM,PLM,PLT,PPM,PPT.
- Informational: CRG,COM.
Main Header is written when Encoder instance calls encodeMainHeader whereas tile-part headers are written when the EBCOTRateAllocator instance calls encodeTilePartHeader.
Object Model
Syntax
'Declaration
Public Class HeaderEncoder
public class HeaderEncoder
Inheritance Hierarchy
System.Object
CSJ2K.j2k.codestream.writer.HeaderEncoder
See Also