[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.writer.HeaderEncoder.writeCOC

writeCOC Method

writeCOC(bool, int, int)

Writes COC marker segment . It is a functional marker containing the coding style for one component (coding style, decomposition, layering).

       <p>Its values overrides any value previously set in COD in the main
       header or in the tile header.</p>
Declaration
protected virtual void writeCOC(bool mh, int tileIdx, int compIdx)
Parameters
Type Name Description
bool mh

Flag indicating whether the main header is to be written.

int tileIdx

Tile index.

int compIdx

index of the component which need use of the COC marker segment.

See Also