[go: up one dir, main page]

HK1243257B - Apparatus for decoding and method for decoding, apparatus for encoding and method for encoding, method for storing a picture and method for transmitting a picture - Google Patents

Apparatus for decoding and method for decoding, apparatus for encoding and method for encoding, method for storing a picture and method for transmitting a picture Download PDF

Info

Publication number
HK1243257B
HK1243257B HK18102421.5A HK18102421A HK1243257B HK 1243257 B HK1243257 B HK 1243257B HK 18102421 A HK18102421 A HK 18102421A HK 1243257 B HK1243257 B HK 1243257B
Authority
HK
Hong Kong
Prior art keywords
image
bitstream
sample set
block
current
Prior art date
Application number
HK18102421.5A
Other languages
Chinese (zh)
Other versions
HK1243257A1 (en
Inventor
Heiko Schwarz
Heiner Kirchhoffer
Philipp Helle
Simon Oudin
Jan Stegemann
Benjamin Bross
Detlev Marpe
Thomas Wiegand
Original Assignee
Ge Video Compression, Llc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ge Video Compression, Llc filed Critical Ge Video Compression, Llc
Publication of HK1243257A1 publication Critical patent/HK1243257A1/en
Publication of HK1243257B publication Critical patent/HK1243257B/en

Links

Description

解码装置和方法、编码装置和方法、存储和传输图像方法Decoding device and method, encoding device and method, and image storage and transmission method

本申请是分案申请,其母案申请的申请号为201180064204.6,申请日为2011年11月4日,发明名称为“支持区块合并和跳过模式的图像编码”。This application is a divisional application, the application number of the parent application is 201180064204.6, the application date is November 4, 2011, and the name of the invention is “Image coding supporting block merging and skip mode”.

技术领域Technical Field

本申请涉及图像和/或视频编码,并且尤其涉及支持区块分隔及跳过模式的编解码器。The present application relates to image and/or video coding, and in particular to a codec supporting block separation and skip mode.

背景技术Background Art

许多图像(picture,画面)和/或视频编解码器以区块为单位来处理图像。例如,预测式编解码器使用一区块间隔尺寸以便实现在一方面花费太多的侧信息在预测参数上,以高空间分辨率被设定的非常精确地设定的预测参数,以及另一方面由于较低空间分辨率的预测参数而导致编码预测残差所需的位数量增加的太粗糙地设定预测参数之间的良好妥协。实际上,这些预测参数的最佳设定是位于两极端点的某处。Many picture and/or video codecs process images in units of blocks. For example, predictive codecs use a block granularity to achieve a good compromise between, on the one hand, spending too much side information on prediction parameters, setting the prediction parameters very precisely at high spatial resolutions, and, on the other hand, setting the prediction parameters too coarsely, which increases the number of bits required to encode the prediction residual due to lower spatial resolution prediction parameters. In practice, the optimal settings for these prediction parameters lie somewhere between these two extremes.

为了得到上述问题的最佳解决办法,已经有许多的尝试。例如,取代使用规则地被配置成为列与行的区块的图像的规则子分割,多树型分隔子分割在对于子分割信息的合理要求的下寻求增加子分割一图像成为区块的自由度。然而,即使多树型子分割需要可观的数据数量,即使在使用此多树型子分割的情况中,子分割一图像的自由度是相当被限制的。Many attempts have been made to optimize the above-mentioned problem. For example, instead of using regular sub-segmentation of an image into blocks regularly arranged into columns and rows, multi-tree partitioning sub-segmentation seeks to increase the degree of freedom in sub-segmenting an image into blocks, while maintaining reasonable requirements for sub-segmentation information. However, even when using multi-tree sub-segmentation, which requires a considerable amount of data, the degree of freedom in sub-segmenting an image is quite limited.

为了在一方面针对图像子分割所需的侧信息数量发信令以及另一方面针对子分割图像的自由度发信令之间能够有较佳的折衷,可使用区块合并,以便在在对合并信息发信令所需的额外数据的合理数量下增加可能的图像子分割数目。对于被合并的区块,编码参数需要在比特流之内仅完全被发送一次,相似于犹如产生的合并区块群组是图像的直接子分割部分一般。In order to achieve a better compromise between signaling the amount of side information required for picture subdivisions on the one hand and signaling the degrees of freedom of the subdivided pictures on the other hand, block merging can be used to increase the number of possible picture subdivisions with a reasonable amount of additional data required to signal the merging information. For the merged blocks, the coding parameters need to be sent only once in the bitstream, similar to the case when the resulting group of merged blocks is a direct subdivision of the picture.

为了另外增加编码图像内容的效能,跳过模式已被引入一些区块为基础的图像编解码器中,该跳过模式使编码器抑制不发送某一区块的残余数据至解码器。亦即,跳过模式是可能抑制对于某些区块的残余数据发送。抑制对于某些区块的残余数据的发送的能力,导致对于将编码/预测参数加以编码的较宽的间隔尺寸区间,其中在一方面编码质量以及另一方面的花费总位率之间的最佳交换可被预期:当然,增加编码/预测参数的编码的空间分辨率导致侧信息率的增加,但同时也减少残余量,因而降低必须编码残余数据的位率。但是,由于跳过模式的可利用性,其可利用仅适度地进一步增加编码/预测参数被发送的间隔尺寸,而残余量是如此地小而使残余量的相应发送可被省去,而有利于得到一意外的编码率节省。To further increase the efficiency of encoding image content, skip modes have been introduced in some block-based image codecs. These skip modes allow the encoder to suppress the transmission of residual data for certain blocks to the decoder. In other words, skip mode makes it possible to suppress the transmission of residual data for certain blocks. The ability to suppress the transmission of residual data for certain blocks allows for a wider range of granularity for encoding coding/prediction parameters, where an optimal trade-off between coding quality on the one hand and the overall bit rate consumed on the other can be expected: while increasing the spatial resolution of the coding/prediction parameters leads to an increase in the information rate, it also reduces the amount of residual data, thus lowering the bit rate at which the residual data must be encoded. However, the availability of skip modes allows for only a modest further increase in the granularity at which coding/prediction parameters are transmitted, while the residual data is so small that the corresponding transmission of the residual data can be omitted, resulting in unexpected coding rate savings.

但是,由于因区块合并组合以及跳过模式使用所新近引起的留下的冗余量,仍然有需要达到较佳的编码效能。However, due to the newly introduced redundancy caused by block merging and skip mode usage, there is still a need to achieve better coding performance.

因此,本发明的目的是提供具有增加编码效率的编码概念。It is therefore an object of the present invention to provide a coding concept with increased coding efficiency.

发明内容Summary of the Invention

本发明的构想是如果关于合并致动以及跳过模式致动的共同发信令在比特流之内被使用,则可实现进一步的编码效能的增加。亦即,在比特流之内一个或多个语法元素的可能状态之一可发信令,对于一图像的一当前样本集合,相应样本集合是将被合并并且不具有预测残差量被编码且被插入比特流内。另外,一共同标记可共同地发信令,关于关联一当前样本集合的编码参数是否将根据一合并候选者被设定或将自该比特流取得,以及关于该图像的当前样本集合是否将仅以取决于关联于该当前样本集合的编码参数的一预测信号为基础而无需任何残余数据地被重建,或将利用在比特流内的残余数据通过提炼取决于与当前样本集合关联的编码参数的预测信号而被重建。The present invention contemplates that further increases in coding efficiency can be achieved if common signaling of merge and skip mode activation is used within the bitstream. Specifically, one of the possible states of one or more syntax elements within the bitstream can signal that, for a current sample set of a picture, the corresponding sample set is to be merged and encoded without a prediction residual and inserted into the bitstream. Furthermore, a common flag can jointly signal whether coding parameters associated with the current sample set are to be set based on a merge candidate or obtained from the bitstream, and whether the current sample set of the picture is to be reconstructed solely based on a prediction signal that depends on the coding parameters associated with the current sample set without any residual data, or is to be reconstructed using residual data within the bitstream by refining a prediction signal that depends on the coding parameters associated with the current sample set.

本发明的发明者发现一方面合并的致动以及另一方面跳过模式的致动的共同发信令的引介节省位率,因为彼此分开的合并和/或跳过模式的致动的发信令的附加经常支出可被减低或可能仅在合并以及跳过模式不同时被致动的情况中必须被花费。。The inventors of the present invention have discovered that the introduction of joint signaling for merging activation on the one hand and skip mode activation on the other hand saves bit rate, since the additional overhead for signaling separate merging and/or skip mode activation can be reduced or may only have to be incurred if merging and skip mode are not activated at the same time.

本申请的较佳实施例将配合有关附图在下面更详细地被说明。Preferred embodiments of the present application will be described in more detail below with reference to the accompanying drawings.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1示出根据一实施例而用于编码的装置的方块图;FIG1 shows a block diagram of an apparatus for encoding according to an embodiment;

图2示出根据更详细的实施例而用于编码的装置的方块图;FIG2 shows a block diagram of an apparatus for encoding according to a more detailed embodiment;

图3示出根据一实施例而用于解码的装置的方块图;FIG3 shows a block diagram of an apparatus for decoding according to an embodiment;

图4示出根据更详细的实施例而用于解码的装置的方块图;FIG4 shows a block diagram of an apparatus for decoding according to a more detailed embodiment;

图5示出图1或图2的编码器的可能内部结构的方块图;FIG5 is a block diagram showing a possible internal structure of the encoder of FIG1 or FIG2;

图6示出图3或图4的解码器的可能内部结构的方块图;FIG6 is a block diagram showing a possible internal structure of the decoder of FIG3 or FIG4;

图7A分解地示出一图像成为树根区块(tree-root block)、编码单位(区块)以及预测单位(分隔)的可能的子分割;FIG7A illustrates a possible sub-division of a picture into tree-root blocks, coding units (blocks), and prediction units (partitions);

图7B示出根据一说明范例的在图7A中所示的向下至分隔位准的树根区块的子分割树型;FIG7B shows a sub-partition tree of the root block shown in FIG7A down to the partition level according to one illustrative example;

图8示出根据一实施例对于一组可能支持的分隔图样的实施例;FIG8 shows an example of a set of possible supported separation patterns according to an embodiment;

图9示出,当根据图8使用区块分隔时,将有效地自组合区块合并以及区块分隔中产生的可能分隔图样;FIG9 shows possible partitioning patterns that would be effectively generated from combining blocks and partitioning blocks when using block partitioning according to FIG8 ;

图10分解地示出根据一实施例的用于一跳过/直接(SKIP/DIRECT)模式的候选区块;FIG10 illustrates, in exploded form, candidate blocks for a SKIP/DIRECT mode according to an embodiment;

图11至图13A和图13B示出根据一实施例的一语法的语法部分;以及11 to 13A and 13B illustrate a grammar portion of a grammar according to an embodiment; and

图14分解地示出根据一实施例的用于一分隔的邻近分隔的界定。FIG. 14 illustrates exploded views of the definition of adjacent partitions for a partition according to one embodiment.

具体实施方式DETAILED DESCRIPTION

关于下面的说明,应注意到,每当相同的参考符号被使用于不同附图时,关于相对这些附图之一的相应组件的说明将同样地适用至其它附图,只要自一附图转移至另一附图的说明是不与另一附图的其余说明冲突。Regarding the following description, it should be noted that whenever the same reference symbols are used in different figures, the description of the corresponding components relative to one of these figures will apply equally to the other figures, as long as the description transferred from one figure to another does not conflict with the remaining description of the other figure.

图1示出了用于编码一图像20使成为一比特流30的装置10。当然,图像20可以为视频的一部分,在其情况中,编码器10将是视频编码器。Figure 1 shows an apparatus 10 for encoding a picture 20 into a bitstream 30. Of course, the picture 20 may be part of a video, in which case the encoder 10 will be a video encoder.

虽然不在图1中明确地被示出,图像20被表示如一样本数组。图像20的样本数组被分隔成为样本集合40,其可以是任何样本集合,例如,含盖图像20的非重迭单一连接区域的样本集合。为容易了解起见,样本集合40被示出如,并且在下面被称为,区块40,但是其中,下面的说明将不被视为对任何特别类型的样本集合40的限制。根据一具体实施例,样本集合40是矩形和/或正方形区块。Although not explicitly shown in FIG1 , image 20 is represented as a sample array. The sample array of image 20 is divided into sample sets 40, which can be any sample set, for example, a sample set covering a non-overlapping, single-connected region of image 20. For ease of understanding, sample sets 40 are shown as, and are referred to below as, blocks 40, but the following description should not be construed as limiting to any particular type of sample set 40. According to one embodiment, sample sets 40 are rectangular and/or square blocks.

例如,图像20可被子分割成为区块40的规则性配置,因而区块40如图1的示出而示例地以列及行方式配置。但是,任何将图像20细分成为区块40的其它子分割也是可能。尤其是,使图像20细分成为区块40的子分割可以是固定的,亦即,为解码器已知的原定值或可在比特流30内被发信令至解码器。尤其是,图像20的区块40可以有变化间隔尺寸。例如,多树型子分割,例如,四分式树型子分割可被应用至图像20或应用至图像20的规则性预子分割使成为规则地被配置的树根区块,以便得到区块40,在此情况中,区块40形成树根区块的多树型子分割的叶部区块。For example, the image 20 may be subdivided into a regular arrangement of blocks 40, whereby the blocks 40 are exemplarily arranged in columns and rows as shown in FIG1 . However, any other subdivision of the image 20 into blocks 40 is also possible. In particular, the subdivision of the image 20 into blocks 40 may be fixed, i.e. a predetermined value known to the decoder or signaled to the decoder within the bitstream 30. In particular, the blocks 40 of the image 20 may have a varying granularity. For example, a multi-tree subdivision, e.g. a quarter-tree subdivision, may be applied to the image 20 or to a regular pre-subdivision of the image 20 into regularly arranged root blocks in order to obtain blocks 40, in which case the blocks 40 form leaf blocks of the multi-tree subdivision of the root blocks.

在任何情况中,编码器10被配置为对于当前样本集合40,编码一标记进入比特流30而共同地发信令关联于当前样本集合40的编码参数是根据一合并候选者被设定还是从比特流30中取得,以及图像20的当前样本集合是仅以取决于关联于当前样本集合的编码参数的一预测信号为基础,而无需任何残余数据被重建,还是利用在比特流30内的残余数据通过提炼取决于关联于当前样本集合40的编码参数的预测信号而被重建。例如,编码器10被配置为对于当前样本集合40,编码一标记成为比特流30而共同地发信令,如果假设一第一状态,关联于当前样本集合40的编码参数是根据一合并候选者被设定而不是自比特流30取得,并且图像20的当前样本集合是仅以取决于关联于当前样本集合的编码参数的一预测信号为基础,而无需任何残余数据地被重建,以及如果假设任何其它的状态,关联于当前样本集合40的编码参数是自比特流30取得,或图像20的当前样本集合是利用在比特流30内的残余数据通过提炼取决于关联于当前样本集合40的编码参数的预测信号而被重建。这表示下列事项。编码器10支持区块40的合并。该合并是要被授权的。亦即,不是每个区块40进行合并。对于一些区块40,例如,在位率/失真最佳化意义上,是适于合并当前区块40与一合并候选者,但是对于其它者却是相反。为了决定某一区块40是否应合并,编码器10决定合并候选者的一集合或列表,并且,对于这些合并候选者的各者,例如,在位率/失真最佳化意义上,是否合并当前区块40与合并候选者将形成较佳编码选择。编码器10被配置为依比特流30先前被编码部分为基础而决定对于一当前区块40的合并候选者的集合或列表。例如,编码器10通过接受关联于已先前取决于编码器10所应用的编码顺序被编码的区域性和/或时间性邻近区块40的编码参数而取得至少一部分的合并候选者的集合或列表。时间性邻近表示,例如,图像20所属的先前被编码的视频图像的区块,具有时间性邻近区块,其空间上被安置以便空间地重迭当前图像20的当前区块40。因此,对于合并候选者的集合或列表的这部分,在各合并候选者以及空间和/或时间邻近区块的间有一种一对一的关联性。各合并候选者具有与的相关的编码参数。如果当前区块40与任何合并候选者合并,则编码器10根据合并候选者设定当前区块40的编码参数。例如,编码器10可设定当前区块40的编码参数等于相应的合并候选者,亦即,编码器10可从相应的合并候选者复制当前区块40的编码参数。因此,对于合并候选者的集合或列表的这描述部分,一合并候选者的编码参数直接地自一空间和/或时间邻近区块被采用,或通过同样地采用相同者,亦即,相等地设定合并候选者,使相应合并候选者的编码参数自此一空间和/或时间邻近区块的编码参数被得到,但是,同时考虑区域改变,例如,通过根据该区域改变而尺度调整所采用的编码参数。例如,经历合并的至少一部分的编码参数可包含移动参数。但是,移动参数可指示不同的参考图像索引。更确切地说,被采用的移动参数可指示在当前图像以及参考图像的间的某一时间区间,并且在合并当前区块与具有相应移动参数的相应的合并候选者中,编码器10可被配置为调整相应合并候选者的移动参数尺度以便调适其的时间区间至选择给当前区块的时间区间。In any case, the encoder 10 is configured to encode, for the current sample set 40, a flag into the bitstream 30 that collectively signals whether the coding parameters associated with the current sample set 40 are set according to a merge candidate or are taken from the bitstream 30, and whether the current sample set of the picture 20 is to be reconstructed solely based on a prediction signal that depends on the coding parameters associated with the current sample set, without any residual data, or is to be reconstructed by refining the prediction signal that depends on the coding parameters associated with the current sample set 40 using residual data within the bitstream 30. For example, encoder 10 is configured to encode a flag for the current sample set 40 and collectively signal it into bitstream 30 if, assuming a first state, the coding parameters associated with the current sample set 40 are set based on a merge candidate rather than being obtained from bitstream 30, and the current sample set of picture 20 is reconstructed solely based on a prediction signal that depends on the coding parameters associated with the current sample set, without any residual data, and if assuming any other state, the coding parameters associated with the current sample set 40 are obtained from bitstream 30, or the current sample set of picture 20 is reconstructed by refining the prediction signal that depends on the coding parameters associated with the current sample set 40 using residual data within bitstream 30. This means the following: Encoder 10 supports merging of blocks 40. This merging is authorized. That is, not every block 40 is merged. For some blocks 40, for example, it is appropriate to merge the current block 40 with a merge candidate, in terms of rate/distortion optimization, but the opposite is true for others. To determine whether a block 40 should be merged, encoder 10 determines a set or list of merge candidates and, for each of these merge candidates, whether merging the current block 40 with the merge candidate would be the best encoding choice, e.g., in terms of bitrate/distortion optimization. Encoder 10 is configured to determine the set or list of merge candidates for a current block 40 based on a previously encoded portion of bitstream 30. For example, encoder 10 obtains at least a portion of the set or list of merge candidates by receiving coding parameters associated with regionally and/or temporally neighboring blocks 40 that have been previously encoded, depending on the coding order applied by encoder 10. Temporal proximity means, for example, that a block of a previously encoded video picture, to which picture 20 belongs, has temporally neighboring blocks that are spatially positioned so as to spatially overlap the current block 40 of the current picture 20. Thus, for this portion of the set or list of merge candidates, there is a one-to-one association between each merge candidate and its spatially and/or temporally neighboring blocks. Each merge candidate has coding parameters associated with it. If the current block 40 is merged with any of the merge candidates, the encoder 10 sets the coding parameters of the current block 40 according to the merge candidate. For example, the encoder 10 may set the coding parameters of the current block 40 equal to those of the corresponding merge candidate, i.e., the encoder 10 may copy the coding parameters of the current block 40 from the corresponding merge candidate. Thus, for this description of the set or list of merge candidates, the coding parameters of a merge candidate are either directly adopted from a spatially and/or temporally neighboring block, or are derived from the coding parameters of the corresponding merge candidate by adopting the same, i.e., setting the merge candidate identically, but taking into account regional changes, e.g., by rescaling the adopted coding parameters according to the regional changes. For example, the coding parameters of at least a portion of the merged state may include motion parameters. However, the motion parameters may indicate different reference picture indices. More specifically, the adopted motion parameter may indicate a time interval between the current image and the reference image, and in merging the current block with a corresponding merge candidate having the corresponding motion parameter, the encoder 10 may be configured to adjust the motion parameter scale of the corresponding merge candidate so as to adapt its time interval to the time interval selected for the current block.

在任何情况中,到当前为止上述的合并候选者共同地具有它们相关的编码参数,并且在这些合并候选者以及邻近区块的间有一种一对一关联性。因此,合并区块40与刚描述合并候选者可被视为将这些区块合并成为一个或多个区块40群组,因而编码参数不变化跨越这些区块40群组内的图像20,除了尺度调适或其类似者的外。实际上,与任何刚描述合并候选者的合并将减低编码参数越过图像20变化的尺度。此外,与任何刚描述的合并候选者的合并将导致子分割图像20分别地成为区块40以及区块40的群组的额外自由度。因此,就此而言,使区块40合并成为此些区块群组可被认为是导致编码器10使用于这些区块40群组为单位变化跨越图像20的编码参数而编码图像20。In any case, the merge candidates described so far share their associated coding parameters, and there is a one-to-one correlation between these merge candidates and neighboring blocks. Thus, merging blocks 40 with the merge candidates just described can be viewed as merging these blocks into one or more groups of blocks 40, whereby coding parameters do not vary across image 20 within these groups of blocks 40, except for scale adaptation or the like. In practice, merging with any of the merge candidates just described will reduce the scale at which coding parameters vary across image 20. Furthermore, merging with any of the merge candidates just described will result in additional degrees of freedom in subdividing image 20 into blocks 40 and groups of blocks 40, respectively. Thus, in this regard, merging blocks 40 into these groups of blocks can be viewed as causing encoder 10 to encode image 20 using coding parameters that vary across image 20 for these groups of blocks 40.

除了刚提到的合并候选者外,编码器10也可增加合并候选者至合并候选者的集合/列表中,其是二个或更多个邻近区块的编码参数的组合结果,例如,其算术平均、几何平均或邻近区块的编码参数的中数以及其类似者。In addition to the merge candidates just mentioned, the encoder 10 may also add merge candidates to the set/list of merge candidates, which are the combination results of the coding parameters of two or more neighboring blocks, for example, their arithmetic mean, geometric mean or median of the coding parameters of the neighboring blocks and the like.

因此,比较至使图像20为区块40的子分割所定义的间隔尺寸,编码器10有效地减低编码参数明确地在比特流30的内被发送的间隔尺寸。这些区块40的一些通过使用上面概述的合并选择以使用一者以及其编码参数而形成区块群组。一些区块经由合并彼此耦合,但是经由相应的尺度调适和/或组合功能使用在彼此间相关联的不同的编码参数。一些区块40并不受合并,并且因此编码器10直接地编码这些编码参数进入比特流30。Thus, the encoder 10 effectively reduces the granularity at which coding parameters are explicitly transmitted within the bitstream 30, compared to the granularity defined by the subdivision of the image 20 into blocks 40. Some of these blocks 40 form block groups by using the merge selection outlined above to use one and its coding parameters. Some blocks are coupled to each other via merging, but use different coding parameters that are associated with each other via corresponding scaling and/or combining functions. Some blocks 40 are not subject to merging, and therefore the encoder 10 encodes these coding parameters directly into the bitstream 30.

编码器10使用因此被定义的区块40的编码参数以便决定对于图像20的预测信号。编码器10进行区块方式的预测信号的决定,其中预测信号取决于关联于相应区块40的编码参数。The encoder 10 uses the coding parameters of the block 40 thus defined in order to determine a prediction signal for the image 20 . The encoder 10 determines the prediction signal block-wise, wherein the prediction signal depends on the coding parameters associated with the respective block 40 .

利用编码器10被进行的另一决定是关于残余量,亦即,在当前区块40的相应的局部区域的预测信号以及原始图像内容间的差量,是否将在比特流30的内被发送。亦即,编码器10决定,对于区块40,是否跳过模式将被应用至相应的区块。如果跳过模式被应用,则编码器10仅以从关联于相应区块40的编码参数被导出、或取决于关联于相应区块40的编码参数的预测信号形式,来编码在当前部分区块40的内的图像20,并且在跳过模式被取消的情况中,编码器10使用预测信号以及残余数据将在区块40内的图像20编码成为比特流30。Another decision made by the encoder 10 is whether a residual, i.e., the difference between the prediction signal and the original image content of the corresponding local area of the current block 40, is to be sent in the bitstream 30. That is, the encoder 10 decides whether a skip mode is to be applied to the corresponding block 40. If the skip mode is applied, the encoder 10 encodes the image 20 within the current partial block 40 only in the form of a prediction signal derived from or dependent on the coding parameters associated with the corresponding block 40, and in the event that the skip mode is deactivated, the encoder 10 encodes the image 20 within the block 40 into the bitstream 30 using the prediction signal and the residual data.

为了节省用于对关于一方面为合并以及另一方面的跳过模式的决定发信令的位率,编码器10共同地使用一个标记而对于区块40的两个决定发信令。更精确地说,可实现共同发信令,使得合并和跳过模式两者的致动共同地在比特流30的内通过假设一第一可能标记状态的相应区块40的标记被指示,然而,该标记的其它标记状态仅指示解码器关于合并或跳过模式的一者不被致动。例如,编码器10可决定对于某一区块40致动合并,但是撤销该跳过模式。该情况中,编码器10使用其它标记状态以便在比特流30的内发信令关于合并以及跳过模式至少一者的撤销,同时在比特流30的内依次地,例如,利用另一标记而发信令合并的致动。因此,仅在区块40是合并以及跳过模式不同时被致动的情况中,编码器10必须发送这进一步的标记。在下面进一步说明的实施例中,第一标记被称为mrg_cbf或跳过_标记(skip_flag),而辅助合并指示标记被称为mrg或合并_标记(merge_flag)。本申请发明者已发现这一发信令状态的共同使用,以便共同地发信令合并以及跳过模式的致动可降低比特流30的整体位率。To save bitrate for signaling the decision to merge, on the one hand, and skip mode, on the other, encoder 10 uses a single flag to signal both decisions for block 40. More precisely, the signaling can be implemented jointly so that activation of both merge and skip modes is indicated jointly within bitstream 30 by a flag for the corresponding block 40 assuming a first possible flag state. However, the other flag states of the flag only indicate to the decoder that either merge or skip mode is not activated. For example, encoder 10 may decide to activate merge for a particular block 40 but deactivate skip mode. In this case, encoder 10 uses the other flag state to signal deactivation of at least one of merge and skip modes within bitstream 30, while signaling activation of merge within bitstream 30 sequentially, for example, using another flag. Thus, encoder 10 only needs to send this further flag if merge and skip modes are not simultaneously activated for a block 40. In the embodiments described further below, the first flag is referred to as mrg_cbf or skip_flag, and the auxiliary merge indication flag is referred to as mrg or merge_flag. The inventors have discovered that the common use of this signaling state to jointly signal the activation of merge and skip modes can reduce the overall bit rate of the bitstream 30.

关于刚刚提及的发信令状态,应注意到,此一发信令状态可利用比特流30的一位状态被决定。但是,编码器10可被配置而以熵编码技术将比特流30编码,并且因此在标记发信令状态以及比特流30的间的对应性可能更复杂化。该情况中,状态可对应至熵解码领域中的比特流30的一位。更进一步地,发信令状态可对应至对于编码字组根据可变长度编码机构被规定的标记两个状态的一者。在算术编码的情况中,共同地发信令合并以及跳过模式的致动的发信令状态,可对应至算术编码机构下的符号文字的符号的一者。Regarding the signaling state just mentioned, it should be noted that this signaling state can be determined using the state of a bit in the bitstream 30. However, the encoder 10 can be configured to encode the bitstream 30 using entropy coding techniques, and thus the correspondence between the signaling state and the bitstream 30 may be more complex. In this case, the state can correspond to a bit in the bitstream 30 in the entropy decoding domain. Furthermore, the signaling state can correspond to one of two states specified for a codeword according to a variable length coding mechanism. In the case of arithmetic coding, the signaling state that commonly signals the activation of merge and skip modes can correspond to one of the symbols in the symbol literal of the arithmetic coding mechanism.

如上面的描述,编码器10使用比特流30的内的一标记以发信令合并以及跳过模式的同时致动。如下面将更详细的描述,这标记可在具有多于二个可能状态的一语法元素的内被发送。这语法元素同样地也可,例如,发信令其它的编码选择。下面将更详细说明其细节。但是,在那情况中,一个或多个语法元素的可能状态的一者将发信令同时发生的致动。亦即,每当刚刚描述的当前区块40的语法元素确定这预定的可能状态时,编码器10因而发信令合并以及跳过模式两者的致动。解码器因此不需要进一步相应地发信令关于合并的致动以及跳过模式的致动。As described above, encoder 10 uses a flag within bitstream 30 to signal the simultaneous activation of merge and skip modes. As will be described in more detail below, this flag can be sent within a syntax element with more than two possible states. This syntax element can also, for example, signal other coding options. The details will be explained in more detail below. However, in that case, one of the possible states of one or more syntax elements will signal the simultaneous activation. That is, whenever the syntax element of the current block 40 just described determines this predetermined possible state, encoder 10 signals the activation of both merge and skip modes. The decoder therefore does not need to further signal the activation of merge and skip modes accordingly.

关于上面的说明,应注意到,使图像20分隔成为区块40可能不代表对于图像20所决定编码参数的最佳分辨率。反而,编码器10可将进一步的分隔信息附加于各区块40,以便在比特流30内发信令供相应地分隔当前区块40成为子区块50以及60,亦即,样本子集,的所支援分隔图样的一者。该情况中,同时的合并/跳过决定是以区块40为单位利用编码器10被进行,因而编码参数以及,例如,彼此分开的辅助合并决定和/或跳过模式决定,以区块40的次分隔为单位,亦即,以图1区块40示出范例的子区块50以及60为单位,对于图像20被定义。当然,一非分隔模式可代表所支持分隔图样的一者,因而导致编码器10仅决定对于区块40的一组编码参数。无关于相应的分隔图样的子区块50以及60数目,合并决定可应用至所有的子区块,亦即,一个或多个子区块。亦即,如果对于区块40的合并被致动,这致动对于所有的子区块可以是有效的。根据下面进一步描述的一实施例,上述共同状态的共同地发信令合并以及跳过模式致动,可另外地同时发信令对于当前区块40的所支持分隔图样间的非分隔图样,因而在标记或语法元素假设这状态的情况中,不需要进一步发送对于当前区块的分隔信息。当然,除了合并以及跳过模式的致动的外,任何在支持分隔图样的间的其它分隔图样可另外地同时被指示。With respect to the above description, it should be noted that partitioning picture 20 into blocks 40 may not represent the optimal resolution for determining coding parameters for picture 20. Instead, encoder 10 may append further partitioning information to each block 40 to signal within bitstream 30 one of the supported partitioning patterns for partitioning the current block 40 into subblocks 50 and 60, i.e., sample subsets. In this case, simultaneous merge/skip mode decisions are made by encoder 10 on a per-block basis, so that coding parameters and, for example, separate auxiliary merge and/or skip mode decisions, are defined for picture 20 on a per-block basis, i.e., on subblocks 50 and 60 in the example shown for block 40 in FIG. Of course, a non-partitioning mode may represent one of the supported partitioning patterns, resulting in encoder 10 determining only one set of coding parameters for block 40. Regardless of the number of subblocks 50 and 60 in the corresponding separation pattern, the merge decision can apply to all subblocks, i.e., one or more subblocks. That is, if merge is activated for block 40, this activation can be effective for all subblocks. According to an embodiment described further below, the aforementioned common state of jointly signaling merge and skip mode activation can also simultaneously signal a non-separation pattern between the supported separation patterns for the current block 40, so that in the event that a flag or syntax element assumes this state, no further separation information for the current block needs to be sent. Of course, in addition to the activation of merge and skip mode, any other separation pattern between the supported separation patterns can also be indicated simultaneously.

根据本申请的一些实施例,编码器10避免一方面自区块40的区块分隔的共同使用于及另一方面来自子区块50以及60的合并所产生的位效能损失。为更精确故,例如,在位率/失真最佳化意义,编码器10可决定是否对进一步的分隔区块40是较佳,以及关于那个支持分隔图样应被使用于当前区块40中,以便调适某些编码参数在图像20的当前区块40内被设定或被定义的间隔尺寸。如将在下面更详细的描述,编码参数,例如,可代表预测参数,例如,像框间预测参数。此些像框间预测参数,例如,可包括一参考图像索引、一移动向量以及其类似者。支持分隔图样,例如,可包括一非分隔模式,亦即,根据其使当前区块40是不进一步被分隔的一选择,一水平分隔模式,亦即,根据其使当前区块40沿着一水平延伸线被子分割成为一上方或顶部部分与一底部或下方部分的一选择,以及一垂直分隔模式,亦即,根据其使当前区块40沿着一垂直延伸线垂直地被子分割成为一左方部分与一右方部分的一选择。除此的外,支持分隔图样也可包括一选择,根据其使当前区块40进一步规则性地被子分割成为各假设为当前区块40的四分的一的四个进一步区块。进一步地,分隔可以是有关图像20的所有区块40或仅是其的一适当的子集,例如,那些具有与的相关的某一编码模式者,例如,像框间预测模式。同样地,应注意到,就其本身而言,合并可仅是供用于某些区块,例如,那些以像框间预测模式被编码者。根据下面进一步描述的一实施例,上述共同地说明的状态也同时发信令关于相应的区块是像框间预测模式而不是像框内预测模式。因此,对于区块40的上述标记的一状态可发信令关于这区块是不进一步被分隔并且合并与跳过模式针对其被致动的像框间预测编码区块。但是,如于标记假设另一状态的情况中的一辅助决定,各分隔或样本子集50以及60可在比特流30之内相应地附有一进一步的标记,以便发信令合并是否将被应用至相应的分隔50以及60。进一步地,支持分隔模式的不同子集可能是可供用于区块40,例如,在多树型子分割叶部区块情况中,组合或相应地取决于区块40的区块尺寸、子分割位准。According to some embodiments of the present application, encoder 10 avoids the bit efficiency loss resulting from the common use of block partitioning of block 40 on the one hand and from the merging of sub-blocks 50 and 60 on the other hand. To be more precise, for example, in the sense of bit rate/distortion optimization, encoder 10 can determine whether it is preferable to further partition block 40 and which supporting partitioning pattern should be used in the current block 40 in order to adapt the granularity at which certain coding parameters are set or defined within the current block 40 of picture 20. As will be described in more detail below, the coding parameters can, for example, represent prediction parameters, such as inter-frame prediction parameters. These inter-frame prediction parameters can, for example, include a reference picture index, a motion vector, and the like. Supported partitioning patterns may, for example, include a non-partitioning mode, i.e., a selection according to which the current block 40 is not further partitioned, a horizontal partitioning mode, i.e., a selection according to which the current block 40 is subdivided along a horizontally extending line into an upper or top portion and a lower or bottom portion, and a vertical partitioning mode, i.e., a selection according to which the current block 40 is vertically subdivided along a vertically extending line into a left portion and a right portion. Furthermore, supported partitioning patterns may also include a selection according to which the current block 40 is further regularly subdivided into four further blocks, each assuming a fourth of the current block 40. Furthermore, the partitioning may involve all blocks 40 of the image 20 or only a suitable subset thereof, e.g., those having a certain coding mode associated therewith, such as inter-frame prediction mode. Similarly, it should be noted that merging, as such, may only be applicable to certain blocks, e.g., those coded in inter-frame prediction mode. According to an embodiment further described below, the states described above also signal that the corresponding block is in inter-prediction mode rather than intra-prediction mode. Thus, a state of the above flag for block 40 signals that the block is not further partitioned and that merging and skip modes are activated for the inter-prediction coded block. However, as an auxiliary decision in the case where the flag assumes another state, each partition or sample subset 50 and 60 may be accompanied by a further flag within the bitstream 30 to signal whether merging is to be applied to the corresponding partition 50 and 60. Furthermore, different subsets of supported partition modes may be available for block 40, for example, in the case of multi-tree sub-partitioned leaf blocks, in combination or depending on the block size, sub-partition level, or the like of block 40.

亦即,使图像20子分割成为区块,以便得到,尤其是,区块40可在比特流之内被固定或被发信令。同样地,将被使用于进一步分隔当前区块40的分隔图样可以分隔信息形式在比特流30之内被发信令。因此,分隔信息因此可被视为图像20子分割成为区块40的一种延伸。另一方面,使图像20成为区块40的子分割的原始间隔尺寸的另外的关联性仍然可保持。例如,编码器10可被配置为在比特流30之内发信令将被使用于利用区块40所定义的间隔尺寸的图像20的相应部分或区块40的编码模式,同时编码器10可被配置为通过针对相应区块40所选择的相应分隔图样所定义的一增加(较细)间隔尺寸,而在相应区块40之内变化相应编码模式的编码参数。例如,以区块40的间隔尺寸发信令的编码模式可区分像框内预测模式、像框间预测模式以及其类似者,例如,时间性像框间预测模式、视图间预测模式等等。自相应区块40的分隔产生的关联于一个或多个子区块(分隔)的编码参数类别,接着取决于被规定至相应区块40的编码模式。例如,对于一像框内编码区块40,编码参数可包括一空间方向,沿着该空间方向的图像20先前被解码部分的图像内容被使用于充填相应区块40。在一像框间编码区块40的情况中,编码参数可包括,尤其,用于移动补偿预测的一移动向量。That is, the subdivision of image 20 into blocks, in particular to obtain blocks 40, can be fixed or signaled within the bitstream. Similarly, the partitioning pattern to be used to further partition the current block 40 can be signaled within bitstream 30 in the form of partitioning information. Therefore, the partitioning information can be considered an extension of the subdivision of image 20 into blocks 40. On the other hand, the original granularity of the subdivision of image 20 into blocks 40 can still be maintained. For example, encoder 10 can be configured to signal within bitstream 30 the coding mode to be used for the corresponding portion of image 20 or block 40 using the granularity defined by block 40, and encoder 10 can be configured to vary the coding parameters of the corresponding coding mode within the corresponding block 40 by increasing the granularity defined by the corresponding partitioning pattern selected for the corresponding block 40. For example, the coding mode signaled at the granularity of the block 40 may distinguish between an intra prediction mode, an inter prediction mode, and the like, such as a temporal inter prediction mode, an inter-view prediction mode, etc. The type of coding parameters associated with one or more sub-blocks (partitions) resulting from the partitioning of the respective block 40 then depends on the coding mode assigned to the respective block 40. For example, for an intra-coded block 40, the coding parameters may include a spatial direction along which the image content of a previously decoded portion of the image 20 is used to fill the respective block 40. In the case of an inter-coded block 40, the coding parameters may include, in particular, a motion vector for motion-compensated prediction.

图1示例地示出被子分割成为两个子区块50以及60的当前区块40。尤其是,一垂直分隔模式示例地被示出。较小的区块50以及60也可被称为子区块50以及60或分隔部分50以及60或预测单位50以及60。尤其是,编码器10可被配置,以于被发信令的支持分隔图样的一者规定使当前区块40成为两个或更多个进一步区块50以及60的一子分割的情况中,对于除了编码顺序中的子区块50以及60的一第一子区块之外的所有进一步区块,自供用于相应子区块的一组编码参数候选者,移除具有编码参数相同于关联于任何子区块(其当与相应子区块合并时,将形成支持分隔图样之一)的编码参数的编码参数候选者。为更精确故,对于支持分隔图样各者,一编码顺序被定义在产生的一个或多个分隔图样50以及60之中。在图1的情况中,编码顺序利用箭号70被示例地示出,其定义左方分隔50优先于右方分隔60被编码。在水平分隔模式情况中,其可被定义上方分隔优先于下方分隔被编码。在任何情况中,编码器10被配置而对于以编码顺序70的第二分隔60,自对于相应第二分隔60的该组编码参数候选者,移除具有相同于关联第一分隔50的编码参数的编码参数的编码参数候选者,以便避免该合并的产生,亦即,事实上分隔50以及60两者皆将具有与的相关的相同编码参数,实际上,其可通过选择对于当前区块40的非分隔模式而以较低编码率等效地产生。FIG1 exemplarily illustrates a current block 40 that has been subdivided into two subblocks 50 and 60. In particular, a vertical partitioning pattern is illustrated. The smaller blocks 50 and 60 may also be referred to as subblocks 50 and 60, or partitions 50 and 60, or prediction units 50 and 60. In particular, encoder 10 may be configured to, when one of the signaled supported partitioning patterns specifies a subdivision of the current block 40 into two or more further blocks 50 and 60, remove, for all further blocks except a first subblock of subblocks 50 and 60 in coding order, from the set of coding parameter candidates for the respective subblock, coding parameter candidates having coding parameters identical to coding parameters associated with any subblock that, when merged with the respective subblock, would form one of the supported partitioning patterns. To be more precise, for each supported partitioning pattern, a coding order is defined within the generated one or more partitioning patterns 50 and 60. In the case of FIG1 , the coding order is exemplarily shown by arrow 70, which defines that the left partition 50 is coded before the right partition 60. In the case of a horizontal partition mode, it can be defined that the upper partition is coded before the lower partition. In any case, the encoder 10 is configured to remove, for the second partition 60 in the coding order 70, from the set of coding parameter candidates for the corresponding second partition 60, the coding parameter candidates having the same coding parameters as the coding parameters associated with the first partition 50, so as to avoid the occurrence of such a merge, that is, in fact, the partitions 50 and 60 will both have the same coding parameters associated with , which can actually be equivalently produced at a lower coding rate by selecting a non-partition mode for the current block 40.

为了更精确,编码器10可被配置为有效方法与区块分隔一起使用区块合并。就关于区块合并而言,编码器10可针对分隔50以及60各者而决定编码参数候选者的相应的集合。编码器可被配置为关联先前被解码区块的编码参数为基础而决定对于分隔50以及60各者的编码参数候选者集合。尤其是,在编码参数候选者集合内的至少一些编码参数候选者可以是等于,亦即,可被采用自先前被解码的分隔的编码参数。另外地,至少一些的编码参数候选者可经由一适当的组合(例如,中值数、均数或其类似者),而从关联多于一个先前被编码分隔的编码参数候选者被导出。但是,因为编码器10被配置为进行编码参数候选者减低集合的决定,并且,如果在移除之后多于一个的编码参数候选者留下,对于非第一分隔60的每一个,在留下的非移除编码参数候选者之间的选择,以便取决于一非移除或被选择的编码参数候选者而设定关联相应分隔的编码参数,编码器10被配置为进行移除使得将有效地导致分隔50以及60的再联合的编码参数候选者被移除。亦即,语法群集有效地被避免,根据其一有效的分隔情况被编码将比仅通过单独的使用分隔信息而直接地发信令这分隔的情况更复杂。For greater precision, encoder 10 can be configured to efficiently use block merging with block partitioning. Regarding block merging, encoder 10 can determine a corresponding set of coding parameter candidates for each of partitions 50 and 60. The encoder can be configured to determine the set of coding parameter candidates for each of partitions 50 and 60 based on the coding parameters of previously decoded blocks. In particular, at least some of the coding parameter candidates within the set of coding parameter candidates can be equal to, i.e., can be adopted from, the coding parameters of a previously decoded partition. Alternatively, at least some of the coding parameter candidates can be derived from coding parameter candidates associated with more than one previously encoded partition via a suitable combination (e.g., median, mean, or the like). However, because the encoder 10 is configured to make a decision on the reduced set of coding parameter candidates and, if more than one coding parameter candidate remains after the removal, for each non-first partition 60, to select between the remaining non-removed coding parameter candidates so as to set the coding parameters associated with the respective partition depending on a non-removed or selected coding parameter candidate, the encoder 10 is configured to perform the removal so that the coding parameter candidates that would effectively result in the re-association of the partitions 50 and 60 are removed. That is, syntactic clusters are effectively avoided, according to which encoding of a valid partition situation would be more complex than directly signaling the situation of this partition by using partition information alone.

此外,由于编码参数候选者集合成为较小,编码合并信息进入比特流30所需的侧信息数量可能由于这些候选者集合中较低的元素数量而减少。尤其是,由于解码器是可如图1的编码器般,以相同方式决定并且依次地减低编码参数候选者集合,图1的编码器10是可利用编码参数候选者的减低集合(通过,例如,使用较少的位),以便将一语法元素塞进入比特流30中,指明非移除编码参数候选者的哪一个是将被使用于合并。当然,在相应分隔的非移除编码参数候选者数目仅是一的情况中,进入比特流30的语法元素的引进可完全被抑制。在任何情况中,由于合并,亦即,取决于非移除的编码参数候选者的其余的一者,或被选择的一者而设定关联相应分隔的编码参数,编码器10是可完全地抑制对于相应分隔的编码参数的一新插入于比特流30中,因而也减低侧信息。根据本申请的一些实施例,编码器10可被配置为在比特流30的内发信令用于提炼关于相应分隔的编码参数候选者的余留一者、或被选择的一者的提炼信息。Furthermore, since the set of coding parameter candidates is smaller, the amount of side information required to encode merge information into the bitstream 30 can be reduced due to the lower number of elements in these candidate sets. In particular, since the decoder can determine and sequentially reduce the set of coding parameter candidates in the same manner as the encoder of FIG. 1 , the encoder 10 of FIG. 1 can utilize the reduced set of coding parameter candidates (e.g., by using fewer bits) to insert a syntax element into the bitstream 30 indicating which of the non-removed coding parameter candidates is to be used for merging. Of course, in the case where the number of non-removed coding parameter candidates for the corresponding partition is only one, the introduction of a syntax element into the bitstream 30 can be completely suppressed. In any case, since the merging, i.e., setting the coding parameters associated with the corresponding partition based on one of the remaining, or selected, non-removed coding parameter candidates, the encoder 10 can completely suppress the insertion of a new coding parameter for the corresponding partition into the bitstream 30, thereby also reducing side information. According to some embodiments of the present application, the encoder 10 may be configured to signal within the bitstream 30 refined information for refining the remaining one or the selected one of the corresponding separated coding parameter candidates.

根据刚描述的减低合并候选者列表的可能性,编码器10可被配置为经由它们的编码参数与分隔的编码参数的比较来决定将被移除的合并候选者,其合并将产生另一支持分隔图样。该处理编码参数候选者的方式,将有效地移除图1示出的情况中的至少一个编码参数候选者,例如,假设左方分隔50的编码参数形成用于右方分隔60的编码参数候选者集合的一元素。但是,在它们是等于左方分隔50的编码参数的情况中,另外的编码参数候选者也可被移除。但是,根据本发明另一实施例,编码器10可被配置,以通过自一组候选者区块移除那个或那些的候选者区块(其当与相应的分隔合并时,将产生支持分隔图样的一者),而决定编码顺序中的各第二以及下面的分隔的一组候选者区块。在某些意义上而言,这表示下面的意思。编码器10可被配置为决定供用于一相应分隔50或60(亦即,编码顺序中第一以及下面的一者)的合并候选者,使得候选者集合的各元素确切地具有与候选者采用相关分隔的相应的编码参数相关的先前被编码的区块40的任一者或当前区块40的一分隔。例如,候选者集合的各元素可以是等于,亦即,被采用从先前被编码分隔的这些编码参数的一者,或可以至少仅从先前被编码分隔的一者的编码参数被导出,例如,通过另外地调整尺度或使用另外地被传送的提炼信息的提炼处理。但是,编码器10也可被配置为以使该候选者集合附随有进一步的元素或候选者,亦即,编码参数候选者,其已从多于一个的先前被编码分隔的编码参数的组合被导出,或其已通过修改从一先前被编码分隔的编码参数而被导出,例如,通过仅采取一移动参数列表的编码参数。对于“被组合”元素,在相应候选者元素的编码参数以及一相应的分隔的间没有1:1关联性。根据图1说明的第一选择,编码器10可被配置为自整体的候选者集合移除编码参数等于分隔50的编码参数的所有候选者。根据图1说明的后面选择,编码器10可被配置为仅移除关联于分隔50的候选者集合的元素。协调两论点,编码器10可被配置为自示出一个1:1关联性至一些(例如邻近的)先前被编码的分隔的候选者集合部分以移除候选者,而不延伸该移除(并且搜寻具有相等编码参数的候选者)至具有利用组合所得到的编码参数的候选者集合的其余部分。但是当然,如果一组合也将导致冗余的表示,这可通过自列表移除冗余的编码参数或也可通过对于被组合候选者进行冗余检查而被解决。Based on the possibilities just described for reducing the list of merging candidates, encoder 10 can be configured to determine the merging candidates to be removed by comparing their coding parameters with the coding parameters of partitions whose merging would produce another supported partition pattern. This way of processing the coding parameter candidates will effectively remove at least one coding parameter candidate in the scenario shown in FIG. 1 , for example, assuming that the coding parameters of left partition 50 form an element of the set of coding parameter candidates for right partition 60. However, additional coding parameter candidates may also be removed if they are equal to the coding parameters of left partition 50. However, according to another embodiment of the present invention, encoder 10 can be configured to determine the set of candidate blocks for each second and subsequent partition in coding order by removing from the set of candidate blocks the candidate block or blocks that, when merged with the corresponding partition, would produce one of the supported partition patterns. In some senses, this means the following. The encoder 10 can be configured to determine the merge candidates for a corresponding partition 50 or 60 (i.e., the first and following ones in the coding order) such that each element of the candidate set has exactly one of the previously coded blocks 40 or a partition of the current block 40 associated with the candidate using the corresponding coding parameters of the associated partition. For example, each element of the candidate set can be equal to, i.e., adopt one of these coding parameters from the previously coded partition, or can be derived from at least only the coding parameters of one of the previously coded partitions, e.g., by additional scaling or refinement using additionally transmitted refinement information. However, the encoder 10 can also be configured to accompany the candidate set with further elements or candidates, i.e., coding parameter candidates that have been derived from a combination of coding parameters of more than one previously coded partition, or that have been derived from the coding parameters of a previously coded partition by modification, e.g., by adopting only the coding parameters of a shift parameter list. For "combined" elements, there is no 1:1 correlation between the coding parameters of the corresponding candidate element and those of a corresponding partition. According to a first option illustrated in FIG1 , the encoder 10 can be configured to remove from the overall candidate set all candidates whose coding parameters are equal to the coding parameters of partition 50. According to a later option illustrated in FIG1 , the encoder 10 can be configured to remove only the elements of the candidate set associated with partition 50. Reconciling these two points, the encoder 10 can be configured to remove candidates from the portion of the candidate set that shows a 1:1 correlation to some (e.g., adjacent) previously encoded partition, without extending this removal (and the search for candidates with equal coding parameters) to the rest of the candidate set with the coding parameters obtained by combining. Of course, however, if a combination would also result in redundant representations, this can be resolved by removing the redundant coding parameters from the list or by performing a redundancy check on the combined candidates.

在叙述适合于刚描述的图1实施例的解码器实施例的前,用于编码的一装置,亦即,一编码器,根据图1而更详细描述的实施例将参考图2在下面更详细地被说明。图2示出编码器为包括一子分割器72(其被配置为子分割图像20成为区块40)、一合并器74(其被配置为合并区块40成为如上面描述的一个或多个样本集合群组)、一编码器或编码级76(其被配置为使用于样本集合群组为单位变化跨越图像20的编码参数而编码图像20)、以及位流产生器78。编码器76被配置为通过预测图像20而将图像20编码以及编码对于预定区块的一预测残差量。亦即,编码器76编码,如上所述,不是所有的区块40的预测残差量。反而,它们的一些具有被致动的跳过模式。位流产生器78被配置,以将预测残差量以及编码参数一起嵌进比特流30中,同时有对于区块40的至少一子集各者的一个或多个语法元素,其发信令相应的区块40是否与另一区块一起被合并进入这些群组的一者中,以及相应的区块是否使用跳过模式。如上所述,在子分割器72的子分割的下的子分割信息也可利用位流产生器78将图像20编码成为比特流30。这在图2中利用虚线被指示。通过合并器74进行的合并决定以及通过编码器76进行的跳过模式决定,如上面描述的,是共同地利用位流产生器78被编码成为比特流30,使得当前区块40的一个或多个语法元素的可能状态的一者发信令,关于相应的区块将与图像20的另一区块一起被合并成为区块群组的一者,并且不具有预测残差量被编码并且被插入比特流30中。位流产生器78,例如,可使用熵编码技术,以便进行插入。子分割器72可能需负责使图像20子分割成为区块40的子分割,以及进一步相应地分隔成为分隔50以及60的选择。合并器74是负责于上面所描述的合并决定,而编码器76,例如,可决定区块40的跳过模式。当然,所有的这些决定整体影响位率/失真量测,并且因此装置10可被配置为试验许多决定选择,以便确定那个选择是较佳的。Before describing a decoder embodiment suitable for the embodiment of FIG. 1 just described, an apparatus for encoding, i.e., an encoder, will be described in more detail below with reference to FIG. 2 , based on the embodiment described in more detail with reference to FIG. FIG. 2 shows the encoder as comprising a subdivider 72 configured to subdivide image 20 into blocks 40, a merger 74 configured to merge blocks 40 into one or more sample set groups as described above, an encoder or encoding stage 76 configured to encode image 20 using encoding parameters that vary across image 20 in units of sample set groups, and a bitstream generator 78. Encoder 76 is configured to encode image 20 by predicting image 20 and to encode a prediction residual for a predetermined block. That is, encoder 76 encodes, as described above, not all prediction residuals for blocks 40. Instead, some of these blocks have their skip mode activated. Bitstream generator 78 is configured to embed the prediction residual and coding parameters into bitstream 30, along with one or more syntax elements for each of at least a subset of blocks 40 that signal whether the corresponding block 40 is to be merged with another block into one of the groups and whether the corresponding block uses skip mode. As described above, sub-partitioning information from the sub-partitioning by sub-partitioner 72 may also be used by bitstream generator 78 to encode image 20 into bitstream 30. This is indicated by dashed lines in FIG2 . The merge decision made by merger 74 and the skip mode decision made by encoder 76, as described above, are jointly encoded into bitstream 30 by bitstream generator 78, such that one of the possible states of one or more syntax elements for the current block 40 signals whether the corresponding block is to be merged with another block of image 20 into one of the groups of blocks and has no prediction residual encoded and inserted into bitstream 30. Bitstream generator 78 may, for example, use entropy coding techniques to perform the insertion. Sub-partitioner 72 may be responsible for selecting the sub-partitioning of picture 20 into sub-partitions of block 40, and further sub-partitioning into partitions 50 and 60 accordingly. Merger 74 is responsible for the merge decisions described above, while encoder 76 may, for example, determine the skip mode for block 40. Of course, all of these decisions collectively affect the rate/distortion metric, and thus device 10 may be configured to experiment with a number of decision options to determine which is optimal.

在说明根据本发明关于第1及2图的一实施例的编码器后,用于解码的一装置,亦即,根据一实施例的解码器80将参考图3被说明。图3的解码器80被配置为解码比特流30,如上所述地,图像20被编码在其中。尤其是,解码器80被配置,以对于一当前样本集合或区块40,共同地回应于在比特流30内的上述标记关于关联当前区块40的编码参数是否将根据一合并候选者被设定或将自比特流30取得的一第一决定,以及图像20的当前区块40是否仅以取决于关联当前区块40的编码参数的一预测信号为基础,而无需任何残余数据地被重建、或将利用比特流30内的残余数据通过提炼取决于关联当前区块40的编码参数的预测信号而被重建的一第二决定。After describing an encoder according to an embodiment of the present invention with reference to Figures 1 and 2, an apparatus for decoding, namely a decoder 80 according to an embodiment, will be described with reference to Figure 3. Decoder 80 of Figure 3 is configured to decode a bitstream 30 in which, as described above, picture 20 is encoded. In particular, decoder 80 is configured to collectively respond to the aforementioned flags within bitstream 30 regarding, for a current set of samples or block 40, a first determination as to whether coding parameters associated with current block 40 are to be set based on a merge candidate or to be obtained from bitstream 30, and a second determination as to whether current block 40 of picture 20 is to be reconstructed solely based on a prediction signal dependent on the coding parameters associated with current block 40 without any residual data, or to be reconstructed using residual data within bitstream 30 by refining a prediction signal dependent on the coding parameters associated with current block 40.

亦即,解码器的功能主要与有关第1以及2图所说明的编码器一致。例如,解码器80可被配置为进行使图像20成为区块40的子分割。这子分割可以是原定解码器80所已知的,或解码器80可被配置为自比特流30提取相应的子分割信息。每当区块40被合并时,解码器80可被配置为通过根据一合并候选者而设定编码参数以得到关联于区块40的编码参数。为了决定合并候选者,解码器80可以完全地相同于编码器处理的方式而进行上面描述的合并候选者集合或列表的决定。根据本申请的一些实施例,这甚至包含合并候选者的初步集合/列表的减缩,以便避免上面描述的在一方面的区块分隔以及另一方面的区块合并的间的冗余。每当合并被致动时,在决定的合并候选者集合或列表的间的选择可通过自比特流30提取一相应合并索引利用解码器80被进行。合并索引指示从上述所决定的(减缩)合并候选者集合或列表中将被使用的合并候选者。进一步地,也如上所述,解码器80也可被配置而使区块40根据支持分隔图样的一者接受分隔。当然,这些分隔图样的一者可包含一非分隔模式,区块40根据其而不进一步被分隔。在假设共同地被定义的状态指示对于某一区块40的合并以及跳过模式致动的详细说明的标记情况中,解码器80可被配置而仅以预测的信号而不是其与任何残余信号的组合为基础而重建当前区块40。换言之,该情况中解码器80抑制对于当前区块40的残余数据提取并且仅通过使用自当前区块编码参数所导出的预测信号重建在当前区块40内的图像20。也如先前所述地,解码器80可解释标记的共同状态作为当前区块40的一发信令,而这区块是一像框间预测区块和/或不进一步被分隔的区块。亦即,解码器80可被配置为至于通过根据一合并候选者以设定这些编码参数而得到关联于当前区块40的编码参数,并且如果在30比特流内的当前区块40的讨论中的标记发信令关联当前区块40的编码参数是将使用合并被设定,则仅以取决于当前区块40的编码参数而无需任何残余数据的预测信号为基础而重建图像20的当前区块40。但是,如果讨论中的标记,发信令当前区块40不遭受合并或跳过模式不被使用,则解码器80可以响应在30比特流内的另一标记,使得解码器80,取决于这另一标记,通过根据一相应的合并候选者设定编码参数而得到关联于当前区块的编码参数、自比特流30得到对于当前区块的残余数据并且以预测信号以及残余数据为基础重建图像20的当前区块40、或自比特流30提取关联于当前区块40的编码参数、从比特流30得到对于当前区块40的残余数据并且以预测信号和残余数据为基础重建图像20的当前区块40。如上面的描述,解码器80可被配置为仅在第一标记不假设共同地发信令状态同时地发信令合并以及跳过模式的致动的情况中,预期在比特流30内的另一标记的存在。接着,解码器80自比特流提取另一标记,以便确定合并是否将发生而无跳过模式。当然,在第二标记发信令合并撤销,而有第三标记发信令跳过模式致动或撤销的情况中,解码器80可另外地被配置为等待对于当前区块40的在比特流30内的另一个第三标记。That is, the decoder's functionality largely corresponds to that of the encoder described with respect to Figures 1 and 2. For example, decoder 80 can be configured to perform a sub-division of image 20 into blocks 40. This sub-division can be known to decoder 80, or decoder 80 can be configured to extract the corresponding sub-division information from bitstream 30. Whenever blocks 40 are merged, decoder 80 can be configured to obtain coding parameters associated with block 40 by setting coding parameters based on a merge candidate. To determine the merge candidate, decoder 80 can perform the above-described determination of the merge candidate set or list in exactly the same manner as the encoder. According to some embodiments of the present application, this even includes reducing the initial set/list of merge candidates to avoid redundancy between block partitioning, on the one hand, and block merging, on the other hand, as described above. Whenever merging is activated, selection between the determined merge candidate sets or lists can be performed by decoder 80 by extracting a corresponding merge index from bitstream 30. The merge index indicates the merge candidate to be used from the determined (reduced) merge candidate set or list. Furthermore, as also described above, decoder 80 can also be configured to allow block 40 to be partitioned according to one of the supported partitioning patterns. Of course, one of these partitioning patterns may include a non-partitioning mode, according to which block 40 is not further partitioned. In the case of a flagged scenario where a commonly defined state indicates a detailed description of merge and skip mode activation for a particular block 40, decoder 80 can be configured to reconstruct the current block 40 based solely on the predicted signal, rather than its combination with any residual signal. In other words, in this case, decoder 80 suppresses residual data extraction for the current block 40 and reconstructs the image 20 within the current block 40 solely using a prediction signal derived from the current block's coding parameters. As also described above, decoder 80 can interpret the common state of the flag as a signaling that the current block 40 is an inter-frame predicted block and/or is not to be further partitioned. That is, the decoder 80 may be configured to obtain the coding parameters associated with the current block 40 by setting these coding parameters according to a merge candidate, and to reconstruct the current block 40 of the image 20 based solely on a prediction signal that depends on the coding parameters of the current block 40 without any residual data if a flag in the discussion of the current block 40 within the 30-bitstream signals that the coding parameters associated with the current block 40 are to be set using a merge. However, if the flag in question signals that the current block 40 is not subject to merging or that skip mode is not used, the decoder 80 may be responsive to another flag within the bitstream 30 such that, depending on the other flag, the decoder 80 derives coding parameters associated with the current block by setting the coding parameters according to a corresponding merging candidate, obtains residual data for the current block from the bitstream 30, and reconstructs the current block 40 of the image 20 based on the prediction signal and the residual data, or extracts coding parameters associated with the current block 40 from the bitstream 30, obtains residual data for the current block 40 from the bitstream 30, and reconstructs the current block 40 of the image 20 based on the prediction signal and the residual data. As described above, the decoder 80 may be configured to anticipate the presence of the other flag within the bitstream 30 only if the first flag does not assume a jointly signaling state simultaneously signaling the activation of merge and skip mode. The decoder 80 then extracts the other flag from the bitstream in order to determine whether a merge is to occur without skip mode. Of course, in the case where a second flag signals merge deactivation, while a third flag signals skip mode activation or deactivation, the decoder 80 may alternatively be configured to wait for another third flag within the bitstream 30 for the current block 40 .

类似于图2,图4示出用于图3的解码的装置的可能实施例。因此,图4示出用于解码的装置,亦即,解码器80,其包括一子分割器82(其被配置为将被编码成为比特流30的图像20子分割成为区块40)、一合并器84(其被配置为合并这些区块40成为一个或多个区块各者的群组)、一解码器86(其被配置为使用样本集合群组为单位变化跨越图像20的编码参数而解码或重建图像20)以及一提取器88。解码器86也被配置,以对于这些预定区块40,亦即,那些具有被关闭的跳过模式者,通过预测图像20、解码对于预定区块40的预测残差以及组合预测残差与自预测图像20所产生的一预测而解码图像20。提取器88被配置为自比特流30一起提取预测残差以及编码参数、与对于区块40的至少一子集的各者的一个或多个语法元素,其发信令相应的区块40是否将与另一区块40一起被合并成为这些群组的一者,其中合并器84被配置为回应于一个或多个语法元素而执行该合并,其中一个或多个语法元素的可能状态的一者发信令关于相应的区块40是将与另一区块40一起被合并成为区块群组的一者并且不具有被编码以及被插入比特流30中的预测残差。2 , FIG4 shows a possible embodiment of an apparatus for decoding of FIG3 . Thus, FIG4 shows an apparatus for decoding, namely, a decoder 80, which includes a subdivider 82 configured to subdivide an image 20 encoded as a bitstream 30 into blocks 40, a merger 84 configured to merge the blocks 40 into groups of one or more blocks, a decoder 86 configured to decode or reconstruct the image 20 using coding parameters that vary across the image 20 in units of sample set groups, and an extractor 88. The decoder 86 is also configured to decode the image 20 for predetermined blocks 40, i.e., those with a skip mode disabled, by predicting the image 20, decoding the prediction residual for the predetermined block 40, and combining the prediction residual with a prediction generated from the predicted image 20. The extractor 88 is configured to extract from the bitstream 30 the prediction residual and the coding parameters, together with one or more syntax elements for each of at least a subset of the blocks 40, which signal whether the corresponding block 40 is to be merged with another block 40 into one of the groups, wherein the merger 84 is configured to perform the merging in response to the one or more syntax elements, wherein one of the possible states of the one or more syntax elements signals that the corresponding block 40 is to be merged with another block 40 into one of the block groups and does not have a prediction residual that is encoded and inserted into the bitstream 30.

因此,比较图4与图2,子分割器82的作用类似于子分割器72,以便恢复利用子分割器72所产生的子分割。子分割器82通过原定值或经由提取器88自比特流30提取子分割信息而辨别关于图像20的子分割。同样地,合并器84形成区块40的合并并且关于经由上述在比特流30内的发信令关于区块40以及区块部分被致动。解码器86使用在比特流30内的编码参数进行图像20的预测信号的产生。在合并情况中,解码器86自相邻区块/分隔复制一当前区块40或当前区块的分隔的编码参数或另外根据合并候选者而以不同方式设定其编码参数。Thus, comparing FIG4 with FIG2 , subpartitioner 82 functions similarly to subpartitioner 72, restoring the subpartitions generated by subpartitioner 72. Subpartitioner 82 identifies subpartitions of image 20 by default or by extracting subpartition information from bitstream 30 via extractor 88. Similarly, merger 84 forms a merger of blocks 40 and is activated with respect to blocks 40 and block portions via the aforementioned signaling within bitstream 30. Decoder 86 uses the coding parameters within bitstream 30 to generate a prediction signal for image 20. In the case of a merge, decoder 86 copies the coding parameters of a current block 40 or partition of the current block from a neighboring block/partition or otherwise sets its coding parameters differently depending on the merge candidate.

如上面的描述,提取器88被配置为解释一当前区块的一标记或语法元素的可能状态的一者,作为同时地发信令合并以及跳过模式的致动的一信号。同时地,提取器88可解释该状态为也发信令对于当前区块40的在支持分隔图样中的一预定的一者。例如,预定的分隔图样可以是区块40根据其而保持不被分隔的非分割模式,并且它本身因此形成一分隔。因此,仅于相应标记或语法元素不确定该同时地发信令状态的情况中,提取器8预测比特流30包括发信令区块40分隔的分隔信息。如将在下面更详细地描述,分隔信息可经由一语法元素在比特流30的内被传送,该语法元素同时地控制当前区块40的编码模式,亦即,分割区块40成为像框被编码的一者以及像框内编码的一者。该情况中,第一标记/语法元素的共同地发信令状态也可被解释作为像框间预测编码模式的一发信令。对于自发信令的分隔信息所产生的各分隔,在对于区块40的第一标记/语法元素不确定共同地发信令状态同时地发信令合并以及跳过模式的致动的情况中,提取器88可自比特流提取另一合并标记。该情况中,跳过模式必然可被提取器88解释为关闭,并且虽然合并可相应地对于这些分隔利用比特流30被致动,残余信号对于这当前区块40自比特流30被提取。As described above, extractor 88 is configured to interpret one of the possible states of a flag or syntax element for a current block as simultaneously signaling the activation of merge and skip modes. Simultaneously, extractor 88 may interpret the state as also signaling a predetermined one of the supported partitioning patterns for current block 40. For example, the predetermined partitioning pattern may be a non-partitioning mode, according to which block 40 remains unpartitioned, thus itself forming a partition. Therefore, extractor 88 predicts that bitstream 30 includes partitioning information signaling the partitioning of block 40 only in cases where the corresponding flag or syntax element does not determine the simultaneously signaling state. As will be described in more detail below, the partitioning information may be conveyed within bitstream 30 via a syntax element that simultaneously controls the coding mode of current block 40, i.e., whether partitioning block 40 into frame-coded and intra-frame-coded. In this case, the jointly signaled state of the first flag/syntax element may also be interpreted as signaling an inter-frame prediction coding mode. For each partition generated by the self-signaled partition information, extractor 88 may extract another merge flag from the bitstream in the case where the first flag/syntax element for block 40 does not determine the state of jointly signaling the activation of merging and skipping modes. In this case, skipping mode may necessarily be interpreted by extractor 88 as off, and although merging may be activated accordingly for these partitions using bitstream 30, a residual signal is extracted from bitstream 30 for this current block 40.

因此,图3或图4的解码器80被配置为解码比特流30。如上所述,比特流30可针对图像20的一当前区块40的支持分隔图样之一发信令。如果被发信令的支持分隔图样之一规定当前区块40子分割成为两个或多个分隔50和60,则解码器80可被配置为以编码顺序70从具有与关联于这些分隔任一个的编码参数相同或相等的编码参数的相应分隔编码参数候选者的一组编码参数候选者,移除除了这些分隔的第一分隔50之外的所有分隔,亦即,图1以及图3示出的范例的分隔60,其中,这些分隔当与相应分隔合并时,将形成支持分隔图样之一,亦即不在比特流30之内被发信令的一者,但却是这些支援分隔图样的一者。3 or 4 is configured to decode the bitstream 30. As described above, the bitstream 30 may signal one of the supported partition patterns for a current block 40 of the image 20. If one of the signaled supported partition patterns specifies a subdivision of the current block 40 into two or more partitions 50 and 60, the decoder 80 may be configured to remove, in coding order 70, from a set of coding parameter candidates for the corresponding partition coding parameter candidates having coding parameters identical or equal to the coding parameters associated with any of these partitions, all partitions except the first partition 50 of these partitions, i.e., partition 60 of the examples shown in FIG1 and FIG3 , wherein these partitions, when combined with the corresponding partition, will form one of the supported partition patterns, i.e., one that is not signaled in the bitstream 30 but is one of the supported partition patterns.

例如,如果不被移除的编码参数候选者数目不是零,则解码器80可被配置为取决于不被移除的参数候选者的一者而设定关联相应分隔60的编码参数。例如,解码器80根据编码参数涉及的时间距离,相应地通过或不通过另外的提炼和/或通过或不通过尺度调整而设定分隔60的编码参数,以便使等于非移除的编码参数候选者的一者。例如,编码参数候选者与出自非移除候选者的合并,除了明确地在比特流30的内对于分隔60而发信令的一参考图像索引外,可具有与的相关的另一参考图像索引。该情况中,编码参数候选者的编码参数可定义各关于一相应的参考图像索引的移动向量,并且解码器80可被配置为根据在两参考图像索引的间的比例而尺度调整最后被选择的非移除的编码参数候选者的移动向量。因此,根据刚刚提及的选择,接受合并的编码参数将包含移动参数,因而参考图像索引将从该处分离。但是,如上面的指示,根据另外的实施例,这些参考图像索引可也以是接受合并的编码参数的一部分。For example, if the number of non-removed coding parameter candidates is non-zero, decoder 80 can be configured to set the coding parameters associated with the corresponding partition 60 depending on one of the non-removed coding parameter candidates. For example, decoder 80 sets the coding parameters of partition 60 to be equal to one of the non-removed coding parameter candidates, with or without further refinement and/or with or without scaling, depending on the temporal distance to which the coding parameters relate. For example, a coding parameter candidate merged with a non-removed candidate may have a reference image index associated with it in addition to the reference image index explicitly signaled within bitstream 30 for partition 60. In this case, the coding parameters of the coding parameter candidates may define motion vectors associated with a corresponding reference image index, and decoder 80 may be configured to scale the motion vector of the last selected non-removed coding parameter candidate according to the ratio between the two reference image indices. Thus, according to the selection just mentioned, the coding parameters that are merged will contain motion parameters, and the reference image indices will be separated therefrom. However, as indicated above, according to further embodiments, these reference picture indices may also be part of the coding parameters subject to merging.

同样地适用于图1与图2的编码器以及第3与4图的解码器,该合并行为可被限制于像框间预测区块40中。因此,解码器80以及编码器10可被配置,以支持当前区块40的像框内以及像框间预测模式,并且仅于当前区块40以像框间预测模式被编码的情况中进行合并。因此,仅此些像框间预测先前被编码的分隔的编码/预测参数可被使用于决定/建构候选者列表。The same applies to the encoders of Figures 1 and 2 and the decoders of Figures 3 and 4 , where the merging behavior can be restricted to inter-prediction blocks 40. Therefore, the decoder 80 and the encoder 10 can be configured to support both intra- and inter-prediction modes for the current block 40, and to perform merging only when the current block 40 is encoded in inter-prediction mode. Consequently, only the previously encoded separate coding/prediction parameters for these inter-prediction blocks can be used to determine/construct the candidate list.

如上面所讨论的,编码参数可以是预测参数,并且解码器80可被配置为使用分隔50以及60的预测参数,以便导出对于相应分隔的一预测信号。当然,编码器10也以此相同方式进行预测信号的导出。但是,编码器10另外地设定预测参数与在比特流30内的所有其它的语法元素,以便以一适当的最佳化意义实现一些最佳化。As discussed above, the coding parameters may be prediction parameters, and decoder 80 may be configured to use the prediction parameters for partitions 50 and 60 to derive a prediction signal for the corresponding partitions. Of course, encoder 10 also derives the prediction signal in the same manner. However, encoder 10 additionally sets the prediction parameters and all other syntax elements in bitstream 30 to achieve some optimization in an appropriate optimization sense.

进一步地,如先前所述,编码器可被配置为仅在对于一相应的分隔的(非移除)编码参数候选者数目是较大于1的情况中,将一索引插入至一(非移除)编码参数候选者。因此,解码器80可被配置,以根据(非移除)编码参数候选者数目(例如,对于分隔60),如果(非移除)编码参数候选者数目是较大于1,则仅预期比特流30包括指明(非移除)编码参数候选者的哪一者被采用于合并的语法元素。但是,在候选者集合数目变为比2较小的情况,可通常地被排除发生,如上所述,通过使用组合编码参数延伸候选者列表/集合而实现,亦即,这些参数从多于一个–或多于二个先前被编码的分隔的编码参数的组合被导出,其限制候选者集合减少的性能为通过采取自或导自正好一先前被编码分隔的而被得到的那些候选者。相对者也是可能的,亦即,通常地移除具有导致另一支持分隔图样的那些分隔的相同数值的所有编码参数候选者。Furthermore, as previously described, the encoder can be configured to insert an index into a (non-removed) coding parameter candidate only if the number of (non-removed) coding parameter candidates for a corresponding partition is greater than 1. Thus, the decoder 80 can be configured to only include, depending on the number of (non-removed) coding parameter candidates (e.g., for partition 60), the syntax element indicating which of the (non-removed) coding parameter candidates was used for the merge if the number of (non-removed) coding parameter candidates is greater than 1. However, in the event that the number of candidate sets becomes smaller than 2, this can generally be eliminated, as described above, by extending the candidate list/set using combined coding parameters, i.e., parameters derived from a combination of coding parameters of more than one—or more than two—previously coded partitions, which limits the reduction of the candidate set to those candidates obtained by taking or deriving from exactly one previously coded partition. The opposite is also possible, i.e., generally removing all coding parameter candidates having the same value for partitions that result in another supported partition pattern.

关于决定,解码器80作用如同编码器10所为。亦即,解码器80可被配置而以关联于先前被解码的分隔的编码参数为基础以决定供用于一区块40的分隔的合并候选者集合。亦即,一编码顺序不仅在相应的区块40分隔50以及60的中被定义,同时也在图像20本身的区块40的中被定义。所有先前于分隔60被编码的分隔,因此,可作为任何依次的分隔(例如,图3情况中的分隔60)的合并候选者集合的决定基础。同时也如上所述,编码器以及解码器可限定合并候选者集合分隔的决定在某一空间和/或时间相邻者中。例如,解码器80可被配置为以关联邻近当前分隔的先前被解码的分隔的编码参数为基础而决定合并候选者集合,其中,这些分隔可置于当前区块40外面以及内部。当然,合并候选者的决定也可以对于编码顺序的第一分隔被进行。仅移除可被移开。With regard to the decision, decoder 80 functions similarly to encoder 10. Specifically, decoder 80 can be configured to determine the merging candidate set for a partition of block 40 based on coding parameters associated with previously decoded partitions. In other words, a coding order is defined not only for partitions 50 and 60 of the corresponding block 40, but also for block 40 of image 20 itself. All partitions coded prior to partition 60 can therefore serve as the basis for determining the merging candidate set for any subsequent partition (e.g., partition 60 in the case of FIG. 3 ). As also described above, the encoder and decoder can restrict the determination of the merging candidate set partitions to certain spatial and/or temporal neighbors. For example, decoder 80 can be configured to determine the merging candidate set based on coding parameters associated with previously decoded partitions adjacent to the current partition, where these partitions can be located both outside and inside the current block 40. Of course, the merging candidate determination can also be performed for the first partition in the coding order. Only removal can be performed.

相同于图1的说明,除了以一像框内预测模式被编码的一者的外,解码器80可被配置为对于出自先前被解码分隔的一启始集合的相应的非第一分隔60决定编码参数候选者集合。1 , except that one is encoded in an intra-frame prediction mode, the decoder 80 may be configured to determine a set of coding parameter candidates for corresponding non-first partitions 60 from a starting set of previously decoded partitions.

进一步地,在编码器将子分割信息引入比特流以便子分割图像20成为区块40的情况中,解码器80可被配置为根据比特流30中的子分割信息而恢复图像20的子分割成为此些编码区块40。Furthermore, in the case where the encoder introduces sub-partition information into the bitstream to sub-partition the image 20 into blocks 40 , the decoder 80 may be configured to restore the sub-partition of the image 20 into these coded blocks 40 according to the sub-partition information in the bitstream 30 .

关于图1至图4,应注意到,对于当前区块40的残余信号可经由比特流30以可能不同于利用关于编码参数的分隔所定义的一间隔尺寸的间隔尺寸被发送。例如,对于跳过模式是不被引动的区块,图1的编码器10可被配置为平行于、或无关于被分隔成为分隔50以及60的方式而将区块40子分割成为一个或多个转换区块。编码器可通过进一步的子分割信息而对于区块40的相应的转换区块子分割发信令。解码器80,接着,可被配置为根据比特流中的进一步的子分割信息,将这区块40的进一步子分割恢复成为一个或多个转换区块,并且以这些转换区块为单位从比特流取得当前区块40的一残余信号。转换区块分隔的含义可以是编码器中的转换,例如,DCT,以及对应的解码器中的反向转换,例如,IDCT分别地在区块40的各转换区块的内被进行。为了重建在区块40的内的图像20,编码器10接着组合,例如,分别地相加,通过应用编码参数在相应的分隔50与60所导出的预测信号,以及残余信号。但是,应注意到,残余编码可能不分别地涉及任何转换以及反向转换,并且预测残差,例如,却在空间领域中被编码。With respect to Figures 1-4, it should be noted that the residual signal for current block 40 may be transmitted via bitstream 30 at a granularity that may differ from the granularity defined by the partitioning associated with the coding parameters. For example, for blocks in which skip mode is not enabled, encoder 10 of Figure 1 may be configured to subdivide block 40 into one or more transform blocks, in parallel with, or independently of, the partitioning into partitions 50 and 60. The encoder may signal the corresponding transform block subdivision of block 40 via further subdivision information. Decoder 80 may then be configured to recover the further subdivision of block 40 into one or more transform blocks based on the further subdivision information in the bitstream, and retrieve a residual signal for current block 40 from the bitstream in units of these transform blocks. Transform block partitioning may mean that a transform in the encoder, such as a DCT, and a corresponding inverse transform in the decoder, such as an IDCT, are performed separately within each transform block of block 40. To reconstruct the image 20 within the block 40, the encoder 10 then combines, e.g., adds, the prediction signal derived by applying the coding parameters at the corresponding intervals 50 and 60, and the residual signal, respectively. However, it should be noted that the residual coding may not involve any transformation and inverse transformation, respectively, and that the prediction residual is, for example, encoded in the spatial domain.

在进一步地说明下面进一步实施例的可能细节的前,第1至4图的编码器以及解码器的可能内部结构将关于第5与6图被说明,但是其中,合并器以及子分割器不在这些附图中被示出,以便集中于混合编码性质。图5示例地示出关于编码器10可如何内部地被构成。如所示出,编码器10可包括一减法器108、转换器100、以及位流产生器102,如图5所指示地,其可进行一熵编码。组件108、100以及102被串连在接收图像20的一输入112,以及输出上述比特流30的一输出114的间。尤其是,减法器108具有连接到输入112的非反相输入并且转换器100被连接在减法器108输出以及位流产生器102的一第一输入的间,位流产生器102具有接着连接到输出114的一输出。图5的编码器10进一步包括以所述顺序串连至转换器100输出的一反向转换器104以及一加法器110。编码器10进一步包括连接在加法器110输出以及加法器110进一步输入与减法器108反向输入的间的一预测器106。Before further describing possible details of further embodiments below, the possible internal structures of the encoder and decoder of Figures 1 through 4 will be described with respect to Figures 5 and 6 , however, the merger and subdivider are not shown in these figures in order to focus on the hybrid coding properties. Figure 5 illustrates an example of how encoder 10 may be internally configured. As shown, encoder 10 may include a subtractor 108, a converter 100, and a bitstream generator 102, which may perform entropy coding, as indicated in Figure 5 . Components 108, 100, and 102 are connected in series between an input 112 for receiving image 20 and an output 114 for outputting the aforementioned bitstream 30. In particular, subtractor 108 has a non-inverting input connected to input 112, and converter 100 is connected between the output of subtractor 108 and a first input of bitstream generator 102, which in turn has an output connected to output 114. 5 further comprises an inverse converter 104 and an adder 110 connected in series to the output of the converter 100 in the stated order. The encoder 10 further comprises a predictor 106 connected between the output of the adder 110 and a further input of the adder 110 and the inverse input of the subtractor 108.

图5的组件如下所示地互动:预测器106预测图像20的一部分,而预测结果,亦即,预测信号,被施加至减法器108的反相输入。减法器108的输出,接着,代表在预测信号以及图像20的相应部分的间的差量,亦即,残余信号。残余信号在转换器100中接受转换编码。亦即,转换器100可进行一转换,例如,一DCT或其类似者,以及在转换的残余信号(亦即,转换系数)上的一随后的量化,以便得到转换系数位准。反向转换器104重建通过转换器100输出的最后残余信号,以得到对应至输入转换器100的残余信号的一重建的残余信号(除了由于在转换器100中的量化的信息损失的外)。重建残余信号以及利用预测器106输出的预测信号相加将导致图像20的相应部分的重建并且自加法器110输出被传送至预测器106输入。预测器106以如上所述的不同模式操作,例如,一像框内预测模式、像框间预测模式以及其类似者。被预测器106所应用于便得到预测信号的预测模式以及对应的编码或预测参数,利用预测器106被传送至熵编码器102以供插入比特流中。The components of FIG. 5 interact as follows: Predictor 106 predicts a portion of image 20, and the prediction result, i.e., the prediction signal, is applied to the inverting input of subtractor 108. The output of subtractor 108, in turn, represents the difference between the prediction signal and the corresponding portion of image 20, i.e., the residual signal. The residual signal undergoes transform coding in converter 100. That is, converter 100 may perform a transform, such as a DCT or the like, and a subsequent quantization on the transformed residual signal (i.e., transform coefficients) to obtain transform coefficient levels. Inverse converter 104 reconstructs the final residual signal output by converter 100 to obtain a reconstructed residual signal corresponding to the residual signal input to converter 100 (except for information lost due to quantization in converter 100). The reconstructed residual signal is added to the prediction signal output by predictor 106, resulting in a reconstruction of the corresponding portion of image 20, and the output of adder 110 is passed to the input of predictor 106. The predictor 106 operates in various modes as described above, such as an intra-frame prediction mode, an inter-frame prediction mode, and the like. The prediction mode and corresponding coding or prediction parameters applied by the predictor 106 to obtain the prediction signal are transmitted by the predictor 106 to the entropy encoder 102 for insertion into the bitstream.

图3以及图4的解码器80的内部结构的一可能实施例,对应至图5中示出的有关编码器的可能者,被示出于图6中。如其中所示出,解码器80可包括一比特流提取器150,其如在图6示出,被实施如一熵解码器、一反向转换器152以及一加法器154,其是,以上述顺序,连接在解码器输入158以及输出160之间。进一步地,图6的解码器包括一连接在加法器154输出以及其进一步的输入之间的预测器156。熵解码器150连接到预测器156的参数输入。A possible embodiment of the internal structure of the decoder 80 of Figures 3 and 4, corresponding to the possible embodiment of the encoder shown in Figure 5, is shown in Figure 6. As shown therein, the decoder 80 may include a bitstream extractor 150, which, as shown in Figure 6, is implemented as an entropy decoder, an inverse transformer 152, and an adder 154, which are, in that order, connected between the decoder input 158 and the output 160. Furthermore, the decoder of Figure 6 includes a predictor 156 connected between the output of the adder 154 and its further input. The entropy decoder 150 is connected to the parameter input of the predictor 156.

简要地叙述图6的解码器功能,熵解码器150是用于提取包含在比特流30中的所有信息。被使用的熵编码机构可以是可变长度编码或算术编码。通过这样,熵解码器150自比特流恢复代表残余信号的转换系数位准并且传送其至反向转换器152。进一步地,熵解码器150作用如同上述的提取器88并且自比特流恢复所有的编码模式以及相关的编码参数并且传送其至预测器156。另外地,分隔信息以及合并信息利用提取器150自比特流被提取。反向地被转换,亦即,被重建残余信号以及如利用预测器156所导出的预测信号被组合,例如,相加,利用加法器154,接着,在输出160输出因此重建的信号并且传送其至预测器156。Briefly describing the decoder functionality of FIG6 , entropy decoder 150 is used to extract all information contained in bitstream 30. The entropy coding mechanism used can be variable length coding or arithmetic coding. Thus, entropy decoder 150 recovers the transform coefficient levels representing the residual signal from the bitstream and transmits them to inverse converter 152. Furthermore, entropy decoder 150 acts like extractor 88 described above and recovers all coding modes and associated coding parameters from the bitstream and transmits them to predictor 156. Separation information and merging information are also extracted from the bitstream by extractor 150. Inverse conversion is performed, i.e., the reconstructed residual signal and the prediction signal derived by predictor 156 are combined, e.g., added, by adder 154. The reconstructed signal is then output at output 160 and transmitted to predictor 156.

自图5以及图6的比较而清楚,组件152、154以及156在功能上对应至图5的组件104、110以及106。As is clear from a comparison of FIG. 5 and FIG. 6 , components 152 , 154 , and 156 correspond functionally to components 104 , 110 , and 106 of FIG. 5 .

在上面第1至6图的说明中,关于图像20可能的子分割以及包含在编码图像20中的一些参数变化的对应的间隔尺寸的许多不同可能性已呈现。此一可能性再次参考于图7A以及图7B被说明。图7A示出图像20的一部分。根据图7A的实施例,编码器以及解码器被配置为首先将图像20子分割成为树根区块200。此一个树根区块在图7A中被示出。子分割成为树根区块的图像20以列以及行方式的子分割规则地被完成,如利用虚线所示出。树根区块200的大小可利用编码器被选择并且利用比特流30被发信令至解码器。另外地,这些树根区块200的大小可利用原定值被固定。这些树根区块200通过使用构成四分树分隔被子分割,以便产生与上面一致的区块40,其可被称为编码区块或编码单位。这些编码区块或编码单位在图7A中以细实线被画出。通过这点,编码器将子分割信息伴随着于各个树根区块200并且将该子分割信息塞入比特流中。这子分割信息指示关于树根区块200是如何被子分割成为区块40。以这些区块40的间隔尺寸以及单位,预测模式在图像20之内变化。如上面所指示,各个区块40–或具有某一预测模式,例如,像框间预测模式的各个区块-被伴随着关于哪一支持分隔图样被使用于相应区块40的分隔信息。就此而言,但是,回想至上述标记/语法元素,当假设共同地发信令状态时,可同时地也发信令对于相应区块40的支持分隔模式的一者,因而对于这区块40的另一分隔信息的明确发送可在编码器端被抑制并且不被预期,因此,在解码器端亦然。在图7A示出的情况中,对于许多编码区块40,非分割模式已被选择,因而编码区块40空间地与对应的分隔一致。换言之,编码区块40,同时地,是具有与的相关的预测参数的一相应集合的一分隔。预测参数的分类,接着,取决于关联于相应编码区块40的模式。其它编码区块,但是,示例地被示出将进一步地被分隔。在树根区块200顶部右手边角落的编码区块40,例如,被示出被分隔为四个分隔,因而在树根区块200底部右手边角落的编码区块示例地被示出垂直地被子分割为二个分隔。用于分隔为多数分隔的子分割利用虚线被示出。图7A也示出在因此被定义的多数分隔之间的编码顺序。如所示出,一深度-首先经过顺序被使用。跨越树根区块边沿,编码顺序可以一扫描顺序(根据该扫描顺序树根区块200的列从图像20顶部至底部以列方式被扫描)被继续。通过这措施,其可能具有一最大机会,某一分隔具有相邻至其的顶部边沿以及左手边沿的一先前编码分隔。各个区块40–或具有某一预测模式,例如,像框间预测模式的各个区块–可在比特流之内具有一合并切换指示器而指示关于合并是否对于其中对应的分隔被致动。应注意到,分隔区块成为分隔/预测单位可被限制至最大为二个分隔的一分隔,这法则的唯一例外是区块40的最小可能区块尺寸。在使用四分树子分割以便得到区块40的情况,这可避免在用于子分割图像20成为区块40的子分割信息以及用于子分割区块40成为分隔的分隔信息之间的冗余。另外地,仅分隔成为一个或二个分隔可被允许,而包含或不包含非对称者。In the description of Figures 1 to 6 above, many different possibilities have been presented regarding possible subdivisions of the image 20 and the corresponding granularity of some parameter variations included in the encoded image 20. This possibility is again explained with reference to Figures 7A and 7B. Figure 7A shows a portion of the image 20. According to the embodiment of Figure 7A, the encoder and decoder are configured to first subdivide the image 20 into root blocks 200. This root block is shown in Figure 7A. The subdivision of the image 20 into root blocks is regularly done in columns and rows, as shown by the dotted lines. The size of the root blocks 200 can be selected by the encoder and signaled to the decoder using the bitstream 30. Alternatively, the size of these root blocks 200 can be fixed using a predetermined value. These root blocks 200 are subdivided using a quadtree partitioning to produce blocks 40 consistent with the above, which can be called coding blocks or coding units. These coding blocks or coding units are drawn in Figure 7A using thin solid lines. By doing so, the encoder accompanies each root block 200 with sub-partition information and embeds this sub-partition information into the bitstream. This sub-partition information indicates how the root block 200 is sub-partitioned into blocks 40. The prediction mode varies within the image 20 at the granularity and unit of these blocks 40. As indicated above, each block 40—or each block having a certain prediction mode, such as inter-frame prediction mode—is accompanied by partition information regarding which supported partition pattern is used for the corresponding block 40. However, recalling the aforementioned flags/syntax elements, when signaling a state collectively, one of the supported partition modes for the corresponding block 40 may also be signaled simultaneously, so that explicit transmission of the other partition information for this block 40 can be suppressed and not expected at the encoder end, and thus, also at the decoder end. In the scenario shown in FIG. 7A , for many coding blocks 40, the non-partition mode has been selected, so that the coding blocks 40 spatially coincide with the corresponding partitions. In other words, a coding block 40 is, at the same time, a partition having a corresponding set of prediction parameters associated with it. The classification of the prediction parameters, in turn, depends on the mode associated with the corresponding coding block 40. Other coding blocks, however, are shown by way of example to be further partitioned. The coding block 40 at the top right-hand corner of the root block 200 is, for example, shown to be partitioned into four partitions, whereas the coding block at the bottom right-hand corner of the root block 200 is shown by way of example to be vertically subdivided into two partitions. The subdivisions used to partition into the plurality of partitions are shown with dotted lines. FIG7A also shows the coding order between the plurality of partitions thus defined. As shown, a depth-first pass order is used. Across the root block edges, the coding order can be continued in a scan order according to which the columns of the root block 200 are scanned column-wise from the top to the bottom of the image 20. By this measure, it is possible to have a maximum chance that a partition has a previously coded partition adjacent to its top edge as well as to its left-hand edge. Each block 40—or each block having a certain prediction mode, such as inter-frame prediction mode—can have a merge switch indicator within the bitstream indicating whether merging is enabled for the corresponding partition. It should be noted that the partitioning of a block into partitions/prediction units can be limited to a partition of a maximum of two partitions, with the only exception being the minimum possible block size of block 40. In the case of using quadtree subpartitioning to obtain block 40, this avoids redundancy between subpartition information for subpartitioning image 20 into block 40 and partition information for subpartitioning block 40 into partitions. Alternatively, partitioning into only one or two partitions is permitted, with or without asymmetric partitioning.

图7B示出一子分割树。树根区块200的子分割通过实线被示出,而虚线标志出四分树子分割的叶部区块的分隔,其是编码区块40。亦即,编码区块的分隔代表一种四分式子分割的延伸。7B shows a sub-partition tree. The sub-partition of the root block 200 is shown by solid lines, while the dashed lines mark the partitioning of the leaf blocks of the quadtree sub-partition, which are coding blocks 40. That is, the partitioning of the coding blocks represents an extension of the quadtree sub-partition.

如在上面所提到,各个编码区块40可以是平行地被子分割成为转换区块,因而转换区块可代表相应编码区块40的一不同的子分割。对于这些转换区块各者,其不被示出于第7a以及7b图中,转换编码区块的残余信号的一转换可分别地被进行。As mentioned above, each coding block 40 may be subdivided into transform blocks in parallel, so that a transform block may represent a different subdivision of the corresponding coding block 40. For each of these transform blocks, which are not shown in FIG. 7 a and FIG. 7 b , a transform of the residual signal of the transform coding block may be performed separately.

在下面,本发明进一步实施例将被说明。虽然上面的实施例集中在一方面的区块合并以及另一方面的区块分隔的间的关系,下面的说明也包含关于当前编解码器中所知的其它编码原理的本申请的论点,例如,跳过/直接模式。然而,随后的说明将不被视为仅描述分别的实施例,亦即,自上面所述分别的那些实施例。当然,下面的说明也揭露如上所述的实施例的可能实施细节。因此,下面的说明使用如先前所述的附图的参考符号,因而在下面被说明的一相应的可能实施,将也定义如上所述的实施例的可能变化。多数的这些变化可分别地被转移至上面的实施例。In the following, further embodiments of the present invention will be described. While the above embodiments focus on the relationship between block merging on the one hand and block separation on the other hand, the following description also contains the present application's arguments regarding other coding principles known in current codecs, such as skip/direct mode. However, the subsequent description should not be regarded as describing only separate embodiments, that is, the separate embodiments described above. Of course, the following description also discloses possible implementation details of the above-mentioned embodiments. Therefore, the following description uses the reference symbols of the previously described figures, so that a corresponding possible implementation described below will also define possible variations of the above-mentioned embodiments. Most of these variations can be transferred to the above-mentioned embodiments separately.

换言之,本申请实施例说明用于通过组合合并的发信令以及对于样本集合残余数据的不存在而减低在影像以及视频编码应用中的侧信息率的方法。换言之,通过组合指示合并机构的利用的语法元素以及指示残余数据不存在的语法元素,在影像以及视频编码应用中的侧信息率被减低。In other words, embodiments of the present application describe methods for reducing side information rate in image and video coding applications by combining signaling of merging with the absence of residual data for a sample set. In other words, by combining syntax elements indicating the use of a merging mechanism with syntax elements indicating the absence of residual data, side information rate is reduced in image and video coding applications.

进一步地,在说明这些变化以及进一步的细节之前,一图像以及视频编解码器的概述被提出。Furthermore, before explaining these variations and further details, an overview of image and video codecs is presented.

在影像以及视频编码应用中,关联于一图像的样本数组通常地被分隔成为特定的样本(或样本集合)的集合,其可代表矩形或正方形区块或包含任意形状区域、三角形或任何其它形状的任何其它的样本集合。样本数组的子分割可通过语法被固定或子分割(至少部分地)在比特流内部被发信令。为了使用于发信令子分割信息的侧信息率维持小量,该语法通常地仅允许导致简单分隔(例如,使区块成为较小区块的子分割)的一有限数目选择。一时常被使用的分隔机构是使正方形区块分隔成为四个较小正方形区块、或使成为二个相同尺寸的矩形区块、或使成为二个不同尺寸的矩形区块,其中实际上被采用的分隔在比特流内部被发信令。样本集合是关联于特定的编码参数,其可指明预测信息或残余编码模式,等等。在视频编码应用中,一分隔时常为了移动呈现目的而被完成。一区块的所有样本(在一分隔图样内部)是关联于相同移动参数集合,其可包含指明预测型式(例如,列表0、列表1、或双向预测;和/或移转或仿射预测或具有一不同的移动模型的预测)的参数、指明被采用的参考图像的参数、指明对于这些参考图像的移动的参数(例如,位移向量、仿射移动参数向量、或用于任何其它移动模型的移动参数向量),其通常地作为一差量被发送至预测器、指明移动参数的精确度(例如,一半样本或四分的一样本精确度)的参数、指明参考样本信号的加权(例如,用于亮度补偿目的)的参数、或指明被采用于导出当前区块的移动补偿预测信号的插补滤波器的参数。假设,对于各样本集合,相应的编码参数(例如,用于指明预测和/或残余编码)被发送。为了实现一改进的编码效率,本发明提出用于合并二个或更多个样本集合使成为所谓的样本集合群组的一方法以及特定实施例。此一群组的所有样本集合共享相同的编码参数,其可与群组中的样本集合的一者一起被发送。通过如此处理,编码参数不需要分别地对于样本集合群组的各样本集合被发送,反而编码参数对于样本集合的整个群组仅被发送一次。In image and video coding applications, the sample array associated with a picture is typically partitioned into specific sets of samples (or sample sets), which can represent rectangular or square blocks or any other set of samples encompassing arbitrarily shaped regions, triangles, or any other shape. The subdivision of the sample array can be fixed via syntax or the subdivision can be (at least partially) signaled within the bitstream. To keep the side information rate used to signal the subdivision low, the syntax typically allows only a limited number of choices that result in simple partitioning (e.g., subdividing a block into smaller blocks). A commonly used partitioning mechanism is to partition a square block into four smaller square blocks, or into two rectangular blocks of equal size, or into two rectangular blocks of different sizes, where the actual partitioning employed is signaled within the bitstream. Sample sets are associated with specific coding parameters, which can specify prediction information or residual coding modes, among other things. In video coding applications, partitioning is often performed for motion rendering purposes. All samples of a block (within a partition pattern) are associated with the same set of motion parameters, which may include parameters specifying the prediction type (e.g., list 0, list 1, or bidirectional prediction; and/or transfer or affine prediction, or prediction with a different motion model), parameters specifying the reference images used, parameters specifying the motion relative to these reference images (e.g., displacement vectors, affine motion parameter vectors, or motion parameter vectors for any other motion model), which are typically sent to the predictor as a delta, parameters specifying the accuracy of the motion parameters (e.g., half-sample or quarter-sample accuracy), parameters specifying the weighting of the reference sample signals (e.g., for illumination compensation purposes), or parameters specifying the interpolation filter used to derive the motion-compensated prediction signal for the current block. For each sample set, corresponding coding parameters (e.g., for specifying prediction and/or residual coding) are provided. To achieve improved coding efficiency, the present invention proposes a method and specific embodiments for merging two or more sample sets into so-called sample set groups. All sample sets in this group share the same coding parameters, which can be sent together with one of the sample sets in the group. By doing so, the coding parameters do not need to be sent separately for each sample set in the sample set group, but instead the coding parameters are sent only once for the entire group of sample sets.

因而用于发送编码参数的侧信息率被减低并且整体的编码效率被改进。如另一个方法,对于一个或多个编码参数的一另外的提炼可对于样本集合群组的一个或多个样本集合被发送。该提炼可任意地被施加至一群组的所有样本集合或仅被施加至供发送的样本集合。Thus, the side information rate for transmitting coding parameters is reduced and the overall coding efficiency is improved. As another approach, an additional refinement of one or more coding parameters can be transmitted for one or more sample sets in a sample set group. This refinement can be applied arbitrarily to all sample sets in a group or only to the sample sets to be transmitted.

本发明的一些实施例组合合并处理程序与使一区块成为各子区块50、60(如上所述)的一分隔。通常地,影像或视频编码系统支持供用于区块40的各种分隔图样。如一范例,一正方形区块可不被分隔或其可被分隔成为四个相同尺寸的正方形区块、或使成为二个相同尺寸的矩形区块(其中该正方形区块可垂直地或水平地被分割)、或使成为不同尺寸的矩形区块(水平地或垂直地)。上述的范例分隔图样被示出在图8中。除了上面的说明之外,分隔甚至可包含多于一个的分隔位准。例如,正方形子区块也可选择地使用相同分隔图样进一步被分隔。当此一分隔处理程序与一合并处理程序(允许一(正方形或矩形)区块与,例如,其相邻区块的一者合并)被组合时所形成的议题是相同产生的分隔可通过分隔图样以及合并信号的不同组合被实现。因此,相同信息可使用不同编码字组而在比特流中被发送,其清楚地对于编码效率是近似最佳的。如一简单范例,我们考虑正方形区块,其不进一步被分隔(如图8顶部左方角落的示出)。这分隔可直接地通过传送这区块40不被子分割的一语法元素被发信令。但是,相同图样也可通过传送规定这区块,例如,被子分割成为二个垂直地(或水平地)对齐的矩形区块50、60的一语法元素而被发信令。接着我们可发送指明这些矩形区块的第二者与第一矩形区块被合并的合并信息,其正好导致如同当我们发信令区块是不进一步被分隔时的相同分隔。其也可通过首先指明区块以四个正方形子区块中被子分割并且接着发送有效地合并所有的这些四区块的合并信息而被实现。这概念是清楚地近似最佳的(因为我们具有用于对相同事件发信令的不同的编码字组)。Some embodiments of the present invention combine a merging process with a partitioning of a block into sub-blocks 50, 60 (as described above). Typically, image or video coding systems support various partitioning patterns for blocks 40. For example, a square block may not be partitioned, or it may be partitioned into four square blocks of equal size, or into two rectangular blocks of equal size (where the square block can be partitioned vertically or horizontally), or into rectangular blocks of different sizes (horizontally or vertically). These example partitioning patterns are shown in FIG8. In addition to the above, partitioning can even include more than one level of partitioning. For example, square sub-blocks can optionally be further partitioned using the same partitioning pattern. When this partitioning process is combined with a merging process (which allows a (square or rectangular) block to be merged with, for example, one of its neighboring blocks), the issue arises that the same resulting partitioning can be achieved using different combinations of partitioning patterns and merging signals. Thus, the same information can be sent in the bitstream using different codewords, which is clearly near-optimal for coding efficiency. As a simple example, consider a square block that is not further partitioned (as shown in the top left corner of Figure 8). This partitioning can be signaled directly by transmitting a syntax element indicating that the block 40 is not subdivided. However, the same pattern can also be signaled by transmitting a syntax element specifying that the block is subdivided, for example, into two vertically (or horizontally) aligned rectangular blocks 50 and 60. We can then send merge information indicating that the second of these rectangular blocks is merged with the first, resulting in exactly the same partitioning as if we had signaled that the block was not further partitioned. This can also be achieved by first indicating that the block is subdivided into four square subblocks and then sending merge information that effectively merges all four blocks. This concept is clearly near-optimal (because we have different codewords for signaling the same event).

本发明的一些实施例减低侧信息率并且因此增加对于合并概念与提供对于一区块的不同分隔图样的概念的组合的编码效率。如果我们参看图8中的分割图样范例,当我们禁止(亦即,排除比特流语法指明)一矩形区块与一第一矩形区块被合并的情况时,不利用具有二个矩形区块的任何分隔图样被进一步分割区块的“模拟”可被避免。当更深地参看该议题时,也可能通过合并第二矩形与关联于如第一矩形区块的相同参数(例如,用于指明预测的信息)的任何另一相邻者(亦即,不是第一矩形区块),而“模拟”不被子分割的图样。通过调节合并信息的传送的方式使得当这些合并参数导致也可通过发信令支持分隔图样的一者而被实现的一图样时,特定合并参数的传送不包括比特流语法,而使冗余可被避免。如一范例,如果当前分隔图样指明子分割成为二个矩形区块,如于图1与3的示出,例如,在传送对于第二区块,亦即,图1以及3情况中的区块60的合并信息的前,其可被检查哪一可能合并候选者具有如第一矩形区块,亦即,图1以及3情况中的区块50的相同参数(例如,用于指明预测信号的参数)。并且具有相同移动参数(包含第一矩形区块本身)的所有候选者自合并候选者集合被移除。被发送以供发信令合并信息的编码字组或标记是适用于产生的候选者集合。如果候选者集合由于参数检查而成为空集合,则没有合并信息可被发送。如果候选者集合刚好包含一个项目,其仅发信令区块是否被合并,但是候选者不需要被发信令,因为其可在解码器端被导出。对于上面的范例,相同概念也被采用至分割一正方形区块成为四个较小的正方形区块的分隔图样。在此处,合并标记的传送的适用的方式是既不是指明没有子分割的分隔图样也不是指明子分割成为二个相同尺寸的矩形区块的二个分隔图样的任一者可利用合并标记的组合被实现。虽然,我们在上面的范例说明具有特定分隔图样的多数概念,应明白,相同概念(避免通过另一分隔图样以及对应的合并信息的组合的一特定分隔图样的说明)可被采用于任何其它分隔图样的集合。Some embodiments of the present invention reduce side information rate and thus increase coding efficiency for a combination of merging concepts and providing different partitioning patterns for a block. Looking at the partitioning pattern example in FIG8 , when we prohibit (i.e., exclude the bitstream syntax from indicating) the merging of a rectangular block with a first rectangular block, the "simulation" of a block being further partitioned without any partitioning pattern having two rectangular blocks can be avoided. Looking deeper into this topic, it is also possible to "simulate" a pattern that is not sub-partitioned by merging the second rectangular block with any other neighbor (i.e., not the first rectangular block) that is associated with the same parameters (e.g., information for specifying prediction) as the first rectangular block. Redundancy can be avoided by regulating the way merging information is transmitted so that when these merging parameters result in a pattern that can also be achieved by signaling support for one of the partitioning patterns, the transmission of specific merging parameters does not include bitstream syntax. As an example, if the current partition pattern indicates a sub-partition into two rectangular blocks, as shown in Figures 1 and 3 , before sending merge information for the second block, i.e., block 60 in the case of Figures 1 and 3 , it can be checked which possible merge candidates have the same parameters (e.g., parameters indicating the prediction signal) as the first rectangular block, i.e., block 50 in the case of Figures 1 and 3 . All candidates with the same motion parameters (including the first rectangular block itself) are removed from the merge candidate set. The codeword or flag sent to signal the merge information is applicable to the generated candidate set. If the candidate set becomes empty due to the parameter check, no merge information can be sent. If the candidate set contains exactly one entry, it only signals whether the block is merged, but the candidate does not need to be signaled because it can be derived at the decoder. The same concept as in the above example can also be applied to a partition pattern that partitions a square block into four smaller square blocks. Here, the transfer of merge flags is applicable in that neither a partition pattern indicating no subdivision nor two partition patterns indicating subdivision into two rectangular blocks of equal size can be implemented using a combination of merge flags. Although the above examples illustrate most concepts with specific partition patterns, it should be understood that the same concepts (avoiding the description of a specific partition pattern through a combination of another partition pattern and corresponding merge information) can be applied to any other set of partition patterns.

需要被考虑的另一论点是合并概念于某些意义是相似于在视频编码设计中被发现的跳过或直接模式。在跳过/直接模式中,根本上没有移动参数对于一当前区块被发送,而是自一空间和/或时间相邻者被推断。在跳过/直接模式的一特定有效的观念中,一移动参数候选者列表(参考帧索引、位移向量、等等)自一空间和/或时间相邻者被产生并且进入这列表中而指明哪一候选者参数被选择的一索引被发送。对于双向预测区块(或多假设像框),一个别的候选者可对于各参考列表被发信令。可能的候选者可包含至当前区块顶部的区块、至当前区块左方的区块、至当前区块顶部左方的区块、至当前区块顶部右方的区块、各种这些候选者的中间预测器、于一个或多个先前参考像框(或任何其它先前已被编码的区块、或自先前已被编码的区块所得到的组合)中的相同座落的区块。Another point to consider is that the merging concept is similar in some ways to the skip or direct modes found in video coding designs. In skip/direct mode, no motion parameters are sent for a current block at all, but rather are inferred from spatial and/or temporal neighbors. In a particularly efficient concept of skip/direct mode, a list of motion parameter candidates (reference frame indices, displacement vectors, etc.) is generated from spatial and/or temporal neighbors, and an index into this list indicating which candidate parameter is selected is sent. For bidirectionally predicted blocks (or multi-hypothesis frames), a separate candidate can be signaled for each reference list. Possible candidates may include the block to the top of the current block, the block to the left of the current block, the block to the left of the top of the current block, the block to the right of the top of the current block, intermediate predictors of various candidates, and co-located blocks in one or more previous reference frames (or any other previously coded blocks, or combinations thereof).

以合并概念组合跳过/直接意谓着一区块可使用一跳过/直接或一合并模式的任一者被编码。虽然跳过/直接以及合并概念是相似的,但在二个概念的间却有差异,其将在部分1中更详细地被说明。在跳过以及直接的间的主要差异是,跳过模式进一步地发信令没有残余信号被发送。当合并概念被使用时,通常地一标记被发送,其发信令一区块是否包含非零转换系数位准。Combining skip/direct with the merge concept means that a block can be coded using either skip/direct or merge mode. While the skip/direct and merge concepts are similar, there are differences between the two concepts, which will be explained in more detail in Section 1. The main difference between skip and direct is that skip mode further signals that no residual signal is sent. When the merge concept is used, a flag is typically sent that signals whether a block contains non-zero transform coefficient levels.

为了实现一改进的编码效率,如上面以及下面所述实施例组合是否一样本集合使用另一样本集合的编码参数的发信令以及是否没有残余信号对于该区块被发送的发信令。组合标记指示一样本集合使用另一样本集合的编码参数并且没有残余数据被发送。对于这情况,仅一个标记,而非二个,需要被发送。To achieve improved coding efficiency, the embodiments described above and below combine signaling of whether a sample set uses the coding parameters of another sample set with signaling of whether no residual signal is sent for the block. The combined flag indicates that a sample set uses the coding parameters of another sample set and no residual data is sent. For this case, only one flag, not two, needs to be sent.

如上所述,本发明一些实施例同时也提供具较大自由度供产生一比特流的一编码器,因为合并方法显著地增加用于选择图像样本数组分隔而不引介冗余于比特流的数目可能性。因为编码器可在更多选所述的间选择,例如,使一特定的位率/失真量测最小化,编码效率可被改进。如一范例,可利用次分割和合并组合表示的一些另外图样(例如,图9图样)可另外地被测试(使用用于移动估计和模式决定的对应区块尺寸)并且利用单纯分隔(图8)以及利用分隔和合并(图9)被提供的最佳图样可根据一特定的位率/失真量测被选择。此外,对于各个区块可被测试是否与任何先前被编码候选者集合的合并产生特定的位率/失真量测的减少并且接着对应的合并标记在编码程序期间被设定。概要言的,有许多可能性以操作一编码器。一简单方法中,编码器可首先决定样本数组的最佳子分割(如当前技术编码机构)。接着其检查对于各样本集合,是否与另一样本集合或另一样本集合群组合并减低一特定的位率/失真成本量测。此时,关联于合并的样本集合群组的预测参数可被重新估计(例如,利用进行新的移动搜寻)或对于先前被决定的合并当前样本集合以及候选者样本集合(或样本集合群组)的预测参数可对于考虑样本集合群组被估计。在更广泛方法中,一特定的位率/失真成本量测可对于另外的样本集合候选者群组被估计。如一特定的范例,当测试各种可能分隔图样时(例如参考图8),利用分隔和合并组合表示的一些或所有的图样(例如参考图9)可另外地被测试。亦即,对于所有的图样,一特定移动估计和模式决定程序被执行并且其产生最小位率/失真量测的图样被选择。这处理程序同时也可如上所述与低复杂性处理程序被组合,因而对于产生的区块,其另外地测试是否与先前被编码区块(例如,在图8和图9图样的外)的合并产生位率/失真量测减少。As described above, some embodiments of the present invention also provide an encoder with greater freedom in generating a bitstream, as the merging method significantly increases the number of possibilities for selecting a partitioning of the image sample array without introducing redundancy into the bitstream. Because the encoder can choose between more options, for example, to minimize a specific rate/distortion metric, coding efficiency can be improved. As an example, several additional patterns (e.g., the pattern in FIG9 ) that can be represented using a combination of sub-partitioning and merging can be tested (using corresponding block sizes for motion estimation and mode decision), and the best pattern provided using pure partitioning ( FIG8 ) and partitioning and merging ( FIG9 ) can be selected based on a specific rate/distortion metric. Furthermore, each block can be tested to see whether merging with any set of previously coded candidates yields a specific rate/distortion metric reduction, and then the corresponding merge flag can be set during the encoding process. In summary, there are many possibilities for operating an encoder. In a simple approach, the encoder can first determine the optimal sub-partitioning of the sample array (as in current encoding schemes). Next, it is checked for each sample set whether merging with another sample set or another group of sample sets reduces a specific rate/distortion cost metric. At this point, the prediction parameters associated with the merged sample set group can be re-estimated (e.g., by performing a new motion search), or the prediction parameters for the previously determined merge of the current sample set and the candidate sample set (or sample set group) can be estimated for the considered sample set group. In a more general approach, a specific rate/distortion cost metric can be estimated for additional candidate groups of sample sets. As a specific example, when testing various possible partitioning patterns (e.g., see FIG8 ), some or all patterns represented using combinations of partitioning and merging (e.g., see FIG9 ) can also be tested. That is, a specific motion estimation and mode decision process is performed for all patterns, and the pattern that produces the lowest rate/distortion metric is selected. This process can also be combined with the low-complexity process as described above, so that for the generated block it is additionally tested whether merging with previously coded blocks (eg outside the diagrams of Figures 8 and 9) results in a reduction in the rate/distortion metric.

下面,对于上述实施例的一些可能详细实施被说明,例如对于图1、2和5编码器以及图3、4和6解码器。如上面已经注意到,相同者可使用于影像和视频编码。如上所述,图像或对于图像的特定样本数组集合可以被分解成为区块,其是关联于特定的编码参数。这些图像通常包含复数个样本数组。此外,一图像也可关联于另外的辅助样本数组,例如,其规定透明度信息或深度图。该图像样本数组(包含辅助样本数组)可被群组化成为一个或多个所谓的平面群组,其中各平面群组包括一个或多个样本数组。一图像的平面群组可独立地被编码或,如果图像是关联于多于一个平面群组,则从相同图像的其它平面群组预测。各平面群组通常被分解成为区块。这些区块(或样本数组的对应区块)利用像框间-图像预测或像框内-图像预测任一者被预测。这些区块可具有不同的尺寸并且可以是方形或矩形。分隔图像成为区块可以是利用语法被固定,或其可在比特流内部被(至少部分地)发信令。通常语法元素被发送,其发信令对于预定尺寸区块的子分割。此些语法元素可以指明是否以及如何一区块被子分割成为较小的区块并且关联于编码参数,例如用于预测用途。一可能分隔图样范例被示出于图8。对于一区块的所有样本(或样本数组的对应区块)相关编码参数的解码以某种方式被规定。在该范例中,一区块的所有样本使用相同预测参数集合被预测,例如参考索引(辨识先前被编码图像的集合中参考图像),移动参数(指明对于在参考图像和当前图像的间区块移动的量测),指明插补滤波器,像框内预测模式,等的参数。移动参数可利用具有水平和垂直成分的位移向量表示或利用较高阶移动参数,例如包括六成分的仿射移动参数。同时也可能有多于一个特定预测参数的集合(例如参考索引和移动参数)是关联于单一区块。因此,对于这些特定预测参数的各集合,对于区块(或样本数组的对应区块)的一单一中间预测信号被产生,并且最后预测信号利用包括重合这些中间预测信号的组合被建立。对应的加权参数以及可能一固定偏移量(其被添加至被加权的总和)可对于一图像,或一参考图像,或一参考图像集合任一者被固定,或它们可被包含对于对应区块的预测参数集合。在原始区块(或对应的样本数组区块)以及它们的预测信号的间差量,同时也被称为残余信号,其通常被转换并且被量化。通常,一个二维转换被应用至该残余信号(或对于残余区块的对应样本数组)。对于转换编码,这些区块(或对应的样本数组区块),其中一特定的预测参数集合已被被使用,在应用转换之前可进一步地分隔。这些转换区块可相等于或较小于被使用于预测的区块。同时也可能是一转换区块包含多于一个被使用于预测的区块。不同的转换区块可具有不同的尺寸并且这些转换区块可代表正方形或矩形区块。在上面对于第1-7图范例中,应注意到,可能是首先子分割的叶部节点,亦即,编码区块40,可以一方面平行地进一步分隔成为定义编码参数间隔尺寸的分隔,并且另一方面二维转换分别地被应用至转换区块。在转换的后,产生的转换系数被量化并且所谓的转换系数位准被得到。这些转换系数位准以及这些预测参数,并且,如果呈现,该子分割信息被熵编码。尤其是,对于这些转换区块的编码参数被称为残余参数。这些残余参数以及这些预测参数并且,如果呈现,子分割信息可以被熵编码。在当前技术H.264视频编码标准中,称为编码区块标记(CBF)的一标记可以发信令所有转换系数位准是零并且因此,没有残余参数被编码。根据本发明,这发信令被组合成为合并致动发信令。Below, some possible detailed implementations of the above-described embodiments are described, for example, for the encoders shown in Figures 1, 2, and 5 and the decoders shown in Figures 3, 4, and 6. As noted above, the same can be applied to image and video coding. As described above, a picture, or a specific set of sample arrays for a picture, can be decomposed into blocks, which are associated with specific coding parameters. These pictures typically contain multiple sample arrays. In addition, a picture may also be associated with additional auxiliary sample arrays, for example, to specify transparency information or a depth map. The picture sample arrays (including auxiliary sample arrays) can be grouped into one or more so-called plane groups, where each plane group contains one or more sample arrays. The plane groups of a picture can be coded independently or, if a picture is associated with more than one plane group, predicted from other plane groups of the same picture. Each plane group is typically decomposed into blocks. These blocks (or corresponding blocks of sample arrays) are predicted using either inter-picture prediction or intra-picture prediction. These blocks can have different sizes and can be square or rectangular. The division of a picture into blocks can be fixed using syntax or can be (at least partially) signaled within the bitstream. Typically, syntax elements are sent that signal the subdivision of blocks of a predetermined size. These syntax elements can specify whether and how a block is to be subdivided into smaller blocks and are associated with coding parameters, such as those used for prediction. An example of a possible partitioning pattern is shown in FIG8 . The decoding of the associated coding parameters for all samples of a block (or corresponding blocks of an array of samples) is specified in some manner. In this example, all samples of a block are predicted using the same set of prediction parameters, such as a reference index (which identifies a reference picture from a set of previously coded pictures), motion parameters (which specify the measure of motion of the block between the reference picture and the current picture), parameters specifying interpolation filters, intra-frame prediction modes, etc. Motion parameters can be represented using displacement vectors with horizontal and vertical components or using higher-order motion parameters, such as affine motion parameters comprising six components. It is also possible for more than one set of specific prediction parameters (e.g., reference indices and motion parameters) to be associated with a single block. Therefore, for each set of these specific prediction parameters, a single intermediate prediction signal is generated for the block (or the corresponding block of sample arrays), and the final prediction signal is constructed using a combination of these intermediate prediction signals. The corresponding weighting parameters and possibly a fixed offset (which is added to the weighted sum) can be fixed for a picture, a reference picture, or a set of reference pictures, or they can be included in the prediction parameter set for the corresponding block. The difference between the original block (or the corresponding block of sample arrays) and its prediction signal, also known as the residual signal, is typically transformed and quantized. Typically, a two-dimensional transform is applied to the residual signal (or the corresponding sample array for the residual block). For transform coding, the blocks (or corresponding blocks of sample arrays) for which a specific set of prediction parameters has been used can be further separated before the transform is applied. These transform blocks can be equal to or smaller than the block used for prediction. It is also possible for a transform block to contain more than one block used for prediction. Different transform blocks can have different sizes and can represent square or rectangular blocks. In the examples above for Figures 1-7, it should be noted that the leaf node, which may be initially subdivided, i.e., coding block 40, can, on the one hand, be further subdivided in parallel into partitions of a defined coding parameter granularity, and, on the other hand, a two-dimensional transform is applied to each transform block. After the transformation, the resulting transform coefficients are quantized and so-called transform coefficient levels are obtained. These transform coefficient levels, along with the prediction parameters and, if present, the subdivision information, are entropy coded. In particular, the coding parameters for these transform blocks are referred to as residual parameters. These residual parameters, along with the prediction parameters and, if present, the subdivision information, can be entropy coded. In the current H.264 video coding standard, a flag called the Coding Block Flag (CBF) can signal that all transform coefficient levels are zero and, therefore, no residual parameters are coded. According to the present invention, this signaling is combined into merged activation signaling.

在当前技术影像和视频编码标准中,对于子分割一图像(或平面群组)成为利用语法提供的区块的可能性非常受限制。通常,其仅可指明是否(及如何)一预定尺寸区块可被子分割成为较小的区块。如一范例,H.264中最大的区块尺寸是16×16。16×16区块同时也被称为巨区块并且各个图像于第一阶段中被分隔成为巨区块。对于各16×16巨区块,其可发信令是否被编码为一个16×16区块,或两个16×8区块,或两个8×16区块,或四个8x8区块。如果一个16×16区块被子分割成为四个8×8区块,则这些8×8区块各者可被编码为一个8×8区块,或两个8×4区块,或两个4×8区块,或四个4×4区块的任一者。在当前技术影像和视频编码标准中用于指明分隔成为区块的可能小集合的优点是用于发信令子分割信息的侧信息率can被维持小量,但是其缺点是发送对于该区块预测参数所需的位率成为显著,如下面的说明。用于发信令预测信息的侧信息率通常代表一区块的全部位率的主要数量。当这侧信息减低时,例如,可使用较大区块尺寸实现,编码效率可被增加。比较至H.264,同时也可能增加支持分隔图样集合。例如,示出于图8的分隔图样可被提供至所有尺寸(或选择尺寸)的方形区块。一视频序列的真正影像或图像包括特定性质的任意形状对象。如一范例,这些对象或对象部分特征在于唯一的纹理结构或唯一的移动。通常,相同预测参数集合可被应用于此些对象或对象部分。但是对象边界通常不与大预测区块的可能区块边界(例如,H.264中16×16巨区块)重合。一编码器通常决定子分割(在有限可能集合之中),其导致特定的位率/失真成本量测最小化。对于任意地形状对象这可导致大量的小区块。当更多分隔图样(如上所述)被提供时,这说明同时也维持真实性。应该注意到分隔图样数量不应该成为太大,因为接着会有很多侧信息和/或编码器/解码器复杂性需用于发信令和处理这些图样。因此,任意形状对象通常由于分隔而导致大量的小区块。且因为这些小的区块各者是关联于一预测参数集合,其需要被发送,侧信息率可成为全部位率的一主要部分。但是因为许多小的区块仍然代表相同对象或对象部分的区域,对于一些所得到区块的预测参数是相同或非常相似。直觉地,当语法以不仅允许子分割一区块,但是同时也允许合并在子分割之后得到的二个或更多个区块方式延伸时,编码效率可被增加。因而,吾人将得到以相同预测参数被编码的区块群组。对于此一区块群组的预测参数仅需要被编码一次。在上面第1-7图范例中,例如,如果合并发生则当前区块40的编码参数不被发送。亦即,编码器不发送关联于当前区块的编码参数,并且解码器不预期比特流30包含当前区块40的编码参数。反而,根据其的特定实施例,仅提炼信息可以对于合并的当前区块40被传送。候选者集合及其减少以及合并和其它者的决定同时也对于图像20的其它的编码区块40被进行。这些编码区块通常形成编码区块群组以及编码链,其中对于这些群组的编码参数在比特流内仅完全被发送一次。In current image and video coding standards, the possibilities for subdividing a picture (or plane group) into blocks are very limited using syntax. Typically, it only specifies whether (and how) a block of a predetermined size can be subdivided into smaller blocks. For example, the maximum block size in H.264 is 16×16. 16×16 blocks are also called macroblocks, and each picture is divided into macroblocks in the first stage. For each 16×16 macroblock, it can be signaled whether it is encoded as one 16×16 block, two 16×8 blocks, two 8×16 blocks, or four 8×8 blocks. If a 16×16 block is subdivided into four 8×8 blocks, each of these 8×8 blocks can be encoded as one 8×8 block, two 8×4 blocks, two 4×8 blocks, or four 4×4 blocks. The advantage of specifying a small set of possible partitions into blocks in current image and video coding standards is that the side information rate used to signal the sub-partitioning can be kept low. However, a disadvantage is that the bit rate required to transmit prediction parameters for the block becomes significant, as explained below. The side information rate used to signal the prediction information often represents a significant amount of the overall bit rate for a block. When this side information is reduced, for example, by using larger block sizes, coding efficiency can be increased. Compared to H.264, it is also possible to increase the set of supported partition patterns. For example, the partition pattern shown in FIG8 can be provided for square blocks of all (or selected) sizes. Actual images or pictures of a video sequence include arbitrarily shaped objects with specific properties. For example, these objects or object parts are characterized by unique texture structures or unique motion. Typically, the same set of prediction parameters can be applied to these objects or object parts. However, object boundaries typically do not coincide with possible block boundaries of large prediction blocks (e.g., 16×16 macroblocks in H.264). An encoder typically determines the subdivision (from a finite set of possible subdivisions) that minimizes a particular rate/distortion cost metric. For arbitrarily shaped objects, this can result in a large number of small blocks. This can also maintain fidelity when more partitioning patterns (as described above) are provided. It should be noted that the number of partitioning patterns should not be too large, as this would require a lot of side information and/or encoder/decoder complexity to signal and process these patterns. Therefore, arbitrarily shaped objects typically result in a large number of small blocks due to their partitioning. And because each of these small blocks is associated with a set of prediction parameters that must be transmitted, the side information rate can become a major component of the overall bit rate. However, because many small blocks still represent regions of the same object or object part, the prediction parameters for some of the resulting blocks are identical or very similar. Intuitively, coding efficiency can be increased if the syntax is extended in a way that not only allows subdivision of a block, but also allows merging of two or more resulting blocks. Thus, we obtain groups of blocks encoded with the same prediction parameters. The prediction parameters for this group of blocks only need to be encoded once. In the example of Figures 1-7 above, for example, if a merge occurs, the coding parameters for the current block 40 are not transmitted. That is, the encoder does not transmit the coding parameters associated with the current block, and the decoder does not expect the bitstream 30 to contain the coding parameters for the current block 40. Instead, according to certain embodiments thereof, only the refined information may be transmitted for the merged current block 40. The candidate set and its reduction, as well as the decision on merges and others, are also performed simultaneously for the other coding blocks 40 of the image 20. These coding blocks typically form coding block groups and coding chains, where the coding parameters for these groups are only fully transmitted once in the bitstream.

如果利用减低被编码预测参数的数量被节省的位率是较大于对于编码合并信息另外地花费的位率,则上面说明的合并导致增加编码效率。应该进一步提及,上面说明的语法延伸(对于合并)提供编码器有另外的自由度可选择分隔一图像或平面群组成为区块,而不引介冗余量。该编码器不被限制于首先子分割并且接着检查是否一些产生的区块具有相同预测参数集合。如一简单的不同情况,该编码器可首先决定子分割,如当前编码技术。且接着对于各个区块检查,是否与其的相邻者区块(或相关的先前决定区块群组)的一个的合并减低位率/失真成本量测。这情况中,关联于新区块群组的预测参数可被重新估计(例如,利用进行一新的移动搜寻)或对于当前区块以及相邻区块或区块群组的先前决定预测参数可对于区块群组被估计。一编码器同时也可直接地检查利用切割和合并的组合提供的图样(或其一子集);亦即,移动估计和模式决定可依上述产生形状进行。该合并信息可依区块基础被发信令。有效地,该合并同时也可被解释为对于当前区块预测参数的推理,其中这些推理预测参数被设定为等于相邻区块的一个的预测参数。If the bitrate saved by reducing the number of coded prediction parameters is greater than the bitrate otherwise spent encoding the merge information, then the merge described above results in increased coding efficiency. It should be further noted that the syntax extension described above (for merge) provides the encoder with additional freedom to choose how to partition a picture or plane group into blocks without introducing redundancy. The encoder is not restricted to first subdividing and then checking whether some of the resulting blocks have the same set of prediction parameters. As a simple alternative, the encoder can first determine the subdivision, as in current coding techniques. And then, for each block, check whether merging with one of its neighboring blocks (or a previously determined group of blocks) reduces the bitrate/distortion cost metric. In this case, the prediction parameters associated with the new group of blocks can be re-estimated (e.g., by performing a new motion search) or the previously determined prediction parameters for the current block and neighboring blocks or groups of blocks can be estimated for the group of blocks. An encoder can also directly examine the pattern (or a subset thereof) provided by a combination of slicing and merging; that is, motion estimation and mode decision can be performed based on the generated shape. The merging information can be signaled on a block basis. Effectively, the merging can also be interpreted as an inference of the prediction parameters for the current block, where these inferred prediction parameters are set equal to the prediction parameters of one of the neighboring blocks.

对于跳过外的其它模式,需要另外的标记,其类似于CBF,以发信令没有残余的信号被发送。当前技术视频编码标准H.264中有二种不同的跳过/直接模式,其依图像位准被选择:时间直接模式和空间直接模式。两直接模式仅可应用至B图像。在时间直接模式,对于参考图像列表0的参考索引被设定为等于0并且对于参考图像列表1的参考索引以及对于两参考列表的移动向量根据参考图像列表1的第一参考图像相同座落巨区块的移动数据被导出。时间直接模式使用来自时间相同座落区块的移动向量并且根据在当前和相同座落区块的间时间距离调整移动向量尺寸。在空间直接模式中,对于两者参考图像列表的参考索引和移动向量基本上根据空间相邻移动数据被推导。参考索引被选择为空间相邻者中对应的参考索引的最小者并且各移动向量成分被设定为等于空间相邻者中对应的移动向量成分的中值。跳过模式仅可被使用于编码H.264中16×16巨区块(P和B图像中)并且直接模式可被使用于编码16×16巨区块或8×8次巨区块。相对于直接模式,如果合并被应用至当前区块,则所有的预测参数可以自当前区块与的合并的区块复制。合并也可被应用至导致上述更多弹性分隔图样的任意区块尺寸,其中一个图样的所有样本使用相同预测参数被预测。For modes other than skip, additional flags, similar to CBF, are required to signal that no residual signal is being sent. The current video coding standard H.264 has two different skip/direct modes, selected at the picture level: temporal direct mode and spatial direct mode. Both direct modes are applicable only to B-pictures. In temporal direct mode, the reference index for reference picture list 0 is set to 0, and the reference index for reference picture list 1 and the motion vectors for both reference lists are derived based on the motion data of the co-located macroblock of the first reference picture in reference picture list 1. Temporal direct mode uses the motion vector from the temporally co-located macroblock and adjusts the motion vector size based on the temporal distance between the current and co-located macroblocks. In spatial direct mode, the reference index and motion vectors for both reference picture lists are derived primarily based on spatially neighboring motion data. The reference index is selected as the minimum of the corresponding reference indices among the spatial neighbors, and each motion vector component is set equal to the median of the corresponding motion vector components among the spatial neighbors. Skip mode can only be used to encode 16×16 macroblocks (in P and B pictures) in H.264, and direct mode can be used to encode 16×16 macroblocks or 8×8 sub-macroblocks. In contrast to direct mode, if merging is applied to the current block, all prediction parameters are copied from the current block and the merged block. Merging can also be applied to arbitrary block sizes, resulting in the more flexible partitioning of patterns described above, where all samples in a pattern are predicted using the same prediction parameters.

本发明实施例描述的基本观念是利用组合合并和CBF标记而减低发送CBF标记所需的位率。如果一样本集合使用合并并且没有残余数据被发送,则一个标记被发送而发信令两者。The basic idea described in the embodiments of the present invention is to reduce the bit rate required to send the CBF flag by combining combining and CBF flag.If a sample set uses combining and no residual data is sent, then one flag is sent to signal both.

为了减低影像和视频编码应用中的侧信息率,特定的样本集合(其可代表矩形或正方形区块或任意地形状区域或任何其它的样本集合)通常是关联于一特定的编码参数集合。对于这些样本集合各者,编码参数被包含于比特流。这些编码参数可以代表预测参数,其指明对应的样本如何使用先前被编码样本而被预测。分隔图像样本数组成为样本集合可以利用语法被固定或可以利用在比特流内部的对应子分割信息被发信令。对于一区块可以允许复数个分隔图样。对于样本集合的编码参数以预定顺序被发送,其利用语法所给予。其可对于与一个或多个其它的样本集合合并(例如,用于预测目的)成为样本集合群组的当前样本集合被发信令。对于对应合并信息的可能数值集合可以调适于被采用的分隔图样,其方式为特定的分隔图样不能利用其它的分隔图样和对应的合并数据的组合表示。对于一样本集合群组的编码参数仅需要被发送一次。除预测参数的外,残余参数(例如转换和量化侧信息以及转换系数位准)可以被发送。如果当前样本集合被合并,则描述合并程序的侧信息被发送。这侧信息将进一步地被称为合并信息。本发明实施例说明一概念,其使合并信息的发信令与被编码区块标记(指明残余数据是否对于一区块呈现)的发信令组合。To reduce the side information rate in image and video coding applications, specific sample sets (which can represent rectangular or square blocks, arbitrarily shaped regions, or any other sample sets) are typically associated with a specific set of coding parameters. Coding parameters are included in the bitstream for each of these sample sets. These coding parameters can represent prediction parameters that specify how the corresponding sample is predicted using previously coded samples. The partitioning of an array of image samples into sample sets can be fixed using syntax or signaled using corresponding sub-partitioning information within the bitstream. Multiple partitioning patterns are allowed for a block. Coding parameters for a sample set are sent in a predetermined order, given by syntax. They can be signaled for a current sample set that is merged with one or more other sample sets (e.g., for prediction purposes) to form a sample set group. The set of possible values for the corresponding merging information can be adapted to the partitioning pattern used, such that a particular partitioning pattern cannot be represented using a combination of other partitioning patterns and corresponding merging data. Coding parameters for a sample set group need only be sent once. In addition to the prediction parameters, residual parameters (e.g., transform and quantization side information and transform coefficient levels) can be sent. If the current sample set is merged, side information describing the merging process is sent. This side information will further be referred to as merge information. Embodiments of the present invention describe a concept that combines the signaling of merge information with the signaling of a coded block flag (indicating whether residual data is present for a block).

在一特定的实施例中,合并信息包含一组合标记,称为mrg_cbf,如果当前样本集合被合并并且没有残余数据被发送则其等于1。在此情况中,没有进一步的编码参数和残余参数被发送。如果被组合mrg_cbf标记是等于0,则指示是否合并被应用的另一标记被编码。指示没有残余参数被发送的更多标记被编码。在CABAC和前后自适应VLC,对于有关合并信息的语法元素的可能性推导(及VLC列表切换)脉络可被选择为先前被发送语法元素和/或被解码参数(例如被组合mrg_cbf标记)的函数。In a specific embodiment, the merge information includes a combined flag, called mrg_cbf, which is equal to 1 if the current sample set is merged and no residual data is sent. In this case, no further coding parameters and residual parameters are sent. If the combined mrg_cbf flag is equal to 0, another flag is encoded indicating whether merging is applied. A further flag is encoded indicating that no residual parameters are sent. In CABAC and context-adaptive VLC, the context for the derivation of the probability of syntax elements related to the merge information (and VLC list switching) can be selected as a function of previously sent syntax elements and/or decoded parameters (e.g., the combined mrg_cbf flag).

在一较佳实施例中,包含被组合mrg_cbf标记的合并信息在编码参数(例如预测信息和子分割信息)的前被编码。In a preferred embodiment, the merge information including the combined mrg_cbf flag is encoded before encoding parameters (eg, prediction information and sub-partition information).

在一较佳实施例中,包含被组合mrg_cbf标记的合并信息在编码参数子集(例如预测信息和子分割信息)的后被编码。对于每一样本集合,产生自子分割信息,合并信息可以被编码。In a preferred embodiment, the merge information including the combined mrg_cbf flag is encoded after encoding the parameter subsets (eg prediction information and sub-partition information). For each sample set, generated from the sub-partition information, the merge information can be encoded.

在下面参考第11至13图所说明实施例中,mrg_cbf称为skip_flag。一般,mrg_cbf可被称为merge_skip以便示出其是关于区块合并的另一跳过版本。In the embodiments described below with reference to Figures 11 to 13, mrg_cbf is referred to as skip_flag. In general, mrg_cbf may be referred to as merge_skip to indicate that it is another skip version of block merging.

下面的较佳实施例针对代表矩形和正方形区块的样本集合说明,但是其可直接被延伸至任意形状区域或其它的样本集合。较佳实施例说明关于合并机构语法元素以及指示无残余数据语法元素的组合。残余数据包含残余的侧信息以及转换系数位准。对于所有的较佳实施例,无残余数据利用被编码区块标记(CBF)方式指明,但是其也可利用其它的方式或标记表示。一CBF等于0系有关于其中没有残余数据被发送的情况。The following preferred embodiments are described for sample sets representing rectangular and square blocks, but are straightforward to extend to arbitrarily shaped regions or other sample sets. The preferred embodiments describe a combination of syntax elements for a merge mechanism and a syntax element indicating no residual data. Residual data includes residual side information and transform coefficient levels. For all preferred embodiments, the absence of residual data is indicated using a coded block flag (CBF), but other representations or flags are also possible. A CBF equal to 0 refers to a situation in which no residual data is sent.

1.合并标记和CBF标记的组合1. Combination of Merge Markers and CBF Markers

下面,辅助合并致动标记称为mrg,而稍后,有关于第11至13图,相同者称为merge_flag。相似地该合并索引当前称为mrg_idx,而稍后merge_idx被使用。Hereinafter, the auxiliary merge activation flag is referred to as mrg, and later, with respect to Figures 11 to 13, the same is referred to as merge_flag. Similarly, the merge index is currently referred to as mrg_idx, and later merge_idx is used.

使用一语法元素的合并标记和CBF标记的可能组合在这部分被说明。在下面所述这可能组合的说明,可以被转移至第1至6图示出的上面说明任何一者。The possible combinations of the merge flag and the CBF flag using a syntax element are described in this section. The description of these possible combinations described below can be transferred to any of the above descriptions shown in Figures 1 to 6.

在一较佳实施例中,高至三种语法元素被发送以指明合并信息和CBF。In a preferred embodiment, up to three syntax elements are sent to indicate the merge information and the CBF.

第一语法元素,其在下面称为mrg_cbf,指明当前集合样本是否与另一样本集合合并并且是否所有对应的CBF等于0。如果一候选者样本集合的导出集合不是空集合(在将产生可利用不同的分隔图样被发信令的分隔而无合并的候选者移除之后),mrg_cbf语法元素才可以被编码。但是,其可by合并候选者列表不会消失的原定值保证,至少有一个或甚至于至少二个合并候选者可用。在本发明一较佳实施例中,如果一候选者样本集合的导出集合不是空集合,则mrg_cbf语法元素被编码,如下所述。The first syntax element, referred to below as mrg_cbf, indicates whether the current set of samples is merged with another set of samples and whether all corresponding CBFs are equal to 0. The mrg_cbf syntax element can only be encoded if the derived set of a candidate sample set is not the empty set (after removing candidates that would produce a partition that can be signaled using a different partition pattern without merging). However, it can be guaranteed by the original value that the merge candidate list does not disappear, that at least one or even at least two merge candidates are available. In a preferred embodiment of the present invention, the mrg_cbf syntax element is encoded if the derived set of a candidate sample set is not the empty set, as described below.

如果当前区块被合并并且CBF对于所有的成分(例如一亮度以及二色度成分)是等于0,则mrg_cbf语法元素被设定为1并且被编码。If the current block is merged and the CBF is equal to 0 for all components (eg, one luma and two chroma components), the mrg_cbf syntax element is set to 1 and encoded.

否则,mrg_cbf语法元素被设定为等于0并且被编码。Otherwise, the mrg_cbf syntax element is set equal to 0 and is coded.

对于mrg_cbf语法元素的数值0和1也可被切换。The values 0 and 1 for the mrg_cbf syntax element may also be toggled.

第二语法元素,进一步地称为mrg,其指明当前样本集合是否与另一样本集合合并。如果mrg_cbf语法元素是等于1,则mrg语法元素不被编码并且被推断为等于1。如果mrg_cbf语法元素不呈现(因为所导出候选者样本集合是空集合),则mrg语法元素同时也不呈现,但是被推断为等于0。但是,其可by合并候选者列表不会消失的原定值保证,至少有一个或甚至于至少二个合并候选者可用。The second syntax element, further referred to as mrg, indicates whether the current sample set is to be merged with another sample set. If the mrg_cbf syntax element is equal to 1, the mrg syntax element is not coded and is inferred to be equal to 1. If the mrg_cbf syntax element is not present (because the derived candidate sample set is an empty set), the mrg syntax element is also not present but is inferred to be equal to 0. However, it can be guaranteed by the original value that the merge candidate list does not disappear, that at least one or even at least two merge candidates are available.

第三语法元素,进一步地称为mrg_idx,仅如果mrg语法元素是等于1(或被推断为等于1)其才被编码,指明哪一候选者样本集合的集合被采用于合并。在一较佳实施例中,仅如果一候选者样本集合的导出集合包含多于一个候选者样本集合,mrg_idx语法元素才被编码。在进一步的较佳实施例中,仅如果一候选者样本集合的导出集合的至少二组样本集合是关联于不同的编码参数,mrg_idx语法元素才被编码。A third syntax element, further referred to as mrg_idx, is encoded only if the mrg syntax element is equal to 1 (or is inferred to be equal to 1) and indicates which set of candidate sample sets is used for merging. In a preferred embodiment, the mrg_idx syntax element is encoded only if a derived set of a candidate sample set contains more than one candidate sample set. In a further preferred embodiment, the mrg_idx syntax element is encoded only if at least two sample sets of a derived set of a candidate sample set are associated with different coding parameters.

应该提及,合并候选者列表可被固定以便解耦合分析和重建而改进分析产能并且对于信息损失更强健。为更精确故,解耦合可使用固定配置的列表项目以及编码字组被确定。这将不需固定列表长度。但是,利用添加另外的候选者而同时固定列表长度允许补偿固定(较长)编码字组的编码效率损失。因此,如上所述,仅如果候选者列表包含多于一个候选者时合并索引语法元素可以被被发送。但是,这将需要在分析合并索引的前导出列表,防止平行地进行这二程序。为允许增加分析产能并且使分析程序更强健对于传输错误,可对于各索引数值使用固定编码字组以及固定数目候选者而移除这相依性。如果这数目不能利用候选者选择被达到,则可能导出辅助候选者以完成该列表。这些另外的候选者可包含所谓的组合候选者,其自先前已经在列表中可能不同的候选者的移动参数,以及零移动向量被建立。It should be mentioned that the merge candidate list can be fixed to decouple analysis and reconstruction, thereby improving analysis throughput and making it more robust to information loss. For greater precision, decoupling can be determined using a fixed configuration of list items and codewords. This eliminates the need for a fixed list length. However, adding additional candidates while fixing the list length allows compensating for the coding efficiency loss of a fixed (longer) codeword. Therefore, as described above, the merge index syntax element can only be sent if the candidate list contains more than one candidate. However, this would require deriving the list before analyzing the merge index, preventing the two procedures from being performed in parallel. To increase analysis throughput and make the analysis procedure more robust to transmission errors, this dependency can be removed by using a fixed codeword and a fixed number of candidates for each index value. If this number cannot be achieved using candidate selection, auxiliary candidates may be derived to complete the list. These additional candidates may include so-called combined candidates, which are created from the motion parameters of potentially different candidates already in the list, as well as a zero motion vector.

在一较佳实施例中,对于一样本集合的合并信息在预测参数(或,更一般地,关联于样本集合的特定编码参数)的子集已被发送之后被编码。该预测参数子集可包括一个或多个参考图像索引或一个或多个移动参数向量成分或一个参考图像索引以及一个或多个移动参数向量成分,等等。In a preferred embodiment, the merging information for a sample set is encoded after a subset of prediction parameters (or, more generally, specific coding parameters associated with the sample set) has been transmitted. The prediction parameter subset may include one or more reference picture indices or one or more motion parameter vector components or a reference picture index and one or more motion parameter vector components, etc.

在一较佳实施例中,合并信息的mrg_cbf语法元素仅对于分隔模式的减小集合被编码。分隔模式的一可能集合呈现于图8。在一较佳实施例中,这分隔模式的减小集合是受限制于一并且对应至第一分隔模式(图8列表的顶部-左方)。如一范例,仅如果一区块不进一步地被分隔mrg_cbf才被编码。如进一步的范例,mrg_cfb可以仅对于正方形区块被编码。In a preferred embodiment, the mrg_cbf syntax element for merge information is encoded only for a reduced set of partitioning modes. A possible set of partitioning modes is shown in FIG8 . In a preferred embodiment, this reduced set of partitioning modes is limited to one and corresponds to the first partitioning mode (top left of the table in FIG8 ). As an example, mrg_cbf is encoded only if a block is not further partitioned. As a further example, mrg_cfb can be encoded only for square blocks.

在另一较佳实施例中,该合并信息的mrg_cbf语法元素仅对于一分隔的一个区块被编码,其中这分隔是被示出于图8中的一个可能分隔模式,例如该分隔模式具有四左方底部区块。在一较佳实施例中,如果有多于一个区块以这些分隔模式的一被合并,则该第一合并区块(以解码顺序)的合并信息包含供用于完全分隔的mrg_cbf语法元素。对于随后被解码的该相同分隔模式的所有其它的区块,该合并信息仅包含mrg语法元素指明是否该当前样本集合另一样本集合合并。残余数据是否呈现的信息是自该第一区块中被编码mrg_cbf语法元素推断出。In another preferred embodiment, the mrg_cbf syntax element of the merge information is encoded only for one block of a partition, where this partition is shown in FIG8 for one possible partition pattern, e.g., a partition pattern with four left bottom blocks. In a preferred embodiment, if more than one block is merged using one of these partition patterns, the merge information for the first merged block (in decoding order) contains the mrg_cbf syntax element for a complete partition. For all other blocks of the same partition pattern that are subsequently decoded, the merge information only contains the mrg syntax element indicating whether the current sample set was merged with another sample set. Whether residual data is present is inferred from the encoded mrg_cbf syntax element in the first block.

在本发明进一步的较佳实施例中,一样本集合的合并信息在预测参数(或者,更一般地说,关联于该样本集合的特定编码参数)的前被编码。该合并信息,包括mrg_cbf,mrg以及mrg_idx语法元素,是上面第一较佳实施例说明方式被编码。这些预测或编码参数以及这些残余参数仅如果合并信息发信令当前样本集合是不与另一样本集合合并并且该CBF,对于至少一个构件,是等于1时才发送。在一较佳实施例中,如果mrg_cbf语法元素指明当前区块被合并并且对于所有构件的CBF等于0,则对于这当前区块在合并信息之后将不需要更多的发信令。In a further preferred embodiment of the present invention, merge information for a sample set is encoded before the prediction parameters (or, more generally, the specific coding parameters associated with the sample set). The merge information, including the mrg_cbf, mrg, and mrg_idx syntax elements, is encoded in the manner described above for the first preferred embodiment. These prediction or coding parameters and the residual parameters are only sent if the merge information signals that the current sample set is not merged with another sample set and the CBF is equal to 1 for at least one component. In a preferred embodiment, if the mrg_cbf syntax element indicates that the current block is merged and the CBF is equal to 0 for all components, no further signaling is required for the current block after the merge information.

在本发明另一较佳实施例中,语法元素mrg_cbf,mrg,以及mrg_idx被组合并且被编码为一个或二个语法元素。在一较佳实施例中,mrg_cbf以及mrg被组合成为一语法元素,其指明下面的任何情况:(a)该区块被合并并且其不包含残余的数据,(b)该区块被合并并且包含残余的数据(或可包含残余的数据),(c)该区块不被合并。在另一较佳实施例中,该语法元素mrg以及mrg_idx被组合成为一语法元素。如果N是合并候选者数量,则被组合语法元素指明下面情况之一:该区块不被合并,该区块是与候选者1合并,该区块是与候选者2合并,…,该区块是与候选者N合并。在本发明进一步的较佳实施例中,语法元素mrg_cfb,mrg,以及mrg_idx被组合成为一语法元素,其指明下面的情况之一(N是候选者数量):该区块不被合并,该区块是与候选者1合并并且不包含残余的数据,该区块是与候选者2合并并且不包含残余的数据,…,该区块是与候选者N合并并且不包含残余的数据,该区块是与候选者1合并并且包含残余的数据,该区块是与候选者2合并并且包含残余的数据,…,该区块是与候选者N合并并且包含残余的数据。被组合语法元素可以用可变长度码发送或可以用算术编码发送或可以用使用任何特定的二进制机构的二进制算术编码发送。In another preferred embodiment of the present invention, the syntax elements mrg_cbf, mrg, and mrg_idx are combined and encoded as one or two syntax elements. In one preferred embodiment, mrg_cbf and mrg are combined into a syntax element that indicates any of the following: (a) the block is merged and does not contain residual data, (b) the block is merged and contains residual data (or may contain residual data), or (c) the block is not merged. In another preferred embodiment, the syntax elements mrg and mrg_idx are combined into a syntax element. If N is the number of merge candidates, the combined syntax element indicates one of the following: the block is not merged, the block is merged with candidate 1, the block is merged with candidate 2, ..., the block is merged with candidate N. In a further preferred embodiment of the present invention, the syntax elements mrg_cfb, mrg, and mrg_idx are combined into a syntax element that indicates one of the following (N is the number of candidates): the block is not merged, the block is merged with candidate 1 and does not contain residual data, the block is merged with candidate 2 and does not contain residual data, ..., the block is merged with candidate N and does not contain residual data, the block is merged with candidate 1 and contains residual data, the block is merged with candidate 2 and contains residual data, ..., the block is merged with candidate N and contains residual data. The combined syntax element can be sent using variable length coding, arithmetic coding, or binary arithmetic coding using any specific binary mechanism.

2.合并标记和CBF标记的组合以及跳过/直接模式2. Combination of Merge Marker and CBF Marker and Skip/Direct Mode

跳过/直接模式可以对于所有的或仅特定的区块尺寸和/或区块形状被支援。在当前技术视频编码标准H.264说明的跳过/直接模式延伸技术中,一组候选者区块被使用于跳过/直接模式。在跳过以及直接模式的间的差异为残余参数是否被传送。这些跳过以及直接参数(例如,供预测)可自对应候选者的任何一者被推断。一候选者索引被编码,其发信令哪一候选者被使用于推断这些编码参数。如果复数个预测被组合以形成当前区块的最后预测信号(如于H.264的B-帧中被使用的双向-预测区块),则每一预测可涉及不同的候选者。因此一候选者索引可对于每一预测被编码。Skip/direct mode can be supported for all or only certain block sizes and/or block shapes. In the skip/direct mode extension described in the current video coding standard H.264, a set of candidate blocks is used for skip/direct mode. The difference between skip and direct modes is whether residual parameters are transmitted. These skip and direct parameters (e.g., for prediction) can be inferred from either of the corresponding candidates. A candidate index is encoded that signals which candidate is used to infer these coding parameters. If multiple predictions are combined to form the final prediction signal for the current block (such as for bidirectionally predicted blocks used in H.264 B-frames), each prediction can involve a different candidate. Therefore, a candidate index can be encoded for each prediction.

在本发明的一较佳实施例中,跳过/直接的候选者列表可包含合并模式候选者列表的不同候选者区块。其范例如图10示出。该候选者列表包含下面的区块(当前区块利用Xi表示):In a preferred embodiment of the present invention, the skip/direct candidate list may include different candidate blocks from the merge mode candidate list. An example is shown in FIG10 . The candidate list includes the following blocks (the current block is denoted by Xi):

·移动向量(0,0)Movement vector (0, 0)

·中间(在左方,上面,角落之间)Middle (left, top, between corners)

·左方区块(Li)Left block (Li)

·上面区块(Ai)Upper block (Ai)

·角落区块(依次地:上面右方(Ci1),下面左方(Ci2),上面左方(Ci3))Corner blocks (in order: upper right (Ci1), lower left (Ci2), upper left (Ci3))

·于不同,但是先前已经被编码图像中的相同位置区块The same block in a different, but previously coded picture

·下面的标志被使用于说明下面的实施例:The following symbols are used to describe the following embodiments:

·set_mvp_ori是被使用于跳过/直接模式的一候选者集合。这集合由{中间,左方,上面,角落,相同位置}构成,其中中间是中间数值(左方,上面以及角落的顺序集合的中间数值),并且相同位置是最接近的参考帧所给予(或参考图像列表之一中的第一参考图像)并且对应的移动向量根据时间距离被量度。两成分等于0的移动向量可另外地被插入候选者列表,例如如果有没有左方,没有上面,没有角落区块。set_mvp_ori is a candidate set used in skip/direct mode. This set consists of {center, left, top, corner, same position}, where center is the middle value (the middle value of the order of left, top, and corner), and same position is given by the closest reference frame (or the first reference picture in one of the reference picture lists) and the corresponding motion vectors are measured based on temporal distance. Motion vectors with both components equal to zero may be inserted into the candidate list, for example if there are no left, no top, and no corner blocks.

·set_mvp_comb是set_mvp_ori的子集。set_mvp_comb is a subset of set_mvp_ori.

在一较佳实施例中,跳过/直接模式以及区块合并模式两者皆被支持。跳过/直接模式使用原始的候选者集合,set_mvp_ori。关于区块合并模式的合并信息可包含被组合mrg_cbf语法元素。In a preferred embodiment, both skip/direct mode and block merge mode are supported. Skip/direct mode uses the original candidate set, set_mvp_ori. Merge information about block merge mode may include the combined mrg_cbf syntax element.

在另一实施例中,跳过/直接模式以及区块合并模式两者皆被支持,但是跳过/直接模式使用被修改的候选者集合,set_mvp_comb。这被修改候选者集合可以是原始集合set_mvp_ori的特定子集。在一较佳实施例中,该被修改候选者集合是由角落区块以及相同位置区块构成。在一较佳实施例中,该被修改候选者集合是仅被相同位置区块构成。进一步的子集也是可能。In another embodiment, both skip/direct mode and block merge mode are supported, but skip/direct mode uses a modified candidate set, set_mvp_comb. This modified candidate set can be a specific subset of the original set, set_mvp_ori. In a preferred embodiment, the modified candidate set consists of corner blocks and co-located blocks. In a preferred embodiment, the modified candidate set consists only of co-located blocks. Further subsets are also possible.

在一较佳实施例中,包含mrg_cbf语法元素的合并信息是在跳过模式相关参数之前被编码。In a preferred embodiment, the merge information including the mrg_cbf syntax element is encoded before the skip mode related parameters.

在一较佳实施例中,该跳过模式相关参数在包含mrg_cbf语法元素的合并信息之前被编码。In a preferred embodiment, the skip mode related parameters are encoded before the merge information including the mrg_cbf syntax element.

根据另一实施例,直接模式可能不被致动(甚至不呈现)并且区块合并具有跳过模式以mrg_cbf取代的候选者延伸集合。According to another embodiment, direct mode may not be activated (or even presented) and the block merge has a candidate extended set with skip mode replaced by mrg_cbf.

在一较佳实施例中,区块合并的候选者列表可包含不同的候选者区块。一范例如图10示出。该候选者列表包含下面的区块(当前区块是利用Xi代表):In a preferred embodiment, the candidate list for block merging may include different candidate blocks. An example is shown in FIG10 . The candidate list includes the following blocks (the current block is represented by Xi):

·移动向量(0,0)Movement vector (0, 0)

·左方区块(Li)Left block (Li)

·上面区块(Ai)Upper block (Ai)

·于不同,但是先前已经被编码图像中的相同位置区块The same block in a different, but previously coded picture

·角落区块(依次地:上面右方(Ci1),下面左方(Ci2),在上面左方(Ci3))Corner blocks (in order: upper right (Ci1), lower left (Ci2), upper left (Ci3))

·被组合双向-预测候选者Combined bi-prediction candidates

·非尺度调整双向-预测候选者Unscaled bidirectional prediction candidates

应该注意,区块合并候选者位置可相同于像框间-预测中MVP列表以便节省内存存取。It should be noted that the block merging candidate position can be the same as the MVP list in inter-frame prediction to save memory access.

进一步地,该列表可如上所述“固定”以便将语法分析和重建解耦合而改进语法分析且关于信息损失更强健。Further, the list may be "fixed" as described above in order to decouple parsing and reconstruction to improve parsing and be more robust to information loss.

3.CBF的编码3. CBF encoding

在一较佳实施例中,如果mrg_cfb语法元素是等于0(其发信令关于区块是不被合并或其包含非零残余数据),一标记是被发送而发信令是否所有残余数据的成分(例如,一亮度以及二彩度成分)均为零。如果mrg_cfb是等于1,则这标记不被发送。在一特定配置中,如果mrg_cfb是等于0则这标记不被发送并且语法元素mrg指明区块被合并。In a preferred embodiment, if the mrg_cfb syntax element is equal to 0 (which signals that the block is not merged or contains non-zero residual data), a flag is sent to signal whether all components of the residual data (e.g., one luma and two chroma components) are zero. If mrg_cfb is equal to 1, this flag is not sent. In a specific configuration, if mrg_cfb is equal to 0, this flag is not sent and the mrg syntax element indicates that the block is merged.

在另一较佳实施例中,如果mrg_cfb语法元素是等于0(其发信令关于区块是不被合并还是其包含非零残余数据),对于各成分的一分别语法元素被发送而发信令对于该成分的残余数据是否为零。In another preferred embodiment, if the mrg_cfb syntax element is equal to 0 (which signals whether the block is not merged or whether it contains non-zero residual data), a separate syntax element for each component is sent signaling whether the residual data for that component is zero.

不同的前后文模型可被使用于mrg_cbf。Different context models can be used with mrg_cbf.

因此,在上面实施例说明用于编码一图像的装置,其包含Therefore, the above embodiment describes an apparatus for encoding an image, which comprises

一子分割器,其被配置为子分割该图像成为样本的样本集合;a sub-segmenter configured to sub-segment the image into a sample set of samples;

一合并器,其被配置为将这些样本集合合并至一个或多个样本集合的互斥集合中;a merger configured to merge the sample sets into one or more mutually exclusive sets of sample sets;

一编码器,其被配置而以这些样本集合的互斥集合为单位使用跨越该图像变化的编码参数而编码该图像,其中,该编码器被配置为,对于预定样本集合通过预测该图像及编码一预测残差来编码该图像;以及an encoder configured to encode the picture in units of mutually exclusive sets of the sample sets using coding parameters that vary across the picture, wherein the encoder is configured to encode the picture by predicting the picture and encoding a prediction residual for a predetermined set of samples; and

一位流产生器,其被配置为将该预测残差以及这些编码参数,与对于这些样本集合的至少一子集的每一个的一个或多个语法元素一起地插入一比特流中,这些语法元素关于相应的样本集合是否与另一样本集合一起被合并至这些互斥集合之一中而发信令。A bitstream generator is configured to insert the prediction residual and the coding parameters into a bitstream together with one or more syntax elements for each of at least a subset of the sample sets, the syntax elements signaling whether the corresponding sample set is merged with another sample set into one of the mutually exclusive sets.

进一步地,已说明用于解码具有图像被编码于其中的比特流的装置,其包含Furthermore, a device for decoding a bitstream having an image encoded therein has been described, comprising

一子分割器,其被配置为将该图像子分割成为多个样本的样本集合;a sub-segmenter configured to sub-segment the image into a sample set of a plurality of samples;

一合并器,其被配置为将这些样本集合合并至均为一个或多个样本集合的互斥集合;a merger configured to merge the sample sets into mutually exclusive sets each of which is one or more sample sets;

一解码器,其被配置而以这些样本集合的互斥集合为单位使用跨越图像变化的编码参数而解码该图像,其中,该解码器被配置为对于预定样本集合通过预测该图像、解码用于这些预定样本集合的一预测残差、以及组合该预测残差与由于预测该图像所产生的一预测,来解码图像;a decoder configured to decode the picture using coding parameters that vary across the picture in units of mutually exclusive sets of the sample sets, wherein the decoder is configured to decode the picture by predicting the picture for predetermined sets of samples, decoding a prediction residual for the predetermined sets of samples, and combining the prediction residual with a prediction resulting from predicting the picture;

一提取器,其被配置为与用于这些样本集合的至少一子集的每一个的一个或多个语法元素一起地,从该比特流提取该预测残差和这些编码参数,这些语法元素关于相应样本集合是否将与另一样本集合一起被合并进入这些互斥集合之一中而发信令,其中,该合并器被配置为响应于该语法元素而进行合并。an extractor configured to extract the prediction residual and the coding parameters from the bitstream together with one or more syntax elements for each of at least a subset of the sample sets, the syntax elements signaling whether the respective sample set is to be merged with another sample set into one of the mutually exclusive sets, wherein the merger is configured to perform the merging in response to the syntax elements.

其中,一个或多个语法元素的可能状态之一将关于该相应样本集合将与另一样本集合一起被合并进入这些互斥集合的一者内以及该相应样本集合没有被编码且被插入该比特流中的预测残差而发信令。Therein, one of the possible states of one or more syntax elements will signal that the corresponding sample set will be merged with another sample set into one of the mutually exclusive sets and that the corresponding sample set is not coded and the prediction residual is inserted into the bitstream.

该提取器还被配置为从该比特流提取子分割信息,并且该子分割器被配置为响应于该子分割信息而将该图像子分割成为样本集合。The extractor is further configured to extract sub-partitioning information from the bitstream, and the sub-partitioner is configured to sub-partition the image into sets of samples in response to the sub-partitioning information.

该提取器以及该合并器被配置为根据一样本集合扫描顺序依次地步进这些样本集合,并且,对于一当前样本集合,The extractor and the merger are configured to sequentially step through the sample sets according to a sample set scanning order, and, for a current sample set,

从该比特流提取一第一二进制语法元素(mrg_cbf);Extracting a first binary syntax element (mrg_cbf) from the bitstream;

如果该第一二进制语法元素确定为是一,则通过推断用于该当前样本集合的编码参数是等于关联于这互斥集合的编码参数来讲该当前样本集合合并进入这些互斥集合之一、跳过对于该当前样本集合的预测残差的提取并且以样本集合扫描顺序步进至下一个样本集合;If the first binary syntax element is determined to be one, merging the current sample set into one of the mutually exclusive sets by inferring that coding parameters for the current sample set are equal to coding parameters associated with the mutually exclusive sets, skipping extraction of prediction residuals for the current sample set, and stepping to the next sample set in sample set scanning order;

如果该第一二进制语法元素确定为是一第二二进制状态,则从该比特流提取一第二语法元素(mrg,mrg_idx);并且If the first binary syntax element is determined to be in a second binary state, extracting a second syntax element (mrg, mrg_idx) from the bitstream; and

取决于该第二语法元素,通过推断对于该当前样本集合的编码参数是等于关联于这互斥集合的编码参数而将该当前样本集合合并至些互斥集合的一者,或进行用于该当前样本集合的这些编码参数的提取,同时提取与对于该当前样本集合的预测残差有关的至少一个另外的语法元素。Depending on the second syntax element, the current sample set is merged into one of the mutually exclusive sets by inferring that the coding parameters for the current sample set are equal to the coding parameters associated with the mutually exclusive sets, or extraction of the coding parameters for the current sample set is performed while extracting at least one further syntax element related to the prediction residual for the current sample set.

对于这些样本集合的至少一子集的每一个的一个或多个语法元素也发信令,如果相应样本集合是将与另一样本集合一起被合并至互斥集合的任何一集合内,则该相应样本集合是将与邻近于该相应样本集合的预定候选者样本集合的哪一集合被合并。The one or more syntax elements for each of at least a subset of the sample sets also signal which set of predetermined candidate sample sets adjacent to the corresponding sample set is to be merged with if the corresponding sample set is to be merged with another sample set into any one of the mutually exclusive sets.

该提取器也被配置为,如果一个或多个语法元素不关于相应的样本集合将与另一样本集合一起被合并至任一互斥集合中发信令,The extractor is also configured to, if one or more syntax elements do not signal that the corresponding sample set is to be merged with another sample set into any mutually exclusive set,

则从该比特流提取一个或多个另外的语法元素(跳过/直接模式),这些语法元素针对如果所述相应样本集合将与另一样本集合一起被合并到互斥集合的任一集合中、则相应样本集合是将与邻近所述相应样本集合的预定候选者样本集合中的哪一个集合合并而发信令。then extracting one or more further syntax elements (skip/direct mode) from the bitstream, which signal which of predetermined candidate sample sets adjacent to the corresponding sample set the corresponding sample set is to be merged with if the corresponding sample set is to be merged with another sample set into any of the mutually exclusive sets.

在该情况中,该预定候选者样本集合的集合以及该预定候选者样本集合进一步的集合可以是分别地有关于该预定候选者样本集合的集合的少数预定候选者样本集合以及该进一步的预定候选者样本集合的集合而彼此互斥或相交。In this case, the set of predetermined candidate sample sets and the further set of predetermined candidate sample sets may be mutually exclusive or intersecting with respect to a minority of the set of predetermined candidate sample sets and the further set of predetermined candidate sample sets, respectively.

该提取器也被配置为从该比特流提取子分割信息,并且该子分割器被配置为响应于该子分割信息而将该图像阶级式子分割成为样本集合,并且该提取器被配置为依次地步进一亲系样本集合的子系样本集合,其中,该亲系样本集合由该图像被子分割的样本集合所组成,并且对于一当前子系样本集合,The extractor is also configured to extract sub-partition information from the bitstream, and the sub-partitioner is configured to hierarchically sub-partition the image into sample sets in response to the sub-partition information, and the extractor is configured to sequentially step through a child sample set of a parent sample set, wherein the parent sample set consists of sample sets into which the image is sub-partitioned, and for a current child sample set,

从该比特流提取一第一二进制语法元素(mrg_cbf);Extracting a first binary syntax element (mrg_cbf) from the bitstream;

如果该第一二进制语法元素确定为是一第一二进制状态,则通过推断对于该当前子系样本集合的编码参数等于与该互斥集合关联的编码参数而将该当前子系样本集合合并至这些互斥集合的一者中、跳过对于该当前子系样本集合的预测残差的提取、并且步进至下一个子系样本集合;If the first binary syntax element is determined to be a first binary state, merging the current subset sample set into one of the mutually exclusive sets by inferring that coding parameters for the current subset sample set are equal to coding parameters associated with the mutually exclusive sets, skipping extraction of prediction residuals for the current subset sample set, and stepping to a next subset sample set;

如果该第一二进制语法元素确定为是一第二二进制状态,则从该比特流提取一第二语法元素(mrg,mrg_idx);并且If the first binary syntax element is determined to be in a second binary state, extracting a second syntax element (mrg, mrg_idx) from the bitstream; and

取决于该第二语法元素,通过推断对于该当前子系样本集合的编码参数等于关联于该群组的编码参数而将该当前子系样本集合合并至这些群组的一者中,或进行对于该当前子系样本集合的这些编码参数的提取,同时提取与对于该当前子系样本集合的预测残差有关的至少一个另外的语法元素,并且接着步进至下一个子系样本集合,depending on the second syntax element, merging the current subset sample set into one of the groups by inferring that the coding parameters for the current subset sample set are equal to the coding parameters associated with the group, or performing extraction of the coding parameters for the current subset sample set while extracting at least one further syntax element related to the prediction residual for the current subset sample set, and then stepping to the next subset sample set,

对于下一个子系样本集合,如果当前子系样本集合的该第一二进制语法元素确定为是该第一二进制状态,则跳过该第一二进制语法元素的提取,并且反而开始提取该第二语法元素,而且如果当前子系样本集合的该第一二进制语法元素确定为是该第二二进制状态,则提取该第一二进制语法元素。For the next subset sample set, if the first binary syntax element of the current subset sample set is determined to be in the first binary state, skipping the extraction of the first binary syntax element and starting to extract the second syntax element instead; and if the first binary syntax element of the current subset sample set is determined to be in the second binary state, extracting the first binary syntax element.

假设,例如,一个亲系样本集合(CU)被分割成为二个子系样本集合(PU)。接着,如果对于第一PU,该第一二进制语法元素(merge_cbf)具有第一二进制状态,1)第一PU使用合并并且第一和第二PU(整个CU)在比特流中不具有残余数据,并且2)对于第二PU,第二二进制语法元素(merge_flag,merge_idx)被发信令。但是,如果第一二进制语法元素对于第一PU具有第二二进制状态,接着则1)对于第一PU,第二二进制语法元素(merge_flag,merge_idx)被发信令,并且残余数据是在比特流中,然而2)对于第二PU,第一二进制语法元素(merge_cbf)被发信令。因此,可以是merge_cbf同时也在一PU位准发信令,亦即,对于依次子系样本集合,如果对于所有的先前的子系样本集合,merge_cbf是在第二二进制状态。如果对于依次子系样本集合,merge_cbf是在第一二进制状态,则在这子系样本集合下面的所有的子系样本集合在比特流中不具有残余数据。例如,对于一CU分割成为,例如,4个PU,可能对于第二PU,merge_cbf是在第一二进制状态,而表示编码顺序中第三个和第四个PU在比特流中不具有残余数据,但是第一PU具有或可具有。Assume, for example, that a parent sample set (CU) is partitioned into two child sample sets (PUs). Then, if for the first PU, the first binary syntax element (merge_cbf) has a first binary state, 1) the first PU uses merging and the first and second PUs (the entire CU) have no residual data in the bitstream, and 2) for the second PU, the second binary syntax element (merge_flag, merge_idx) is signaled. However, if the first binary syntax element has a second binary state for the first PU, then 1) for the first PU, the second binary syntax element (merge_flag, merge_idx) is signaled and residual data is in the bitstream, while 2) for the second PU, the first binary syntax element (merge_cbf) is signaled. Therefore, it is possible that merge_cbf is also signaled at the PU level, i.e., for a successive child sample set, if merge_cbf is in the second binary state for all previous child sample sets. If merge_cbf is in the first binary state for a sequential subset of sample sets, then all subset sample sets below this subset do not have residual data in the bitstream. For example, for a CU partitioned into, for example, 4 PUs, merge_cbf may be in the first binary state for the second PU, indicating that the third and fourth PUs in the coding order do not have residual data in the bitstream, but the first PU does or may have it.

第一二进制语法元和第二二进制语法元素可以使用前后自适应可变长度编码或前后自适应(二进制)算术编码被编码并且用于编码这些语法元素的脉络是根据先前已经被编码区块中对于这些语法元素的数值被导出。The first binary syntax element and the second binary syntax element may be encoded using context-adaptive variable length coding or context-adaptive (binary) arithmetic coding and the context for encoding these syntax elements is derived from values for these syntax elements in previously coded blocks.

如在另一较佳实施例被说明,语法元素merge_idx可以仅如果候选者列表包含多于一个候选者被发送。这需要在分析合并索引前从该列表导出,以防止平行地进行这二程序。为允许增加分析产能并且使分析程序对于发送传输错误更强健,可能对于各索引数值以及固定数目候选者使用固定编码字组而移除这相关性。如果这数目不能被一候选者选择达到,则可能导出辅助的候选者以完成该列表。这些另外的候选者可包含所谓的被组合候选者,其可从已经在该列表中的可能不同的候选者的移动参数,以及零移动向量被建立。As described in another preferred embodiment, the syntax element merge_idx can only be sent if the candidate list contains more than one candidate. This needs to be derived from the merge index before analyzing the list to prevent the two procedures from being performed in parallel. To increase the analysis throughput and make the analysis procedure more robust to transmission errors, it is possible to remove this dependency by using a fixed codeword for each index value and a fixed number of candidates. If this number cannot be reached by a candidate selection, it is possible to derive additional candidates to complete the list. These additional candidates can include so-called combined candidates, which can be created from the motion parameters of possibly different candidates already in the list, as well as the zero motion vector.

在另一较佳实施例中,用于发信令这些候选者集合的哪一区块的语法同时地适用于编码器和解码器。如果例如,提供供合并区块的3种选择,那三种选择仅出现在语法中并且被考虑供熵编码用。所有其它的选择的机率被考虑为0并且熵编解码器在编码器和解码器同时被调整。In another preferred embodiment, the syntax for signaling which blocks from these candidate sets are used simultaneously at the encoder and decoder. For example, if three options are provided for merging blocks, only those three options appear in the syntax and are considered for entropy coding. The probability of all other options is assumed to be zero, and the entropy codec is adjusted simultaneously at the encoder and decoder.

由于合并程序结果被推断的预测参数可以代表关联于一区块的预测参数完全集合或它们可以代表这些预测参数(例如,对于多个假设预测被使用的区块的一个假设预测参数)的子集。The prediction parameters inferred as a result of the merging procedure may represent the complete set of prediction parameters associated with a block or they may represent a subset of these prediction parameters (eg, one hypothetical prediction parameter for a block where multiple hypothetical predictions are used).

在一较佳实施例中,关于合并信息的语法元素使用前后文模型被熵编码。In a preferred embodiment, syntax elements related to merge information are entropy coded using a context model.

转移上述的实施例至一特定语法的方法在下面关于下面的附图被说明。尤其是,图11至图13A和图13B示出采用上述实施例优点的一语法的不同部分。尤其是,根据在下面说明的实施例,图像20首先向上-分割成为编码树区块,其图像内容使用图11中示出的语法coding_tree被编码。如其中所示出,对于entropy_coding_mode_flag=1,其系关于,例如,前后自适应二进制算术编码或另一特定熵编码模式,当前编码树区块的四分树子分割经由在标志400称为split_coding_unit_flag的标记在语法部分coding_tree的内被发信令。如在图11的示出,根据在此处的后被说明的实施例,该树根区块被子分割如的图7A示出的深度-首先经过顺序利用split_coding_unit_flag被发信令。每当达到一叶部节点时,该相同者代表一编码单位,其使用语法函数coding_unit直接被编码。这可自图11看出,当观看在402的if-clause时,其检查关于当前split_coding_unit_flag是否被设定。如果是,则函数coding_tree反复地被呼叫,导致进一步的split_coding_unit_flag分别地在编码器和解码器进一步的发送/提取。如果不是,亦即,如果split_coding_unit_flag=0,则图7A树根区块200的当前子区块是叶部区块并且为了编码这编码单位,图10的函数coding_unit在404被呼叫。The method for transferring the above-described embodiment to a specific syntax is described below with reference to the following figures. In particular, Figures 11 through 13A and 13B illustrate various portions of a syntax that utilizes the advantages of the above-described embodiment. Specifically, according to the embodiment described below, image 20 is first partitioned upward into coding tree blocks, whose image content is encoded using the syntax coding_tree shown in Figure 11 . As shown therein, for entropy_coding_mode_flag = 1, which relates to, for example, context-adaptive binary arithmetic coding or another specific entropy coding mode, the quadtree subdivision of the current coding tree block is signaled within the syntax portion coding_tree via a flag designated split_coding_unit_flag at 400 . As shown in Figure 11 , according to the embodiment described later herein, the root block is subdivided depth-first sequentially as shown in Figure 7A , signaled using the split_coding_unit_flag. Whenever a leaf node is reached, the subdivision represents a coding unit, which is directly encoded using the syntax function coding_unit. This can be seen in FIG11 , when looking at the if-clause at 402 , which checks whether the current split_coding_unit_flag is set. If so, the coding_tree function is repeatedly called, resulting in further split_coding_unit_flags being sent/retrieved at the encoder and decoder, respectively. If not, that is, if split_coding_unit_flag = 0, then the current subblock of the tree root block 200 of FIG7A is a leaf block and to encode this coding unit, the coding_unit function of FIG10 is called at 404 .

在当前说明实施例中,上述选择被使用,根据该选择,合并仅可使用于像框间预测模式可用的图像。亦即,像框内编码切片/图像不使用合并。这自图12可知,其中仅在切片型式不等于像框内-图像切片型式情况,亦即,如果当前编码单位所属的当前切片允许分隔被像框间编码,标记skip_flag才在406被发送。合并系仅关于,根据本实施例,相关于像框间预测的预测参数。根据本实施例,skip_flag对于整体编码单位40发信令并且如果skip_flag等于1,这标记数值同时发信令至解码器:In the presently described embodiment, the above-described option is used, according to which merging is only possible for pictures in which the inter-frame prediction mode is available. That is, merging is not used for intra-frame coded slices/pictures. This can be seen from FIG. 12 , where the flag skip_flag is only sent at 406 if the slice type is not equal to the intra-picture slice type, that is, if the current slice to which the current coding unit belongs allows partitions to be inter-frame coded. Merging only concerns, according to this embodiment, prediction parameters related to inter-frame prediction. According to this embodiment, the skip_flag is signaled for the entire coding unit 40 and, if the skip_flag is equal to 1, this flag value is also signaled to the decoder:

1)当前编码单位分隔模式是非分割模式,根据其,相同者不被分隔并且呈现它本身为该编码单位的唯一分隔,1) the current coding unit separation mode is a non-splitting mode, according to which the same is not separated and presents itself as the only separation of the coding unit,

2)当前编码单位/分隔是像框间编码,亦即,是被规定至像框间编码模式,2) The current coding unit/partition is inter-frame coded, i.e., it is specified to inter-frame coding mode,

3)当前编码单位/分隔接受合并,以及3) The current code unit/partition accepts merging, and

4)当前编码单位/分隔接受跳过模式,亦即,具有被致动跳过模式。4) The current coding unit/partition accepts skip mode, ie has skip mode activated.

因此,如果skip_flag被设定,则函数prediction_unit在408被呼叫,其指示当前编码单位为预测单位。但是,这不是切换于合并选择的仅可能者。反而,如果关于整体编码单位的skip_flag在406不被设定,则非像框内-图像切片的编码单位的预测型式利用语法元素pred_type在410被发信令,根据于该者,在当前编码单位不进一步地被分隔情况,例如,在412,对于当前编码单位的任何分隔呼叫函数prediction_unit。在图12中,仅四个不同的分隔选择被示出,但是被示出于图8的其它分隔选择同样地也是可用的。另一可能性是分隔选择PART_NxN不可用,但是其它者可用。在图12中被使用的分隔模式的名称与图8中被示出的分隔选择的间关联性是利用在图8中相应的分隔选择的下的相应下标被指示。请注意到,预测型式语法元素pred_type不仅发信令预测模式,亦即,像框内或像框间编码,但是同时也发信令像框间编码模式情况中的分隔。像框间-编码模式情况进一步地被讨论。函数prediction_unit对于各分隔被呼叫,例如上述编码顺序中分隔50以及60。函数prediction_unit在414以检查skip_flag开始。如果skip_flag被设定,merge_idx在416接在后面。在步骤414的检查,是检查关于在406被发信令关于整体编码单位的skip_flag是否已被设定。如果否,则一merge_flag再次在418被发信令,并且如果后者被设定,则在420有一merge_idx接在后面,其指示当前分隔的合并候选者。再次地,仅当前编码单位的当前预测模式是一像框间预测模式情况(参考422),merge_flag才在418对于当前分隔被发信令。亦即,skip_flag不被设定情况,在410预测模式经由pred_type被发信令,其中,对于各预测单位,假设pred_type发信令该像框间编码模式被致动(参考422),一合并特定标记,亦即merge_flag,对于接在下面的各分隔相应地被发送,如果合并通过合并索引merge_idx对于相应的分隔被致动。Thus, if skip_flag is set, the prediction_unit function is called at 408, indicating that the current coding unit is a prediction unit. However, this is not the only possible way to switch to the merge option. Instead, if skip_flag is not set at 406 for the entire coding unit, the prediction type for the non-intra-picture slice coding unit is signaled using the syntax element pred_type at 410, according to which the prediction type is called for any partition of the current coding unit, i.e., at 412, if the current coding unit is not further partitioned. In FIG12, only four different partition options are shown, but the other partition options shown in FIG8 are also available. Another possibility is that the partition option PART_NxN is not available, but the others are. The correlation between the names of the partition modes used in FIG12 and the partition options shown in FIG8 is indicated by the corresponding subscripts under the corresponding partition options in FIG8. Note that the prediction type syntax element pred_type not only signals the prediction mode, i.e., intra-frame or inter-frame coding, but also signals the partition in the case of inter-frame coding mode. The inter-frame coding mode case is discussed further. The function prediction_unit is called for each partition, such as partitions 50 and 60 in the coding order described above. The function prediction_unit begins at 414 by checking the skip_flag. If the skip_flag is set, merge_idx follows at 416. The check at step 414 is to see whether the skip_flag signaled at 406 for the entire coding unit is also set. If not, a merge_flag is again signaled at 418. If the latter is set, a merge_idx follows at 420, indicating the merge candidate for the current partition. Again, merge_flag is signaled for the current partition at 418 only if the current prediction mode of the current coding unit is an inter-frame prediction mode (see 422). That is, if skip_flag is not set, the prediction mode is signaled via pred_type at 410, wherein, for each prediction unit, assuming that pred_type signals that inter-frame coding mode is activated (see 422), a merge-specific flag, namely merge_flag, is correspondingly sent for each following partition if merging is activated for the corresponding partition via the merge index merge_idx.

如自图13B可见,在424使用于当前预测单位的预测参数发送是,根据本实施例,仅合并不被使用于当前预测单位情况中才被进行,亦即,因为合并不利用skip_flag被致动,也不利用相应分隔的相应merge_flag被致动。As can be seen from FIG. 13B , when the prediction parameters for the current prediction unit are sent at 424 , according to this embodiment, merging is only performed if it is not used for the current prediction unit, i.e. because merging is not activated with the skip_flag nor with the corresponding merge_flag of the corresponding partition.

如已于上面被指示的,skip_flag=1同时地发信令没有残余数据被发送。这可自对于当前编码单位在图12中在426的残余数据发送仅skip_flag等于0情况下发生的事实导出,也可自实时地在其发送的后检查skip_flag状态在if-clause428的else选择的内这残余数据发送的事实导出。As already indicated above, skip_flag=1 simultaneously signals that no residual data is sent. This can be derived from the fact that for the current coding unit, the residual data transmission at 426 in FIG. 12 only occurs if skip_flag is equal to 0, and can also be derived from the fact that the skip_flag state is checked in real time after its transmission within the else option of the if-clause 428.

当前为止,图11至图13A和图13B的实施例仅在entropy_coding_mode_flag等于1的假设下被说明。但是,图11至图13A和图13B的实施例同时也包括entropy_coding_mode_flag=0情况中上述实施例的实施例,在其情况中另一熵编码模式被使用于便将语法元素进行熵编码,例如,可变长度编码并且,为了更精确故,前后自适应可变长度编码,例如,尤其是,同时地一方面发信令合并致动并且另一方面发信令跳过模式的可能性存在于上述的实施例,根据其,共同地发信令状态仅是在相应语法元素的多于二组状态的中的一个状态。这现在更详细被说明。但是,应注意在两种熵编码模式的间切换的可能性是可选择的,并且因此,不同的实施例可以仅允许两种熵编码模式的一而容易地自第11至13图导出。Thus far, the embodiments of Figures 11 to 13A and 13B have been described solely under the assumption that entropy_coding_mode_flag is equal to 1. However, the embodiments of Figures 11 to 13A and 13B also encompass embodiments described above with entropy_coding_mode_flag = 0, in which case another entropy coding mode is used for entropy coding the syntax element, such as variable length coding and, for greater precision, context-adaptive variable length coding. For example, the possibility of simultaneously signaling merge activation on the one hand and skip mode on the other hand exists in the embodiments described above, according to which only one of more than two sets of states for the corresponding syntax element is signaled jointly. This will now be described in more detail. However, it should be noted that the possibility of switching between the two entropy coding modes is optional, and therefore, different embodiments can be easily derived from Figures 11 to 13 by allowing only one of the two entropy coding modes.

例如,参看图11。如果entropy_coding_mode_flag等于0并且slice_type语法元素发信令当前树根区块属于像框间编码切片,亦即,像框间编码模式是可用的,则一语法元素cu_split_pred_part_mode在430被发送,并且这语法元素发信令,如经由其名称被指示,当前编码单位的进一步子分割信息,跳过模式的致动或撤销,合并以及预测模式致动或撤销以及相应的分隔信息。参看列表1:For example, see Figure 11. If entropy_coding_mode_flag is equal to 0 and the slice_type syntax element signals that the current tree root block belongs to an inter-frame coded slice, that is, the inter-frame coding mode is available, then a syntax element cu_split_pred_part_mode is sent at 430, and this syntax element signals, as indicated by its name, further sub-partitioning information of the current coding unit, activation or deactivation of the skip mode, activation or deactivation of the merge and prediction mode, and corresponding partitioning information. See Listing 1:

列表1List 1

列表1指明当前编码单位不是当前树根区块四分树子分割中最小的一个尺寸的情况中,语法元素cu_split_pred_part_mode可能状态的主要性。这些可能状态被列表于列表1最外面左行。因列表1指示其中当前编码单位不最小尺寸的情况,有一状态cu_split_pred_part_mode,亦即状态0,其发信令当前编码单位不是一实际编码单位,但是须被进一步子分割成为四单位,其接着以深度-首先行经顺序被经过,再次地,如在432呼叫函数coding_tree所述。亦即,cu_split_pred_part_mode=0发信令当前树根区块的当前四分树子分割单位将被进一步再次子分割成为四个较小的单位,亦即,split_coding_unit_flag=1。但是,如果cu_split_pred_part_mode确定为任何其它的可能状态,则split_coding_unit_flag=0并且当前单位形成当前树根区块的叶部区块,亦即,一编码单位。该情况中,cu_split_pred_part_mode的一个其余可能状态代表上面说明共同地发信令状态,其同时地发信令当前编码单位接受合并并且具有跳过模式被致动,利用列表1第三行skip_flag等于1被指示,而同时地发信令当前编码单位没有进一步的分隔发生,亦即,PART_2Nx2N被选择为分隔模式。cu_split_pred_part_mode同时也具一可能状态,其发信令合并致动与跳过模式不被引动。这是可能状态2,对应至skip_flag=0而merge_flag=1,且无分隔模式作用,亦即,PART_2Nx2N。亦即,在该情况,merge_flag预先被发信令而不是在prediction_unit语法的内。在cu_split_pred_part_mode其余可能状态,具有其它的分隔模式的像框间预测模式被发信令,而这些分隔模式分隔当前编码单位成为多于一个分隔。Table 1 indicates the importance of the possible states of the syntax element cu_split_pred_part_mode for the case where the current coding unit is not the smallest size in the quadtree subdivision of the current tree root block. These possible states are listed in the outermost left row of Table 1. Because Table 1 indicates the case where the current coding unit is not the smallest size, there is a state cu_split_pred_part_mode, namely, state 0, which signals that the current coding unit is not an actual coding unit, but must be further subdivided into four units, which are then traversed in depth-first order, again as described in calling the function coding_tree at 432. That is, cu_split_pred_part_mode = 0 signals that the current quadtree subdivision unit of the current tree root block is to be further subdivided into four smaller units, i.e., split_coding_unit_flag = 1. However, if cu_split_pred_part_mode is set to any other possible state, split_coding_unit_flag = 0 and the current unit forms a leaf block of the current tree root block, i.e., a coding unit. In this case, one of the remaining possible states of cu_split_pred_part_mode represents the previously described jointly signaled state, which simultaneously signals that the current coding unit is subject to merging and has skip mode enabled, as indicated by skip_flag being equal to 1 in the third row of Table 1, and simultaneously signals that no further splitting of the current coding unit occurs, i.e., PART_2Nx2N is selected as the split mode. cu_split_pred_part_mode also has a possible state in which merging is enabled and skip mode is not enabled. This is possible state 2, corresponding to skip_flag = 0 and merge_flag = 1, with no split mode active, i.e., PART_2Nx2N. That is, in this case, merge_flag is signaled in advance rather than within the prediction_unit syntax. In the remaining possible states of cu_split_pred_part_mode, inter prediction modes with other partition modes are signaled that split the current coding unit into more than one partition.

列表2List 2

列表2示出根据当前树根区块的四分树子分割具有最小的可能尺寸的当前编码单位情况中,cu_split_pred_part_mode可能状态的主要性或语法。该情况中,根据split_coding_unit_flag=0,所有的可能状态cu_split_pred_part_mode对应至没有进一步的子分割。但是,该可能状态0发信令skip_flag=1,亦即,同时地发信令合并被致动并且跳过模式作用。此外,相同者亦发信令没有分割发生,亦即,分隔模式PART_2Nx2N。可能状态1对应至列表1的可能状态2并且相同情况适用至列表2的可能状态2,其对应至列表1的可能状态3。Table 2 shows the significance or syntax of the possible states of cu_split_pred_part_mode for the case where the current coding unit has the smallest possible size according to the quadtree subdivision of the current root block. In this case, according to split_coding_unit_flag = 0, all possible states of cu_split_pred_part_mode correspond to no further subdivision. However, possible state 0 signals skip_flag = 1, i.e., simultaneously signals that merging is enabled and skip mode is in effect. In addition, the same also signals that no splitting occurs, i.e., the partitioning mode PART_2Nx2N. Possible state 1 corresponds to possible state 2 of Table 1, and the same applies to possible state 2 of Table 2, which corresponds to possible state 3 of Table 1.

虽然在图11至图13A和图13B实施例的上面说明已经说明大部分功能和语法,一些进一步的信息呈现在下面。While the above description of the embodiments of Figures 11 through 13A and 13B has explained most of the functionality and syntax, some further information is presented below.

skip_flag[x0]y0]等于1指明当前编码单位(参看附图中40),当解码P或B切片时,除了移动向量预测器索引(merge_idx)之外,在skip_flag[x0][y0]之后没有更多语法元素剖析。skip_flag[x0][y0]等于0指明编码单位不跳过。数组索引x0,y0指示相对于图像之顶部-左方亮度样本(附图中的20)所考虑编码单位顶部-左方亮度样本的位置(x0,y0)。[0065] When skip_flag[x0][y0] is equal to 1, it specifies that for the current coding unit (see 40 in the accompanying drawings), no further syntax elements are parsed after skip_flag[x0][y0] except for the motion vector predictor index (merge_idx) when decoding a P or B slice. When skip_flag[x0][y0] is equal to 0, it specifies that the coding unit is not skipped. The array indices x0, y0 indicate the position (x0, y0) of the top-left luma sample of the considered coding unit relative to the top-left luma sample of the picture (20 in the accompanying drawings).

当skip_flag[x0][y0]不呈现时,其将被推断等于0。When skip_flag[x0][y0] is not present, it will be inferred to be equal to 0.

如上所述,如果skip_flag[x0][y0]等于1,As mentioned above, if skip_flag[x0][y0] is equal to 1,

-预测模式被推断等于MODE_SKIP- The prediction mode is inferred to be equal to MODE_SKIP

-分隔模式被推断等于PART_2Nx2N- The partitioning pattern is inferred to be equal to PART_2Nx2N

cu_split_pred_part_mode[x0][y0]指明split_coding_unit_flag以及何时编码单位不切割skip_flag[x0][y0],merge_flag[x0][y0],编码单位的预测模式和分隔模式。数组索引x0,y0指示相对于图像之顶部-左方亮度样本所考虑编码单位顶部-左方亮度样本的位置(x0,y0)。cu_split_pred_part_mode[x0][y0] specifies the split_coding_unit_flag and when the coding unit is not to be split, skip_flag[x0][y0], merge_flag[x0][y0], the prediction mode and the partitioning mode of the coding unit. The array index x0, y0 indicates the position (x0, y0) of the top-left luma sample of the considered coding unit relative to the top-left luma sample of the picture.

merge_flag[x0][y0]指示是否对于当前预测单位(附图中50以及60,亦即,在编码单位40之内的分隔)的像框间预测参数自相邻像框间-预测分隔推断出。数组索引x0,y0指示相对于图像的顶部-左方亮度样本所考虑预测区块顶部-左方亮度样本的位置(x0,y0)。merge_flag[x0][y0] indicates whether the inter-prediction parameters for the current prediction unit (50 and 60 in the figure, i.e., partitions within coding unit 40) are inferred from the neighboring inter-prediction partitions. The array indices x0, y0 indicate the position (x0, y0) of the top-left luma sample of the considered prediction block relative to the top-left luma sample of the picture.

merge_idx[x0][y0]指示合并候选者列表之合并候选者索引,其中x0,y0指示相对于图像的顶部-左方亮度样本所考虑预测区块顶部-左方亮度样本的位置(x0,y0)。merge_idx[x0][y0] indicates the merge candidate index of the merge candidate list, where x0, y0 indicates the position (x0, y0) of the top-left luma sample of the considered prediction block relative to the top-left luma sample of the picture.

虽然未明确地被指示在上面第11-13图说明中,合并候选者或合并候选者列表的决定这在实施例中是示例地不仅使用空间相邻预测单位/分隔的编码参数或预测参数,同时,候选者列表的形成也使用时间相邻的时间相邻分隔预测参数以及先前编码图像。此外,空间和/或时间相邻预测单位/分隔的预测参数组合被使用并且被包含于合并候选者列表。当然,仅其子集可以被使用。尤其是,图14示出决定空间相邻,亦即,空间相邻分隔或预测单位的一个可能性。图14示例地示出一预测单位或分隔60以及像素B0至B2以及A0和A1其直接地座落相邻于分隔60的边界500,亦即B2是对角线相邻分隔60的顶部左方像素,B1是座落于分隔60的垂直上面并且相邻顶部右方像素,B0是座落于对角线至分隔60的顶部右方像素,A1是座落于分隔60的水平左方,并且相邻于底部左方像素,以及A0是座落于对角线至分隔60的底部左方像素。包含B0至B2以及A0和A1的至少一个像素的分隔形成一空间相邻并且其预测参数形成一合并候选者。Although not explicitly indicated in the description of Figures 11-13 above, in this embodiment, the determination of the merge candidate or the merge candidate list is exemplified not only using the coding parameters or prediction parameters of spatially adjacent prediction units/partitions, but also using the prediction parameters of temporally adjacent temporally adjacent partitions and previously coded images when forming the candidate list. In addition, combinations of prediction parameters of spatially and/or temporally adjacent prediction units/partitions are used and included in the merge candidate list. Of course, only a subset of these may be used. In particular, Figure 14 shows one possibility for determining spatially adjacent, i.e., spatially adjacent partitions or prediction units. 14 exemplarily shows a prediction unit or partition 60 and pixels B0 to B2 and A0 and A1 located directly adjacent to the boundary 500 of the partition 60, that is, B2 is the top left pixel diagonally adjacent to the partition 60, B1 is the top right pixel located vertically above and adjacent to the partition 60, B0 is the top right pixel located diagonally to the partition 60, A1 is the horizontal left of the partition 60 and adjacent to the bottom left pixel, and A0 is the bottom left pixel located diagonally to the partition 60. A partition containing at least one pixel of B0 to B2 and A0 and A1 forms a spatial neighborhood and its prediction parameters form a merge candidate.

为了进行上述选择移除其将导致其中候选者同时也可用的另一分隔模式之那些候选者,下面的函数可被使用:In order to perform the above selection removing those candidates which would result in another partitioning pattern in which the candidate is also available, the following function can be used:

尤其是,候选者N,亦即,编码/预测参数自含盖像素N=(B0,B1,B2,A0,A1),亦即,位置(xN,yN)的预测单位/分隔还原,自候选者列表移除,如果任何下面的条件为真(参看图8的分隔模式(PartMode)以及检索在编码单位内部的相应分隔的对应分隔索引(PartIdx)):In particular, candidate N, i.e., the coding/prediction parameters recovered from the prediction unit/partition containing covered pixels N=( B0 , B1 , B2 , A0 , A1 ), i.e., position (xN, yN), is removed from the candidate list if any of the following conditions is true (see FIG8 for the partition mode (PartMode) and the corresponding partition index (PartIdx) for retrieving the corresponding partition within the coding unit):

-当前预测单位之分隔模式是PART_2NxN且分隔索引是等于1并且含盖亮度位置(xP,yP–1)(PartIdx=0)以及亮度位置(xN,yN)(Cand.N)的预测单位具有相同的移动参数:- the partition mode of the current prediction unit is PART_2NxN and the partition index is equal to 1 and the prediction units covering the luma position (xP, yP-1) (PartIdx=0) and the luma position (xN, yN) (Cand.N) have the same motion parameters:

mvLX[xP,yP–1]==mvLX[xN,yN]mvLX[xP, yP–1]==mvLX[xN, yN]

refIdxLX[xP,yP–1]==refIdxLX[xN,yN]refIdxLX[xP, yP–1]==refIdxLX[xN, yN]

predFlagLX[xP,yP–1]==predFlagLX[xN,yN]predFlagLX[xP, yP–1]==predFlagLX[xN, yN]

-当前预测单位分隔模式是PART_Nx2N且PartIdx是等于1并且含盖亮度位置(xP–1,yP)(PartIdx=0)及亮度(xN,yN)(Cand.N)的预测单位具有相同的移动参数:- the current prediction unit partition mode is PART_Nx2N and PartIdx is equal to 1 and the prediction units covering luma position (xP−1, yP) (PartIdx=0) and luma (xN, yN) (Cand.N) have the same motion parameters:

mvLX[xP–1,yP]==mvLX[xN,yN]mvLX[xP–1,yP]==mvLX[xN,yN]

refIdxLX[xP–1,yP]==refIdxLX[xN,yN]refIdxLX[xP–1, yP]==refIdxLX[xN, yN]

predFlagLX[xP–1,yP]==predFlagLX[xN,yN]predFlagLX[xP–1, yP]==predFlagLX[xN, yN]

-当前预测单位之分隔模式是PART_NxN且PartIdx是等于3并且含盖亮度位置(xP–1,yP)(PartIdx=2)及亮度位置(xP–1,yP–1)(PartIdx=0)的预测单位具有相同的移动参数:- The partitioning mode of the current prediction unit is PART_NxN and PartIdx is equal to 3 and the prediction units covering the luma position (xP-1, yP) (PartIdx=2) and the luma position (xP-1, yP-1) (PartIdx=0) have the same motion parameters:

mvLX[xP–1,yP]==mvLX[xP–1,yP–1]mvLX[xP–1,yP]==mvLX[xP–1,yP–1]

refIdxLX[xP–1,yP]==refIdxLX[xP–1,yP–1]refIdxLX[xP–1, yP]==refIdxLX[xP–1, yP–1]

predFlagLX[xP–1,yP]==predFlagLX[xP–1,yP–1]predFlagLX[xP–1, yP]==predFlagLX[xP–1, yP–1]

并且包含盖亮度位置(xP,yP–1)(PartIdx=1)及亮度位置(xN,yN)(Cand.N)的预测单位具有相同的移动参数:And the prediction units including the luma position (xP, yP-1) (PartIdx=1) and the luma position (xN, yN) (Cand.N) have the same motion parameters:

mvLX[xP,yP–1]==mvLX[xN,yN]mvLX[xP, yP–1]==mvLX[xN, yN]

refIdxLX[xP,yP–1]==refIdxLX[xN,yN]refIdxLX[xP, yP–1]==refIdxLX[xN, yN]

predFlagLX[xP,yP–1]==predFlagLX[xN,yN]predFlagLX[xP, yP–1]==predFlagLX[xN, yN]

当前预测单位的分隔模式是PART_NxN且PartIdx是等于3并且含盖亮度位置(xP,yP–1)(PartIdx=1)及亮度位置(xP–1,yP–1)(PartIdx=0)之预测单位具有相同的移动参数:The partition mode of the current prediction unit is PART_NxN and PartIdx is equal to 3 and the prediction units covering the luma position (xP, yP-1) (PartIdx=1) and the luma position (xP-1, yP-1) (PartIdx=0) have the same motion parameters:

mvLX[xP,yP–1]==mvLX[xP–1,yP–1]mvLX[xP, yP–1]==mvLX[xP–1, yP–1]

refIdxLX[xP,yP–1]==refIdxLX[xP–1,yP–1]refIdxLX[xP, yP–1]==refIdxLX[xP–1, yP–1]

predFlagLX[xP,yP–1]==predFlagLX[xP–1,yP–1]predFlagLX[xP, yP–1]==predFlagLX[xP–1, yP–1]

并且含盖亮度位置(xP–1,yP)(PartIdx=2)及亮度位置(xN,yN)(Cand.N)的预测单位相同的移动参数:And the same motion parameters are used for the prediction units covering the luma position (xP-1, yP) (PartIdx=2) and the luma position (xN, yN) (Cand.N):

mvLX[xP–1,yP]==mvLX[xN,yN]mvLX[xP–1,yP]==mvLX[xN,yN]

refIdxLX[xP–1,yP]==refIdxLX[xN,yN]refIdxLX[xP–1, yP]==refIdxLX[xN, yN]

在这方面,请注意到,位置(xP,yP)指示当前分隔/预测单位的最上方像素。亦即,根据第一项,所有的编码参数候选者被检查,其利用直接地采用相邻预测单位,亦即预测单位N,的相应编码参数被导出。但是,其它的编码参数候选者可依相同方式被检查,关于其是否相同于相应预测单位的编码参数,与其合并将导致也被语法支持的另一分隔图样的分隔。根据刚好上述被说明的实施例,编码参数的相等性包括检查移动向量,亦即,mvLX,参考索引,亦即,refIxLX,以及预测标记predFlagLX的相等性,其指示关联于参考列表X的参数,亦即,移动向量和参考索引,是具有X为0或1,被使用于像框间预测。In this regard, it should be noted that the position (xP, yP) indicates the topmost pixel of the current partition/prediction unit. That is, according to the first item, all coding parameter candidates are checked, which are derived by directly adopting the corresponding coding parameters of the neighboring prediction unit, namely prediction unit N. However, other coding parameter candidates can be checked in the same way as to whether they are identical to the coding parameters of the corresponding prediction unit, with which merging would result in another partition pattern also supported by the syntax. According to the embodiment described just above, the equality of the coding parameters includes checking the equality of the motion vector, namely mvLX, the reference index, namely refIxLX, and the prediction flag predFlagLX, which indicates whether the parameters associated with reference list X, namely the motion vector and the reference index, with X being 0 or 1, are used for inter-frame prediction.

请注意到,刚刚提及的相邻预测单位/分隔的编码参数候选者移除可能性也可应用于被图8右半部示出的支持非对称分隔模式情况。该情况中,模式PART_2NxN可代表所有的水平子分割模式并且PART_Nx2N可对应至所有的垂直子分割模式。进一步地,模式PART_NxN可从支持分隔模式或分隔图样排除并且该情况中,仅首先二次移除检查将被进行。Please note that the above mentioned possibility of removing coding parameter candidates for adjacent prediction units/partitions also applies to the case of supported asymmetric partition modes, as shown in the right half of FIG8 . In this case, the mode PART_2NxN can represent all horizontal sub-partition modes and PART_Nx2N can correspond to all vertical sub-partition modes. Furthermore, the mode PART_NxN can be excluded from the supported partition modes or partition patterns and in this case, only the first two removal checks will be performed.

关于第11-14图实施例,同时也应该注意到,可能自候选者列表排除像框内预测分隔,亦即,它们的编码参数,当然,不被包含进入候选者列表。With regard to the embodiment of Figures 11-14, it should also be noted that it is possible to exclude intra-frame prediction partitions from the candidate list, ie their coding parameters are, of course, not included in the candidate list.

进一步地,应注意到,三组脉络可分别地被使用于skip_flag,merge_flag以及merge_idx。Furthermore, it should be noted that three sets of contexts can be used for skip_flag, merge_flag, and merge_idx, respectively.

虽然一些论点以装置脉络被说明,应明白,这些论点同时也代表对应方法的说明,其中一区块或装置对应至方法步骤或一方法步骤的特点。类似地,以方法步骤脉络被说明的论点同时也代表一对应的区块或项目的说明或一对应装置的特点。一些或所有的方法步骤可以通过(或使用)一硬件装置被执行,例如,微处理机、可编程序计算机或电子电路。在一些实施例中,最重要方法步骤的一些或多个可以利用此些装置被执行。Although some aspects are described in the context of an apparatus, it should be understood that these aspects also represent descriptions of corresponding methods, where a block or device corresponds to a method step or feature of a method step. Similarly, aspects described in the context of a method step also represent descriptions of a corresponding block or item or feature of a corresponding apparatus. Some or all of the method steps can be performed by (or using) a hardware device, such as a microprocessor, a programmable computer, or an electronic circuit. In some embodiments, some or more of the most important method steps can be performed using such a device.

取决于某些实施需要,本发明实施例可以硬件或软件被实施。该实施可利用具有电子式可读取控制信号储存在其上的数字储存媒体而被进行,例如,软磁盘、DVD、CD、ROM、PROM、EPROM、EEPROM或闪存,其与可编程计算机系统配合(或能够配合),使得分别的方法被进行。因此,该数字储存媒体可以被计算机读取。Depending on the implementation requirements, embodiments of the present invention may be implemented in hardware or software. The implementation may be performed using a digital storage medium having electronically readable control signals stored thereon, such as a floppy disk, DVD, CD, ROM, PROM, EPROM, EEPROM, or flash memory, which cooperates (or is capable of cooperating) with a programmable computer system to enable the respective methods to be performed. Thus, the digital storage medium can be read by a computer.

根据本发明的一些实施例包含具有电子式可读取控制信号的数据携载器,其可与可编程计算机系统配合,使得此处说明的方法的一者被进行。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 having a program code, which, when executed on a computer, is operable to perform the operations of one of the methods. The program code can, 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 comprising a program code for performing one of the methods described herein, when the computer program runs on a computer.

本发明方法的一进一步的实施例,因此,是一数据携载器(或数字储存媒体,或计算机可读取媒体),其包含被记录其之上而用于进行此处说明的方法的一者的计算机程序。该数据携载器,该数字储存媒体或该记录媒体是一般的实体和/或非瞬时性。A further embodiment of the method according to the invention is, therefore, a data carrier (or a digital storage medium or a computer-readable medium) comprising, recorded thereon, a computer program for performing one of the methods described herein. The data carrier, the digital storage medium or the recording medium is generally tangible and/or non-transitory.

本发明方法的一进一步的实施例,因此是一数据流或一信号序列,其代表用于进行此处说明的方法的一者的计算机程序。该数据流或信号序列,例如,可被配置为经由数据通讯连接(例如,经由因特网)而被传输。A further embodiment of the method according to the invention is therefore a data stream or a sequence of signals representing the computer program for carrying out one of the methods described herein. This data stream or signal sequence can, for example, be configured to be transmitted via a data communication connection (e.g. via the Internet).

一进一步的实施例包含一处理构件,例如,计算机、或可编程逻辑装置,其被配置或被调适以进行此处说明的方法的一者。A further embodiment comprises a processing means, for example a computer, or a programmable logic device, configured 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.

根据本发明的进一步实施例包含一装置或一系统,其被配置为传送(例如,电子式或光学式)供进行此处说明的方法的一的计算机程序至一接收器。该接收器,例如,为一计算机、一移动式装置、一内存装置或其类似者。该装置或系统,例如,包含用于传送计算机程序至接收器的一档案服务器。A further embodiment according to the present invention comprises an apparatus or a system configured to transmit (e.g., electronically or optically) a computer program for performing the methods described herein to a receiver. The receiver is, for example, a computer, a mobile device, a memory device, or the like. The apparatus or system comprises, for example, a file server for transmitting the computer program to the receiver.

在一些实施例中,一可编程逻辑设备(例如,现场可编程门阵列)可被使用于进行此处说明的方法的一些或所有的功能。在一些实施例中,一现场可编程门阵列可与微处理器共同操作以便进行此处说明的方法的一者。通常,这些方法最好是利用任何的硬件装置被进行。In some embodiments, a programmable logic device (e.g., a field programmable gate array) can be used to perform some or all of the functions of the methods described herein. In some embodiments, a field programmable gate array can operate in conjunction with a microprocessor to perform one of the methods described herein. In general, these methods are preferably performed using any hardware device.

上面说明的实施例仅是供示出本发明原理。熟悉本技术者应了解,本发明的配置以及此处说明的细节可有各种的修改与变化。因此其仅受限定于本发明待决的权利要求的范畴并且不受限定于经由此处本发明实施例的说明以及叙述的特定细节。The embodiments described above are merely illustrative of the principles of the present invention. Those skilled in the art will appreciate that the present invention and the details described herein are susceptible to various modifications and variations. Therefore, the present invention is limited only by the scope of the appended claims and is not limited to the specific details described and illustrated by the embodiments herein.

Claims (35)

1.一种用于对比特流解码的装置,一图像(20)被编码至所述比特流中,所述装置包括:1. An apparatus for decoding a bitstream, wherein an image (20) is encoded into the bitstream, the apparatus comprising: 一子分割器(82),被配置为将所述图像(20)子分割为样本的多个样本集合(40);A sub-segmenter (82) is configured to sub-segment the image (20) into a plurality of sample sets (40); 一合并器(84),被配置为将所述多个样本集合(40)合并成均有一个或多个样本集合的多个群组;A merger (84) is configured to merge the plurality of sample sets (40) into a plurality of groups, each having one or more sample sets; 一解码器(86),被配置为使用以所述样本集合的所述群组为单位在所述比特流中传输的编码参数来解码所述图像(20),其中,所述解码器(86)被配置为针对预定样本集合而通过预测所述图像(20)、解码用于所述预定样本集合的一预测残差、以及组合所述预测残差与由于预测所述图像(20)所产生的一预测,来解码所述图像;A decoder (86) is configured to decode the image (20) using encoding parameters transmitted in the bitstream in units of the groups of the sample set, wherein the decoder (86) is configured to decode the image for a predetermined sample set by predicting the image (20), decoding a prediction residual for the predetermined sample set, and combining the prediction residual with a prediction generated due to the prediction of the image (20); 一提取器(88),被配置为连同用于所述样本集合(40)的至少一子集的每一者的一个或多个语法元素一起,从所述比特流(30)提取所述预测残差和所述编码参数,所述一个或多个语法元素表明相应的所述样本集合(40)是否将与另一样本集合(40)一起被合并到所述多个群组之一中,其中,所述合并器(84)被配置为响应于所述一个或多个语法元素来执行所述合并,An extractor (88) is configured to extract the prediction residual and the encoding parameters from the bitstream (30) together with one or more syntax elements for each of at least one subset of the sample set (40), the one or more syntax elements indicating whether the corresponding sample set (40) will be merged into one of the plurality of groups along with another sample set (40), wherein the merger (84) is configured to perform the merge in response to the one or more syntax elements. 其中,所述提取器和所述合并器被配置为根据一样本集合扫描顺序依次地步入所述多个样本集合,并且,对于一当前样本集合,所述提取器和所述合并器被配置为:The extractor and the merger are configured to sequentially step into the plurality of sample sets according to the scanning order of a sample set, and for a current sample set, the extractor and the merger are configured as follows: 使用第一上下文使用算数地解码,从所述比特流提取第一个二进制语法元素;Using the first context, arithmetic decoding is performed to extract the first binary syntax element from the bitstream; 如果所述第一个二进制语法元素确定为第一种二进制状态,则通过推断用于当前样本集合的编码参数等于与所述多个群组之一关联的编码参数来将所述当前样本集合合并至所述多个群组之一中、跳过用于所述当前样本集合的所述预测残差的提取并且以样本集合扫描顺序步进至下一个样本集合;If the first binary syntax element is determined to be a first binary state, the current sample set is merged into one of the multiple groups by inferring that the encoding parameter for the current sample set is equal to the encoding parameter associated with one of the multiple groups, the extraction of the prediction residual for the current sample set is skipped, and the sample set is stepped to the next sample set in the sample set scanning order. 如果所述第一个二进制语法元素确定为第二种二进制状态,则使用不同于所述第一上下文的第二上下文使用算数地解码,从所述比特流提取第二个语法元素;以及If the first binary syntax element is determined to be a second binary state, then the second syntax element is extracted from the bitstream using arithmetic decoding with a second context different from the first context; and 取决于所述第二个语法元素,Depending on the second syntax element, 使用不同于所述第一上下文以及所述第二上下文的第三上下文使用算数地解码,从所述比特流提取第三个语法元素,并且通过推断由所述第三个语法元素表明的、用于当前样本集合的编码参数等于与相邻于相应的样本集合的预定候选者样本集合的集合中的一者关联的编码参数,将所述当前样本集合合并至所述多个群组之一中,同时提取与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,或Using a third context different from the first and second contexts, arithmetic decoding is employed to extract a third syntax element from the bitstream. The current sample set is then merged into one of the plurality of groups by inferring that the encoding parameters indicated by the third syntax element for the current sample set are equal to the encoding parameters associated with one of the sets of predetermined candidate sample sets adjacent to the corresponding sample set. Simultaneously, at least one additional syntax element related to the prediction residual for the current sample set is extracted. 进行用于所述当前样本集合的所述编码参数的提取,Extract the encoding parameters for the current sample set. 同时提取与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,Simultaneously, at least one additional syntax element related to the prediction residuals used for the current sample set is extracted. 其中,所述提取器还被配置为使用熵解码从所述比特流提取子分割信息,并且所述子分割器被配置为响应于所述子分割信息而将所述图像子分割为多个样本集合。The extractor is further configured to extract sub-segmentation information from the bitstream using entropy decoding, and the sub-segmenter is configured to sub-segment the image into multiple sample sets in response to the sub-segmentation information. 2.根据权利要求1所述的装置,其中,所述子分割器被配置为使用多树型子分割响应于所述子分割信息而将所述图像子分割为多个样本集合。2. The apparatus of claim 1, wherein the sub-segmenter is configured to sub-segment the image into a plurality of sample sets in response to the sub-segmentation information using multi-tree sub-segmentation. 3.根据权利要求1所述的装置,其中,所述比特流还包括与所述图像相关的深度图。3. The apparatus of claim 1, wherein the bitstream further includes a depth map associated with the image. 4.根据权利要求1所述的装置,其中,信息样本阵列是与所述图像的不同的平面有关的样本阵列之一,所述不同的平面被彼此独立地编码。4. The apparatus of claim 1, wherein the information sample array is one of sample arrays relating to different planes of the image, the different planes being encoded independently of each other. 5.一种用于编码一图像的装置,所述装置包括:5. An apparatus for encoding an image, the apparatus comprising: 一子分割器(72),被配置为将所述图像子分割为样本的多个样本集合;A sub-segmenter (72) is configured to sub-segment the image into a plurality of sample sets; 一合并器(74),被配置为将所述多个样本集合合并至均有一个或多个样本集合的多个群组中;A merger (74) is configured to merge the plurality of sample sets into multiple groups, each of which has one or more sample sets; 一编码器(76),被配置为使用以所述样本集合的群组为单位在比特流中传输的编码参数来编码所述图像,其中,所述编码器(76)被配置为通过预测所述图像和编码用于预定样本集合的预测残差来编码所述图像;An encoder (76) is configured to encode the image using encoding parameters transmitted in a bitstream in units of groups of the sample set, wherein the encoder (76) is configured to encode the image by predicting the image and encoding the prediction residual for a predetermined sample set; 一位流产生器(78),被配置为将所述预测残差和所述编码参数与用于所述多个样本集合的至少一子集的每一者的一个或多个语法元素一起插入一比特流中,所述一个或多个语法元素表明相应的所述样本集合是否与另一样本集合一起被合并到所述多个群组之一中,A bitstream generator (78) is configured to insert the prediction residuals and the encoding parameters, along with one or more syntax elements for each of at least a subset of the plurality of sample sets, into a bitstream, the one or more syntax elements indicating whether the corresponding sample set is merged into one of the plurality of groups along with another sample set. 其中,所述位流产生器(78)被配置为根据一样本集合扫描顺序依次地步入所述多个样本集合,并且,对于一当前样本集合,所述位流产生器(78)被配置为:The bitstream generator (78) is configured to sequentially step into the plurality of sample sets according to a sample set scanning order, and for a current sample set, the bitstream generator (78) is configured to: 使用第一上下文使用算数地编码,将第一个二进制语法元素插入所述比特流;Using arithmetic encoding with the first context, the first binary syntax element is inserted into the bit stream; 其中,当确定为第一种二进制状态,所述第一个二进制语法元素通过推断用于当前样本集合的编码参数等于与所述多个群组之一关联的编码参数而表明所述当前样本集合合并至所述多个群组之一中,并且表明跳过用于所述当前样本集合的所述预测残差的提取并且以样本集合扫描顺序步进至下一个样本集合;Wherein, when determined to be the first binary state, the first binary syntax element indicates that the current sample set is merged into one of the multiple groups by inferring that the encoding parameter for the current sample set is equal to the encoding parameter associated with one of the multiple groups, and indicates that the extraction of the prediction residual for the current sample set is skipped and the sample set is stepped to the next sample set in the sample set scanning order; 如果所述第一个二进制语法元素确定为第二种二进制状态,If the first binary syntax element is determined to be the second binary state. 使用不同于所述第一上下文的第二上下文使用算数地编码,将第二个语法元素插入所述比特流;以及Using a second context different from the first context, the second syntax element is inserted into the bitstream using arithmetic encoding; and 插入与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,Insert at least one additional syntax element relating to the prediction residuals used for the current sample set. 其中,所述第二个语法元素表明是否将所述当前样本集合合并至所述多个群组之一或者是否针对所述当前样本集合执行所述编码参数的提取,其中,插入器被配置为,如果所述第二个语法元素表明将所述当前样本集合合并,使用不同于所述第一上下文以及所述第二上下文的第三上下文使用算数地解码,将第三个语法元素插入所述比特流,并且通过推断由所述第三个语法元素表明的与相邻于相应的样本集合的预定候选者样本集合的集合中的一者、用于当前样本集合的编码参数等于所述预定候选者样本集合的集合中的一者关联的编码参数,将所述当前样本集合合并,The second syntax element indicates whether to merge the current sample set into one of the plurality of groups or whether to perform the extraction of the encoding parameters for the current sample set. The inserter is configured to, if the second syntax element indicates merging the current sample set, arithmetically decode using a third context different from the first and second contexts, insert a third syntax element into the bitstream, and merge the current sample set by inferring the encoding parameters indicated by the third syntax element that are associated with one of the predetermined candidate sample sets adjacent to the corresponding sample set, whose encoding parameters for the current sample set are equal to those of one of the predetermined candidate sample sets. 其中,所述位流产生器还被配置为使用熵编码将子分割信息插入所述比特流,所述子分割器表明如何将所述图像子分割为多个样本集合。The bitstream generator is further configured to insert sub-segmentation information into the bitstream using entropy coding, wherein the sub-segmenter indicates how to sub-segment the image into multiple sample sets. 6.根据权利要求5所述的装置,其中,所述比特流还包括与所述图像相关的深度图。6. The apparatus of claim 5, wherein the bitstream further includes a depth map associated with the image. 7.根据权利要求5所述的装置,其中,信息样本阵列是与所述图像的不同的平面有关的样本阵列之一,所述不同的平面被彼此独立地编码。7. The apparatus of claim 5, wherein the information sample array is one of sample arrays relating to different planes of the image, the different planes being encoded independently of each other. 8.一种用于对比特流解码的方法,一图像(20)被编码至所述比特流中,所述方法包括:8. A method for decoding a bitstream, wherein an image (20) is encoded into the bitstream, the method comprising: 将所述图像(20)子分割为样本的多个样本集合(40);The image (20) is subdivided into multiple sample sets (40); 将所述多个样本集合(40)合并成均有一个或多个样本集合的多个群组;The multiple sample sets (40) are merged into multiple groups, each of which has one or more sample sets; 使用以所述样本集合的所述群组为单位在所述比特流中传输的编码参数来解码所述图像(20),其中,解码器(86)被配置为针对预定样本集合而通过预测所述图像(20)、解码用于所述预定样本集合的一预测残差、以及组合所述预测残差与由于预测所述图像(20)所产生的一预测,来解码所述图像;The image (20) is decoded using encoding parameters transmitted in the bitstream in units of the groups of the sample set, wherein the decoder (86) is configured to decode the image (20) for a predetermined sample set by predicting the image (20), decoding a prediction residual for the predetermined sample set, and combining the prediction residual with a prediction generated due to the prediction of the image (20). 连同用于所述样本集合(40)的至少一子集的每一者的一个或多个语法元素一起,从所述比特流(30)提取所述预测残差和所述编码参数,所述一个或多个语法元素表明相应的所述样本集合(40)是否将与另一样本集合(40)一起被合并到所述多个群组之一中,其中,合并器(84)被配置为响应于所述一个或多个语法元素来执行所述合并,Together with one or more syntax elements for each of at least one subset of the sample set (40), the prediction residual and the encoding parameters are extracted from the bitstream (30), the one or more syntax elements indicating whether the corresponding sample set (40) will be merged into one of the plurality of groups along with another sample set (40), wherein the merger (84) is configured to perform the merge in response to the one or more syntax elements. 其中,所述方法包括根据一样本集合扫描顺序依次地步入所述多个样本集合,并且,对于一当前样本集合,The method includes sequentially stepping through the plurality of sample sets according to the scanning order of a sample set, and, for a current sample set, 使用第一上下文使用算数地解码,从所述比特流提取第一个二进制语法元素;Using the first context, arithmetic decoding is performed to extract the first binary syntax element from the bitstream; 如果所述第一个二进制语法元素确定为第一种二进制状态,则通过推断用于当前样本集合的编码参数等于与所述多个群组之一关联的编码参数来将所述当前样本集合合并至所述多个群组之一中、跳过用于所述当前样本集合的所述预测残差的提取并且以样本集合扫描顺序步进至下一个样本集合;If the first binary syntax element is determined to be a first binary state, the current sample set is merged into one of the multiple groups by inferring that the encoding parameter for the current sample set is equal to the encoding parameter associated with one of the multiple groups, the extraction of the prediction residual for the current sample set is skipped, and the sample set is stepped to the next sample set in the sample set scanning order. 如果所述第一个二进制语法元素确定为第二种二进制状态,则使用不同于所述第一上下文的第二上下文使用算数地解码,从所述比特流提取第二个语法元素;以及If the first binary syntax element is determined to be a second binary state, then the second syntax element is extracted from the bitstream using arithmetic decoding with a second context different from the first context; and 取决于所述第二个语法元素,Depending on the second syntax element, 使用不同于所述第一上下文以及所述第二上下文的第三上下文使用算数地解码,从所述比特流提取第三个语法元素,并且通过推断由所述第三个语法元素表明的、用于当前样本集合的编码参数等于与相邻于相应的样本集合的预定候选者样本集合的集合中的一者关联的编码参数,将所述当前样本集合合并至所述多个群组之一中,同时提取与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,或Using a third context different from the first and second contexts, arithmetic decoding is employed to extract a third syntax element from the bitstream. The current sample set is then merged into one of the plurality of groups by inferring that the encoding parameters indicated by the third syntax element for the current sample set are equal to the encoding parameters associated with one of the sets of predetermined candidate sample sets adjacent to the corresponding sample set. Simultaneously, at least one additional syntax element related to the prediction residual for the current sample set is extracted. 进行用于所述当前样本集合的所述编码参数的提取,Extract the encoding parameters for the current sample set. 同时提取与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,Simultaneously, at least one additional syntax element related to the prediction residuals used for the current sample set is extracted. 其中,使用熵解码从所述比特流提取子分割信息,并且响应于所述子分割信息而将所述图像子分割为多个样本集合。Specifically, entropy decoding is used to extract sub-segmentation information from the bitstream, and the image is sub-segmented into multiple sample sets in response to the sub-segmentation information. 9.根据权利要求8所述的方法,其中,所述比特流还包括与所述图像相关的深度图。9. The method of claim 8, wherein the bitstream further includes a depth map associated with the image. 10.根据权利要求8所述的方法,其中,信息样本阵列是与所述图像的不同的平面有关的样本阵列之一,所述不同的平面被彼此独立地编码。10. The method of claim 8, wherein the information sample array is one of sample arrays associated with different planes of the image, the different planes being encoded independently of each other. 11.一种用于编码一图像的方法,所述方法包括:11. A method for encoding an image, the method comprising: 将所述图像子分割为样本的多个样本集合;The image is subdivided into multiple sample sets; 将所述多个样本集合合并至均有一个或多个样本集合的多个群组中;The multiple sample sets are merged into multiple groups, each of which has one or more sample sets; 使用以所述样本集合的群组为单位在比特流中传输的编码参数来编码所述图像,其中,编码器(76)被配置为通过预测所述图像和编码用于预定样本集合的预测残差来编码所述图像;The image is encoded using encoding parameters transmitted in a bitstream in units of groups of the sample set, wherein the encoder (76) is configured to encode the image by predicting the image and encoding the prediction residual for a predetermined sample set; 将所述预测残差和所述编码参数与用于所述多个样本集合的至少一子集的每一者的一个或多个语法元素一起插入一比特流中,所述一个或多个语法元素表明相应的所述样本集合是否与另一样本集合一起被合并到所述多个群组之一中,The prediction residuals and the encoding parameters are inserted into a bitstream along with one or more syntax elements for each of at least a subset of the plurality of sample sets, the one or more syntax elements indicating whether the corresponding sample set is merged into one of the plurality of groups along with another sample set. 其中,所述方法包括根据一样本集合扫描顺序依次地步入所述多个样本集合,并且,对于一当前样本集合,The method includes sequentially stepping through the plurality of sample sets according to the scanning order of a sample set, and, for a current sample set, 使用第一上下文使用算数地编码,将第一个二进制语法元素插入所述比特流;Using arithmetic encoding with the first context, the first binary syntax element is inserted into the bit stream; 其中,当确定为第一种二进制状态,所述第一个二进制语法元素通过推断用于当前样本集合的编码参数等于与所述多个群组之一关联的编码参数而表明所述当前样本集合合并至所述多个群组之一中,并且表明跳过用于所述当前样本集合的所述预测残差的提取并且以样本集合扫描顺序步进至下一个样本集合;Wherein, when determined to be the first binary state, the first binary syntax element indicates that the current sample set is merged into one of the multiple groups by inferring that the encoding parameter for the current sample set is equal to the encoding parameter associated with one of the multiple groups, and indicates that the extraction of the prediction residual for the current sample set is skipped and the sample set is stepped to the next sample set in the sample set scanning order; 如果所述第一个二进制语法元素确定为第二种二进制状态,If the first binary syntax element is determined to be the second binary state. 使用不同于所述第一上下文的第二上下文使用算数地编码,将第二个语法元素插入所述比特流;以及Using a second context different from the first context, the second syntax element is inserted into the bitstream using arithmetic encoding; and 插入与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,Insert at least one additional syntax element relating to the prediction residuals used for the current sample set. 其中,所述第二个语法元素表明是否将所述当前样本集合合并至所述多个群组之一或者是否针对所述当前样本集合执行所述编码参数的提取,其中,插入器被配置为,如果所述第二个语法元素表明将所述当前样本集合合并,使用不同于所述第一上下文以及所述第二上下文的第三上下文使用算数地解码,将第三个语法元素插入所述比特流,并且通过推断由所述第三个语法元素表明的与相邻于相应的样本集合的预定候选者样本集合的集合中的一者、用于当前样本集合的编码参数等于所述预定候选者样本集合的集合中的一者关联的编码参数,将所述当前样本集合合并The second syntax element indicates whether to merge the current sample set into one of the plurality of groups or whether to perform the extraction of the encoding parameters for the current sample set. The inserter is configured to, if the second syntax element indicates merging the current sample set, arithmetically decode using a third context different from the first and second contexts, insert a third syntax element into the bitstream, and merge the current sample set by inferring the encoding parameters indicated by the third syntax element that are associated with one of the predetermined candidate sample sets adjacent to the corresponding sample set, whose encoding parameters for the current sample set are equal to those of one of the predetermined candidate sample sets. 其中,使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个样本集合。Specifically, entropy coding is used to insert sub-segmentation information into the bitstream, whereby the sub-segmentation information indicates how the image is sub-segmented into multiple sample sets. 12.根据权利要求11所述的方法,其中,所述比特流还包括与所述图像相关的深度图。12. The method of claim 11, wherein the bitstream further includes a depth map associated with the image. 13.根据权利要求11所述的方法,其中,信息样本阵列是与所述图像的不同的平面有关的样本阵列之一,所述不同的平面被彼此独立地编码。13. The method of claim 11, wherein the information sample array is one of sample arrays associated with different planes of the image, the different planes being encoded independently of each other. 14.一种用于解码比特流的方法,其中,所述方法包括:14. A method for decoding a bitstream, wherein the method comprises: 接收并解码比特流,所述比特流由以下各项编码:Receive and decode a bitstream encoded by the following: 将图像子分割为样本的多个样本集合;The image is subdivided into multiple sample sets; 将所述多个样本集合合并至均有一个或多个样本集合的多个群组中;The multiple sample sets are merged into multiple groups, each of which has one or more sample sets; 使用以所述样本集合的群组为单位在所述比特流中传输的编码参数来编码所述图像,其中,编码器(76)被配置为通过预测所述图像和编码用于预定样本集合的预测残差来编码所述图像;The image is encoded using encoding parameters transmitted in the bitstream in units of the sample set, wherein the encoder (76) is configured to encode the image by predicting the image and encoding the prediction residual for a predetermined sample set; 将所述预测残差和所述编码参数与用于所述多个样本集合的至少一子集的每一者的一个或多个语法元素一起插入一比特流中,所述一个或多个语法元素表明相应的所述样本集合是否与另一样本集合一起被合并到所述多个群组之一中,The prediction residuals and the encoding parameters are inserted into a bitstream along with one or more syntax elements for each of at least a subset of the plurality of sample sets, the one or more syntax elements indicating whether the corresponding sample set is merged into one of the plurality of groups along with another sample set. 其中,所述方法包括根据一样本集合扫描顺序依次地步入所述多个样本集合,并且,对于一当前样本集合,The method includes sequentially stepping through the plurality of sample sets according to the scanning order of a sample set, and, for a current sample set, 使用第一上下文使用算数地编码,将第一个二进制语法元素插入所述比特流;Using arithmetic encoding with the first context, the first binary syntax element is inserted into the bit stream; 其中,当确定为第一种二进制状态,所述第一个二进制语法元素通过推断用于当前样本集合的编码参数等于与所述多个群组之一关联的编码参数而表明所述当前样本集合合并至所述多个群组之一中,并且表明跳过用于所述当前样本集合的所述预测残差的提取并且以样本集合扫描顺序步进至下一个样本集合;Wherein, when determined to be the first binary state, the first binary syntax element indicates that the current sample set is merged into one of the multiple groups by inferring that the encoding parameter for the current sample set is equal to the encoding parameter associated with one of the multiple groups, and indicates that the extraction of the prediction residual for the current sample set is skipped and the sample set is stepped to the next sample set in the sample set scanning order; 如果所述第一个二进制语法元素确定为第二种二进制状态,If the first binary syntax element is determined to be the second binary state. 使用不同于所述第一上下文的第二上下文使用算数地编码,将第二个语法元素插入所述比特流;以及Using a second context different from the first context, the second syntax element is inserted into the bitstream using arithmetic encoding; and 插入与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,Insert at least one additional syntax element relating to the prediction residuals used for the current sample set. 其中,所述第二个语法元素表明是否将所述当前样本集合合并至所述多个群组之一或者是否针对所述当前样本集合执行所述编码参数的提取,其中,插入器被配置为,如果所述第二个语法元素表明将所述当前样本集合合并,使用不同于所述第一上下文以及所述第二上下文的第三上下文使用算数地解码,将第三个语法元素插入所述比特流,并且通过推断由所述第三个语法元素表明的与相邻于相应的样本集合的预定候选者样本集合的集合中的一者、用于当前样本集合的编码参数等于所述预定候选者样本集合的集合中的一者关联的编码参数,将所述当前样本集合合并,The second syntax element indicates whether to merge the current sample set into one of the plurality of groups or whether to perform the extraction of the encoding parameters for the current sample set. The inserter is configured to, if the second syntax element indicates merging the current sample set, arithmetically decode using a third context different from the first and second contexts, insert a third syntax element into the bitstream, and merge the current sample set by inferring the encoding parameters indicated by the third syntax element that are associated with one of the predetermined candidate sample sets adjacent to the corresponding sample set, whose encoding parameters for the current sample set are equal to those of one of the predetermined candidate sample sets. 其中,使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个样本集合。Specifically, entropy coding is used to insert sub-segmentation information into the bitstream, whereby the sub-segmentation information indicates how the image is sub-segmented into multiple sample sets. 15.根据权利要求14所述的方法,其中,所述比特流还包括与所述图像相关的深度图。15. The method of claim 14, wherein the bitstream further comprises a depth map associated with the image. 16.根据权利要求14所述的方法,其中,信息样本阵列是与所述图像的不同的平面有关的样本阵列之一,所述不同的平面被彼此独立地编码。16. The method of claim 14, wherein the information sample array is one of sample arrays associated with different planes of the image, the different planes being encoded independently of each other. 17.一种用于解码比特流的方法,其中,所述方法包括:17. A method for decoding a bitstream, wherein the method comprises: 接收并解码比特流,所述比特流包括:Receive and decode a bitstream, the bitstream comprising: 预测残差和编码参数,其中,所述编码参数以图像的样本集合的群组为单位在所述比特流中传输,其中,所述群组由于将所述图像子分割为多个样本集合并且将所述多个样本集合合并成样本集合的多个群组所产生;Predicting residuals and coding parameters, wherein the coding parameters are transmitted in the bitstream in units of groups of sample sets of an image, wherein the groups are generated by subsegmenting the image into multiple sample sets and merging the multiple sample sets into multiple groups of sample sets; 用于所述样本集合的至少一子集的每一者的一个或多个语法元素,表明相应的所述样本集合是否将与另一样本集合一起被合并到所述多个群组之一中,One or more syntactic elements for each of at least one subset of the sample sets, indicating whether the corresponding sample set will be merged into one of the plurality of groups along with another sample set. 其中,所述方法包括根据一样本集合扫描顺序依次地步入所述多个样本集合,并且,对于一当前样本集合,The method includes sequentially stepping through the plurality of sample sets according to the scanning order of a sample set, and, for a current sample set, 使用第一上下文使用算数地编码,将第一个二进制语法元素插入所述比特流;Using arithmetic encoding with the first context, the first binary syntax element is inserted into the bit stream; 其中,当确定为第一种二进制状态,所述第一个二进制语法元素通过推断用于当前样本集合的编码参数等于与所述多个群组之一关联的编码参数而表明所述当前样本集合合并至所述多个群组之一中,并且表明跳过用于所述当前样本集合的所述预测残差的提取并且以样本集合扫描顺序步进至下一个样本集合;Wherein, when determined to be the first binary state, the first binary syntax element indicates that the current sample set is merged into one of the multiple groups by inferring that the encoding parameter for the current sample set is equal to the encoding parameter associated with one of the multiple groups, and indicates that the extraction of the prediction residual for the current sample set is skipped and the sample set is stepped to the next sample set in the sample set scanning order; 如果所述第一个二进制语法元素确定为第二种二进制状态,If the first binary syntax element is determined to be the second binary state. 使用不同于所述第一上下文的第二上下文使用算数地编码,将第二个语法元素插入所述比特流;以及Using a second context different from the first context, the second syntax element is inserted into the bitstream using arithmetic encoding; and 插入与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,Insert at least one additional syntax element relating to the prediction residuals used for the current sample set. 其中,所述第二个语法元素表明是否将所述当前样本集合合并至所述多个群组之一或者是否针对所述当前样本集合执行所述编码参数的提取,其中,插入器被配置为,如果所述第二个语法元素表明将所述当前样本集合合并,使用不同于所述第一上下文以及所述第二上下文的第三上下文使用算数地解码,将第三个语法元素插入所述比特流,并且通过推断由所述第三个语法元素表明的与相邻于相应的样本集合的预定候选者样本集合的集合中的一者、用于当前样本集合的编码参数等于所述预定候选者样本集合的集合中的一者关联的编码参数,将所述当前样本集合合并,The second syntax element indicates whether to merge the current sample set into one of the plurality of groups or whether to perform the extraction of the encoding parameters for the current sample set. The inserter is configured to, if the second syntax element indicates merging the current sample set, arithmetically decode using a third context different from the first and second contexts, insert a third syntax element into the bitstream, and merge the current sample set by inferring the encoding parameters indicated by the third syntax element that are associated with one of the predetermined candidate sample sets adjacent to the corresponding sample set, whose encoding parameters for the current sample set are equal to those of one of the predetermined candidate sample sets. 其中,使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个样本集合。Specifically, entropy coding is used to insert sub-segmentation information into the bitstream, whereby the sub-segmentation information indicates how the image is sub-segmented into multiple sample sets. 18.根据权利要求17所述的方法,其中,所述比特流还包括与所述图像相关的深度图。18. The method of claim 17, wherein the bitstream further comprises a depth map associated with the image. 19.根据权利要求17所述的方法,其中,信息样本阵列是与所述图像的不同的平面有关的样本阵列之一,所述不同的平面被彼此独立地编码。19. The method of claim 17, wherein the information sample array is one of sample arrays associated with different planes of the image, the different planes being encoded independently of each other. 20.一种用于存储图像的方法,包括:20. A method for storing an image, comprising: 在数字存储介质上存储比特流,所述比特流包括:A bitstream is stored on a digital storage medium, the bitstream comprising: 预测残差和编码参数,其中,所述编码参数以图像的样本集合的群组为单位在所述比特流中传输,其中,所述群组由于将所述图像子分割为多个样本集合并且将所述多个样本集合合并成样本集合的多个群组所产生;Predicting residuals and coding parameters, wherein the coding parameters are transmitted in the bitstream in units of groups of sample sets of an image, wherein the groups are generated by subsegmenting the image into multiple sample sets and merging the multiple sample sets into multiple groups of sample sets; 用于所述样本集合的至少一子集的每一者的一个或多个语法元素,表明相应的所述样本集合是否将与另一样本集合一起被合并到所述多个群组之一中,One or more syntactic elements for each of at least one subset of the sample sets, indicating whether the corresponding sample set will be merged into one of the plurality of groups along with another sample set. 其中,所述方法包括根据一样本集合扫描顺序依次地步入所述多个样本集合,并且,对于一当前样本集合,The method includes sequentially stepping through the plurality of sample sets according to the scanning order of a sample set, and, for a current sample set, 使用第一上下文使用算数地编码,将第一个二进制语法元素插入所述比特流;Using arithmetic encoding with the first context, the first binary syntax element is inserted into the bit stream; 其中,当确定为第一种二进制状态,所述第一个二进制语法元素通过推断用于当前样本集合的编码参数等于与所述多个群组之一关联的编码参数而表明所述当前样本集合合并至所述多个群组之一中,并且表明跳过用于所述当前样本集合的所述预测残差的提取并且以样本集合扫描顺序步进至下一个样本集合;Wherein, when determined to be the first binary state, the first binary syntax element indicates that the current sample set is merged into one of the multiple groups by inferring that the encoding parameter for the current sample set is equal to the encoding parameter associated with one of the multiple groups, and indicates that the extraction of the prediction residual for the current sample set is skipped and the sample set is stepped to the next sample set in the sample set scanning order; 如果所述第一个二进制语法元素确定为第二种二进制状态,If the first binary syntax element is determined to be the second binary state. 使用不同于所述第一上下文的第二上下文使用算数地编码,将第二个语法元素插入所述比特流;以及Using a second context different from the first context, the second syntax element is inserted into the bitstream using arithmetic encoding; and 插入与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,Insert at least one additional syntax element relating to the prediction residuals used for the current sample set. 其中,所述第二个语法元素表明是否将所述当前样本集合合并至所述多个群组之一或者是否针对所述当前样本集合执行所述编码参数的提取,其中,插入器被配置为,如果所述第二个语法元素表明将所述当前样本集合合并,使用不同于所述第一上下文以及所述第二上下文的第三上下文使用算数地解码,将第三个语法元素插入所述比特流,并且通过推断由所述第三个语法元素表明的与相邻于相应的样本集合的预定候选者样本集合的集合中的一者、用于当前样本集合的编码参数等于所述预定候选者样本集合的集合中的一者关联的编码参数,将所述当前样本集合合并,The second syntax element indicates whether to merge the current sample set into one of the plurality of groups or whether to perform the extraction of the encoding parameters for the current sample set. The inserter is configured to, if the second syntax element indicates merging the current sample set, arithmetically decode using a third context different from the first and second contexts, insert a third syntax element into the bitstream, and merge the current sample set by inferring the encoding parameters indicated by the third syntax element that are associated with one of the predetermined candidate sample sets adjacent to the corresponding sample set, whose encoding parameters for the current sample set are equal to those of one of the predetermined candidate sample sets. 其中,使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个样本集合。Specifically, entropy coding is used to insert sub-segmentation information into the bitstream, whereby the sub-segmentation information indicates how the image is sub-segmented into multiple sample sets. 21.根据权利要求20所述的方法,其中,所述比特流还包括与所述图像相关的深度图。21. The method of claim 20, wherein the bitstream further includes a depth map associated with the image. 22.根据权利要求20所述的方法,其中,信息样本阵列是与所述图像的不同的平面有关的样本阵列之一,所述不同的平面被彼此独立地编码。22. The method of claim 20, wherein the information sample array is one of sample arrays associated with different planes of the image, the different planes being encoded independently of each other. 23.一种用于传输图像的方法,包括:23. A method for transmitting an image, comprising: 在传输介质上传输比特流,所述比特流包括:Transmitting a bit stream over a transmission medium, the bit stream comprising: 预测残差和编码参数,其中,所述编码参数以图像的样本集合的群组为单位在所述比特流中传输,其中,所述群组由于将所述图像子分割为多个样本集合并且将所述多个样本集合合并成样本集合的多个群组所产生;Predicting residuals and coding parameters, wherein the coding parameters are transmitted in the bitstream in units of groups of sample sets of an image, wherein the groups are generated by subsegmenting the image into multiple sample sets and merging the multiple sample sets into multiple groups of sample sets; 用于所述样本集合的至少一子集的每一者的一个或多个语法元素,表明相应的所述样本集合是否将与另一样本集合一起被合并到所述多个群组之一中,One or more syntactic elements for each of at least one subset of the sample sets, indicating whether the corresponding sample set will be merged into one of the plurality of groups along with another sample set. 其中,所述方法包括根据一样本集合扫描顺序依次地步入所述多个样本集合,并且,对于一当前样本集合,The method includes sequentially stepping through the plurality of sample sets according to the scanning order of a sample set, and, for a current sample set, 使用第一上下文使用算数地编码,将第一个二进制语法元素插入所述比特流;Using arithmetic encoding with the first context, the first binary syntax element is inserted into the bit stream; 其中,当确定为第一种二进制状态,所述第一个二进制语法元素通过推断用于当前样本集合的编码参数等于与所述多个群组之一关联的编码参数而表明所述当前样本集合合并至所述多个群组之一中,并且表明跳过用于所述当前样本集合的所述预测残差的提取并且以样本集合扫描顺序步进至下一个样本集合;Wherein, when determined to be the first binary state, the first binary syntax element indicates that the current sample set is merged into one of the multiple groups by inferring that the encoding parameter for the current sample set is equal to the encoding parameter associated with one of the multiple groups, and indicates that the extraction of the prediction residual for the current sample set is skipped and the sample set is stepped to the next sample set in the sample set scanning order; 如果所述第一个二进制语法元素确定为第二种二进制状态,If the first binary syntax element is determined to be the second binary state. 使用不同于所述第一上下文的第二上下文使用算数地编码,将第二个语法元素插入所述比特流;以及Using a second context different from the first context, the second syntax element is inserted into the bitstream using arithmetic encoding; and 插入与用于所述当前样本集合的所述预测残差有关的至少一个另外的语法元素,Insert at least one additional syntax element relating to the prediction residuals used for the current sample set. 其中,所述第二个语法元素表明是否将所述当前样本集合合并至所述多个群组之一或者是否针对所述当前样本集合执行所述编码参数的提取,其中,插入器被配置为,如果所述第二个语法元素表明将所述当前样本集合合并,使用不同于所述第一上下文以及所述第二上下文的第三上下文使用算数地解码,将第三个语法元素插入所述比特流,并且通过推断由所述第三个语法元素表明的与相邻于相应的样本集合的预定候选者样本集合的集合中的一者、用于当前样本集合的编码参数等于所述预定候选者样本集合的集合中的一者关联的编码参数,将所述当前样本集合合并,The second syntax element indicates whether to merge the current sample set into one of the plurality of groups or whether to perform the extraction of the encoding parameters for the current sample set. The inserter is configured to, if the second syntax element indicates merging the current sample set, arithmetically decode using a third context different from the first and second contexts, insert a third syntax element into the bitstream, and merge the current sample set by inferring the encoding parameters indicated by the third syntax element that are associated with one of the predetermined candidate sample sets adjacent to the corresponding sample set, whose encoding parameters for the current sample set are equal to those of one of the predetermined candidate sample sets. 其中,使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个样本集合。Specifically, entropy coding is used to insert sub-segmentation information into the bitstream, whereby the sub-segmentation information indicates how the image is sub-segmented into multiple sample sets. 24.根据权利要求23所述的方法,其中,所述比特流还包括与所述图像相关的深度图。24. The method of claim 23, wherein the bitstream further includes a depth map associated with the image. 25.根据权利要求23所述的方法,其中,信息样本阵列是与所述图像的不同的平面有关的样本阵列之一,所述不同的平面被彼此独立地编码。25. The method of claim 23, wherein the information sample array is one of sample arrays associated with different planes of the image, the different planes being encoded independently of each other. 26.一种被配置为对一图像(20)被编码至其中的比特流(30)解码的装置,所述图像的样本数组被分隔为多个区块,并且所述比特流表明各区块的相应的区块是以图像内预测模式还是以图像间预测模式编码,所述装置被配置为:26. An apparatus configured to decode a bitstream (30) to which an image (20) is encoded, the image being divided into multiple blocks, and the bitstream indicating whether the corresponding blocks of each block are encoded in an intra-image prediction mode or an inter-image prediction mode, the apparatus being configured to: 对于一当前区块,从所述比特流(30)提取标记,For a current block, extract the tag from the bit stream (30). 使用所述标记,以决定:Use the aforementioned marker to determine: 与所述当前区块关联的所述编码参数是根据一合并候选者通过合并被设定还是从所述比特流(30)取得,Whether the encoding parameters associated with the current block are set based on a merge candidate through merging or obtained from the bitstream (30), 所述图像(20)的所述当前区块(40)是仅以取决于与所述当前区块(40)关联的所述编码参数的一预测信号为基础而无需任何残余数据被重建还是通过所述比特流(30)内的残余数据来提炼取决于与所述当前区块(40)的所述编码参数的所述预测信号被重建的一第二决定,以及A second decision is made regarding whether the current block (40) of the image (20) is reconstructed based solely on a prediction signal dependent on the encoding parameters associated with the current block (40) without any residual data, or by refining the prediction signal dependent on the encoding parameters associated with the current block (40) using residual data within the bitstream (30). 是否以图像间预测模式编码所述当前区块,Whether to encode the current block using an inter-image prediction mode, 如果所述比特流(30)内的所述标记表明与所述当前区块(40)关联的所述编码参数根据一合并候选者而被设定、不传输所述当前区块的残余数据、以及以图像间预测模式编码所述当前区块,If the marker in the bitstream (30) indicates that the encoding parameters associated with the current block (40) are set according to a merge candidate, the residual data of the current block is not transmitted, and the current block is encoded in an inter-image prediction mode, 则执行合并,使得通过根据一合并候选者设定编码参数来获得与所述当前区块(40)关联的所述编码参数,并且使用仅以取决于所述编码参数的一预测信号为基础的图像间预测模式而无需任何残余数据来重建所述图像(20)的所述当前区块(40);以及Then a merge is performed, such that the coding parameters associated with the current block (40) are obtained by setting coding parameters according to a merge candidate, and the current block (40) of the image (20) is reconstructed using an inter-image prediction mode based solely on a prediction signal dependent on the coding parameters without any residual data; and 如果在所述比特流(30)内的所述标记表明与所述当前区块(40)关联的所述编码参数不根据一合并候选者而被设定,If the marker in the bitstream (30) indicates that the encoding parameters associated with the current block (40) are not set according to a merge candidate, 则从所述比特流中提取语法元素,所述语法元素表明所述当前区块是以图像内预测模式还是以图像间预测模式编码,并且如果所述语法元素表明所述当前区块是以图像间预测模式编码,则针对所述当前区块的每个分隔,所述当前区块被进一步分隔,合并标记表明相应的分隔的单独合并的致动,Syntax elements are then extracted from the bitstream, indicating whether the current block is encoded using intra-image prediction mode or inter-image prediction mode. If the syntax elements indicate that the current block is encoded using inter-image prediction mode, then for each segment of the current block, the current block is further segmented, and a merge marker indicates the actuation of the individual merging of the corresponding segments. 其中,所述装置被配置为使用熵解码从所述比特流提取子分割信息,并且所述装置被配置为响应于所述子分割信息而将所述图像子分割为多个所述区块。The apparatus is configured to extract sub-segmentation information from the bitstream using entropy decoding, and the apparatus is configured to sub-segment the image into a plurality of blocks in response to the sub-segmentation information. 27.根据权利要求26所述的装置,其中,所述装置被配置为,使得所述装置27. The apparatus of claim 26, wherein the apparatus is configured such that the apparatus 如果所述比特流内的所述标记不表明与所述当前区块(40)关联的所述编码参数根据一合并候选者而被设定,If the marker within the bitstream does not indicate that the encoding parameters associated with the current block (40) are set according to a merge candidate, 则针对所述当前区块的每一个分隔,响应于所述比特流内的所述合并标记,使得所述装置取决于所述合并标记Then, for each segment of the current block, in response to the merge marker within the bitstream, the device depends on the merge marker. 致动针对所述当前区块的相应的分隔的合并,使得通过根据一合并候选者设定编码参数来获得与所述当前区块(40)的相应的分隔关联的所述编码参数,从所述比特流(30)获得针对所述当前区块(40)的相应的分隔的残余数据,并且以所述预测信号和所述残余数据为基础,重建所述当前区块(40)的相应的分隔,或The merging of the corresponding segments of the current block is initiated, such that the encoding parameters associated with the corresponding segments of the current block (40) are obtained by setting encoding parameters according to a merge candidate, residual data of the corresponding segments of the current block (40) is obtained from the bitstream (30), and the corresponding segments of the current block (40) are reconstructed based on the prediction signal and the residual data, or 从所述比特流(30)提取与所述当前区块(40)的相应的分隔关联的所述编码参数,从所述比特流(30)获得针对所述当前区块(40)的相应的分隔的残余数据,并且以所述预测信号和所述残余数据为基础,重建所述当前区块(40)的相应的分隔。Extract the encoding parameters associated with the corresponding segment of the current block (40) from the bit stream (30), obtain residual data for the corresponding segment of the current block (40) from the bit stream (30), and reconstruct the corresponding segment of the current block (40) based on the prediction signal and the residual data. 28.一种用于对一图像(20)被编码至其中的比特流解码的装置,所述装置包括:28. An apparatus for decoding a bitstream to which an image (20) is encoded, the apparatus comprising: 一子分割器(82),被配置为将所述图像(20)子分割为样本的多个区块(40);A sub-segmenter (82) is configured to sub-segment the image (20) into multiple blocks (40) of samples; 一合并器(84),被配置为相应地将区块(40)合并成一个或多个区块的多个群组;A merger (84) is configured to merge blocks (40) into multiple groups of one or more blocks accordingly; 一解码器(86),被配置为使用以区块的所述群组为单位在所述比特流中传输的编码参数来解码所述图像(20),其中,所述解码器(86)被配置为针对预定区块而通过预测所述图像(20)、解码用于所述预定区块的一预测残差、以及组合所述预测残差与由于预测所述图像(20)所产生的一预测,来解码所述图像,其中,所述比特流表明各区块的相应的区块是以图像内预测模式还是以图像间预测模式编码;A decoder (86) is configured to decode the image (20) using encoding parameters transmitted in the bitstream in units of the blocks, wherein the decoder (86) is configured to decode the image for a predetermined block by predicting the image (20), decoding a prediction residual for the predetermined block, and combining the prediction residual with a prediction generated from predicting the image (20), wherein the bitstream indicates whether the corresponding blocks of each block are encoded in an intra-image prediction mode or an inter-image prediction mode; 一提取器(88),被配置为连同用于所述区块(40)的至少一子集的每一个的一个或多个语法元素一起,从所述比特流(30)提取所述预测残差和所述编码参数,所述一个或多个语法元素表明所述相应的区块(40)是否以图像间预测模式编码、相应的区块(40)将与另一区块(40)一起被合并到所述多个群组之一中、以及是否传输相应的区块(40)的残余数据,其中,所述合并器(84)被配置为响应于所述一个或多个语法元素来执行合并,An extractor (88) is configured to extract the prediction residual and the encoding parameters from the bitstream (30) together with one or more syntax elements for each of at least a subset of the blocks (40), the one or more syntax elements indicating whether the corresponding block (40) is encoded in an inter-image prediction mode, whether the corresponding block (40) will be merged into one of the plurality of groups along with another block (40), and whether residual data of the corresponding block (40) is transmitted, wherein the merger (84) is configured to perform merging in response to the one or more syntax elements. 其中,所述一个或多个语法元素的可能状态之一表明所述相应的区块(40)以图像间预测模式编码、所述相应的区块(40)将与另一区块(40)一起被合并到所述多个群组之一中并且所述相应的区块不具有被编码且被插入所述比特流(30)中的预测残差,其中,所述提取器(88)被配置为,对于所述一个或多个语法元素未确定可能状态之一的每个区块,从所述比特流中提取表明相应的区块是以图像内预测模式还是以图像间预测模式编码的语法元素,其中,分隔信息表明相应的区块的分隔,并且如果相应的区块以图像间预测模式编码,针对相应的区块根据所述分隔信息被分隔的每个分隔,合并标记,所述合并标记单独地致动针对相应的分隔的合并,Wherein, one of the possible states of the one or more syntax elements indicates that the corresponding block (40) is encoded in an inter-image prediction mode, the corresponding block (40) will be merged into one of the plurality of groups along with another block (40), and the corresponding block does not have a prediction residual that is encoded and inserted into the bitstream (30), wherein the extractor (88) is configured to, for each block in which one or more syntax elements does not determine one of the possible states, extract from the bitstream a syntax element indicating whether the corresponding block is encoded in an intra-image prediction mode or an inter-image prediction mode, wherein the separation information indicates the separation of the corresponding block, and if the corresponding block is encoded in an inter-image prediction mode, a merge flag is set for each separation of the corresponding block according to the separation information, the merge flag individually actuating the merging of the corresponding separation. 其中,所述提取器还被配置为使用熵解码从所述比特流提取子分割信息,并且所述子分割器被配置为响应于所述子分割信息而将所述图像子分割为多个区块。The extractor is further configured to extract sub-segmentation information from the bitstream using entropy decoding, and the sub-segmenter is configured to sub-segment the image into multiple blocks in response to the sub-segmentation information. 29.根据权利要求28所述的装置,其中,所述子分割器被配置为使用多树型子分割响应于所述子分割信息而将所述图像子分割为多个区块。29. The apparatus of claim 28, wherein the sub-segmenter is configured to sub-segment the image into multiple blocks in response to the sub-segmentation information using multi-tree sub-segmentation. 30.一种用于将一图像(20)编码至比特流(30)的装置,所述图像的样本数组被分隔为多个区块(40),使得所述比特流表明各区块的相应的区块是以图像内预测模式还是以图像间预测模式编码,所述装置被配置为对于一当前区块,将一标记编码至所述比特流中,所述标记表明:30. An apparatus for encoding an image (20) into a bitstream (30), the sample array of the image being divided into multiple blocks (40), such that the bitstream indicates whether the corresponding blocks of each block are encoded in an intra-image prediction mode or an inter-image prediction mode, the apparatus being configured to encode a marker into the bitstream for a current block, the marker indicating: 与所述当前区块(40)关联的所述编码参数是根据一合并候选者通过合并被设定还是从所述比特流(30)取得,Whether the encoding parameters associated with the current block (40) are set by merging based on a merge candidate or obtained from the bitstream (30), 所述图像(20)的所述当前区块(40)是仅以取决于与所述当前区块(40)关联的所述编码参数的一预测信号为基础而无需任何残余数据被重建还是通过所述比特流(30)内的残余数据来提炼取决于与所述当前区块(40)的所述编码参数的所述预测信号被重建,以及Is the current block (40) of the image (20) reconstructed based solely on a prediction signal that depends on the encoding parameters associated with the current block (40) without any residual data, or is the reconstruction based on the prediction signal that depends on the encoding parameters associated with the current block (40) refined from the residual data within the bitstream (30)? 是否以图像间预测模式编码所述当前区块,Whether to encode the current block using an inter-image prediction mode, 如果所述比特流(30)内的所述标记表明与所述当前区块(40)关联的所述编码参数根据一合并候选者而被设定、不传输所述当前区块的残余数据、以及以图像间预测模式编码所述当前区块,If the marker in the bitstream (30) indicates that the encoding parameters associated with the current block (40) are set according to a merge candidate, the residual data of the current block is not transmitted, and the current block is encoded in an inter-image prediction mode, 则根据所述合并候选者设定与所述当前区块(40)关联的所述编码参数,并且使用图像间预测模式来编码所述当前区块,使得使用仅以取决于所述编码参数的一预测信号为基础的图像间预测模式而无需任何残余数据来重建所述图像(20)的所述当前区块(40);以及The encoding parameters associated with the current block (40) are then set according to the merge candidate, and the current block is encoded using an inter-image prediction mode, such that the current block (40) of the image (20) is reconstructed using an inter-image prediction mode based solely on a prediction signal dependent on the encoding parameters without any residual data; and 如果在所述比特流(30)内的所述标记表明与所述当前区块(40)关联的所述编码参数不根据一合并候选者而被设定,If the marker in the bitstream (30) indicates that the encoding parameters associated with the current block (40) are not set according to a merge candidate, 则将语法元素插入所述比特流中,所述语法元素表明所述当前区块是以图像内预测模式还是以图像间预测模式编码,并且,如果所述语法元素表明所述当前区块是以图像间预测模式编码,针对所述当前区块的每个分隔,所述当前区块被进一步分隔,合并标记表明相应的分隔的单独合并的致动,Then, a syntax element is inserted into the bitstream, indicating whether the current block is encoded using intra-image prediction mode or inter-image prediction mode. Furthermore, if the syntax element indicates that the current block is encoded using inter-image prediction mode, the current block is further divided for each segment, and a merge marker indicates the actuation of the individual merging of the corresponding segments. 其中,所述装置被配置为使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个区块。The device is configured to insert sub-segmentation information into the bitstream using entropy coding, the sub-segmentation information indicating how the image is subdivided into multiple blocks. 31.一种用于将一图像编码至比特流中的装置,包括:31. An apparatus for encoding an image into a bitstream, comprising: 一子分割器(72),被配置为将所述图像(20)子分割为样本的多个区块;A sub-segmenter (72) is configured to sub-segment the image (20) into multiple blocks of samples; 一合并器(74),被配置为将区块(40)合并成均有一个或多个区块的多个群组;A merger (74) is configured to merge blocks (40) into multiple groups, each containing one or more blocks; 一编码器(76),被配置为使用以区块的所述群组为单位在所述比特流中传输的编码参数来编码所述图像,其中,所述编码器(76)被配置为通过预测所述图像并编码用于预定区块的一预测残差来编码所述图像,其中,所述比特流表明各区块的相应的区块是以图像内预测模式还是以图像间预测模式编码;An encoder (76) is configured to encode the image using encoding parameters transmitted in the bitstream in units of the group of blocks, wherein the encoder (76) is configured to encode the image by predicting the image and encoding a prediction residual for a predetermined block, wherein the bitstream indicates whether the corresponding block of each block is encoded in an intra-image prediction mode or an inter-image prediction mode. 一位流产生器(78),被配置为将所述预测残差和所述编码参数与用于所述区块的至少一子集的每一个的一个或多个语法元素一起插入一比特流中,所述一个或多个语法元素表明所述相应的区块是否以图像间预测模式编码、相应的区块将与另一区块一起被合并到所述多个群组之一中、以及不传输相应的区块的残余数据,A bitstream generator (78) is configured to insert the prediction residual and the encoding parameters together with one or more syntax elements for each of at least a subset of the blocks into a bitstream, the one or more syntax elements indicating whether the corresponding block is encoded in an inter-image prediction mode, whether the corresponding block will be merged into one of the plurality of groups along with another block, and whether residual data of the corresponding block is not transmitted. 其中,所述一个或多个语法元素的可能状态之一表明所述相应的区块以图像间预测模式编码、所述相应的区块将与另一区块一起被合并到所述多个群组之一中并且所述相应的区块不具有被编码且被插入所述比特流中的预测残差,其中,所述位流产生器(78)被配置为,对于所述一个或多个语法元素未确定可能状态之一的每个区块,插入所述比特流中,其中,语法元素表明相应的区块是以图像内预测模式还是以图像间预测模式编码,其中,分隔信息在所述比特流内表明相应的区块的分隔,并且针对相应的区块根据所述分隔信息被分隔的每个分隔,合并标记,所述合并标记单独地致动针对相应的分隔的合并,Wherein, one of the possible states of the one or more syntax elements indicates that the corresponding block is encoded in an inter-image prediction mode, the corresponding block will be merged into one of the plurality of groups along with another block, and the corresponding block does not have a prediction residual that is encoded and inserted into the bitstream, wherein the bitstream generator (78) is configured to insert into the bitstream for each block for which one or more syntax elements do not determine one of the possible states, wherein the syntax element indicates whether the corresponding block is encoded in an intra-image prediction mode or an inter-image prediction mode, wherein the separation information in the bitstream indicates the separation of the corresponding block, and for each separation of the corresponding block according to the separation information, a merge flag is set, the merge flag individually actuating the merging of the corresponding separation. 其中,所述位流产生器还被配置为使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个区块。The bitstream generator is further configured to insert sub-segmentation information into the bitstream using entropy coding, the sub-segmentation information indicating how the image is subdivided into multiple blocks. 32.一种用于对一图像(20)被编码至其中的比特流(30)解码的方法,所述图像的样本数组被分隔为多个区块,并且所述比特流表明各区块的相应的区块是以图像内预测模式还是以图像间预测模式编码,所述方法包括:32. A method for decoding a bitstream (30) to which an image (20) is encoded, the image being divided into multiple blocks, and the bitstream indicating whether the corresponding blocks of each block are encoded in an intra-image prediction mode or an inter-image prediction mode, the method comprising: 对于一当前区块,从所述比特流(30)提取标记,For a current block, extract the tag from the bit stream (30). 使用所述标记,以决定:Use the aforementioned marker to determine: 与所述当前区块关联的所述编码参数是根据一合并候选者通过合并被设定还是从所述比特流(30)取得,Whether the encoding parameters associated with the current block are set based on a merge candidate through merging or obtained from the bitstream (30), 所述图像(20)的所述当前区块(40)是仅以取决于与所述当前区块(40)关联的所述编码参数的一预测信号为基础而无需任何残余数据被重建还是通过所述比特流(30)内的残余数据来提炼取决于与所述当前区块(40)的所述编码参数的所述预测信号被重建,以及Is the current block (40) of the image (20) reconstructed based solely on a prediction signal that depends on the encoding parameters associated with the current block (40) without any residual data, or is the reconstruction based on the prediction signal that depends on the encoding parameters associated with the current block (40) refined from the residual data within the bitstream (30)? 是否以图像间预测模式编码所述当前区块,Whether to encode the current block using an inter-image prediction mode, 如果所述比特流(30)内的所述标记表明与所述当前区块(40)关联的所述编码参数根据一合并候选者而被设定、不传输所述当前区块的残余数据、以及以图像间预测模式编码所述当前区块,If the marker in the bitstream (30) indicates that the encoding parameters associated with the current block (40) are set according to a merge candidate, the residual data of the current block is not transmitted, and the current block is encoded in an inter-image prediction mode, 则执行合并,使得通过根据一合并候选者设定编码参数来获得与所述当前区块(40)关联的所述编码参数,并且Then a merge is performed, such that the encoding parameters associated with the current block (40) are obtained by setting encoding parameters according to a merge candidate, and 使用仅以取决于所述编码参数的一预测信号为基础的图像间预测模式而无需任何残余数据来重建所述图像(20)的所述当前区块(40);以及The current block (40) of the image (20) is reconstructed using an inter-image prediction mode based solely on a prediction signal dependent on the coding parameters, without any residual data; and 如果在所述比特流(30)内的所述标记表明与所述当前区块(40)关联的所述编码参数不根据一合并候选者而被设定,If the marker in the bitstream (30) indicates that the encoding parameters associated with the current block (40) are not set according to a merge candidate, 则从所述比特流中提取语法元素,所述语法元素表明所述当前区块是以图像内预测模式还是以图像间预测模式编码,并且,如果所述语法元素表明所述当前区块是以图像间预测模式编码,针对所述当前区块的每个分隔,所述当前区块被进一步分隔,合并标记表明相应的分隔的合并的致动,Syntax elements are then extracted from the bitstream, indicating whether the current block is encoded using intra-image prediction mode or inter-image prediction mode. If the syntax elements indicate that the current block is encoded using inter-image prediction mode, the current block is further divided for each segment, and a merge marker indicates the actuation of merging the corresponding segments. 其中,使用熵解码从所述比特流提取子分割信息,并且响应于所述子分割信息而将所述图像子分割为多个区块。Specifically, entropy decoding is used to extract sub-segmentation information from the bitstream, and the image is sub-segmented into multiple blocks in response to the sub-segmentation information. 33.一种用于对一图像(20)被编码至其中的比特流解码的方法,所述方法包括:33. A method for decoding a bitstream to which an image (20) is encoded, the method comprising: 将所述图像(20)子分割为多个区块(40);The image (20) is subdivided into multiple blocks (40); 相应地将区块(40)合并成一个或多个区块的多个群组;Accordingly, blocks (40) are merged into multiple groups of one or more blocks; 使用以区块的所述群组为单位在所述比特流中传输的编码参数来解码所述图像(20),针对预定区块而通过预测所述图像(20)、解码用于所述预定区块的一预测残差、以及组合所述预测残差与由于预测所述图像(20)所产生的一预测,来解码所述图像,其中,所述比特流表明各区块的相应的区块是以图像内预测模式还是以图像间预测模式编码;The image (20) is decoded using encoding parameters transmitted in the bitstream in units of the blocks, and the image is decoded for a predetermined block by predicting the image (20), decoding a prediction residual for the predetermined block, and combining the prediction residual with a prediction generated from predicting the image (20), wherein the bitstream indicates whether the corresponding blocks of each block are encoded in an intra-image prediction mode or an inter-image prediction mode. 连同用于所述区块(40)的至少一子集的每一个的一个或多个语法元素一起,从所述比特流(30)提取所述预测残差和所述编码参数,所述一个或多个语法元素表明所述相应的区块(40)是否以图像间预测模式编码、相应的区块(40)将与另一区块(40)一起被合并到所述多个群组之一中、以及是否传输相应的区块(40)的残余数据,其中,响应于所述一个或多个语法元素来执行合并,Together with one or more syntax elements for each of at least a subset of the blocks (40), the prediction residuals and the encoding parameters are extracted from the bitstream (30), the one or more syntax elements indicating whether the corresponding block (40) is encoded in an inter-image prediction mode, whether the corresponding block (40) will be merged into one of the plurality of groups along with another block (40), and whether residual data of the corresponding block (40) is transmitted, wherein merging is performed in response to the one or more syntax elements. 其中,所述一个或多个语法元素的可能状态之一表明所述相应的区块(40)以图像间预测模式编码、所述相应的区块(40)将与另一区块(40)一起被合并到所述多个群组之一中并且所述相应的区块不具有被编码且被插入所述比特流(30)中的预测残差,其中,提取包括,对于所述一个或多个语法元素未确定可能状态之一的每个区块,从所述比特流中提取表明相应的区块是以图像内预测模式还是以图像间预测模式编码的语法元素,其中,分隔信息表明相应的区块的分隔,并且如果相应的区块以图像间预测模式编码,针对相应的区块根据所述分隔信息被分隔的每个分隔,合并标记,所述合并标记单独地致动针对相应的分隔的合并,Wherein, one of the possible states of the one or more syntax elements indicates that the corresponding block (40) is encoded in an inter-image prediction mode, the corresponding block (40) will be merged into one of the plurality of groups along with another block (40), and the corresponding block does not have a prediction residual that is encoded and inserted into the bitstream (30), wherein the extraction includes, for each block in which one or more syntax elements does not determine one of the possible states, extracting from the bitstream a syntax element indicating whether the corresponding block is encoded in an intra-image prediction mode or an inter-image prediction mode, wherein the separation information indicates the separation of the corresponding block, and if the corresponding block is encoded in an inter-image prediction mode, a merge marker is set for each separation of the corresponding block according to the separation information, the merge marker individually actuating the merging of the corresponding separation. 其中,使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个区块。Specifically, entropy coding is used to insert sub-segmentation information into the bitstream, whereby the sub-segmentation information indicates how the image is subdivided into multiple blocks. 34.一种用于将一图像(20)编码至比特流(30)的方法,所述图像的样本数组被分隔为多个区块(40),使得所述比特流表明各区块的相应的区块是以图像内预测模式还是以图像间预测模式编码,所述方法包括:34. A method for encoding an image (20) into a bitstream (30), the sample array of the image being divided into multiple blocks (40), such that the bitstream indicates whether the corresponding blocks of each block are encoded in an intra-image prediction mode or an inter-image prediction mode, the method comprising: 对于一当前区块将一标记编码至所述比特流中,所述标记表明:For a given block, a tag is encoded into the bitstream, the tag indicating: 与所述当前区块(40)关联的所述编码参数是根据一合并候选者通过合并被设定还是从所述比特流(30)取得,Whether the encoding parameters associated with the current block (40) are set by merging based on a merge candidate or obtained from the bitstream (30), 关于所述图像(20)的所述当前区块(40)是仅以取决于与所述当前区块(40)关联的所述编码参数的一预测信号为基础而无需任何残余数据被重建还是通过所述比特流(30)内的残余数据来提炼取决于与所述当前区块(40)的所述编码参数的所述预测信号被重建,以及Regarding the current block (40) of the image (20), is it reconstructed based solely on a prediction signal that depends on the encoding parameters associated with the current block (40) without any residual data, or is it reconstructed by refining the prediction signal that depends on the encoding parameters associated with the current block (40) using residual data within the bitstream (30)? 是否以图像间预测模式编码所述当前区块,Whether to encode the current block using an inter-image prediction mode, 如果所述比特流(30)内的所述标记表明与所述当前区块(40)关联的所述编码参数根据一合并候选者而被设定、不传输所述当前区块的残余数据、以及以图像间预测模式编码所述当前区块,If the marker in the bitstream (30) indicates that the encoding parameters associated with the current block (40) are set according to a merge candidate, the residual data of the current block is not transmitted, and the current block is encoded in an inter-image prediction mode, 则根据所述合并候选者设定与所述当前区块(40)关联的所述编码参数,并且使用图像间预测模式来编码所述当前区块,使得使用仅以取决于所述编码参数的一预测信号为基础的图像间预测模式而无需任何残余数据来重建所述图像(20)的所述当前区块(40);以及The encoding parameters associated with the current block (40) are then set according to the merge candidate, and the current block is encoded using an inter-image prediction mode, such that the current block (40) of the image (20) is reconstructed using an inter-image prediction mode based solely on a prediction signal dependent on the encoding parameters without any residual data; and 如果在所述比特流(30)内的所述标记表明与所述当前区块(40)关联的所述编码参数不根据一合并候选者而被设定,If the marker in the bitstream (30) indicates that the encoding parameters associated with the current block (40) are not set according to a merge candidate, 则将语法元素插入所述比特流中,所述语法元素表明所述当前区块是以图像内预测模式还是以图像间预测模式编码,并且其中,如果所述语法元素表明所述当前区块是以图像间预测模式编码,针对所述当前区块的每个分隔,所述当前区块被进一步分隔,合并标记表明相应的分隔的单独合并的致动,Then, a syntax element is inserted into the bitstream, indicating whether the current block is encoded in intra-image prediction mode or inter-image prediction mode, and wherein, if the syntax element indicates that the current block is encoded in inter-image prediction mode, the current block is further divided for each segment, and a merge marker indicates the actuation of the individual merging of the corresponding segments. 其中,使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个区块。Specifically, entropy coding is used to insert sub-segmentation information into the bitstream, whereby the sub-segmentation information indicates how the image is subdivided into multiple blocks. 35.一种用于编码一图像的方法,所述方法包括:35. A method for encoding an image, the method comprising: 将所述图像子分割为样本的多个区块;The image is subdivided into multiple blocks of samples; 将区块(40)各自合并成一个或多个区块的多个群组;Each of the blocks (40) is merged into a group of one or more blocks; 使用以区块的所述群组为单位在比特流中传输的编码参数来编码所述图像,其中,编码器(76)被配置为通过预测所述图像并编码用于预定区块的一预测残差来编码所述图像,其中,所述比特流表明各区块的相应的区块是以图像内预测模式还是以图像间预测模式编码;The image is encoded using encoding parameters transmitted in a bitstream in units of the blocks, wherein the encoder (76) is configured to encode the image by predicting the image and encoding a prediction residual for a predetermined block, wherein the bitstream indicates whether the corresponding blocks of each block are encoded in an intra-image prediction mode or an inter-image prediction mode. 将所述预测残差和所述编码参数与用于所述区块的至少一子集的每一个的一个或多个语法元素一起插入一比特流中,所述一个或多个语法元素表明所述相应的区块是否以图像间预测模式编码、相应的区块将与另一区块一起被合并到所述多个群组之一中、以及不传输相应的区块的残余数据,The prediction residual and the encoding parameters are inserted into a bitstream along with one or more syntax elements for each of at least a subset of the blocks, the one or more syntax elements indicating whether the corresponding block is encoded in an inter-image prediction mode, whether the corresponding block will be merged into one of the plurality of groups along with another block, and whether the residual data of the corresponding block is not transmitted. 其中,所述一个或多个语法元素的可能状态之一表明所述相应的区块以图像间预测模式编码、所述相应的区块将与另一区块一起被合并到所述多个群组之一中并且所述相应的区块不具有被编码且被插入所述比特流中的预测残差,其中,插入包括,对于所述一个或多个语法元素未确定可能状态之一的每个区块,插入所述比特流中,其中,语法元素表明相应的区块是以图像内预测模式还是以图像间预测模式编码,其中,分隔信息在所述比特流内表明相应的区块的分隔,并且针对相应的区块根据所述分隔信息被分隔的每个分隔,合并标记,所述合并标记单独地致动针对相应的分隔的合并,Wherein, one of the possible states of the one or more syntax elements indicates that the corresponding block is encoded in an inter-image prediction mode, the corresponding block will be merged into one of the plurality of groups along with another block, and the corresponding block does not have a prediction residual that is encoded and inserted into the bitstream, wherein the insertion includes, for each block in which one or more syntax elements do not determine one of the possible states, insertion into the bitstream, wherein the syntax element indicates whether the corresponding block is encoded in an intra-image prediction mode or an inter-image prediction mode, wherein the separation information in the bitstream indicates the separation of the corresponding block, and for each separation of the corresponding block according to the separation information, a merge flag is provided, the merge flag individually actuating the merging of the corresponding separation. 其中,使用熵编码将子分割信息插入所述比特流,所述子分割信息表明如何将所述图像子分割为多个区块。Specifically, entropy coding is used to insert sub-segmentation information into the bitstream, whereby the sub-segmentation information indicates how the image is subdivided into multiple blocks.
HK18102421.5A 2010-11-04 2018-02-14 Apparatus for decoding and method for decoding, apparatus for encoding and method for encoding, method for storing a picture and method for transmitting a picture HK1243257B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US61/410,246 2010-11-04

Publications (2)

Publication Number Publication Date
HK1243257A1 HK1243257A1 (en) 2018-07-06
HK1243257B true HK1243257B (en) 2021-02-11

Family

ID=

Similar Documents

Publication Publication Date Title
US12137242B2 (en) Picture coding supporting block merging and skip mode
HK1243257B (en) Apparatus for decoding and method for decoding, apparatus for encoding and method for encoding, method for storing a picture and method for transmitting a picture
HK1245543B (en) Apparatus for decoding and method for decoding, apparatus for encoding and method for encoding, method for storing a picture and method for transmitting a picture
HK1242498B (en) Apparatus and methodfor decoding, apparatus and method for coding ,method for transmitting picture,and method for storing picture
HK1242495B (en) Apparatus for decoding and method for decoding , apparatus for encoding and methodfor encoding, method for storing a picture and method for transmitting a picture
HK1242496B (en) Decoding devices and methods, encoding devices and methods, methods for storing and transmitting picture
HK1242497B (en) Picture coding supporting block merging and skip mode
HK1242880B (en) Picture coding supporting block merging and skip mode
HK1243254B (en) Picture coding supporting block merging and skip mode
HK1243255B (en) Picture coding supporting block merging and skip mode
HK40069342B (en) Picture coding supporting block merging and skip mode
HK40102379A (en) Picture coding supporting block merging and skip mode
HK40069342A (en) Picture coding supporting block merging and skip mode