Struct PyramidStatistics#

Nested Relationships#

Nested Types#

Struct Documentation#

struct PyramidStatistics#

Statistics about the pyramid-layers.

Public Members

std::map<int, std::vector<PyramidLayerStatistics>> scenePyramidStatistics#

A map with key “scene-index” and value “list of subblock-counts per pyramid-layer”. A key with value std::numeric_limits<int>::max() is used in case that the scene-index is not valid.

struct PyramidLayerInfo#

Information about the pyramid-layer. It consists of two parts: the minification factor and the layer number. The minification factor specifies by which factor two adjacent pyramid-layers are shrunk. Commonly used in CZI are 2 or 3. The layer number starts with 0 with the highest resolution layer. The lowest level (layer 0) is denoted by pyramidLayerNo == 0 AND minificationFactor==0. Another special case is pyramidLayerNo == 0xff AND minificationFactor==0xff which means that the pyramid-layer could not be determined (=the minification factor could not unambiguously be correlated to a pyramid-layer).

Public Functions

inline bool IsLayer0() const#

Query if this object represents layer 0 (=no minification).

Returns:

True if representing layer 0, false if not.

inline bool IsNotIdentifiedAsPyramidLayer() const#

Query if this object represents the set of subblocks which cannot be represented as pyramid-layers.

Returns:

True if the set of “not representable as pyramid-layer” is represented by this object, false if not.

Public Members

std::uint8_t minificationFactor#

Factor by which adjacent pyramid-layers are shrunk. Commonly used in CZI are 2 or 3.

std::uint8_t pyramidLayerNo#

The pyramid layer number.

struct PyramidLayerStatistics#

Information about a pyramid-layer.

Public Members

PyramidLayerInfo layerInfo#

This identifies the pyramid-layer.

int count#

The number of sub-blocks which are present in the pyramid-layer.