background image
ISO/IEC 10918-1 : 1993(E)
4.8.2
Minimum coded unit
Related to the concepts of multiple-component interleave is the minimum coded unit (MCU). If the compressed image
data is non-interleaved, the MCU is defined to be one data unit. For example, in Figure 12 the MCU for the non-
interleaved case is a single data unit. If the compressed data is interleaved, the MCU contains one or more data units from
each component. For the interleaved case in Figure 12, the (first) MCU consists of the three interleaved data units A
1
, B
1
,
C
1
. In the example of Figure 13, the (first) MCU consists of the four data units A
1
, A
2
, B
1
, C
1
.
4.9
Structure of compressed data
Figures 1, 2, and 3 all illustrate slightly different views of compressed image data. Figure 1 shows this data as the output
of an encoding process, Figure 2 shows it as the input to a decoding process, and Figure 3 shows compressed image data
in the interchange format, at the interface between applications.
Compressed image data are described by a uniform structure and set of parameters for both classes of encoding processes
(lossy or lossless), and for all modes of operation (sequential, progressive, lossless, and hierarchical). The various parts of
the compressed image data are identified by special two-byte codes called markers. Some markers are followed by
particular sequences of parameters, as in the case of table specifications, frame header, or scan header. Others are used
without parameters for functions such as marking the start-of-image and end-of-image. When a marker is associated with a
particular sequence of parameters, the marker and its parameters comprise a marker segment.
The data created by the entropy encoder are also segmented, and one particular marker ­ the restart marker ­ is used to
isolate entropy-coded data segments. The encoder outputs the restart markers, intermixed with the entropy-coded data, at
regular restart intervals of the source image data. Restart markers can be identified without having to decode the
compressed data to find them. Because they can be independently decoded, they have application-specific uses, such as
parallel encoding or decoding, isolation of data corruptions, and semi-random access of entropy-coded segments.
There are three compressed data formats:
a)
the interchange format;
b)
the abbreviated format for compressed image data;
c)
the abbreviated format for table-specification data.
4.9.1
Interchange format
In addition to certain required marker segments and the entropy-coded segments, the interchange format shall include the
marker segments for all quantization and entropy-coding table specifications needed by the decoding process. This
guarantees that a compressed image can cross the boundary between application environments, regardless of how each
environment internally associates tables with compressed image data.
4.9.2
Abbreviated format for compressed image data
The abbreviated format for compressed image data is identical to the interchange format, except that it does not include all
tables required for decoding. (It may include some of them.) This format is intended for use within applications where
alternative mechanisms are available for supplying some or all of the table-specification data needed for decoding.
4.9.3
Abbreviated format for table-specification data
This format contains only table-specification data. It is a means by which the application may install in the decoder the
tables required to subsequently reconstruct one or more images.
4.10
Image, frame, and scan
Compressed image data consists of only one image. An image contains only one frame in the cases of sequential and
progressive coding processes; an image contains multiple frames for the hierarchical mode.
A frame contains one or more scans. For sequential processes, a scan contains a complete encoding of one or more image
components. In Figures 12 and 13, the frame consists of three scans when non-interleaved, and one scan if all three
components are interleaved together. The frame could also consist of two scans: one with a non-interleaved component,
the other with two components interleaved.
CCITT Rec. T.81 (1992 E)
21
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186]