首页 / 专利库 / 广播 / 帧内预测 / Block adaptive predictive coding

Block adaptive predictive coding

阅读:496发布:2023-12-23

专利汇可以提供Block adaptive predictive coding专利检索,专利查询,专利分析的服务。并且In MPEG most video frames are encoded in inter mode. Every now and than a video frame is encoded in intra mode in order to limit error propagation and to enable access points for starting decoding of the video sequence. According to the invention, however, it is sufficient to encode in an intra frame only those pixel blocks in intra mode of which at least one pixel is used for predicting some future picture content information, whereas the other blocks can be encoded in inter mode. In order to check which blocks in the intra frame can be encoded in inter mode, a motion compensation pre-analysis of the following P-frame is performed, in order to find those blocks that need not be encoded in intra mode because no pixel in such blocks is used for the prediction of that following P-picture.,下面是Block adaptive predictive coding专利的具体信息内容。

Method for encoding a picture sequence (IE) using predicted (P) and non-predicted (I) frames or fields which each include multiple pixel blocks, pixel macroblocks or other specified pixel regions, characterised by the steps:- encoding (SUB, Q, ECOD, QE-1, DCTE-1, ADDE, FS_MC_E, SWE, CTRL) said picture sequence, thereby- determining (CPDET) whether or not all pixels in a current block or macroblock (IN) in a non-predicted (I) frame or field are used for predicting a corresponding block or macroblock (PN+1) in a next following predicted (P) frame or field, which corresponding block or macroblock is displaced according to motion in the picture content of said picture sequence, wherein
if said predicted block or macroblock (PN+1) has at least one pixel in common with said current block or macroblock (IN), encoding said current block or macroblock in a non-predicted (I) mode;
if said predicted block or macroblock (PN+1) has no pixel in common with said current block or macroblock (IN), encoding said current block or macroblock in a predicted (P) mode.
Method according to claim 1, wherein said determining step is a motion compensation pre-analysis step (CPDET, ME) .Apparatus for encoding a picture sequence (IE) using predicted (P) and non-predicted (I) frames or fields which each include multiple pixel blocks, pixel macroblocks or other specified pixel regions, said apparatus including:- means (SUB, Q, ECOD, QE-1, DCTE-1, ADDE, FS_MC_E, SWE, CTRL) for encoding said picture sequence;- means (CPDET, ME) for determining whether or not all pixels in a current block or macroblock (IN) in a non-predicted (I) frame or field are used for predicting a corresponding block or macroblock (PN+1) in a next following predicted (P) frame or field, which corresponding block or macroblock is displaced according to motion in the picture content of said picture sequence, wherein,
if said predicted block or macroblock (PN+1) has at least one pixel in common with said current block or macroblock (IN), said current block or macroblock is encoded in a non-predicted (I) mode;
if said predicted block or macroblock (PN+1) has no pixel in common with said current block or macroblock (IN), said current block or macroblock is encoded in a predicted (P) mode.
Apparatus according to claim 3, wherein said determining means are motion compensation pre-analysis means (CPDET, ME).Method according to claim 1 or 2, or apparatus according to claim 3 or 4, wherein said encoding is an MPEG encoding and said predicted frames or fields are of P type and said non-predicted frames or fields are of I type.Method or apparatus according to claim 5, wherein macroblocks in an I frame or field that are just used for constructing predicted macroblocks in the next following B-frame or B-field are encoded in P mode, too.Method according to one of claims 1, 2, 5 and 6, or apparatus according to one of claims 3 to 6, wherein said pixel blocks, pixel macroblocks or other specified pixel regions contain luminance pixels.Method according to one of claims 1, 2, 5 and 6, or apparatus according to one of claims 3 to 6, wherein said pixel blocks, pixel macroblocks or other specified pixel regions contain chrominance pixels.
说明书全文

The invention relates to a method and to an apparatus for encoding a picture sequence using predicted and non-predicted pictures which each include multiple pixel macroblocks, in particular encoding pixel macroblocks in non-predicted pictures.

Background

In known video compression systems, e.g. in MPEG, most video frames or fields are encoded in an inter-frame or inter-field mode by using e.g. discrete cosine transform (DCT) coding. To increase coding/decoding efficiency, in some video compression systems intra frame prediction is used, see MPEG-4 AVC for example.

In many video compression systems, e.g. in MPEG, every now and than a video frame is encoded in an intra-frame mode, for instance the first frame of a GOP (group of pictures) in MPEG. A GOP normally contains intra, inter or predicted, and bi-directionally predicted (I, P, B) pictures. The pictures are divided into e.g. 8*8 luminance pixel blocks or into 16*16 luminance pixel macroblocks to each of which corresponding chrominance pixel blocks are assigned. A macroblock may represent a set of four 8*8 luminance blocks and two related 8*8 chrominance blocks. In such case the coding and the decoding is based on macroblocks and blocks.

Invention

Although intra mode (or non-predicted mode) encoded pictures in most cases require more bits for encoding than inter-frame or inter-field encoded pictures, it is generally assumed that intra-coded frames are needed to allow for access points in the video sequence, and to limit e.g. channel error propagation.

A problem to be solved by the invention is to save part of the additional bits required for intra frame encoding in a video sequence, thereby still providing access points to the video sequence and still limiting error propagation. This problem is solved by the method disclosed in claim 1. An apparatus that utilises this method is disclosed in claim 3.

According to the invention, in order to limit error propagation and to enable access points or entries for starting decoding of the video sequence, it is sufficient to encode in an intra frame only those pixel blocks, pixel macroblocks or other specified pixel regions in an intra mode of which at least one pixel is used for predicting some future picture content information, whereas the other pixel blocks, pixel macroblocks and/or specified pixel regions can be encoded in inter-frame or inter-field prediction mode.

In order to check which blocks or macroblocks in an intra-frame can be encoded in inter mode, a motion compensation pre-analysis of the next following P-frame (= inter frame) or P-field (= inter field) is performed, in order to find those blocks that need not be encoded in intra mode because no pixel in such blocks is used for the prediction of that following P-picture.

Blocks, macroblocks or other specified pixel regions in an I frame or field that are just used for constructing predicted macroblocks in the next following B-frame or B-field can be encoded in inter mode as well.

The advantage of the inventive processing is higher compression efficiency that is achieved by higher encoder complexity.

In principle, the inventive method is suited for encoding a picture sequence using predicted and non-predicted frames or fields which each include multiple pixel blocks, pixel macroblocks or other specified pixel regions, including the steps:

  • encoding said picture sequence, thereby
  • determining whether or not all pixels in a current block or macroblock in a non-predicted frame or field are used for predicting a corresponding block or macroblock in a next following predicted frame or field, which corresponding block or macroblock is displaced according to motion in the picture content of said picture sequence, wherein
if said predicted block or macroblock has at least one pixel in common with said current block or macroblock, encoding said current block or macroblock in a non-predicted mode;

if said predicted block or macroblock has no pixel in common with said current block or macroblock, encoding said current block or macroblock in a predicted mode.

In principle the inventive apparatus is suited for encoding a picture sequence using predicted and non-predicted frames or fields which each include multiple pixel blocks, pixel macroblocks or other specified pixel regions, said apparatus including:

  • means for encoding said picture sequence;
  • means for determining whether or not all pixels in a current block or macroblock in a non-predicted frame or field are used for predicting a corresponding block or macroblock in a next following predicted frame or field, which corresponding block or macroblock is displaced according to motion in the picture content of said picture sequence,
wherein,

if said predicted block or macroblock has at least one pixel in common with said current block or macroblock, said current block or macroblock is encoded in a non-predicted mode; if said predicted block or macroblock has no pixel in common with said current block or macroblock, said current block or macroblock is encoded in a predicted mode.

Advantageous additional embodiments of the invention are disclosed in the respective dependent claims.

Drawings

Exemplary embodiments of the invention are described with reference to the accompanying drawings, which show in:

Fig. 1
known encoder for video data;

Fig. 2
known decoder for video data;

Fig. 3
inventive encoder for video data;

Fig. 4
predicted pixel block having a pixel in common with the reference pixel block;

Fig. 5
predicted pixel block having no pixel in common with the reference pixel block.

Exemplary embodiments

In Fig. 1 the video data input signal IE of the encoder contains 16*16 macroblock data for encoding. In case of video data to be intraframe coded they pass a subtractor SUB unmodified, the switch SWE is in position 'I'. Thereafter the 8*8 blocks of the macroblocks are processed in discrete cosine transform means DCT and in quantising means Q, and are fed via an entropy encoder ECOD to a multiplexer MUX which outputs the encoder video data output signal OE. Entropy encoder ECOD can carry out Huffman coding for the quantised DCT coefficients. In the multiplexer MUX header information and motion vector data MV and possibly encoded audio data are combined with the encoded video data.

In case of interframe video data, switch SWE is in position 'P' and predicted macroblock data PMD are subtracted on a block basis from the input signal IE in subtractor SUB, and 8*8 block difference data are fed via transform means DCT and quantising means Q to the entropy encoder ECOD. The output signal of quantising means Q is also processed in corresponding inverse quantising means QE-1, the output signal of which is fed via corresponding inverse discrete cosine transform means DCTE-1 to the combiner ADDE in the form of reconstructed block or macroblock difference data RMDD. The output signal of ADDE is buffer-stored in a picture store in motion estimation and compensation means FS_MC_E, which carry out motion compensation for reconstructed macroblock data and output correspondingly predicted macroblock data PMD to the subtracting input of SUB and to the other input of the combiner ADDE.

The characteristics of the quantising means Q and the inverse quantising means QE-1 are controlled by the occupancy level of an encoder buffer in entropy encoder ECOD. Switch SWE is controlled by a controller CTRL e.g. according to the MPEG GOP structure, which controller may also control other units in the encoder.

A motion estimator ME receives the input signal IE and provides motion estimation and compensation means FS_MC_E with the necessary motion information and multiplexer MUX with motion vector data MV.

QE-1, DCTE-1, ADDE and FS_MC_E constitute a simulation of the receiver-end decoder, which is described in connection with Fig. 2.

In Fig. 2 the encoded video data input signal ID is fed via a demultiplexer DEMUX, entropy decoder means EDEC, inverse quantising means QD-1 and inverse discrete cosine transform means DCTD-1 to a combiner ADDD, which outputs the video data output signal OD. EDEC can carry out e.g. Huffman decoding for the Huffman encoded and quantised coefficients. Demultiplexer DEMUX separates header information, encoded video data, picture type data and motion vector data MV.

QD-1 and DCTD-1 and EDEC have a function which is the corresponding inverse of the functions of Q, DCT and ECOD in the encoder of Fig. 1. The output signal of ADDD is buffer-stored in a picture store in motion compensation means FS_MC_D. FS_MC_D effects a motion compensation for reconstructed macroblock data according to the motion vector data MV, and output in case of P pictures correspondingly predicted block or macroblock data PMD via switch SWD to the other input of adder ADDD in which in case of 'P' pictures the predicted data are combined on a block basis with the received block difference data. Switch SWD is controlled by a controller CTRLD which receives picture type data from demultiplexer DEMUX. In case of I or intra mode frames no predicted picture data are fed to the second input of adder ADDD.

In the inventive encoder in Fig. 3 all functional blocks or units basically carry out the same operations like in the corresponding functional blocks or units in Fig. 1. However, the motion estimator ME is additionally controlled by a common block or macroblock pixel detector CPDET, which in addition determines whether or not a predicted block or a predicted macroblock in a following P frame or field has at least one luminance (or chrominance) pixel in common with the I (or intra mode) frame reference block or macroblock on which the prediction is based. If there is no such common pixel the corresponding block or macroblock in the I frame is encoded in P (or inter) mode instead. CPDET or ME send a corresponding information to controller CTRL such that switch SWE is switched from 'I' position to 'P' position during processing for this block or macroblock.

In Fig. 4 a reference pixel block 'IN' of an I frame is depicted together with a therefrom predicted pixel block 'PN+1' of a following P frame. The amount and the direction of the block displacement is represented by motion vector MV. Block PN+1 has one pixel in common with block IN. Because pixel information from block IN is required for predicting block PN+1, block IN is kept and encoded and decoded as an I block.

In Fig. 5 a reference pixel block 'IN' of an I frame is depicted together with a therefrom predicted pixel block 'PN+1' of a following P frame. The amount and the direction of the block displacement is represented by motion vector MV. Block PN+1 has no pixel in common with block IN. Because no pixel information from block IN is required for predicting block PN+1, block IN is encoded and decoded as a P block.

For simplified presentation in the both figures the blocks have 4*4 pixels only instead of 8*8 pixels.

When the decoder starts decoding an encoded picture at an I frame the I frame blocks or macroblocks having been previously encoded as P blocks or macroblocks can not be decoded because of the missing reference block or macroblock information. However, when arriving at the following P frame all blocks or macroblocks are correctly reconstructed with no information missing. Because the time period between the initial I frame and the following P frame is e.g. three frames or 3*40ms = 120ms only, a viewer of the reconstructed video sequence will not be annoyed when starting reception or replay.

The invention can be used for example in the broadcast of digital television signals or in the transmission of digital video signals, in networks such as the Internet, in a video-phone or when recording optical or magnetic storage media, e.g. DVD or BD, in MPEG-1, MPEG-2 and MPEG-4 and other video coding/decoding systems.

高效检索全球专利

专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。

我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。

申请试用

分析报告

专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。

申请试用

QQ群二维码
意见反馈