| synopsis || functions |

siz_params

Java: Siz_params

Derives from kdu_params

[Declared in "../coresys/common/kdu_params.h"]


Synopsis

Manages the information associated with a JPEG2000 SIZ marker segment. There is only one of these per image — i.e., tile-specific and component-specific forms of this parameter class (cluster type) are both disallowed.

The cluster name is "SIZ", but you are recommended to use the macro SIZ_params, in functions which take a cluster name like kdu_params::access_cluster.

The following attributes are defined. For an explanation of pattern strings, consult the comments appearing with kdu_params::parse_string.

Although the JPEG2000 SIZ marker cannot represent negative coordinates, it is particularly convenient to allow this object to store and report negative coordinates. These should not trouble applications which interface with it, since all of the algebraic properties of the coorinate system still hold. Negative coordinates will be converted into appropriate non-negative coordinates only when a valid marker segment must be written out — to do this the write_marker_segment function must examine various cod_params attributes from every tile-component in the image to determine appropriate offsets to the negative coordinates which will not alter the interpretation of the canvas coordinate system.

For the above reason, you should avoid writing a SIZ marker segment (calling kdu_params::generate_marker_segments) until all code-stream parameters have been finalized for all tiles and tile-components.


Public Functions

siz_params {Java: Siz_params}


| top || synopsis || functions |