The present invention relates to coding schemes for coding a spatially sampled information signal using sub-division and coding schemes for coding a sub-division or a multitree structure, wherein representative embodiments relate to picture and/or video coding applications.
In image and video coding, the pictures or particular sets of sample arrays for the pictures are usually decomposed into blocks, which are associated with particular coding parameters. The pictures usually consist of multiple sample arrays. In addition, a picture may also be associated with additional auxiliary samples arrays, which may, for example, specify transparency information or depth maps. The sample arrays of a picture (including auxiliary sample arrays) can be grouped into one or more so-called plane groups, where each plane group consists of one or more sample arrays. The plane groups of a picture can be coded independently or, if the picture is associated with more than one plane group, with prediction from other plane groups of the same picture. Each plane group is usually decomposed into blocks. The blocks (or the corresponding blocks of sample arrays) are predicted by either inter-picture prediction or intra-picture prediction. The blocks can have different sizes and can be either quadratic or rectangular. The partitioning of a picture into blocks can be either fixed by the syntax, or it can be (at least partly) signaled inside the bitstream. Often syntax elements are transmitted that signal the subdivision for blocks of predefined sizes. Such syntax elements may specify whether and how a block is subdivided into smaller blocks and associated coding parameters, e.g. for the purpose of prediction. For all samples of a block (or the corresponding blocks of sample arrays) the decoding of the associated coding parameters is specified in a certain way. In the example, all samples in a block are predicted using the same set of prediction parameters, such as reference indices (identifying a reference picture in the set of already coded pictures), motion parameters (specifying a measure for the movement of a blocks between a reference picture and the current picture), parameters for specifying the interpolation filter, intra prediction modes, etc. The motion parameters can be represented by displacement vectors with a horizontal and vertical component or by higher order motion parameters such as affine motion parameters consisting of six components. It is also possible that more than one set of particular prediction parameters (such as reference indices and motion parameters) are associated with a single block. In that case, for each set of these particular prediction parameters, a single intermediate prediction signal for the block (or the corresponding blocks of sample arrays) is generated, and the final prediction signal is built by a combination including superimposing the intermediate prediction signals. The corresponding weighting parameters and potentially also a constant offset (which is added to the weighted sum) can either be fixed for a picture, or a reference picture, or a set of reference pictures, or they can be included in the set of prediction parameters for the corresponding block. The difference between the original blocks (or the corresponding blocks of sample arrays) and their prediction signals, also referred to as the residual signal, is usually transformed and quantized. Often, a two-dimensional transform is applied to the residual signal (or the corresponding sample arrays for the residual block). For transform coding, the blocks (or the corresponding blocks of sample arrays), for which a particular set of prediction parameters has been used, can be further split before applying the transform. The transform blocks can be equal to or smaller than the blocks that are used for prediction. It is also possible that a transform block includes more than one of the blocks that are used for prediction. Different transform blocks can have different sizes and the transform blocks can represent quadratic or rectangular blocks. After transform, the resulting transform coefficients are quantized and so-called transform coefficient levels are obtained. The transform coefficient levels as well as the prediction parameters and, if present, the subdivision information is entropy coded.
In image and video coding standards, the possibilities for sub-dividing a picture (or a plane group) into blocks that are provided by the syntax are very limited. Usually, it can only be specified whether and (potentially how) a block of a predefined size can be sub-divided into smaller blocks. As an example, the largest block size in H.264 is 16×16. The 16×16 blocks are also referred to as macroblocks and each picture is partitioned into macroblocks in a first step. For each 16×16 macroblock, it can be signaled whether it is coded as 16×16 block, or as two 16×8 blocks, or as two 8×16 blocks, or as four 8×8 blocks. If a 16×16 block is sub-divided into four 8×8 block, each of these 8×8 blocks can be either coded as one 8×8 block, or as two 8×4 blocks, or as two 4×8 blocks, or as four 4×4 blocks. The small set of possibilities for specifying the partitioning into blocks in state-of-the-art image and video coding standards has the advantage that the side information rate for signaling the sub-division information can be kept small, but it has the disadvantage that the bit rate necessitated for transmitting the prediction parameters for the blocks can become significant as explained in the following. The side information rate for signaling the prediction information does usually represent a significant amount of the overall bit rate for a block And the coding efficiency could be increased when this side information is reduced, which, for instance, could be achieved by using larger block sizes. Real images or pictures of a video sequence consist of arbitrarily shaped objects with specific properties. As an example, such objects or parts of the objects are characterized by a unique texture or a unique motion. And usually, the same set of prediction parameters can be applied for such an object or part of an object. But the object boundaries usually don't coincide with the possible block boundaries for large prediction blocks (e.g., 16×16 macroblocks in H.264). An encoder usually determines the sub-division (among the limited set of possibilities) that results in the minimum of a particular rate-distortion cost measure. For arbitrarily shaped objects this can result in a large number of small blocks. And since each of these small blocks is associated with a set of prediction parameters, which need to be transmitted, the side information rate can become a significant part of the overall bit rate. But since several of the small blocks still represent areas of the same object or part of an object, the prediction parameters for a number of the obtained blocks are the same or very similar.
That is, the sub-division or tiling of a picture into smaller portions or tiles or blocks substantially influences the coding efficiency and coding complexity. As outlined above, a sub-division of a picture into a higher number of smaller blocks enables a spatial finer setting of the coding parameters, whereby enabling a better adaptivity of these coding parameters to the picture/video material. On the other hand, setting the coding parameters at a finer granularity poses a higher burden onto the amount of side information in order to inform the decoder on the settings. Even further, it should be noted that any freedom for the encoder to (further) sub-divide the picture/video spatially into blocks tremendously increases the amount of possible coding parameter settings and thereby generally renders the search for the coding parameter setting leading to the best rate/distortion compromise even more difficult.
In accordance with a first aspect of the present application, a coding scheme for coding an array of information samples representing a spatially sampled information signal, such as, but not restricted to, pictures of a video or still pictures, may achieve a better compromise between encoding complexity and achievable rate distortion ratio, and/or to achieve a better rate distortion ratio.
According to an embodiment, a decoder may have an extractor configured to extract a maximum region size and multi-tree subdivision information from a data stream; a sub-divider configured to spatially divide an array of information samples representing a spatially sampled information signal into tree root regions of the maximum region size and subdividing, in accordance with a multi-tree subdivision information, at least a subset of the tree root regions into smaller simply connected regions of different sizes by recursively multi-partitioning the subset of tree root regions; and a reconstructor configured to reconstruct the army of samples from the data stream using the subdivision into the smaller simply connected regions.
According to another embodiment, a decoding method may have the steps of: extracting a maximum region size and multi-tree subdivision information from a data stream; spatially dividing an array of information samples representing a spatially sampled information signal into tree root regions of the maximum region size and subdividing, in accordance with a multi-tree subdivision information, at least a subset of the tree root regions into smaller simply connected regions of different sizes by recursively multi-partitioning the subset of tree root regions; and reconstructing the array of samples from the data stream using the subdivision into the smaller simply connected regions.
According to another embodiment, an encoder may have: a sub-divider configured to spatially divide an array of information samples representing a spatially sampled information signal into tree root regions of a maximum region size and subdividing, in accordance with a multi-tree subdivision information, at least a subset of the tree root regions into smaller simply connected regions of different sizes by recursively multi-partitioning the subset of tree root regions; and a data stream generator configured to encode the array of samples using the subdivision into the smaller simply connected regions, into a data stream with inserting the maximum region size and multi-tree subdivision information into the data stream.
According to another embodiment, a method for encoding may have the steps of: spatially dividing an array of information samples representing a spatially sampled information signal into tree root regions of a maximum region size and subdividing, in accordance with a multi-tree subdivision information, at least a subset of the tree root regions into smaller simply connected regions of different sizes by recursively multi-partitioning the subset of tree root regions; and encoding the array of samples using the subdivision into the smaller simply connected regions, into a data stream with inserting the maximum region size and multi-tree subdivision information into the data stream.
An embodiment may have a computer readable digital storage medium having stored thereon a computer program having a program code for performing, when running on a computer, the decoding method or the method for encoding mentioned above.
Another embodiment may have a data stream into which an array of information samples representing a spatially sampled information signal is encoded, the data stream having a maximum region size and a multi-tree subdivision information according to which at least a subset of the tree root regions of the maximum region size into which the array of information samples representing the spatially sampled information signal is divided, are to be sub-divided into smaller simply connected regions of different sizes by recursively multi-partitioning the subset of tree root regions.
In accordance with the first aspect, the present application is based on the finding that spatially dividing an array of information samples representing a spatially sampled information signal into tree root regions first with then sub-dividing, in accordance with multi-tree-sub-division information extracted from a data-stream, at least a subset of the tree root regions into smaller simply connected regions of different sizes by recursively multi-partitioning the subset of the tree root regions enables finding a good compromise between a too fine sub-division and a too coarse sub-division in rate-distortion sense, at reasonable encoding complexity, when the maximum region size of the tree root regions into which the array of information samples is spatially divided, is included within the data stream and extracted from the data stream at the decoding side.
Therefore, according to the first aspect of the present invention, a decoder comprises an extractor configured to extract a maximum region size and multi-tree-sub-division information from a data stream, a sub-divider configured to spatially divide an array of information samples representing a spatially sampled information signal into tree root regions of the maximum region size and sub-dividing, in accordance with the multi-tree-sub-division information, at least a subset of the tree root regions into smaller simply connected regions of different sizes by recursively multi-partitioning the subset of tree root regions; and a reconstructor configured to reconstruct the array of information samples from the data stream using the sub-division into the smaller simply connected regions.
In accordance with an embodiment of the present invention, the data stream also contains the maximum hierarchy level up to which the subset of tree root regions are subject to the recursive multi-partitioning. By this measure, the signaling of the multi-tree-sub-division information is made easier and needs less bits for coding.
Furthermore, the reconstructor may be configured to perform one or more of the following measures at a granularity which depends on the multi-tree sub-division: decision which prediction mode among, at least, intra and inter prediction mode to use; transformation from spectral to spatial domain, performing and/or setting parameters for, an inter-prediction; performing and/or setting the parameters for an intra prediction.
Furthermore, the extractor may be configured to extract syntax elements associated with the leaf regions of the partitioned treeblocks in a depth-first traversal order from the data stream. By this measure, the extractor is able to exploit the statistics of syntax elements of already coded neighboring leaf regions with a higher likelihood than using a breadth-first traversal order.
In accordance with another embodiment, a further sub-divider is used in order to sub-divide, in accordance with a further multi-tree sub-division information, at least a subset of the smaller simply connected regions into even smaller simply connected regions. The first-stage sub-division may be used by the reconstructor for performing the prediction of the area of information samples, while the second-stage sub-division may be used by the reconstructor to perform the retransformation from spectral to spatial domain. Defining the residual sub-division to be subordinate relative to the prediction sub-division renders the coding of the overall sub-division less bit consuming and on the other hand, the restriction and freedom for the residual sub-division resulting from the subordination has merely minor negative effects on coding efficiency since mostly, portions of pictures having similar motion compensation parameters are larger than portions having similar spectral properties.
In accordance with even a further embodiment, a further maximum region size is contained in the data stream, the further maximum region size defining the size of tree root sub-regions into which the smaller simply connected regions are firstly divided before sub-dividing at least a subset of the tree root sub-regions in accordance with the further multi-tree sub-division information into even smaller simply connected regions. This, in turn, enables an independent setting of the maximum region sizes of the prediction sub-division on the one hand and the residual sub-division on the other hand and, thus, enables finding a better rate/distortion compromise.
In accordance with an even further embodiment of the present invention, the data stream comprises a first subset of syntax elements disjoined from a second subset of syntax elements forming the multi-tree sub-division information, wherein a merger at the decoding side is able to combine, depending on the first subset of syntax elements, spatially neighboring smaller simply connected regions of the multi-tree sub-division to obtain an intermediate sub-division of the array of samples. The reconstructor may be configured to reconstruct the array of samples using the intermediate sub-division. By this measure, it is easier for the encoder to adapt the effective sub-division to the spatial distribution of properties of the array of information samples with finding an optimum rate/distortion compromise. For example, if the maximum region size is high, the multi-tree sub-division information is likely to get more complex due to the tree root regions getting larger. On the other hand, however, if the maximum region size is small, it becomes more likely that neighboring treeroot regions pertain to information content with similar properties so that these treeroot regions could also have been processed together. The merging fills this gap between the afore-mentioned extremes, thereby enabling a nearly optimum sub-division of granularity. From the perspective of the encoder, the merging syntax elements allow for a more relaxed or computationally less complex encoding procedure since if the encoder erroneously uses a too fine sub-division, this error may be compensated by the encoder afterwards, by subsequently setting the merging syntax elements with or without adapting only a small part of the syntax elements having been set before setting the merging syntax elements.
In accordance with an even further embodiment, the maximum region size and the multi-tree-sub-division information is used for the residual sub-division rather than the prediction sub-division.
In accordance with a further aspect of the present invention, a coding scheme may achieve a better rate/distortion compromise.
According to an embodiment, a decoder may have: a sub-divider configured to spatially sub-divide, using a quadtree subdivision, an array of information samples representing a spatially sampled information signal into blocks of different sizes by recursively quadtree-partitioning; and a reconstructor configured to reconstruct the array of information samples of the data stream using the spatial subdivision into the blocks with treating the blocks in a depth-first traversal order.
According to another embodiment, a method for decoding may have the steps of: spatially sub-dividing, using a quadtree subdivision, an array of information samples representing a spatially sampled information signal into blocks of different sizes by recursively quadtree-partitioning; and reconstructing the array of information samples of the data stream using the spatial subdivision into the blocks with treating the blocks in a depth-first traversal order.
According to another embodiment, an encoder may have: a sub-divider configured to spatially sub-divide, using a quadtree subdivision, an array of information samples representing a spatially sampled information signal into blocks of different sizes by recursively quadtree-partitioning; and a data stream generator configured to encode the array of information samples of the data stream using the spatial subdivision into the blocks into a data stream, with treating the blocks in a depth-first traversal order.
According to another embodiment, a method for encoding may have the steps of: spatially sub-dividing, using a quadtree subdivision, an array of information samples representing a spatially sampled information signal into blocks of different sizes by recursively quadtree-partitioning; and encoding the array of information samples of the data stream using the spatial subdivision into the blocks into a data stream, with treating the blocks in a depth-first traversal order.
Another embodiment may have a computer readable digital storage medium having stored thereon a computer program having a program code for performing, when running on a computer, the method for decoding or the method for encoding mentioned before.
Another embodiment may have a data stream having encoded therein an array of information samples representing a spatially sampled information signal, the array of information samples being spatially sub-divided, using a quadtree subdivision, into blocks of different sizes by recursively quadtree-partitioning, the array of information samples being encoded into the data stream using the spatial subdivision into the blocks into a data stream, with treating the blocks in a depth-first traversal order.
The idea underlying this aspect is that a depth-first traversal order for treating the simply connected regions of a quadtree sub-division of an array of information samples representing a spatially sampled information signal is advantageous over a breadth-first traversal order due to the fact that, when using the depth-first traversal order, each simply connected region has a higher probability to have neighboring simply connected regions which have already been traversed so that information regarding these neighboring simply connected regions may be positively exploited when reconstructing the respective current simply connected region.
When the array of information samples is firstly divided into a regular arrangement of tree root regions of zero-order hierarchy size with then sub-dividing at least a subset of the tree root regions into smaller simply connected regions of different sizes, the reconstructor may use a zigzag scan in order to scan the tree root regions with, for each tree root region to be partitioned, treating the simply connected leaf regions in depth-first traversal order before stepping further to the next tree root region in the zigzag scan order. Moreover, in accordance with the depth-first traversal order, simply connected leaf regions of the same hierarchy level may be traversed in a zigzag scan order also. Thus, the increased likelihood of having neighboring simply connected leaf regions is maintained.
In accordance with a further aspect of the present invention, a coding scheme for coding a signaling of a multi-tree structure prescribing a spatial multi-tree sub-division of a tree root region according to which the tree root region is recursively multi-partitioned into smaller simply connected regions may achieve that the amount of data for coding the signaling is reduced.
An embodiment may have a decoder for decoding a coded signaling of a multi-tree structure prescribing a spatial multi-tree subdivision of a tree root block according to which the tree root block is recursively multi-partitioned into leaf blocks, the coded signaling having a sequence of flags associated with nodes of the multi-tree structure in a depth-first order: and each flag specifying whether an area of the tree root block corresponding to the node with which the respective flag is associated, is multi-partitioned, the decoder being configured to sequentially entropy-decode the flags using probability estimation contexts which are the same for flags associated with nodes of the multi-tree structure lying within the same hierarchy level of the multi-tree structure, but different for nodes of the multi-tree structure lying within different hierarchy levels of the multi-tree structure.
Another embodiment may have a method for decoding a coded signaling of a multi-tree structure prescribing a spatial multi-tree subdivision of a tree root block according to which the tree root block is recursively multi-partitioned into leaf blocks, the coded signaling having a sequence of flags associated with nodes of the multi-tree structure in a depth-first order, and each flag specifying whether an area of the tree root block corresponding to the node with which the respective flag is associated, is multi-partitioned, the method having sequentially entropy-decoding the flags using probability estimation contexts which are the same for flags associated with nodes of the multi-tree structure lying within the same hierarchy level of the multi-tree structure, but different for nodes of the multi-tree structure lying within different hierarchy levels of the multi-tree structure.
Another embodiment may have an encoder for generating a coded signaling of a multi-tree structure prescribing a spatial multi-tree subdivision of a tree root block according to which the tree root block is recursively multi-partitioned into leaf blocks, the coded signaling having a sequence of flags associated with nodes of the multi-tree structure in a depth-first order, and each flag specifying whether an area of the tree root block corresponding to the node with which the respective flag is associated, is multi-partitioned, the encoder being configured to sequentially entropy-encode the flags using probability estimation contexts which are the same for flags associated with nodes of the multi-tree structure lying within the same hierarchy level of the multi-tree structure, but different for nodes of the multi-tree structure lying within different hierarchy levels of the multi-tree structure.
Another embodiment may have a method for generating a coded signaling of a multi-tree structure prescribing a spatial multi-tree subdivision of a tree root block according to which the tree root block is recursively multi-partitioned into leaf blocks, the coded signaling having a sequence of flags associated with nodes of the multi-tree structure in a depth-first order, and each flag specifying whether an area of the tree root block corresponding to the node with which the respective flag is associated, is multi-partitioned, the method having sequentially entropy-encoding the flags using probability estimation contexts which are the same for flags associated with nodes of the multi-tree structure lying within the same hierarchy level of the multi-tree structure, but different for nodes of the multi-tree structure lying within different hierarchy levels of the multi-tree structure.
Another embodiment may have a computer readable digital storage medium having stored thereon a computer program having a program code for performing, when running on a computer, the method for decoding or the method for generating mentioned before.
Another embodiment may have a data stream having coded therein a coded signaling of a multi-tree structure prescribing a spatial multi-tree subdivision of a tree root block according to which the tree root block is recursively multi-partitioned into leaf blocks, the coded signaling having a sequence of flags associated with nodes of the multi-tree structure in a depth-first order, and each flag specifying whether an area of the tree root block corresponding to the node with which the respective flag is associated, is multi-partitioned, wherein the flags are sequentially entropy-encoded into the data stream using probability estimation contexts which are the same for flags associated with nodes of the multi-tree structure lying within the same hierarchy level of the multi-tree structure, but different for nodes of the multi-tree structure lying within different hierarchy levels of the multi-tree structure.
The underlying idea for this aspect is that, although it is favorable to sequentially arrange the flags associated with the nodes of the multi-tree structure in a depth-first traversal order, the sequential coding of the flags should use probability estimation contexts which are the same for flags associated with nodes of the multi-tree structure lying within the same hierarchy level of the multi-tree structure, but different from nodes of the multi-tree structure lying within different hierarchy levels of the multi-tree structure, thereby allowing for a good compromise between the number of contexts to be provided and the adaptation to the actual symbol statistics of the flags on the other hand.
In accordance with an embodiment, the probability estimation contexts for a predetermined flag used also depends on flags preceding the predetermined flag in accordance with the depth-first traversal order and corresponding to areas of the tree root region having a predetermined relative location relationship to the area to which the predetermined flag corresponds. Similar to the idea underlying the proceeding aspect, the use of the depth-first traversal order guarantees a high probability that flags already having been coded also comprise flags corresponding to areas neighboring the area corresponding to the predetermined flag so that this knowledge may be used to better adapt the context to be used for the predetermined flag.
The flags which may be used for setting the context for a predetermined flag, may be those corresponding to areas lying to the top of and/or to the left of the area to which the predetermined flag corresponds. Moreover, the flags used for selecting the context may be restricted to flags belonging to the same hierarchy level as the node with which the predetermined flag is associated.
Accordingly, in accordance with a further aspect, a coded scheme for coding a signaling of a multi-tree structure may enable a more effective coding.
An embodiment may have a decoder for decoding a coded signaling of a multi-tree structure, the coded signaling having an indication of a highest hierarchy level and a sequence of flags associated with nodes of the multi-tree structure unequal to the highest hierarchy level, each flag specifying whether the associated node is an intermediate node or child node, the decoder being configured to decode the indication of the highest hierarchy level from a data stream, and then sequentially decoding, in a depth-first or breadth-first traversal order, the sequence of flags from the data stream with skipping nodes of the highest hierarchy level and automatically appointing same leaf nodes.
According to another embodiment, a method for decoding a coded signaling of a multi-tree structure, the coded signaling having an indication of a highest hierarchy level and a sequence of flags associated with nodes of the multi-tree structure unequal to the highest hierarchy level, each flag specifying whether the associated node is an intermediate node or child node, may have the steps of: decoding the indication of the highest hierarchy level from a data stream; and then sequentially decoding, in a depth-first or breadth-first traversal order, the sequence of flags from the data stream with skipping nodes of the highest hierarchy level and automatically appointing same leaf nodes.
Another embodiment may have an encoder for generating a coded signaling of a multi-tree structure, the coded signaling having an indication of a highest hierarchy level and a sequence of flags associated with nodes of the multi-tree structure unequal to the highest hierarchy level, each flag specifying whether the associated node is an intermediate node or child node, the encoder being configured to encode the indication of the highest hierarchy level from a data stream, and then sequentially encode, in a depth-first or breadth-first traversal order, the sequence of flags from the data stream with skipping nodes of the highest hierarchy level and automatically appointing same leaf nodes.
According to another embodiment, a method for generating a coded signaling of a multi-tree structure, the coded signaling having an indication of a highest hierarchy level and a sequence of flags associated with nodes of the multi-tree structure unequal to the highest hierarchy level, each flag specifying whether the associated node is an intermediate node or child node, may have the steps of: encoding the indication of the highest hierarchy level from a data stream: and then sequentially encoding, in a depth-first or breadth-first traversal order, the sequence of flags from the data stream with skipping nodes of the highest hierarchy level and automatically appointing same leaf nodes.
Another embodiment may have a computer readable digital storage medium having stored thereon a computer program having a program code for performing, when running on a computer, the method for decoding or the method for generating mentioned before.
According to this aspect, the coded signaling comprises an indication of a highest hierarchy level and a sequence of flags associated with nodes of the multi-tree structure unequal to the highest hierarchy level, each flag specifying whether the associated node is an intermediate node or child node, and a sequentially decoding, in a depth-first or breadth-first traversal order, of the sequence of flags from the data stream takes place, with skipping nodes of the highest hierarchy level and automatically appointing same leaf nodes, thereby reducing the coding rate.
In accordance with a further embodiment, the coded signaling of the multi-tree structure may comprise the indication of the highest hierarchy level. By this measure, it is possible to restrict the existence of flags to hierarchy levels other than the highest hierarchy level as a further partitioning of blocks of the highest hierarchy level is excluded anyway.
In case of the spatial multi-tree-sub-division being part of a secondary sub-division of leaf nodes and un-partitioned tree root regions of a primary multi-tree-sub-division, the context used for coding the flags of the secondary sub-division may be selected such that the contexts are the same for the flags associated with areas of the same size.
In accordance with further embodiments, a favorable merging or grouping of simply connected regions into which the array of information samples is sub-divided, is coded with a reduced amount of data. To this end, for the simply connected regions, a predetermined relative locational relationship is defined enabling an identifying, for a predetermined simply connected region, of simply connected regions within the plurality of simply connected regions which have the predetermined relative locational relationship to the predetermined simply connected region. Namely, if the number is zero, a merge indicator for the predetermined simply connected region may be absent within the data stream. Further, if the number of simply connected regions having the predetermined relative location relationship to the predetermined simply connected region is one, the coding parameters of the simply connected region may be adopted or may be used for a prediction for the coding parameters for the predetermined simply connected region without the need for any further syntax element. Otherwise, i.e., if the number of simply connected regions having the predetermined relative location relationship to the predetermined simply connected regions is greater than one, the introduction of a further syntax element may be suppressed even if the coding parameters associated with these identified simply connected regions are identical to each other.
In accordance with an embodiment, if the coding parameters of the neighboring simply connected regions are unequal to each other, a reference neighbor identifier may identify a proper subset of the number of simply connected regions having the predetermined relative location relationship to the predetermined simply connected region and this proper subset is used when adopting the coding parameters or predicting the coding parameters of the predetermined simply connected region.
In accordance with even further embodiments, a spatial sub-division of an area of samples representing a spatial sampling of the two-dimensional information signal into a plurality of simply connected regions of different sizes by recursively multi-partitioning is performed depending on a first subset of syntax elements contained in the data stream, followed by a combination of spatially neighboring simply connected regions depending on a second subset of syntax elements within the data stream being disjoined from the first subset, to obtain an intermediate sub-division of the array of samples into disjoint sets of simply connected regions, the union of which is the plurality of simply connected regions. The intermediate sub-division is used when reconstructing the array of samples from the data stream. This enables rendering the optimization with respect to the sub-division less critical due to the fact that a too fine sub-division may be compensated by the merging afterwards. Further, the combination of the sub-division and the merging enables achieving intermediate sub-divisions which would not be possible by way of recursive multi-partitioning only so that the concatenation of the sub-division and the merging by use of disjoined sets of syntax elements enables a better adaptation of the effective or intermediate sub-division to the actual content of the two-dimensional information signal. Compared to the advantages, the additional overhead resulting from the additional subset of syntax elements for indicating the merging details, is negligible.
Embodiments of the present invention are described in the following with respect to the following Figs., among which
In the following description of the Figs., elements occurring in several of these Figs. are indicated by common reference numbers and a repeated explanation of these elements is avoided. Rather, explanations with respect to an element presented within one Fig. shall also apply to other Figs. in which the respective element occurs as long as the explanation presented with these other Figs. indicate deviations therefrom.
Further, the following description starts with embodiments of an encoder and decoder which are explained with respect to
The encoder 10 of
As will be outlined in more detail below, the divider 20 uses a multi-tree sub-division in order to sub-divide the picture 24 into the blocks 26 of different sizes. To be even more precise, the specific embodiments outlined below with respect to
As illustrated by dashed lines in
The residual pre-coder 14, in turn, may use a residual sub-division of the pictures 24 in order to encode the residual of the prediction of the pictures 24 provided by predictor 12. As the residual reconstructor 16 reconstructs the residual from the syntax elements output by residual pre-coder 14, residual reconstructor 16 also operates on the just-mentioned residual sub-division. The data stream inserter 18 may exploit the divisions just-mentioned, i.e., the prediction and residual sub-divisions, in order to determine insertion orders and neighborships among the syntax elements for the insertion of the syntax elements output by residual pre-coder 14 and predictor 12 into the data stream 22 by means of, for example, entropy encoding.
As shown in
Having described the structure of encoder 10, the mode of operation is described in more detail in the following.
As described above, divider 20 decides for each picture 24 how to sub-divide same into sub-regions 26. In accordance with a sub-division of the picture 24 to be used for prediction, predictor 12 decides for each sub-region corresponding to this sub-division, how to predict the respective sub-region. Predictor 12 outputs the prediction of the sub-region to the inverting input of subtractor 34 and to the further input of adder 36 and outputs prediction information reflecting the way how predictor 12 obtained this prediction from previously encoded portions of the video, to data stream inserter 18.
At the output of subtractor 34, the prediction residual is thus obtained wherein residual pre-coder 14 processes this prediction residual in accordance with a residual sub-division also prescribed by divider 20 As described in further detail below with respect to
Residual precoder 14 subjects each residual sub-region to a transformation from spatial to spectral domain by a two-dimensional transform followed by, or inherently involving, a quantization of the resulting transform coefficients of the resulting transform blocks whereby distortion results from the quantization noise. The data stream inserter 18 may, for example, losslessly encode syntax elements describing the afore-mentioned transform coefficients into the data stream 22 by use of, for example, entropy encoding.
The residual reconstructor 16, in turn, reconverts, by use of a re-quantization followed by a re-transformation, the transform coefficients into a residual signal wherein the residual signal is combined within adder 36 with the prediction used by subtractor 34 for obtaining the prediction residual, thereby obtaining a reconstructed portion or subregion of a current picture at the output of adder 36. Predictor 12 may use the reconstructed picture subregion for intra prediction directly, that is for predicting a certain prediction sub-region by extrapolation from previously reconstructed prediction sub-regions in the neighborhood. However, an intra prediction performed within the spectral domain by predicting the spectrum of the current subregion from that of a neighboring one, directly would theoretically also be possible.
For inter prediction, predictor 12 may use previously encoded and reconstructed pictures in a version according to which same have been filtered by an optional in-loop filter 38. In-loop filter 38 may, for example, comprise a de-blocking filter and/or an adaptive tilter having a transfer function adapted to advantageously form the quantization noise mentioned before.
Predictor 12 chooses the prediction parameters revealing the way of predicting a certain prediction sub-region by use of a comparison with the original samples within picture 24. The prediction parameters may, as outlined in more detail below, comprise for each prediction sub-region an indication of the prediction mode, such as intra picture prediction and inter picture prediction. In case of intra picture prediction, the prediction parameters may also comprise an indication of an angle along which edges within the prediction sub-region to be intra predicted mainly extend, and in case of inter picture prediction, motion vectors, motion picture indices and, eventually, higher order motion transformation parameters and, in case of both intra and/or inter picture prediction, optional filter information for filtering the reconstructed image samples based on which the current prediction sub-region is predicted.
As will be outlined in more detail below, the aforementioned sub-divisions defined by a divider 20 substantially influence the rate/distortion ratio maximally achievable by residual precoder 14, predictor 12 and data stream inserter 18. In case of a too fine sub-division, the prediction parameters 40 output by predictor 12 to be inserted into data stream 22 necessitate a too large coding rate although the prediction obtained by predictor 12 might be better and the residual signal to be coded by residual precoder 14 might be smaller so that same might be coded by less bits. In case, of a too coarse sub-division, the opposite applies. Further, the just-mentioned thought also applies for the residual sub-division in a similar manner: a transformation of a picture using a finer granularity of the individual transformation blocks leads to a lower complexity for computing the transformations and an increased spatial resolution of the resulting transformation. That is, smaller residual sub-regions enable the spectral distribution of the content within individual residual sub-regions to be more consistent. However, the spectral resolution is reduced and the ratio between significant and insignificant, i.e. quantized to zero, coefficients gets worse. That is, the granularity of the transform should be adapted to the picture content locally. Additionally, independent from the positive effect of a finder granularity, a finer granularity regularly increases the amount of side information in order to indicate the subdivision chosen to the decoder. As will be outlined in more detail below, the embodiments described below provide the encoder 10 with the ability to adapt the sub-divisions very effectively to the content of the information signal to be encoded and to signal the sub-divisions to be used to the decoding side by instructing the data stream inserter 18 to insert the sub-division information into the coded data stream 22 Details are presented below.
However, before defining the sub-division of divider 20 in more detail, a decoder in accordance with an embodiment of the present application is described in more detail with respect to
The decoder of
Generally speaking, the residual reconstructor 106, the adder 108 and predictor 110 act like elements 16, 36 and 12 in
Several deviations may be performed on the above embodiments. Some are mentioned within the following detailed description with respect to the sub-division performed by sub-divider 28 and the merging performed by merger 30 and others are described with respect to the subsequent
In providing further details regarding the division of the pictures into sub-regions, the following description firstly focuses on the sub-division part which sub-divider 28 and 104a assume responsibility for. Then the merging process which merger 30 and merger 104b assume responsibility for, is described. Lastly, inter plane adaptation/prediction is described.
The way, sub-divider 28 and 104a divide the pictures is such that a picture is dividable into a number of blocks of possibly different sizes for the purpose of predictive and residual coding of the image or video data. As mentioned before, a picture 24 may be available as one or more arrays of image sample values. In case of YUV/YCbCr color space, for example, the first array may represent the luma channel while the other two arrays represent chroma channels. These arrays may have differing dimensions. All arrays may be grouped into one or more plane groups with each plane group consisting of one or more consecutive planes such that each plane is contained in one and only one plane group. For each plane group the following applies. The first array of a particular plane group may be called the primary array of this plane group. The possibly following arrays are subordinate arrays. The block division of the primary array may be done based on a quadtree approach as described below. The block division of the subordinate arrays may be derived based on the division of primary array.
In accordance with the embodiments described below, sub-dividers 28 and 104a are configured to divide the primary array into a number of square blocks of equal size, so-called treeblocks in the following. The edge length of the treeblocks is typically a power of two such as 16, 32 or 64 when quadtrees are used. For sake of completeness, however, it is noted that the use of other tree types would be possible as well such as binary trees or trees with any number of leaves. Moreover, the number of children of the tree may be varied depending on the level of the tree and depending on what signal the tree is representing.
Beside this, as mentioned above, the array of samples may also represent other information than video sequences such as depth maps or lightfields, respectively. For simplicity, the following description focuses on quadtrees as a representative example for multi-trees. Quadtrees are trees that have exactly four children at each internal node. Each of the treeblocks constitutes a primary quadtree together with subordinate quadtrees at each of the leaves of the primary quadtree. The primary quadtree determines the sub-division of a given treeblock for prediction while a subordinate quadtree determines the sub-division of a given prediction block for the purpose of residual coding.
The root node of the primary quadtree corresponds to the full treeblock. For example,
Along the quadtree structure for treeblock 150, each node can be further divided into four child nodes, which in the case of the primary quadtree means that each treeblock 150 can be split into four sub-blocks with half the width and half the height of the treeblock 150. In
Each leaf of the primary quadtree corresponds to a variable-sized block for which individual prediction parameters can be specified (i.e., intra or inter, prediction mode, motion parameters, etc.). In the following, these blocks are called prediction blocks. In particular, these leaf blocks are the blocks shown in
The prediction blocks shown in
Just as described for the case of the sub-division of a given treeblock into prediction blocks, each prediction block can be divided into a number of residual blocks by usage of subordinate quadtree decomposition(s). Each leaf of a subordinate quadtree corresponds to a residual block for which individual residual coding parameters can be specified (i.e., transform mode, transform coefficients, etc.) by residual precoder 14 which residual coding parameters control, in turn, residual reconstructors 16 and 106, respectively.
In other words, sub-divider 28 may be configured to determine for each picture or for each group of pictures a prediction sub-division and a subordinate residual sub-division by firstly dividing the picture into a regular arrangement of treeblocks 150, recursively partitioning a subset of these treeblocks by quadtree sub-division in order to obtain the prediction sub-division into prediction blocks—which may be treeblocks if no partitioning took place at the respective treeblock, or the leaf blocks of the quadtree sub-division—with then further sub-dividing a subset of these prediction blocks in a similar way, by, if a prediction block is greater than the maximum size of the subordinate residual sub-division, firstly dividing the respective prediction block into a regular arrangement of sub-treeblocks with then sub-dividing a subset of these sub-treeblocks in accordance with the quadtree sub-division procedure in order to obtain the residual blocks—which may be prediction blocks if no division into sub-treeblocks took place at the respective prediction block, sub-treeblocks if no division into even smaller regions took place at the respective sub-treeblock, or the leaf blocks of the residual quadtree sub-division.
As briefly outlined above, the sub-divisions chosen for a primary array may be mapped onto subordinate arrays. This is easy when considering subordinate arrays of the same dimension as the primary array. However, special measures have to be taken when the dimensions of the subordinate arrays differ from the dimension of the primary array. Generally speaking, the mapping of the primary array sub-division onto the subordinate arrays in case of different dimensions could be done by spatially mapping, i.e., by spatially mapping the block boarders of the primary array sub-division onto the subordinate arrays. In particular, for each subordinate array, there may be a scaling factor in horizontal and vertical direction that determines the ratio of the dimension of the primary array to the subordinate array. The division of the subordinate array into sub-blocks for prediction and residual coding may be determined by the primary quadtree and the subordinate quadtree(s) of each of the collocated treeblocks of the primary array, respectively, with the resulting treeblocks of the subordinate array being scaled by the relative scaling factor. In case the scaling factors in horizontal and vertical directions differ (e.g., as in 4:2:2 chroma sub-sampling), the resulting prediction and residual blocks of the subordinate array would not be squares anymore. In this case, it is possible to either predetermine or select adaptively (either for the whole sequence, one picture out of the sequence or for each single prediction or residual block) whether the non-square residual block shall be split into square blocks. In the first case, for example, encoder and decoder could agree onto a sub-division into square blocks each time a mapped block is not squared. In the second case, the sub-divider 28 could signal the selection via data stream inserter 18 and data stream 22 to sub-divider 104a. For example, in case of 4:2:2 chroma sub-sampling, where the subordinate arrays have half the width but the same height as the primary array, the residual blocks would be twice as high as wide. By vertically splitting this block, one would obtain two square blocks again.
As mentioned above, the sub-divider 28 or divider 20, respectively, signals the quadtree-based division via data stream 22 to sub-divider 104a. To this end, sub-divider 28 informs data stream inserter 18 about the sub-divisions chosen for pictures 24. The data stream inserter, in turn, transmits the structure of the primary and secondary quadtree, and, therefore, the division of the picture array into variable-size blocks for prediction or residual coding within the data stream or bit stream 22, respectively, to the decoding side.
The minimum and maximum admissible block sizes are transmitted as side information and may change from picture to picture. Or the minimum and maximum admissible block sizes can be fixed in encoder and decoder. These minimum and maximum block size can be different for prediction and residual blocks. For the signaling of the quadtree structure, the quadtree has to be traversed and for each node it has to be specified whether this particular node is a leaf node of the quadtree (i.e., the corresponding block is not sub-divided any further) or if it branches into its four child nodes (i.e., the corresponding block is divided into four sub-blocks with half the size).
The signaling within one picture is done treeblock by treeblock in a raster scan order such as from left to right and top to down as illustrated in
In an embodiment, not only the sub-division information, i.e., the structure of the tree, but also the prediction data etc., i.e. the payload associated with the leaf nodes of the tree, are transmitted/processed in depth-first order. This is done because depth-first traversal has big advantages over breadth-first order. In
Consequently, the signaling for each treeblock is done recursively along the quadtree structure of the primary quadtree such that for each node, a flag is transmitted, specifying whether the corresponding block is split into four sub-blocks. If this flag has the value “1” (for “true”), then this signaling process is repeated recursively for all four child nodes, i.e., sub-blocks in raster scan order (top left, top right, bottom left, bottom right) until the leaf node of the primary quadtree is reached. Note that a leaf node is characterized by having a sub-division flag with a value of “0”. For the case that a node resides on the lowest hierarchy level of the primary quadtree and thus corresponds to the smallest admissible prediction block size, no sub-division flag has to be transmitted. For the example in
The different background shadings in this binary string representation of
Note, that for the case of a breadth-first traversal, the sub-division information would be transmitted in a different order, shown in
Similar to the sub-division of each treeblock for the purpose of prediction, the division of each resulting prediction block into residual blocks has to be transmitted in the bitstream. Also, there may be a maximum and minimum block size for residual coding which is transmitted as side information and which may change from picture to picture. Or the maximum and minimum block size for residual coding can be fixed in encoder and decoder. At each leaf node of the primary quadtree, as those shown in
For entropy coding, residual block sub-division flags belonging to residual blocks of the same block size may be encoded using one and the same probability model.
Thus, in accordance with the example presented above with respect to
The extractor 102 extracts the respective bit sequences from the data stream at input 116 and informs divider 104 about the sub-division information thus obtained. Besides this, data stream inserter 18 and extractor 102 may use the afore-mentioned order among the prediction blocks and residual blocks to transmit further syntax elements such as residual data output by residual precoder 14 and prediction parameters output by predictor 12. Using this order has advantages in that adequate contexts for encoding the individual syntax elements for a certain block may be chosen by exploiting already coded/decoded syntax elements of neighboring blocks. Moreover, similarly, residual pre-coder 14 and predictor 12 as well as residual reconstructor 106 and pre-coder 110 may process the individual prediction and residual blocks in the order outlined above.
Next, in a step 302, extractor 102 decodes a flag or bit from the data stream. The first time step 302 is performed, the extractor 102 knows that the respective flag is the first flag of the bit sequence belonging to the first tree root block ISO in tree root block scan order 140. As this flag is a flag of hierarchy level 0, extractor 102 may use a context modeling associated with that hierarchy level 0 in step 302 in order to determine a context. Each context may have a respective probability estimation for entropy decoding the flag associated therewith. The probability estimation of the contexts may context-individually be adapted to the respective context symbol statistic. For example, in order to determine an appropriate context for decoding the flag of hierarchy level 0 in step 302, extractor 102 may select one context of a set of contexts, which is associated with that hierarchy level 0 depending on the hierarchy level 0 flag of neighboring treeblocks, or even further, depending on information contained within the bit strings defining the quadtree sub-division of neighboring treeblocks of the currently-processed treeblock, such as the top and left neighbor treeblock.
In the next step, namely step 304, extractor 102 checks as to whether the recently-decoded flag suggests a partitioning. If this is the case, extractor 102 partitions the current block—presently a treeblock—or indicates this partitioning to sub-divider 104a in step 306 and checks, in step 308, as to whether the current hierarchy level was equal to the maximum hierarchy level minus one. For example, extractor 102 could, for example, also have the maximum hierarchy level extracted from the data stream in step 300. If the current hierarchy level is unequal to the maximum hierarchy level minus one, extractor 102 increases the current hierarchy level by 1 in step 310 and steps back to step 302 to decode the next flag from the data stream. This time, the flags to be decoded in step 302 belongs to another hierarchy level and, therefore, in accordance with an embodiment, extractor 102 may select one of a different set of contexts, the set belonging to the current hierarchy level. The selection may be based also on sub-division bit sequences according to
If a flag is decoded, and the check in step 304 reveals that this flag does not suggest a partitioning of the current block, the extractor 102 proceeds with step 312 to check as to whether the current hierarchy level is 0. If this is the case, extractor 102 proceeds processing with respect to the next tree root block in the scan order 140 in step 314 or stops processing extracting the sub-division information if there is no tree root block to be processed left.
It should be noted that the description of
If, in step 312 the hierarchy level turns out to be unequal to 0, the operation proceeds in step 316 with a check as to whether further child nodes pertaining the current node exist. That is, when extractor 102 performs the check in step 316, it has already been checked in step 312 that the current hierarchy level is a hierarchy level other than 0 hierarchy level. This, in turn, means that a parent node exists, which belongs to a tree root block 150 or one of the smaller blocks 152a-d, or even smaller blocks 152a-d, and so on. The node of the tree structure, which the recently-decoded flag belongs to, has a parent node, which is common to three further nodes of the current tree structure. The scan order among such child nodes having a common parent node has been illustrated exemplarily in
By performing the steps shown in
In particular,
For the example in
For a currently-visited prediction block, the process of
In the next step, namely step 402, a check is performed as to whether the prediction block size of the currently-visited block is greater than the internal parameter denoting the current size. If this is the case, the currently-visited prediction block, which may be a leaf block of the prediction sub-division or a treeblock of the prediction sub-division, which has not be partitioned any further, is greater than the maximum residual block size and in this case, the process of
If, however, the currently-visited prediction block has a size equal to or smaller than the internal parameter indicting the current size, the process of
If, however, the prediction block size of the currently-visited prediction block is smaller than the internal parameter indicating the current size, the process of
As already noted above, there may be more than one array of samples and these arrays of samples may be grouped into one or more plane groups. The input signal to be encoded, entering input 32, for example, may be one picture of a video sequence or a still image. The picture may, thus, be given in the form of one or more sample arrays. In the context of the coding of a picture of a video sequence or a still image, the sample arrays might refer to the three color planes, such as red, green and blue or to luma and chroma planes, such in color representations of YUV or YCbCr. Additionally, sample arrays representing alpha, i.e. transparency, and/or depth information for 3-D video material might be present as well. A number of these sample arrays may be grouped together as a so-called plane group. For example, luma (Y) might be one plane group with only one sample array and chroma, such as CbCr, might be another plane group with two sample arrays or, in another example, YUV might be one plane group with three matrices and a depth information for 3-D video material might be a different plane group with only one sample array. For every plane group, one primary quadtree structure may be coded within the data stream 22 for representing the division into prediction blocks and for each prediction block, a secondary quadtree structure representing the division into residual blocks. Thus, in accordance with a first example just mentioned where the luma component is one plane group, whereas the chroma component forms the other plane group, there would be one quadtree structure for the prediction blocks of the luma plane, one quadtree structure for the residual blocks of the luma plane, one quadtree structure for the prediction block of the chroma plane and one quadtree structure for the residual blocks of the chroma plane. In the second example mentioned before, however, there would be one quadtree structure for the prediction blocks of luma and chroma together (YUV), one quadtree structure for the residual blocks of luma and chroma together (YUV) one quadtree structure for the prediction blocks of the depth information for 3-D video material and one quadtree structure for the residual blocks of the depth information for 3-D video material.
Further, in the foregoing description, the input signal was divided into prediction blocks using a primary quadtree structure and it was described how these prediction blocks were further sub-divided into residual blocks using a subordinate quadtree structure. In accordance with an alternative embodiment, the sub-division might not end at the subordinate quadtree stage. That is, the blocks obtained from a division using the subordinate quadtree structure might be further sub-divided using a tertiary quadtree structure. This division, in turn, might be used for the purpose of using further coding tools that might facilitate encoding the residual signal.
The foregoing description concentrated on the sub-division performed by sub-divider 28 and sub-divider 104a, respectively. As mentioned above, the sub-division defined by sub-divider 28 and 104a, respectively, may control the processing granularity of the afore-mentioned modules of encoder 10 and decoder 100 However, in accordance with the embodiments described in the following, the sub-dividers 228 and 104a, respectively, are followed by a merger 30 and merger 104b, respectively. It should be noted, however, that the mergers 30 and 104b are optional and may be left away.
In effect, however, and as will be outlined in more detail below, the merger provides the encoder with the opportunity of combining some of the prediction blocks or residual blocks to groups or clusters, so that the other, or at least some of the other modules may treat these groups of blocks together. For example, the predictor 12 may sacrifice the small deviations between the prediction parameters of some prediction blocks as determined by optimization using the subdivision of subdivider 28 and use prediction parameters common to all these prediction blocks instead if the signaling of the grouping of the prediction blocks along with a common parameter transmission for all the blocks belonging to this group is more promising in rate/distortion ratio sense than individually signaling the prediction parameters for all these prediction blocks. The processing for retrieving the prediction in predictors 12 and 110, itself, based on these common prediction parameters, may, however, still take place prediction-block wise. However, it is also possible that predictors 12 and 110 even perform the prediction process once for the whole group of prediction blocks.
As will be outlined in more detail below, it is also possible that the grouping of prediction blocks is not only for using the same or common prediction parameters for a group of prediction blocks, but, alternatively, or additionally, enables the encoder 10 to send one prediction parameter for this group along with prediction residuals for prediction blocks belonging to this group, so that the signaling overhead for signaling the prediction parameters for this group may be reduced. In the latter case, the merging process may merely influence the data stream inserter 18 rather than the decisions made by residual pre-coder 14 and predictor 12. However, more details are presented below. For completeness, however, it should be noted that the just-mentioned aspect also applies to the other sub-divisions, such as the residual sub-division or the filter sub-division mentioned above.
Firstly, the merging of sets of samples, such as the aforementioned prediction and residual blocks, is motivated in a more general sense, i.e. not restricted to the above-mentioned multi-tree sub-division. Subsequently, however, the description focuses on the merging of blocks resulting from multi-tree sub-division for which embodiments have just been described above.
Generally speaking, merging the syntax elements associated with particular sets of samples for the purpose of transmitting associated coding parameters enables reducing the side information rate in image and video coding applications. For example, the sample arrays of the signal to be encoded are usually partitioned into particular sets of samples or sample sets, which may represent rectangular or quadratic blocks, or any other collection of samples, including arbitrarily-shaped regions, triangles or other shapes. In the afore-described embodiments, the simply-connected regions were the prediction blocks and the residual blocks resulting from the multi-tree sub-division. The sub-division of sample arrays may be fixed by the syntax or, as described above, the sub-division may be, at least partially, signaled inside the bit stream. To keep the side information rate for signaling the sub-division information small, the syntax usually allows only a limited number of choices resulting in simple partitioning, such as the sub-division of blocks to smaller blocks. The sample sets are associated with particular coding parameters, which may specify prediction information or residual coding modes, etc. Details regarding this issue have been described above. For each sample set, individual coding parameters, such as for specifying the prediction and/or residual coding may be transmitted. In order to achieve an improved coding efficiency, the aspect of merging described hereinafter, namely the merging of two or more sample sets into so-called groups of sample sets, enables some advantages, which are described further below. For example, sample sets may be merged such that all sample sets of such a group share the same coding parameters, which can be transmitted together with one of the sample sets in the group. By doing so, the coding parameters do not have to be transmitted for each sample set of the group of sample sets individually, but, instead, the coding parameters are transmitted only once for the whole group of sample sets. As a result, the side information rate for transmitting the coding parameters may be reduced and the overall coding efficiency may be improved. As an alternative approach, an additional refinement for one or more of the coding parameters can be transmitted for one or more of the sample sets of a group of sample sets. The refinement can either be applied to all sample sets of a group or only to the sample set for which it is transmitted.
The merging aspect further described below also provides the encoder with a greater freedom in creating the bit stream 22, since the merging approach significantly increases the number of possibilities for selecting a partitioning for the sample arrays of a picture. Since the encoder can choose between more options, such as, for minimizing a particular rate/distortion measure, the coding efficiency can be improved. There are several possibilities of operating an encoder. In a simple approach, the encoder could firstly determine the best sub-division of the sample arrays. Briefly referring to
It should be noted that the merging approach described hereinafter does not change the processing order of the sample sets That is, the merging concept can be implemented in a way so that the delay is not increased, i.e. each sample set remains decodable at the same time instant as without using the merging approach.
If, for example, the bit rate that is saved by reducing the number of coded prediction parameters is larger than the bit rate that is to be additionally spent for coding merging information for indicating the merging to the decoding side, the merging approach further to be described below results in an increased coding efficiency. It should further be mentioned that the described syntax extension for the merging provides the encoder with the additional freedom in selecting the partitioning of a picture or plane group into blocks. In other words, the encoder is not restricted to do the sub-division first and then to check whether some of the resulting blocks have the same set or a similar set of prediction parameters. As one simple alternative, the encoder could first determine the sub-division in accordance with a rate-distortion cost measure and then the encoder could check, for each block, whether a merging with one of its neighbor blocks or the associated already-determined group of blocks reduces a rate-distortion cost measure. At this, the prediction parameters associated with the new group of blocks can be re-estimated, such as by performing a new motion search or the prediction parameters that have already been determined for the current block and the neighboring block or groups of blocks could be evaluated for the new group of blocks. The merging information can be signaled on a block basis. Effectively, the merging could also be interpreted as inference of the prediction parameters for a current block, wherein the inferred prediction parameters are set equal to the prediction parameters of one of the neighboring blocks. Alternatively, residuals may be transmitted for blocks within a group of blocks.
Thus, the basic idea underlying the merging concept further described below is to reduce the bit rate that is necessitated for transmitting the prediction parameters or other coding parameters by merging neighboring blocks into a group of blocks, where each group of blocks is associated with a unique set of coding parameters, such as prediction parameters or residual coding parameters. The merging information is signaled inside the bit stream in addition to the sub-division information, if present. The advantage of the merging concept is an increased coding efficiency resulting from a decreased side information rate for the coding parameters. It should be noted that the merging processes described here could also extend to other dimensions than the spatial dimensions. For example, a group of sets of samples or blocks, respectively, lying within several different video pictures, could be merged into one group of blocks. Merging could also be applied to 4-D compression and light-field coding.
Thus, briefly returning to the previous description of
In any case, merging provides the above-mentioned briefly discussed advantages, such as reducing the side information rate bit in image and video coding applications. Particular sets of samples, which may represent the rectangular or quadratic blocks or arbitrarily-shaped regions or any other collection of samples, such as any simply-connected region or samples are usually connected with a particular set of coding parameters and for each of the sample sets, the coding parameters are included in the bit stream, the coding parameters representing, for example, prediction parameters, which specify how the corresponding set of samples is predicted using already-coded samples. The partitioning of the sample arrays of a picture into sample sets may be fixed by the syntax or may be signaled by the corresponding sub-division information inside the bit stream. The coding parameters for the sample set may be transmitted in a predefined order, which is given by the syntax. According to the merging functionality, merger 30 is able to signal, for a common set of samples or a current block, such as a prediction block or a residual block that it is merged with one or more other sample sets, into a group of sample sets. The coding parameters for a group of sample sets, therefore, needs to be transmitted only once. In a particular embodiment, the coding parameters of a current sample set are not transmitted if the current sample set is merged with a sample set or an already-existing group of sample sets for which the coding parameters have already been transmitted. Instead, the coding parameters for the current set of samples are set equal to the coding parameters of the sample set or group of sample sets with which the current set of samples is merged. As an alternative approach, an additional refinement for one or more of the coding parameters can be transmitted for a current sample set. The refinement can either be applied to all sample sets of a group or only to the sample set for which it is transmitted.
In accordance with an embodiment, for each set of samples such as a prediction block as mentioned above, a residual block as mentioned above, or a leaf block of a multitree subdivision as mentioned above, the set of all previously coded/decoded sample sets is called the “set of causal sample sets”. See, for example,
The sets of samples that can be used for the merging with a current set of samples is called the “set of candidate sample sets” in the following and is a subset of the “set of causal sample sets” The way how the subset is formed can either be known to the decoder or it can be specified inside the data stream or bit stream from the encoder to the decoder. If a particular current set of samples is coded/decoded and its set of candidate sample sets is not empty, it is signaled within the data stream at the encoder or derived from the data stream at the decoder whether the common set of samples is merged with one sample set out of this set of candidate sample sets and, if so, with which of them. Otherwise, the merging cannot be used for this block, since the set of candidate sample sets is empty anyway.
There are different ways how to determine the subset of the set of causal sample sets, which shall represent the set of candidate sample sets. For example, the determination of candidate sample sets may be based on a sample inside the current set of samples, which is uniquely geometrically-defined, such as the upper-left image sample of a rectangular or quadratic block. Starting from this uniquely geometrically-defined sample, a particular non-zero number of samples is determined, which represent direct spatial neighbors of this uniquely geometrically-defined sample. For example, this particular, non-zero number of samples comprises the top neighbor and the left neighbor of the uniquely geometrically-defined sample of the current set of samples, so that the non-zero number of neighboring samples may be, at the maximum, two, one if one of the top or left neighbors is not available or lies outside the picture, or zero in case of both neighbors missing.
The set of candidate sample sets could then be determined to encompass those sample sets that contain at least one of the non-zero number of the just-mentioned neighboring samples. See, for example,
In accordance with another embodiment, the set of candidate sample sets determined for the sake of merging may additionally or exclusively include sets of samples that contain a particular non-zero number of samples, which may be one or two that have the same spatial location, but are contained in a different picture, namely, for example, a previously coded/decoded picture. For example, in addition to blocks A and B in
It should be noted that the derivation of the candidate sample sets is performed in parallel by both merger 30 at the encoder side and merger 104b at the decoder side. As just mentioned, both may determine the set of candidate sample sets independent from each other based on a predefined way known to both or the encoder may signal hints within the bit stream, which bring merger 104b into a position to perform the derivation of these candidate sample sets in a way equal to the way merger 30 at the encoder side determined the set of candidate sample sets.
As will be described in more detail below, merger 30 and data stream inserter 18 cooperate in order to transmit one or more syntax elements for each set of samples, which specify whether the set of samples is merged with another sample set, which, in turn, may be part of an already-merged group of sample sets and which of the set of candidate sample sets is employed for merging. The extractor 102, in turn, extracts these syntax elements and informs merger 104b accordingly. In particular, in accordance with the specific embodiment described later on, one or two syntax elements are transmitted for specifying the merging information for a specific set of samples. The first syntax element specifies whether the current set of samples is merged with another sample set. The second syntax element, which is only transmitted if the first syntax element specifies that the current set of samples is merged with another set of samples, specifies which of the sets of candidate sample sets is employed for merging. The transmission of the first syntax element may be suppressed if a derived set of candidate sample sets is empty. In other words, the first syntax element may only be transmitted if a derived set of candidate sample sets is not empty. The second syntax element may only be transmitted if a derived set of candidate sample sets contains more than one sample set, since if only one sample set is contained in the set of candidate sample sets, a further selection is not possible anyway. Even further, the transmission of the second syntax element may be suppressed if the set of candidate sample sets comprises more than one sample set, but if all of the sample sets of the set of candidate sample sets are associated with the same coding parameter. In other words, the second syntax element may only be transmitted if at least two sample sets of a derived set of candidate sample sets are associated with different coding parameters.
Within the bit stream, the merging information for a set of samples may be coded before the prediction parameters or other particular coding parameters that are associated with that sample set. The prediction or coding parameters may only be transmitted if the merging information signals that the current set of samples is not to be merged with any other set of samples.
The merging information for a certain set of samples, i.e. a block, for example, may be coded after a proper subset of the prediction parameters or, in a more general sense, coding parameters that are associated with the respective sample set, has been transmitted. The subset of prediction/coding parameters may consist of one or more reference picture indices or one or more components of a motion parameter vector or a reference index and one or more components of a motion parameter vector, etc. The already-transmitted subset of prediction or coding parameters can be used for deriving a set of candidate sample sets out of a greater provisional set of candidate sample sets, which may have been derived as just described above. As an example, a difference measure or distance according to a predetermined distance measure, between the already-coded prediction and coding parameters of the current set of samples and the corresponding prediction or coding parameters of the preliminary set of candidate sample sets can be calculated. Then, only those sample sets for which the calculated difference measure, or distance, is smaller than or equal to a predefined or derived threshold, are included in the final, i.e. reduced set of candidate sample sets. See, for example,
The afore-mentioned threshold against which the afore-mentioned distances are compared may be fixed and known to both encoder and decoder or may be derived based on the calculated distances such as the median of the difference values, or some other central tendency or the like in this case, the reduced set of candidate sample sets would unavoidably be a proper subset of the preliminary set of candidate sample sets. Alternatively, only those sets of samples are selected out of the preliminary set of candidate sample sets for which the distance according to the distance measure is minimized. Alternatively, exactly one set of samples is selected out of the preliminary set of candidate sample sets using the afore-mentioned distance measure. In the latter case, the merging information would only need to specify whether the current set of samples is to be merged with a single candidate set of samples or not.
Thus, the set of candidate blocks could be formed or derived as described in the following with respect to
Alternatively, the set of candidate blocks, additionally, or exclusively, may include blocks that contain one or more samples that are located at the same position as any of the samples of the current block, but are contained in a different, i.e. already coded/decoded picture.
Even alternatively, the candidate set of blocks represents a subset of the above-described sets of blocks, which were determined by the neighborhood in spatial or time direction. The subset of candidate blocks may be fixed, signaled or derived. The derivation of the subset of candidate blocks may consider decisions made for other blocks in the picture or in other pictures. As an example, blocks that are associated with the same or very similar coding parameters than other candidate blocks might not be included in the candidate set of blocks.
The following description of an embodiment applies for the case where only two blocks that contain the left and top neighbor sample of the top-left sample of the current block are considered as potential candidate at the maximum.
If the set of candidate blocks is not empty, one flag called merge_flag is signaled, specifying whether the current block is merged with any of the candidate blocks. If the merge_flag is equal to 0 (for “false”), this block is not merged with one of its candidate blocks and all coding parameters are transmitted ordinarily. If the merge_flag is equal to 1 (for “true”), the following applies. If the set of candidate blocks contains one and only one block, this candidate block is used for merging. Otherwise, the set of candidate blocks contains exactly two blocks. If the prediction parameters of these two blocks are identical, these prediction parameters are used for the current block. Otherwise (the two blocks have different prediction parameters), a flag called merge_left_flag is signaled. If merge_left_flag is equal to 1 (for “true”), the block containing the left neighboring sample position of the top-left sample position of the current block is selected out of the set of candidate blocks. If merge_left_flag is equal to 0 (for “false”), the other (i.e., top neighboring) block out of the set of candidate blocks is selected. The prediction parameters of the selected block are used for the current block.
In summarizing some of the above-described embodiments with respect to merging, reference is made to
The process starts at 450 with identifying the candidate blocks or sample sets for a current sample set or block. It should be recalled that the coding parameters for the blocks are transmitted within the data stream 22 in a certain one-dimensional order and accordingly,
As mentioned before, the identification and step 450 may comprise the identification among previously decoded blocks, i.e. the causal set of blocks, based on neighborhood aspects. For example, those neighboring blocks may be appointed candidate, which include certain neighboring samples neighboring one or more geometrically predetermined samples of the current block X in space or time. Further, the step of identifying may comprise two stages, namely a first stage involving an identification as just-mentioned, namely based on the neighborhood, leading to a preliminary set of candidate blocks, and a second stage according to which merely those blocks are appointed candidates the already transmitted coding parameters of which fulfill a certain relationship to the a proper subset of the coding parameters of the current block X, which has already been decoded from the data stream before step 450.
Next, the process steps to step 452 where it is determined as to whether the number of candidate blocks is greater than zero. If this is the case, a merge_flag is extracted from the data stream in step 454. The step of extracting 454 may involve entropy decoding. The context for entropy decoding the merge_flag in step 454 may be determined based on syntax elements belonging to, for example, the set of candidate blocks or the preliminary set of candidate blocks, wherein the dependency on the syntax elements may be restricted to the information whether the blocks belonging to the set of interest has been subject to merging or not. The probability estimation of the selected context may be adapted.
If, however, the number of candidate blocks is determined to be zero instead 452, the process
Returning to step 454, the process proceeds after extraction in step 454, with step 458 with a check as to whether the extracted merge_flag suggests the occurrence or absence of a merging of the current block. If no merging shall take place, the process proceeds with afore-mentioned step 456. Otherwise, the process proceeds with step 460, including a check as to whether the number of candidate blocks is equal to one. If this is the case, the transmission of an indication of a certain candidate block among the candidate blocks was not necessary and therefore, the process of
If, however, the number of candidate blocks is determined to be greater than one in step 460, the process of
It should be noted that the merge partner itself may have been a block for which merging was signaled. In this case, the adopted or predictively obtained coding parameters of that merging partner are used in step 464.
Otherwise, however, i.e. in case the coding parameters are not identical, the process of
Of course, there exist many alternatives. For example, a combined syntax element may be transmitted within the data stream instead of the separate syntax elements merge. flag and merge_left_flag described before, the combined syntax elements signaling the merging process. Further, the afore-mentioned merge_left_flag may be transmitted within the data stream irrespective of whether the two candidate blocks have the same prediction parameters or not, thereby reducing the computational overhead for performing process of
As was already denoted with respect to, for example,
The syntax for signaling which of the blocks of the candidate blocks to be used, may be set simultaneously and/or parallel at the encoder and decoder side. For example, if there are three choices for candidate blocks identified in step 450, the syntax is chosen such that only these three choices are available and are considered for entropy coding, for example, in step 470. In other words, the syntax element is chosen such that its symbol alphabet has merely as many elements as choices of candidate blocks exist. The probabilities for all other choices may be considered to be zero and the entropy-coding/decoding may be adjusted simultaneously at encoder and decoder.
Further, as has already been noted with respect to step 464, the prediction parameters that are inferred as a consequence of the merging process may represent the complete set of prediction parameters that are associated with the current block or they may represent a subset of these prediction parameters such as the prediction parameters for one hypothesis of a block for which multi-hypothesis prediction is used.
As noted above, the syntax elements related to the merging information could be entropy-coded using context modeling. The syntax elements may consist of the merge_flag and the merge_left_flag described above (or similar syntax elements). In a concrete example, one out of three context models or contexts could be used for coding/decoding the merge_flag in step 454, for example. The used context model index merge_flag_ctx may be derived as follows if the set of candidate blocks contains two elements, the value of merge_flag_ctx is equal to the sum of the values of the merge_flag of the two candidate blocks. If the set of candidate blocks contains one element, however, the value of merge_flag_ctx may be equal to two times the value of merge_flag of this one candidate block. As each merge_flag of the neighboring candidate blocks may either be one or zero, three contexts are available for merge_flag. The merge_left_flag may be coded using merely a single probability model.
However, according to an alternative embodiment, different context models might be used. For example, non-binary syntax elements may be mapped onto a sequence of binary symbols, so-called bins. The context models for some syntax elements or bins of syntax elements defining the merging information may be derived based on already transmitted syntax elements of neighboring blocks or the number of candidate blocks or other measures while other syntax elements or bins of the syntax elements may be coded with a fixed context model.
Regarding the above description of the merging of blocks, it is noted that the set of candidate blocks may also be derived the same way as for any of the embodiments described above with the following amendment: candidate blocks are restricted to blocks using motion-compensated prediction or interprediction, respectively. Only those can be elements of the set of candidate blocks. The signaling and context modeling of the merging information could be done as described above.
Returning to the combination of the multitree subdivision embodiments described above and the merging aspect described now, if the picture is divided into square blocks of variable size by use of a quadtree-based subdivision structure, for example, the merge_flag and merge_left_flag or other syntax elements specifying the merging could be interleaved with the prediction parameters that are transmitted for each leaf node of the quadtree structure. Consider again, for example,
In
Before proceeding with the description with regard to the aspect how to handle different sample arrays of a picture in accordance with embodiments of the present application, it is noted that the above discussion regarding the multitree subdivision and the signaling on the one hand and the merging aspect on the other hand made clear that these aspects provide advantages which may be exploited independent from each other. That is, as has already been explained above, a combination of a multitree subdivision with merging has specific advantages but advantages result also from alternatives where, for example, the merging feature is embodied with, however, the subdivision performed by subdividers 30 and 104a not being based on a quadtree or multitree subdivision, but rather corresponding to a macroblock subdivision with regular partitioning of these macroblocks into smaller partitions. On the other hand, in turn, the combination of the multitree subdivisioning along with the transmission of the maximum treeblock size indication within the bitstream, and the use of the multitree subdivision along with the use of the depth-first traversal order transporting the corresponding coding parameters of the blocks is advantageous independent from the merging feature being used concurrently or not. Generally, the advantages of merging can be understood, when considering that, intuitively, coding efficiency may be increased when the syntax of sample array codings is extended in a way that it does not only allow to subdivide a block, but also to merge two or more of the blocks that are obtained after subdivision. As a result, one obtains a group of blocks that are coded with the same prediction parameters. The prediction parameters for such a group of blocks need to be coded only once. Further, with respect to the merging of sets of samples, it should again been noted that the considered sets of samples may be rectangular or quadratic blocks, in which case the merged sets of samples represent a collection of rectangular and/or quadratic blocks. Alternatively, however, the considered sets of samples are arbitrarily shaped picture regions and the merged sets of samples represent a collection of arbitrarily shaped picture regions.
The following description focuses on the handling of different sample arrays of a picture in case there are more than one sample arrays per picture, and some aspects outlined in the following sub-description are advantageous independent from the kind of subdivision used, i.e. independent from the subdivision being based on multitree subdivision or not, and independent from merging being used or not. Before starting with describing specific embodiments regarding the handling of different sample arrays of a picture, the main issue of these embodiments is motivated by way of a short introduction into the field of the handling of different sample arrays per picture.
The following discussion focuses on coding parameters between blocks of different sample arrays of a picture in an image or video coding application, and, in particular, a way of adaptively predicting coding parameters between different sample arrays of a picture in, for example, but not exclusively the encoder and decoder of
Image and video coders are typically designed for coding color pictures (either still images or pictures of a video sequence). A color picture consists of multiple color planes, which represent sample arrays for different color components. Often, color pictures are coded as a set of sample arrays consisting of a luma plane and two chroma planes, where the latter ones specify color difference components. In some application areas, it is also common that the set of coded sample arrays consists of three color planes representing sample arrays for the three primary colors red, green, and blue. In addition, for an improved color representation, a color picture may consist of more than three color planes. Furthermore, a picture can be associated with auxiliary sample arrays that specify additional information for the picture. For instance, such auxiliary sample arrays can be sample arrays that specify the transparency (suitable for specific display purposes) for the associated color sample arrays or sample arrays that specify a depth map (suitable for rendering multiple views, e.g., for 3-D displays).
In the conventional image and video coding standards (such as H.264), the color planes are usually coded together, whereby particular coding parameters such as macroblock and sub-macroblock prediction modes, reference indices, and motion vectors are used for all color components of a block. The luma plane can be considered as the primary color plane for which the particular coding parameters are specified in the bitstream, and the chroma planes can be considered as secondary planes, for which the corresponding coding parameters are inferred from the primary luma plane. Each luma block is associated with two chroma blocks representing the same area in a picture. Depending on the used chroma sampling format, the chroma sample arrays can be smaller than the luma sample array for a block. For each macroblock consisting of a luma and two chroma components, the same partitioning into smaller blocks is used (if the macroblock is subdivided). For each block consisting of a block of luma samples and two blocks of chroma samples (which may be the macroblock itself or a subblock of the macroblock), the same set of prediction parameters such as reference indices, motion parameters, and sometimes intra prediction modes are employed. In specific profiles of conventional video coding standards (such as the 4:4:4 profiles in H.264), it is also possible to code the different color planes of a picture independently. In that configuration, the macroblock partitioning, the prediction modes, reference indices, and motion parameters can be separately chosen for a color component of a macroblock or subblock. Conventional coding standards either all color planes are coded together using the same set of particular coding parameters (such as subdivision information and prediction parameters) or all color planes are coded completely independently of each other.
If the color planes are coded together, one set of subdivision and prediction parameters may be used for all color components of a block. This ensures that the side information is kept small, but it can result in a reduction of the coding efficiency compared to an independent coding, since the usage of different block decompositions and prediction parameters for different color components can result in a smaller rate-distortion cost. As an example, the usage of a different motion vector or reference frame for the chroma components can significantly reduce the energy of the residual signal for the chroma components and increase their overall coding efficiency. If the color planes are coded independently, the coding parameters such as the block partitioning, the reference indices, and the motion parameters can be selected for each color component separately in order to optimize the coding efficiency for each color component. But it is not possible, to employ the redundancy between the color components. The multiple transmissions of particular coding parameters does result in an increased side information rate (compared to the combined coding) and this increased side information rate can have a negative impact on the overall coding efficiency. Also, the support for auxiliary sample arrays in the state-of-the-art video coding standards (such as H.264) is restricted to the case that the auxiliary sample arrays are coded using their own set of coding parameters.
Thus, in all embodiments described so far, the picture planes could be handled as described above, but as also discussed above, the overall coding efficiency for the coding of multiple sample arrays (which may be related to different color planes and/or auxiliary sample arrays) can be increased, when it would be possible to decide on a block basis, for example, whether all sample arrays for a block are coded with the same coding parameters or whether different coding parameters are used. The basic idea of the following inter-plane prediction is to allow such an adaptive decision on a block basis, for example. The encoder can choose, for example based on a rate-distortion criterion, whether all or some of the sample arrays for a particular block are coded using the same coding parameters or whether different coding parameters are used for different sample arrays. This selection can also be achieved by signaling for a particular block of a sample array whether specific coding parameters are inferred from an already coded co-located block of a different sample array. It is also possible to arrange different sample arrays for a picture in groups, which are also referred to as sample array groups or plane groups. Each plane group can contain one or more sample arrays of a picture. Then, the blocks of the sample arrays inside a plane group share the same selected coding parameters such as subdivision information, prediction modes, and residual coding modes, whereas other coding parameters such as transform coefficient levels are separately transmitted for each sample arrays inside the plane group. One plane group is coded as primary plane group, i.e., none of the coding parameters is inferred or predicted from other plane groups. For each block of a secondary plane group, it can be adaptively chosen whether a new set of selected coding parameters is transmitted or whether the selected coding parameters are inferred or predicted from the primary or another secondary plane group. The decisions of whether selected coding parameters for a particular block are inferred or predicted are included in the bitstream. The inter-plane prediction allows a greater freedom in selecting the trade-off between the side information rate and prediction quality relative to the state-of-the-art coding of pictures consisting of multiple sample arrays. The advantage is an improved coding efficiency relative to the conventional coding of pictures consisting of multiple sample arrays.
Intra-plane adoption/prediction may extend an image or video coder, such as those of the above embodiments, in a way that it can be adaptively chosen for a block of a color sample array or an auxiliary sample array or a set of color sample arrays and/or auxiliary sample arrays whether a selected set of coding parameters is inferred or predicted from already coded co-located blocks of other sample arrays in the same picture or whether the selected set of coding parameters for the block is independently coded without referring to co-located blocks of other sample arrays in the same picture. The decisions of whether the selected set of coding parameters is inferred or predicted for a block of a sample array or a block of multiple sample arrays may be included in the bitstream. The different sample arrays that are associated with a picture don't need to have the same size.
As described above, the sample arrays that are associated with a picture (the sample arrays can represent color components and/or auxiliary sample arrays) may be arranged into two or more so-called plane groups, where each plane group consists of one or more sample arrays. The sample arrays that are contained in a particular plane group don't need to have the same size. Note that this arrangement into plane group includes the case that each sample array is coded separately.
To be more precise, in accordance with an embodiment, it is adaptively chosen, for each block of a plane group, whether the coding parameters specifying how a block is predicted are inferred or predicted from an already coded co-located block of a different plane group for the same picture or whether these coding parameters are separately coded for the block. The coding parameters that specify how a block is predicted include one or more of the following coding parameters: block prediction modes specifying what prediction is used for the block (intra prediction, inter prediction using a single motion vector and reference picture, inter prediction using two motion vectors and reference pictures, inter prediction using a higher-order, i.e., non-translational motion model and a single reference picture, inter prediction using multiple motion models and reference pictures), intra prediction modes specifying how an intra prediction signal is generated, an identifier specifying how many prediction signals are combined for generating the final prediction signal for the block, reference indices specifying which reference picture(s) is/are employed for motion-compensated prediction, motion parameters (such as displacement vectors or affine motion parameters) specifying how the prediction signal(s) is/are generated using the reference picture(s), an identifier specifying how the reference picture(s) is/are filtered for generating motion-compensated prediction signals. Note that in general, a block can be associated with only a subset of the mentioned coding parameters. For instance, if the block prediction mode specifies that a block is intra predicted, the coding parameters for a block can additionally include intra prediction modes, but coding parameters such as reference indices and motion parameters that specify how an inter prediction signal is generated are not specified; or if the block prediction mode specifies inter prediction, the associated coding parameters can additionally include reference indices and motion parameters, but intra prediction modes are not specified.
One of the two or more plane groups may be coded or indicated within the bitstream as the primary plane group. For all blocks of this primary plane group, the coding parameters specifying how the prediction signal is generated are transmitted without referring to other plane groups of the same picture. The remaining plane groups are coded as secondary plane groups. For each block of the secondary plane groups, one or more syntax elements are transmitted that signal whether the coding parameters for specifying how the block is predicted are inferred or predicted from a co-located block of other plane groups or whether a new set of these coding parameters is transmitted for the block. One of the one or more syntax elements may be referred to as inter-plane prediction flag or inter-plane prediction parameter. If the syntax elements signal that the corresponding coding parameters are not inferred or predicted, a new set of the corresponding coding parameters for the block are transmitted in the bitstream. If the syntax elements signal that the corresponding coding parameters are inferred or predicted, the co-located block in a so-called reference plane group is determined. The assignment of the reference plane group for the block can be configured in multiple ways. In one embodiment, a particular reference plane group is assigned to each secondary plane group; this assignment can be fixed or it can signaled in high-level syntax structures such as parameter sets, access unit header, picture header, or slice header.
In a second embodiment, the assignment of the reference plane group is coded inside the bitstream and signaled by the one or more syntax elements that are coded for a block in order to specify whether the selected coding parameters are inferred or predicted or separately coded.
In order to ease the just-mentioned possibilities in connection with inter-plane prediction and the following detailed embodiments, reference is made to
In accordance with an embodiment, all sample arrays of a picture belong to the same portion of a spatial scene wherein the resolution along the vertical and horizontal direction may differ between the individual sample arrays 502-506. Further, for illustration purposes, the sample arrays 502 and 504 are considered to belong to one plane group 510, whereas the sample array 506 is considered to belong to another plane group 512. Further,
As is exemplarily shown in
Now, when encoding the individual sample arrays 502-506, the encoder 10 may begin with coding the primary array 504 of plane group 510 in, for example, the manner described above. The blocks shown in
After the transmission of the syntax element for primary array 504, encoder 10 may decide to declare primary array 504 to be the reference plane for subordinate plane 502. Encoder 10 and extractor 30, respectively, may signal this decision via the bitstream 22 while the association may be clear from the fact that sample array 504 forms the primary array of plane group 510 which information, in turn, may also be part of the bitstream 22. In any case, for each block within sample array 502 inserter 18 or any other module of encoder 10 along with inserter 18 may decide to either suppress a transferal of the coding parameters of this block within the bitstream and to signal within the bitstream for that block instead that the coding parameters of a co-located block within the primary array 504 shall be used instead, or that the coding parameters of the co-located block within the primary array 504 shall be used as a prediction for the coding parameters of the current block of sample array 502 with merely transferring the residual data thereof for the current block of the sample array 502 within the bitstream. In case of a negative decision, the coding parameters are transferred within the data stream as usual. The decision is signaled within the data stream 22 for each block. At the decoder side, the extractor 102 uses this inter-plane prediction information for each block in order to gain the coding parameters of the respective block of the sample array 502 accordingly, namely by inferring the coding parameters of the co-located block of the primary array 504 or, alternatively, extracting residual data for that block from the data stream and combining this residual data with a prediction obtained from the coding parameters of the co-located block of the primary array 504 if the inter-plane adoption/prediction information suggests inter-plane adoption/prediction, or extracting the coding parameters of the current block of the sample array 502 as usual independent from the primary array 504.
As also described before, reference planes are not restricted to reside within the same plane group as the block for which inter-plane prediction is currently of interest. Therefore, as described above, plane group 510 may represent the primary plane group or reference plane group for the secondary plane group 512. In this case, the bitstream might contain a syntax element indicating for each block of sample array 506 as to whether the afore-mentioned adoption/prediction of coding parameters of co-located macroblocks of any of the planes 502 and 504 of the primary plane group or reference plane group 510 shall be performed or not wherein in the latter case the coding parameters of the current block of sample array 506 are transmitted as usual.
It should be noted that the subdivision and/or prediction parameters for the planes inside a plane group can be the same, i.e., because they are only coded once for a plane group (all secondary planes of a plane group infer the subdivision information and/or prediction parameters from the primary plane inside the same plane group), and the adaptive prediction or inference of the subdivision information and/or prediction parameters is done between plane groups.
It should be noted that the reference plane group can be a primary plane group or a secondary plane group.
The co-location between blocks of different planes within a plane group is readily understandable as the subdivision of the primary sample array 504 is spatially adopted by the subordinate sample array 502, except the just-described sub-partitioning of the blocks in order to render the adopted leaf blocks into quadratic blocks. In case of inter-plane adoption/prediction between different plane groups, the co-location might be defined in a way so as to allow for a greater freedom between the subdivisions of these plane groups. Given the reference plane group, the co-located block inside the reference plane group is determined. The derivation of the co-located block and the reference plane group can be done by a process similar to, the following A particular sample 514 in the current block 516 of one of the sample arrays 506 of the secondary plane group 512 is selected. Same may be the top-left sample of the current block 516 as shown at 514 in
In an embodiment, the coding parameters specifying the prediction for the current block 516 are completely inferred using the corresponding prediction parameters of the co-located block 522/524 in a different plane group 510 of the same picture 500, without transmitting additional side information. The inference can consist of a simply copying of the corresponding coding parameters or an adaptation of the coding parameters taken into account differences between the current 512 and the reference plane group 510. As an example, this adaptation may consist of adding a motion parameter correction (e.g., a displacement vector correction) for taking into account the phase difference between luma and chroma sample arrays; or the adaptation may consist of modifying the precision of the motion parameters (e.g., modifying the precision of displacement vectors) for taking into account the different resolution of luma and chroma sample arrays. In a further embodiment, one or more of the inferred coding parameters for specifying the prediction signal generation are not directly used for the current block 516, but are used as a prediction for the corresponding coding parameters for the current block 516 and a refinement of these coding parameters for the current block 516 is transmitted in the bitstream 22. As an example, the inferred motion parameters are not directly used, but motion parameter differences (such as a displacement vector difference) specifying the deviation between the motion parameters that are used for the current block 516 and the inferred motion parameters are coded in the bitstream; at the decoder side, the actual used motion parameters are obtained by combining the inferred motion parameters and the transmitted motion parameter differences.
In another embodiment, the subdivision of a block, such as the treeblocks of the aforementioned prediction subdivision into prediction blocks (i.e., blocks of samples for which the same set of prediction parameters is used) is adaptively inferred or predicted from an already coded co-located block of a different plane group for the same picture, i.e. the bit sequence according to
In a further embodiment, the subdivision information for the current block, such as the quadtree-based subdivision info according to
In a further embodiment, both the subdivision of a block into prediction blocks and the coding parameters specifying how that subblocks are predicted are adaptively inferred or predicted from an already coded co-located block of a different plane group for the same picture. In an embodiment of the invention, one of the two or more plane groups is coded as primary plane group. For all blocks of this primary plane group, the subdivision information and the prediction parameters are transmitted without referring to other plane groups of the same picture. The remaining plane groups are coded as secondary plane groups. For blocks of the secondary plane groups, one or more syntax elements are transmitted that signal whether the subdivision information and the prediction parameters are inferred or predicted from a co-located block of other plane groups or whether the subdivision information and the prediction parameters are transmitted in the bitstream. One of the one or more syntax elements may be referred to as inter-plane prediction flag or inter-plane prediction parameter. If the syntax elements signal that the subdivision information and the prediction parameters are not inferred or predicted, the subdivision information for the block and the prediction parameters for the resulting subblocks are transmitted in the bitstream without referring to other plane groups of the same picture. If the syntax elements signal that the subdivision information and the prediction parameters for the subblock are inferred or predicted, the co-located block in a so-called reference plane group is determined. The assignment of the reference plane group for the block can be configured in multiple ways. In one embodiment, a particular reference plane group is assigned to each secondary plane group; this assignment can be fixed or it can signaled in high-level syntax structures such as parameter sets, access unit header, picture header, or slice header. In a second embodiment, the assignment of the reference plane group is coded inside the bitstream and signaled by the one or more syntax elements that are coded for a block in order to specify whether the subdivision information and the prediction parameters are inferred or predicted or separately coded. The reference plane group can be the primary plane group or another secondary plane group. Given the reference plane group, the co-located block inside the reference plane group is determined. The co-located block may be the block in the reference plane group that corresponds to the same image area as the current block, or the block that represents the block inside the reference plane group that shares the largest portion of the image area with the current block. The co-located block can be partitioned into smaller prediction blocks. In one embodiment, the subdivision information for the current block as well as the prediction parameters for the resulting subblocks are completely inferred using the subdivision information of the co-located block in a different plane group of the same picture and the prediction parameters of the corresponding subblocks, without transmitting additional side information. As a particular example, if the co-located block is partitioned into two or four prediction blocks, the current block is also partitioned into two or four subblocks for the purpose of prediction and the prediction parameters for the subblocks of the current block are derived as described above. As another particular example, if the co-located block is partitioned into four subblocks and one of these subblocks is further partitioned into four smaller subblocks, the current block is also partitioned into four subblocks and one of these subblocks (the one corresponding to the subblock of the co-located block that is further decomposed) is also partitioned into four smaller subblocks and the prediction parameters for all not further partitioned subblocks are inferred as described above. In a further embodiment, the subdivision information is completely inferred based on the subdivision information of the co-located block in the reference plane group, but the inferred prediction parameters for the subblocks are only used as prediction for the actual prediction parameters of the subblocks. The deviations between the actual prediction parameters and the inferred prediction parameters are coded in the bitstream. In a further embodiment, the inferred subdivision information is used as a prediction for the actual subdivision information for the current block and the difference is transmitted in the bitstream (as described above), but the prediction parameters are completely inferred. In another embodiment, both the inferred subdivision information and the inferred prediction parameters are used as prediction and the differences between the actual subdivision information and prediction parameters and their inferred values are transmitted in the bitstream.
In another embodiment, it is adaptively chosen, for a block of a plane group, whether the residual coding modes (such as the transform type) are inferred or predicted from an already coded co-located block of a different plane group for the same picture or whether the residual coding modes are separately coded for the block. This embodiment is similar to the embodiment for the adaptive inference/prediction of the prediction parameters described above.
In another embodiment, the subdivision of a block (e.g., a prediction block) into transform blocks (i.e., blocks of samples to which a two-dimensional transform is applied) is adaptively inferred or predicted from an already coded co-located block of a different plane group for the same picture. This embodiment is similar to the embodiment for the adaptive inference/prediction of the subdivision into prediction blocks described above.
In another embodiment, the subdivision of a block into transform blocks and the residual coding modes (e.g., transform types) for the resulting transform blocks are adaptively inferred or predicted from an already coded co-located block of a different plane group for the same picture. This embodiment is similar to the embodiment for the adaptive inference/prediction of the subdivision into prediction blocks and the prediction parameters for the resulting prediction blocks described above.
In another embodiment, the subdivision of a block into prediction blocks, the associated prediction parameters, the subdivision information of the prediction blocks, and the residual coding modes for the transform blocks are adaptively inferred or predicted from an already coded co-located block of a different plane group for the same picture. This embodiment represents a combination of the embodiments described above. It is also possible that only some of the mentioned coding parameters are inferred or predicted.
Thus, the inter-plane adoption/prediction may increase the coding efficiency described previously. However, the coding efficiency gain by way of inter-plane adoption/prediction is also available in case of other block subdivisions being used than multitree-based subdivisions and independent from block merging being implemented or not.
The above-outlined embodiments with respect to inter plane adaptation/prediction are applicable to image and video encoders and decoders that divide the color planes of a picture and, if present, the auxiliary sample arrays associated with a picture into blocks and associate these blocks with coding parameters. For each block, a set of coding parameters may be included in the bitstream. For instance, these coding parameters can be parameters that describe how a block is predicted or decoded at the decoder side. As particular examples, the coding parameters can represent macroblock or block prediction modes, sub-division information, intra prediction modes, reference indices used for motion-compensated prediction, motion parameters such as displacement vectors, residual coding modes, transform coefficients, etc. The different sample arrays that are associated with a picture can have different sizes.
Next, a scheme for enhanced signaling of coding parameters within a tree-based partitioning scheme as, for example, those described above with respect to
Generally, the improved coding scheme for coding side information within a tree-based partitioning scheme, called inheritance, described next enables the following advantages relative to conventional schemes of coding parameter treatment.
In conventional image and video coding, the pictures or particular sets of sample arrays for the pictures are usually decomposed into blocks, which are associated with particular coding parameters. The pictures usually consist of multiple sample arrays. In addition, a picture may also be associated with additional auxiliary samples arrays, which may, for example, specify transparency information or depth maps. The sample arrays of a picture (including auxiliary sample arrays) can be grouped into one or more so-called plane groups, where each plane group consists of one or more sample arrays. The plane groups of a picture can be coded independently or, if the picture is associated with more than one plane group, with prediction from other plane groups of the same picture. Each plane group is usually decomposed into blocks. The blocks (or the corresponding blocks of sample arrays) are predicted by either inter-picture prediction or intra-picture prediction. The blocks can have different sizes and can be either quadratic or rectangular. The partitioning of a picture into blocks can be either fixed by the syntax, or it can be (at least partly) signaled inside the bitstream. Often syntax elements are transmitted that signal the subdivision for blocks of predefined sizes. Such syntax elements may specify whether and how a block is subdivided into smaller blocks and being associated coding parameters, e.g. for the purpose of prediction. For all samples of a block (or the corresponding blocks of sample arrays) the decoding of the associated coding parameters is specified in a certain way. In the example, all samples in a block are predicted using the same set of prediction parameters, such as reference indices (identifying a reference picture in the set of already coded pictures), motion parameters (specifying a measure for the movement of a blocks between a reference picture and the current picture), parameters for specifying the interpolation filter, intra prediction modes, etc. The motion parameters can be represented by displacement vectors with a horizontal and vertical component or by higher order motion parameters such as affine motion parameters consisting of six components. It is also possible that more than one set of particular prediction parameters (such as reference indices and motion parameters) are associated with a single block. In that case, for each set of these particular prediction parameters, a single intermediate prediction signal for the block (or the corresponding blocks of sample arrays) is generated, and the final prediction signal is built by a combination including superimposing the intermediate prediction signals. The corresponding weighting parameters and potentially also a constant offset (which is added to the weighted sum) can either be fixed for a picture, or a reference picture, or a set of reference pictures, or they can be included in the set of prediction parameters for the corresponding block. The difference between the original blocks (or the corresponding blocks of sample arrays) and their prediction signals, also referred to as the residual signal, is usually transformed and quantized. Often, a two-dimensional transform is applied to the residual signal (or the corresponding sample arrays for the residual block). For transform coding, the blocks (or the corresponding blocks of sample arrays), for which a particular set of prediction parameters has been used, can be further split before applying the transform. The transform blocks can be equal to or smaller than the blocks that are used for prediction. It is also possible that a transform block includes more than one of the blocks that are used for prediction. Different transform blocks can have different sizes and the transform blocks can represent quadratic or rectangular blocks. After transform, the resulting transform coefficients are quantized and so-called transform coefficient levels are obtained. The transform coefficient levels as well as the prediction parameters and, if present, the subdivision information is entropy coded.
In some image and video coding standards, the possibilities for subdividing a picture (or a plane group) into blocks that are provided by the syntax are very limited. Usually, it can only be specified whether and (potentially how) a block of a predefined size can be subdivided into smaller blocks. As an example, the largest block size in H.264 is 16×16 The 16×16 blocks are also referred to as macroblocks and each picture is partitioned into macroblocks in a first step. For each 16×16 macroblock, it can be signaled whether it is coded as 16×16 block, or as two 16×8 blocks, or as two 8×16 blocks, or as four 8×8 blocks. If a 16×16 block is subdivided into four 8×8 block, each of these 8×8 blocks can be either coded as one 8×8 block, or as two 8×4 blocks, or as two 4×8 blocks, or as four 4×4 blocks. The small set of possibilities for specifying the partitioning into blocks in state-of-the-art image and video coding standards has the advantage that the side information rate for signaling the subdivision information can be kept small, but it has the disadvantage that the bit rate necessitated for transmitting the prediction parameters for the blocks can become significant as explained in the following. The side information rate for signaling the prediction information does usually represent a significant amount of the overall bit rate for a block. And the coding efficiency could be increased when this side information is reduced, which, for instance, could be achieved by using larger block sizes. Real images or pictures of a video sequence consist of arbitrarily shaped objects with specific properties. As an example, such objects or parts of the objects are characterized by a unique texture or a unique motion. And usually, the same set of prediction parameters can be applied for such an object or part of, an object But the object boundaries usually don't coincide with the possible block boundaries for large prediction blocks (e.g., 16×16 macroblocks in H.264). An encoder usually determines the subdivision (among the limited set of possibilities) that results in the minimum of a particular rate-distortion cost measure. For arbitrarily shaped objects this can result in a large number of small blocks. And since each of these small blocks is associated with a set of prediction parameters, which need to be transmitted, the side information rate can become a significant part of the overall bit rate. But since several of the small blocks still represent areas of the same object or part of an object, the prediction parameters for a number of the obtained blocks are the same or very similar. Intuitively, the coding efficiency could be increased when the syntax is extended in a way that it does not only allow to subdivide a block, but also to share coding parameters between the blocks that are obtained after subdivision. In a tree-based subdivision, sharing of coding parameters for a given set of blocks can be achieved by assigning the coding parameters or parts thereof to one or more parent nodes in the tree-based hierarchy. As a result, the shared parameters or parts thereof can be used in order to reduce the side information needed to signal the actual choice of coding parameters for the blocks obtained after subdivision. Reduction can be achieved by omitting the signaling of parameters for subsequent blocks or by using the shared parameter(s) for prediction and/or context modeling of the parameters for subsequent blocks.
The basic idea of the inheritance scheme describe below is to reduce the bit rate that is necessitated for transmitting the coding parameters by sharing information along the tree-based hierarchy of blocks. The shared information is signaled inside the bitstream (in addition to the subdivision information). The advantage of the inheritance scheme is an increased coding efficiency resulting from a decreased side information rate for the coding parameters.
In order to reduce the side information rate, in accordance with the embodiments described below, the respective coding parameters for particular sets of samples, i.e. simply connected regions, which may represent rectangular or quadratic blocks or arbitrarily shaped regions or any other collection of samples, of a multitree subdivision are signaled within the data stream in an efficient way. The inheritance scheme described below enables that the coding parameters don not have to be explicitly included in the bitstream for each of these sample sets in full. The coding parameters may represent prediction parameters, which specify how the corresponding set of samples is predicted using already coded samples. Many possibilities and examples have been described above and do also apply here. As has also been indicated above, and will be described further below, as far as the following inheritance scheme is concerned, the tree-based partitioning of the sample arrays of a picture into sample sets may be fixed by the syntax or may be signaled by corresponding subdivision information inside the bitstream. The coding parameters for the sample sets may, as described above, transmitted in a predefined order, which is given by the syntax.
In accordance with the inheritance scheme, the decoder or extractor 102 of the decoder is configured to derive the information on the coding parameters of the individual simply connected region or sample sets in a specific way. In particular, coding parameters or parts thereof such as those parameters serving for the purpose of prediction, are shared between blocks along the given tree-based partitioning scheme with the sharing group along the tree structure being decided by the encoder or inserter 18, respectively. In a particular embodiment, sharing of the coding parameters for all child nodes of a given internal node of the partitioning tree is indicated by using a specific binary-valued sharing flag. As an alternative approach, refinements of the coding parameters can be transmitted for each node such that the accumulated refinements of parameters along the tree-based hierarchy of blocks can be applied to all sample sets of the block at a given leaf node. In another embodiment, parts of the coding parameters that are transmitted for internal nodes along the tree-based hierarchy of blocks can be used for context-adaptive entropy encoding and decoding of the coding parameter or parts thereof for the block at a given leaf node.
In the following description of inheritance, the following notation is used for describing the embodiments:
As a first example of inheritance, the intra-prediction signalization at internal nodes may be described. To be more precise, it is described how to signalize intra-prediction modes at internal nodes of a tree-based block partitioning for the purpose of prediction. By traversing the tree from the root node to the leaf nodes, internal nodes (including the root node) may convey parts of side information that will be exploited by its corresponding child nodes. To be more specific, a sharing flag f is transmitted for internal nodes with the following meaning:
As a second example of inheritance, the inter-prediction refinement may be described. To be more precise, it is described how to signalize side information of inter-prediction modes at internal modes of a tree-based block partitioning for the purpose of refinement of motion parameters, as e.g., given by motion vectors. By traversing the tree from the root node to the leaf nodes, internal nodes (including the root node) may convey parts of side information that will be refined by its corresponding child nodes. To be more specific, a sharing flag f is transmitted for internal nodes with the following meaning:
Reference is made now to
In step 550, an inheritance information is extracted from the data stream. In case of
The array of information samples may already be a subpart of a picture, such as a treeblock, namely the treeblock 150 of
Further, the inheritance information indicates, if inheritance is indicated to be used, at least one inheritance region of the array of information samples, which is composed of a set of leaf regions and corresponds to an hierarchy level of the sequence of hierarchy levels of the multi-tree subdivision, being lower than each of the hierarchy levels with which the set of leaf regions are associated in other words, the inheritance information indicates as to whether inheritance is to be used or not for the current sample array such as the treeblock 150. If yes, it denotes at least one inheritance region or subregion of this treeblock 150, within which the leaf regions share coding parameters. Thus, the inheritance region may not be a leaf region. In the example of
It should be noted, however, that more than one inheritance region may be defined within one sample array or treeblock 150, respectively. Imagine, for example, the bottom left subblock 152c was also partitioned into smaller blocks. In this case, subblock 152c could also form an inheritance region.
In step 552, the inheritance information is checked as to whether inheritance is to be used or not. If yes, the process of
All the syntax elements contained in the inheritance subset is copied into or used as a prediction for the corresponding coding parameters of the leaf blocks within that inheritance region, i.e. leaf blocks 154a,b,d and 156a to 156d. In case of prediction being used, residuals are transmitted for the individual leaf blocks.
One possibility of transmitting the inheritance information for the treeblock 150 is the afore-mentioned transmission of a sharing flag f. The extraction of the inheritance information in step 550 could, in this case, comprise the following. In particular, the decoder could be configured to extract and check, for non-leaf regions corresponding to any of an inheritance set of at least one hierarchy level of the multi-tree subdivision, using an hierarchy level order from lower hierarchy level to higher hierarchy level, the sharing flag f from the data stream, as to whether the respective inheritance flag or share flag prescribes inheritance or not. For example, the inheritance set of hierarchy levels could be formed by hierarchy layers 1 to 3 in
The sharing flags, f could be interleaved with the afore-mentioned bits signaling the quadtree sub-division. For example, an interleave bit sequence including both sub-division flags as well as sharing flags could be:
10001101(0000)000,
which is the same sub-division information as illustrated in
Another way to define the inheritance information indicating the inheritance region would be the use of two sub-divisions defined in a subordinate manner to each other as explained above with respect to the prediction and residual sub-division, respectively. Generally speaking, the leaf blocks of the primary sub-division could form the inheritance region defining the regions within which inheritance subsets of syntax elements are shared while the subordinate sub-division defines the blocks within these inheritance regions for which the inheritance subset of syntax elements are copied or used as a prediction.
Consider, for example, the residual tree as an extension of the prediction tree. Further, consider the case where prediction blocks can be further divided into smaller blocks for the purpose of residual coding. For each prediction block that corresponds to a leaf node of the prediction-related quadtree, the corresponding subdivision for residual coding is determined by one or more subordinate quadtree(s).
In this case, rather than using any prediction signalization at internal nodes, we consider the residual tree as being interpreted in such a way that it also specifies a refinement of the prediction tree in the sense of using a constant prediction mode (signaled by the corresponding leaf node of the prediction-related tree) but with refined reference samples. The following example illustrates this case.
For example,
In the decoding process, as shown in
After the WT process,
Re c Re s=ST(Re s)
the reconstructed signal r is calculated and stored for the next prediction calculation process:
r=Re c Re s+p
The decoding order for prediction is the same as the residual decoding order, which is illustrated in
Each residual leaf node is decoded as described in the previous paragraph. The reconstructed signal r is stored in a buffer as shown in
After having described specific embodiments with respect to
The subdivider 602 is configured to spatially divide an array of information samples such as array 24, into tree root regions 150 of the maximum region size. The array of information samples may, as described above, represent a temporarily varying information signal, such as a video or a 3-D video or the likes. Alternatively, the array of information samples may represent a still picture. The subdivider 602 is further configured to subdivide, in accordance with the multitree-subdivision information extracted by extractor 600, at least a subset of the tree root regions into smaller simply connected regions of different sizes by recursively multi-partitioning the subset of the tree root regions. As just-described with respect to extractor 600, the partitioning is not restricted to quad-partitioning.
The reconstructor 604, in turn, is configured to reconstruct the array of information samples from the data stream 606, using the subdivision into the smaller simply connected regions. The smaller simply connected regions correspond to the blocks shown in
When mapping the elements shown in
The advantage of transmitting the maximum region size within the data stream is that the encoder is enabled to adapt the subdivision to a typical picture content by use of less side information since the encoder is given the opportunity to decide on the maximum region size on a picture by picture basis. In an embodiment, the maximum region size is transferred within the bitstream for each picture. Alternatively, the maximum region size is transmitted within the bitstream in a coarser granularity such as in units of groups of pictures.
As indicated by the dotted lines, the data stream may further comprise an information on the maximum hierarchy level, namely information 616. The three empty boxes shown in dotted lines at 618 shall indicate that the data stream may also comprise the data elements 612-616 another time for a further multitree-subdivision, which may be a subordinate subdivision relative to the multitree-subdivision defined by elements 612-616, or may be a subdivision of the array of information samples independently defined.
As mentioned before, the block diagram of
In accordance with another embodiment, a decoder may be structured as shown in
As described above, using the depth-first traversal order in reconstructing the array of image samples in connection with the quadtree-subdivision helps to exploit already decoded syntax elements within the data stream of neighboring blocks in order to increase the coding efficiency of the current block.
It should be noted that subdivider 700 of
As to the concordance of the elements shown in
An encoder able to provide a data stream which is decodable by a decoder of
Alternatively,
With respect to the alternatives described above with respect to
Although some aspects have been described in the context of an apparatus, it is clear that these aspects also represent a description of the corresponding method, where a block or device corresponds to a method step or a feature of a method step. Analogously, aspects described in the context of a method step also represent a description of a corresponding block or item or feature of a corresponding apparatus. Some or all of the method steps may be executed by (or using) a hardware apparatus, like for example, a microprocessor, a programmable computer or an electronic circuit. In some embodiments, some one or more of the most important method steps may be executed by such an apparatus.
The inventive encoded/compressed signals can be stored on a digital storage medium or can be transmitted on a transmission medium such as a wireless transmission medium or a wired transmission medium such as the Internet.
Depending on certain implementation requirements, embodiments of the invention can be implemented in hardware or in software. The implementation can be performed using a digital storage medium, for example a floppy disk, a DVD, a Blu-Ray, a CD, a ROM, a PROM, an EPROM, an EEPROM or a FLASH memory, having electronically readable control signals stored thereon, which cooperate (or are capable of cooperating) with a programmable computer system such that the respective method is performed. Therefore, the digital storage medium may be computer readable.
Some embodiments according to the invention comprise a data carrier having electronically readable control signals, which are capable of cooperating with a programmable computer system, such that one of the methods described herein is performed.
Generally, embodiments of the present invention can be implemented as a computer program product with a program code, the program code being operative for performing one of the methods when the computer program product runs on a computer. The program code may for example be stored on a machine readable carrier.
Other embodiments comprise the computer program for performing one of the methods described herein, stored on a machine readable carrier.
In other words, an embodiment of the inventive method is, therefore, a computer program having a program code for performing one of the methods described herein, when the computer program runs on a computer.
A further embodiment of the inventive methods is, therefore, a data carrier (or a digital storage medium, or a computer-readable medium) comprising, recorded thereon, the computer program for performing one of the methods described herein.
A further embodiment of the inventive method is, therefore, a data stream or a sequence of signals representing the computer program for performing one of the methods described herein. The data stream or the sequence of signals may for example be configured to be transferred via a data communication connection, for example via the Internet.
A further embodiment comprises a processing means, for example a computer, or a programmable logic device, configured to or adapted to perform one of the methods described herein.
A further embodiment comprises a computer having installed thereon the computer program for performing one of the methods described herein.
In some embodiments, a programmable logic device (for example a field programmable gate array) may be used to perform some or all of the functionalities of the methods described herein. In some embodiments, a field programmable gate array may cooperate with a microprocessor in order to perform one of the methods described herein. Generally, the methods may be performed by any hardware apparatus.
The above described embodiments are merely illustrative for the principles of the present invention. It is understood that modifications and variations of the arrangements and the details described herein will be apparent to others skilled in the art. It is the intent, therefore, to be limited only by the scope of the impending patent claims and not by the specific details presented by way of description and explanation of the embodiments herein.
While this invention has been described in terms of several embodiments, there are alterations, permutations, and equivalents which fall within the scope of this invention. It should also be noted that there are many alternative ways of implementing the methods and compositions of the present invention. It is therefore intended that the following appended claims be interpreted as including all such alterations, permutations, and equivalents as fall within the true spirit and scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
10159819.1 | Apr 2010 | EP | regional |
PCT/EP2010/054843 | Apr 2010 | WO | international |
The present application is a continuation of U.S. patent application Ser. No. 16/561,427 filed Sep. 5, 2019, which is a continuation of U.S. patent application Ser. No. 16/155,281 filed Oct. 9, 2018, which is a continuation of U.S. patent application Ser. No. 15/413,852, filed Jan. 24, 2017, which is a continuation of U.S. patent application Ser. No. 15/195,407, filed Jun. 28, 2016, now U.S. Pat. No. 9,596,488, which is a continuation U.S. patent application Ser. No. 13/649,251, filed Oct. 11, 2012, which is a continuation of International Application No. PCT/EP2011/055534, filed Apr. 8, 2011, which additionally claims priority from International Application No PCT/EP2010/054843, filed Apr. 13, 2010 and European Patent Application No. EP 10159819.1, filed Apr. 13, 2010, all of which are incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 18052718 | Nov 2022 | US |
Child | 18359798 | US | |
Parent | 17211013 | Mar 2021 | US |
Child | 18052718 | US | |
Parent | 16855266 | Apr 2020 | US |
Child | 17211013 | US | |
Parent | 16561427 | Sep 2019 | US |
Child | 16855266 | US | |
Parent | 16155281 | Oct 2018 | US |
Child | 16561427 | US | |
Parent | 15413852 | Jan 2017 | US |
Child | 16155281 | US | |
Parent | 15195407 | Jun 2016 | US |
Child | 15413852 | US | |
Parent | 13649251 | Oct 2012 | US |
Child | 15195407 | US | |
Parent | PCT/EP2011/055534 | Apr 2011 | US |
Child | 13649251 | US |