WO2008067762A1 - A prediction compression encoding method and system - Google Patents

A prediction compression encoding method and system Download PDF

Info

Publication number
WO2008067762A1
WO2008067762A1 PCT/CN2007/071170 CN2007071170W WO2008067762A1 WO 2008067762 A1 WO2008067762 A1 WO 2008067762A1 CN 2007071170 W CN2007071170 W CN 2007071170W WO 2008067762 A1 WO2008067762 A1 WO 2008067762A1
Authority
WO
WIPO (PCT)
Prior art keywords
prediction
component
compression coding
prediction mode
coding
Prior art date
Application number
PCT/CN2007/071170
Other languages
French (fr)
Chinese (zh)
Inventor
Zhongmou Wu
Yun He
Bingqiang Zhu
Jianhua Zheng
Xinjian Meng
Shujuan Shi
Xiaozhen Zheng
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008067762A1 publication Critical patent/WO2008067762A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/147Data rate or code amount at the encoder output according to rate distortion criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding

Abstract

A prediction compression encoding method is provided, which includes the following steps: according to the characteristic information of each component of the image, selecting a first component from the components; analyzing at least two prediction modes for the first component, according to the analysis result, selecting a prediction mode to implement the prediction compression encoding for the first component; analyzing at least two prediction modes for the rest components, according to the analysis result, selecting a prediction mode to implement the prediction compression encoding for the rest components. A prediction compression encoding system is also provided, which includes at least three prediction compression encoding units and at least three mode selection units. By using the prediction compression encoding method and system, the favorable efficiency of prediction compression encoding can be ensured.

Description

一种预测压缩编码方法和系统  Prediction compression coding method and system
技术领域 Technical field
本发明涉及图像格式的视频压缩技术, 特别涉及一种预测压缩编码 方法和系统。 发明背景  The present invention relates to video compression techniques for image formats, and more particularly to a predictive compression coding method and system. Background of the invention
在图像视频显示技术中, 为正确有效地表达彩色信息, 需要建立和 选择合适地彩色模型。 彩色模型是建立在色彩空间中的, 因此彩色模型 与色彩空间密切相关。 常用的色彩空间包括: 三原色 (RGB ), YCbCr 等。  In image video display technology, in order to correctly and effectively express color information, it is necessary to establish and select an appropriate color model. The color model is built into the color space, so the color model is closely related to the color space. Commonly used color spaces include: three primary colors (RGB), YCbCr, and so on.
本文中所说的图象, 包括静止图象, 活动图象, 如图象序列和视频 图象, 以及这些图象经过处理所得到的图象。  The images referred to herein include still images, moving images, image sequences and video images, and images obtained by processing these images.
按照对彩色图像进行空间采样方式的不同, 可以把图像格式分为第 一种采样格式, 第二种采样格式等等。 其中第一种采样格式为各种分量 采样率相等的图像格式, 可以为 4:4:4的采样格式。  According to the manner of spatial sampling of color images, the image format can be divided into a first sampling format, a second sampling format, and the like. The first sampling format is an image format with equal sampling rates of various components, which can be a 4:4:4 sampling format.
现有技术提供了两种基于第一种采样格式的第一种预测压缩编码方 法, 所述第一种预测压缩编码方法指当前图象的预测结果由该幅图象内 的信息预测得到, 即指帧内预测压缩编码方法。  The prior art provides two first predictive compression coding methods based on a first sampling format, where the first prediction compression coding method predicts that a prediction result of a current image is predicted from information in the image, that is, Refers to the intra prediction compression coding method.
现有技术第一种基于第一种采样格式的第一种预测压缩编码方法 中 , 各个分量采用相同的块划分和第一种预测模式组合进行第一种预测 压缩编码, 第一种预测模式指第一种预测压缩编码方法对应的可选预测 模式。 其中, 相同的块划分和第一种预测模式组合的选取方法为: 在块 划分候选种类中选择某一种块划分和第一种预测模式组合, 并用该种组 合对所有分量进行第一种预测压缩编码。 图 1为现有技术第一种基于第一种采样格式的第一种预测压缩编码 方法对应的系统结构图。 该系统包括 n个预测压缩编码单元一、 模式选 择单元以及熵编码单元, n为大于等于 3的整数。 在该系统中, 对 n个 分量进行预测压缩编码时, 采用相同的块划分模块, 并采用同样的第一 种预测模式。 In the first prior art predictive compression coding method based on the first sampling format, each component uses the same block partition and the first prediction mode combination to perform the first predictive compression coding, and the first prediction mode refers to The first predictive compression coding method corresponds to an optional prediction mode. The method for selecting the same block partition and the first prediction mode combination is: selecting a block partition and a first prediction mode combination in the block partition candidate category, and using the combination to perform the first prediction on all components Compression coding. FIG. 1 is a structural diagram of a system corresponding to a first predictive compression coding method based on a first sampling format in the prior art. The system includes n prediction compression coding units, a mode selection unit, and an entropy coding unit, where n is an integer greater than or equal to 3. In this system, when predictive compression coding is performed on n components, the same block division module is employed, and the same first prediction mode is employed.
具体地, n 个第一种预测压缩编码单元分别接收需要压缩编码的视 频图像序列的 n个分量, 并根据可能采用的每一种块划分方法和第一种 预测模式的组合, 分别计算接收到的各分量的、 每一种块划分方法和第 一种预测模块的组合所对应的编码效率值, 并将计算出来的编码效率值 发送给模式选择单元;  Specifically, the n first prediction compression coding units respectively receive n components of the video image sequence that need to be compression-coded, and respectively calculate and receive according to a combination of each block division method and the first prediction mode that may be adopted. a coding efficiency value corresponding to each component, a combination of each block division method and a first prediction module, and transmitting the calculated coding efficiency value to the mode selection unit;
模式选择单元接收 n个第一种预测压缩编码单元发送的每一种块划 分和第一种预测模式的组合的编码效率值, 并将 n个分量的相同的块划 分和第一种预测模块的组合所对应的编码效率值相加, 得出每一种块划 分和第一种预测模式组合的共同的编码效率值, 并根据所得的共同的编 码效率值选取最佳的块划分和第一种预测模式的组合, 通知每个第一种 预测压缩编码单元;  The mode selection unit receives the coding efficiency value of each combination of the block division and the first prediction mode transmitted by the n first prediction compression coding units, and divides the same block of the n components and the prediction module of the first type The coding efficiency values corresponding to the combination are added to obtain a common coding efficiency value of each block division and the first prediction mode combination, and the optimal block division and the first type are selected according to the obtained common coding efficiency value. a combination of prediction modes, notifying each of the first predictive compression coding units;
然后 n个第一种预测编码单元分别根据模式选择模块选取的块划分 和第一种预测模式组合对各自接收到的分量进行第一种预测编码, 并将 结果发送给熵编码单元, 由熵编码单元对接收到的编码后的分量进行熵 编码处理, 输出比特流。  Then, the first first prediction coding units respectively perform the first prediction coding on the respective received components according to the block division selected by the mode selection module and the first prediction mode combination, and send the result to the entropy coding unit, which is entropy coded. The unit performs entropy encoding processing on the received encoded component, and outputs a bit stream.
现有技术第二种基于第一种采样格式的第一种预测压缩编码方法 中 , 为每个分量分别选取块划分和第一种预测模式组合进行第一种预测 编码, 分别为每个分量选取块划分和第一种预测模式组合的方法为: 计 算所有可能的块划分和第一种预测模式组合下, 每个分量的编码效率 值, 根据每个分量的编码效率值选择最佳的块划分和第一种预测模式的 组合, 并利用该选择的组合进行对应分量的第一种预测编码。 In the first prediction compression coding method based on the first sampling format, a block prediction and a first prediction mode combination are respectively selected for each component, and the first prediction coding is performed, and each component is selected separately. The method of combining the block partition and the first prediction mode is: calculating the coding efficiency value of each component under the combination of all possible block partitions and the first prediction mode, and selecting the optimal block partition according to the coding efficiency value of each component And the first prediction mode Combining, and using the selected combination, performs the first predictive coding of the corresponding component.
图 2为现有技术第二种基于第一种采样格式的第一种预测压缩编码 方法对应的系统结构图。 该系统包括: n个第一种预测压缩编码单元以 及熵编码单元。 每个第一种预测压缩编码单元分别接收需要压缩编码的 视频图像序列的每个分量, 每个第一种预测压缩编码单元计算所有块划 分和帧内预测模式组合下接收到的对应分量的编码效率值, 并选择编码 效率值最好的块划分和第一种预测模式组合进行对应分量的第一种预 测编码。 熵编码单元对接收到的 n个第一种预测压缩编码单元发送的编 码处理后的分量进行熵编码, 并输出比特流。  2 is a system structural diagram corresponding to a first prediction compression coding method based on the first sampling format in the prior art. The system includes: n first predictive compression coding units and entropy coding units. Each of the first predictive compression coding units respectively receives each component of the video image sequence that needs to be compression-coded, and each of the first predictive compression coding units calculates the coding of the corresponding component received under all the block partitioning and the intra prediction mode combination. The efficiency value, and the block coding with the best coding efficiency value and the first prediction mode are combined to perform the first prediction coding of the corresponding component. The entropy coding unit entropy encodes the encoded components transmitted by the received n first prediction compression coding units, and outputs the bit stream.
现有技术的第一种基于第一种采样格式的第一种预测压缩编码方 法, 实现起来比第二种基于第一种采样格式的第一种预测压缩编码方法 筒单, 而且较低码率, 信噪比(PSNR )小于 45dB的情况下, 可以获得 比第二种方法更好的编码效率。但是在较高的码率, PSNR大于 45dB的 情况下, 无法获得更好的编码效率。  The first prior art predictive compression coding method based on the first sampling format of the prior art is implemented, and the second predictive compression coding method based on the first sampling format is implemented, and the lower code rate is achieved. When the signal-to-noise ratio (PSNR) is less than 45 dB, better coding efficiency than the second method can be obtained. However, at higher bit rates and PSNR greater than 45 dB, better coding efficiency cannot be obtained.
现有技术的第二种基于第一种采样格式的第一种预测压缩编码方 法, 分别为每个分量选取块划分和第一种预测模式组合进行第一种预测 编码, 因此在 PSNR大于 45dB, 较高的码率的情况下, 可以获取较好的 编码效率, 但是在 PSNR小于 45dB, 较低的码率的情况下, 由于这种方 法需要携带大量的头信息及第一种预测模式信息, 因此编码效率较差。  A second type of predictive compression coding method based on the first sampling format in the prior art, which performs a first type of predictive coding for each component selection block partition and a first prediction mode combination, so that the PSNR is greater than 45 dB, In the case of a higher code rate, better coding efficiency can be obtained, but in the case where the PSNR is less than 45 dB and the bit rate is low, since this method needs to carry a large amount of header information and the first prediction mode information, Therefore, the coding efficiency is poor.
现有技术提供了两种基于第一种采样格式的视频第二种预测压缩编 码方法。 所述第二种预测压缩编码方法为当前图象的预测结果由该幅图 象内或其它图象的信息预测得到, 即指帧间预测压缩编码方法。  The prior art provides two video second prediction compression coding methods based on the first sampling format. The second predictive compression coding method predicts that the prediction result of the current picture is predicted from information in the picture or other pictures, that is, the inter prediction compression coding method.
在第一种基于第一种采样格式的第二种预测编码方法中, 对输入的 需要压缩编码的视频图像序列的每个分量选取相同的第二种预测模式 和运动矢量参数进行第二种预测压缩编码。 图 3为现有技术第一种基于第一种采样格式的第二种预测压缩编码 系统的结构图。 该系统包括: 分别接收 n个分量的 n个第二种预测压缩 编码单元、 运动矢量选择单元、 第二种预测模式选择单元、 以及熵编码 单元。 In the first second predictive coding method based on the first sampling format, the second prediction mode and the motion vector parameter are selected for each component of the input video image sequence that needs to be compression-coded for the second prediction. Compression coding. 3 is a structural diagram of a second predictive compression coding system based on the first sampling format in the prior art. The system includes: n second prediction compression coding units, motion vector selection units, second prediction mode selection units, and entropy coding units that respectively receive n components.
其中, 第一个第二种预测压缩编码单元, 接收第一分量, 并将其发 送给运动矢量选择单元。  The first second predictive compression coding unit receives the first component and sends it to the motion vector selection unit.
运动矢量选择单元, 在当前所有第二种预测模式内, 对接收到的第 一分量在每一种第二种预测模式下进行运动搜索, 按照选取的代价函数 确定其最佳匹配的块对应的运动矢量参数, 并发送给每个第二种预测压 缩编码单元;  The motion vector selecting unit performs motion search on each received second component in each of the second prediction modes in all current second prediction modes, and determines a block corresponding to the best matching according to the selected cost function. a motion vector parameter, and sent to each of the second predictive compression coding units;
每个第二种预测压缩编码单元, 分别根据接收到的运动矢量参数计 算各自接收到的分量在每一种第二种预测模式下的编码效率值, 并发送 给预测模式选择单元;  Each second prediction compression coding unit calculates an coding efficiency value of each received component in each of the second prediction modes according to the received motion vector parameter, and sends the coding efficiency value to the prediction mode selection unit;
预测模式选择单元, 将接收到的 n个第二种预测压缩编码单元发送 的相同的第二种预测模式的编码效率值相加, 得出 n个分量对应每一个 第二种预测模式的共同编码效率值, 并将选取的 n个分量的共同编码效 率值最好的第二种预测模式通知 n个预测压缩编码单元;  The prediction mode selecting unit adds the coding efficiency values of the same second prediction mode sent by the received n second prediction compression coding units, and obtains a common coding of n components corresponding to each second prediction mode. An efficiency value, and notifying the n prediction compression coding units of the second prediction mode with the best common coding efficiency value of the selected n components;
然后每个预测压缩编码单元分别按照第二种预测模式选择单元选取 的第二种预测模式对接收到的每个分量进行第二种预测压缩编码。  Each of the predictive compression coding units then performs a second predictive compression coding on each of the received components in accordance with the second prediction mode selected by the second prediction mode selection unit.
熵编码单元, 用于对接收到的编码后的分量进行熵编码处理后, 输 出比特危。  The entropy coding unit is configured to perform bit entropy coding on the received encoded component, and output a bit crisis.
在第二种基于第一种采样格式的第二种预测编码方法中, 对输入的 需要压缩编码的视频图像序列的 n个分量分别独立地选取最佳的第二种 预测模式, 并独立地传输每个分量对应的运动矢量参数。 具体的帧间预 测编码方法过程为: 在当前所有第二种预测模式内, 对 n个分量在每一 种第二种预测模式下分别进行运动搜索, 按照选取的代价函数确定每一 个分量最佳匹配的块对应的运动矢量参数, 并计算每一个分量在每一种 第二种预测模式下的编码效率值, 选取每一个分量的编码效率最好的第 二种预测模式对该分量进行第二种预测压缩编码。 In a second second type of predictive coding method based on the first sampling format, the n components of the input video image sequence that need to be compression-coded are independently selected from the best second prediction mode, and are independently transmitted. The motion vector parameter corresponding to each component. The specific inter-prediction coding method process is: in all current second prediction modes, for n components in each In the second prediction mode, motion search is performed separately, and the motion vector parameters corresponding to the best matching block of each component are determined according to the selected cost function, and the coding efficiency of each component in each second prediction mode is calculated. Value, the second prediction mode with the best coding efficiency of each component is selected to perform the second prediction compression coding on the component.
图 4为现有技术第二种基于第一种采样格式的第二种预测压缩编码 系统的结构图。 该系统包括: 分别接收 n个分量的 n个第二种预测压缩 编码单元、 n个运动矢量选择单元、 n个第二种预测模式选择单元、 以 及熵编码单元。  4 is a structural diagram of a second prediction compression coding system based on the first sampling format of the prior art. The system includes: n second predictive compression coding units, n motion vector selection units, n second prediction mode selection units, and entropy coding units that respectively receive n components.
其中, n个第二种预测压缩编码单元, 分别接收 n个分量, 并将其 发送给相应的 n个运动矢量选择单元。  The n second prediction compression coding units respectively receive n components and send them to the corresponding n motion vector selection units.
n个运动矢量选择单元,分别在当前所有第二种预测模式工具集内, 对接收到的分量在每一种第二种预测模式下进行运动搜索, 按照选取的 代价函数确定其最佳匹配的块对应的运动矢量参数, 并发送给对应的第 二种预测压缩编码单元;  n motion vector selection units respectively perform motion search on the received components in each of the second prediction modes in all current second prediction mode tool sets, and determine the best matching according to the selected cost function. a motion vector parameter corresponding to the block, and sent to the corresponding second predictive compression coding unit;
n 个预测压缩编码单元, 分别根据接收到的运动矢量参数计算各自 接收到的分量在每一种第二种预测模式下的编码效率值, 并选取编码效 率最佳的第二种预测模式对接收到的分量进行第二种预测压缩编码  n prediction compression coding units respectively calculate coding efficiency values of respective received components in each of the second prediction modes according to the received motion vector parameters, and select a second prediction mode pair with the best coding efficiency to receive Second-order predictive compression coding
熵编码单元, 用于对接收到的编码后的分量进行熵编码处理后, 输 出比特危。  The entropy coding unit is configured to perform bit entropy coding on the received encoded component, and output a bit crisis.
现有技术的第一种基于第一种采样格式的视频第二种预测压缩编码 方法, 实现起来比第二种基于第一种采样格式的视频第二种预测压缩编 码方法筒单, 而且较低码率, 信噪比(PSNR )小于 45dB的情况下, 由 于其所需要传输的头信息、 第二种预测模式和运动矢量参数比第二种方 法少, 因此可以获得比第二种方法更好的编码效率。 但是在 PSNR大于 45dB, 较高的码率的情况下, 这种方法由于对每个分量采用相同的运动 矢量参数和第二种预测模式进行第二种预测压缩编码, 而无法获得良好 的编码效率。 The first video predictive compression coding method based on the first sampling format of the prior art is implemented, and is implemented lower than the second video prediction coding method based on the second sampling format. When the code rate and signal-to-noise ratio (PSNR) are less than 45dB, since the header information, the second prediction mode and the motion vector parameter that need to be transmitted are less than the second method, it is better to obtain a better method than the second method. The coding efficiency. But in the case of a PSNR greater than 45 dB, a higher code rate, this method uses the same motion for each component. The vector parameter and the second prediction mode perform the second predictive compression coding, and a good coding efficiency cannot be obtained.
现有技术的第二种基于第一种采样格式的视频第二种预测压缩编码 方法, 分别为每个分量选取运动矢量参数和第二种预测模式进行第二种 预测编码, 因此在 PSNR大于 45dB, 较高的码率的情况下, 可以获取良 好的编码效率, 但是在 PSNR小于 45dB, 较低的码率的情况下, 由于这 种方法需要携带大量的头信息、 第二种预测模式信息和运动矢量参数, 因此编码效率较差。  A second video predictive compression coding method based on the first sampling format of the prior art, which respectively selects a motion vector parameter for each component and a second prediction mode for the second prediction mode, so that the PSNR is greater than 45 dB. In the case of a higher code rate, good coding efficiency can be obtained, but in the case where the PSNR is less than 45 dB and the bit rate is low, since this method needs to carry a large amount of header information, the second prediction mode information, and Motion vector parameters, so coding efficiency is poor.
所述第一种预测编码方法和第二种预测编码方法可以对视频图象的 每一幅图象选择性地进行, 从而形成完整的视频图象预测编码方法。  The first predictive coding method and the second predictive coding method can selectively perform each image of a video image to form a complete video image predictive coding method.
因此,为了保证第一种和第二种预测压缩编码具有良好的编码效率, 现有技术中需要根据不同的应用情况选取不同的方法, 造成使用上的不 便。 发明内容  Therefore, in order to ensure that the first and second predictive compression coding have good coding efficiency, the prior art needs to select different methods according to different application situations, resulting in inconvenience in use. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种预测压缩编码方法, 能 够保证预测编码具有良好的编码效率。  In view of this, the main object of the present invention is to provide a predictive compression coding method capable of ensuring good coding efficiency of predictive coding.
本发明的另一主要目的在于提供一种预测压缩编码系统, 能够保证 预测编码具有良好的编码效率。  Another main object of the present invention is to provide a predictive compression coding system capable of ensuring good coding efficiency of predictive coding.
为了达到上述目的的第一方面, 本发明实施例提供了一种预测压缩 编码方法, 该方法包括:  In order to achieve the first aspect of the foregoing, an embodiment of the present invention provides a predictive compression coding method, where the method includes:
根据图像的各分量的特征信息, 从所述分量中选取第一分量; 分析第一分量的至少两种预测方式, 根据分析结果选择一种预测方 式对第一分量进行预测压缩编码; 分析其余分量的至少两种预测方式, 根据分析结果选择一种预测方式对其余分量进行预测压缩编码。 为了达到上述目的的第二方面, 本发明实施例提供了一种预测压缩 编码系统, 该系统包括: 至少三个预测压缩编码单元和至少三个模式选 择单元, 其中, And selecting, according to the feature information of each component of the image, the first component from the components; analyzing at least two prediction modes of the first component, selecting a prediction mode according to the analysis result, performing predictive compression coding on the first component; analyzing the remaining components At least two prediction methods are performed, and a prediction mode is selected according to the analysis result to perform predictive compression coding on the remaining components. In order to achieve the second aspect of the present invention, an embodiment of the present invention provides a predictive compression coding system, where the system includes: at least three predictive compression coding units and at least three mode selection units, where
第一预测压缩编码单元, 用于分析第一分量的预测方式, 根据分析 结果选择一种预测方式对第一分量进行预测压缩编码;  a first prediction compression coding unit, configured to analyze a prediction manner of the first component, and select a prediction manner according to the analysis result to perform predictive compression coding on the first component;
其余的预测压缩编码单元, 用于分别分析其余分量的预测方式, 并 将分析结果发送给所述模式选择单元, 并按照所述模式选择单元通知的 预测方式对其余分量进行预测压缩编码;  And the remaining prediction compression coding unit is configured to separately analyze prediction modes of the remaining components, and send the analysis result to the mode selection unit, and perform prediction compression coding on the remaining components according to the prediction manner notified by the mode selection unit;
所述模式选择单元,用于根据接收到的分析结果选取一种预测方式, 通知所述其余预测压缩编码单元。  The mode selection unit is configured to select a prediction mode according to the received analysis result, and notify the remaining prediction compression coding unit.
由以上技术方案可见, 本发明实施例提供的预测压缩编码方法和系 统, 通过分析各分量的特征信息, 选取第一分量, 为第一分量单独选取 块划分和预测模式组合进行预测压缩编码, 并为其余分量选取共同的块 划分和预测模式组合进行相同的帧内压缩预测编码。  As can be seen from the foregoing technical solutions, the predictive compression coding method and system provided by the embodiments of the present invention, by analyzing the feature information of each component, selecting the first component, separately selecting the block partition and the prediction mode combination for the first component to perform predictive compression coding, and The same intra block compression prediction coding is performed by selecting a common block partitioning and prediction mode combination for the remaining components.
对于第一种预测压缩编码方法而言, 本发明实施例提供的方法和系 统即克服了图 1所示第一种预测压缩编码方法在 PSNR较高的情况下, 例如大于 45dB , 无法获得良好的编码效率的问题, 同时也解决了图 2 第一种预测编码方法在 PSNR较低的情况下,例如小于 45dB, 由于需要 携带大量块头信息和预测模式信息导致的编码效率较差的问题。  For the first predictive compression coding method, the method and system provided by the embodiments of the present invention overcome the first predictive compression coding method shown in FIG. 1 in the case where the PSNR is high, for example, greater than 45 dB, and the good is not obtained. The problem of coding efficiency also solves the problem that the first predictive coding method of Fig. 2 has poor coding efficiency due to the need to carry a large amount of block header information and prediction mode information in the case where the PSNR is low, for example, less than 45 dB.
对于第二种预测压缩编码方法而言, 本发明实施例提供的方法和系 统,即克服了图 3所示第二种预测压缩编码方法在 PSNR较高的情况下, 例如大于 45dB,无法获得良好的编码效率问题, 同时也解决了图 4所示 第二种预测编码方法在 PSNR较低的情况下,例如小于 45dB, 由于需要 携带大量块头信息、 第二种预测模式信息以及运动矢量参数信息导致的 编码效率性能较差的问题。 总之, 利用本发明实施例提供的预测压缩编码方法和系统, 无论For the second predictive compression coding method, the method and system provided by the embodiments of the present invention overcome the second predictive compression coding method shown in FIG. 3, in the case where the PSNR is high, for example, greater than 45 dB, which cannot be obtained well. The coding efficiency problem also solves the second prediction coding method shown in FIG. 4, in the case of a low PSNR, for example, less than 45 dB, due to the need to carry a large amount of block header information, second prediction mode information, and motion vector parameter information. The problem of poor coding performance is poor. In summary, the predictive compression coding method and system provided by the embodiments of the present invention are utilized.
PSNR值处于什么范围, 都可以获得良好的编码效率。 附图简要说明 The range of PSNR values is good, and good coding efficiency can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为现有技术第一种基于第一种采样格式的第一种预测压缩编码 方法对应的系统结构图;  1 is a system structural diagram corresponding to a first prediction compression coding method based on a first sampling format in the prior art;
图 1为现有技术第二种基于第一种采样格式的第一种预测压缩编码 方法对应的系统结构图;  1 is a system structure diagram corresponding to a first prediction compression coding method based on a first sampling format in the prior art;
图 3为现有技术第一种基于第一种采样格式的第二种预测压缩编码 方法对应的系统结构图;  3 is a system structure diagram corresponding to a second prediction compression coding method based on the first sampling format in the prior art;
图 4为现有技术第二种基于第一种采样格式的第二种预测压缩编码 方法对应的系统结构图;  4 is a system structure diagram corresponding to a second prediction compression coding method based on the first sampling format in the prior art;
图 5为本发明实施例的基于第一种采样格式的第一种预测压缩编码 方法的流程图;  FIG. 5 is a flowchart of a first predictive compression coding method based on a first sampling format according to an embodiment of the present invention; FIG.
图 6为应用图 5所示方法的第一种预测压缩编码系统的结构图; 图 7为本发明实施例的基于第一种采样格式的第二种预测压缩编码 方法的流程图;  6 is a structural diagram of a first predictive compression coding system applying the method shown in FIG. 5; FIG. 7 is a flowchart of a second predictive compression coding method based on a first sampling format according to an embodiment of the present invention;
图 8为应用图 7所示方法的第二种预测压缩编码系统的结构图。 实施本发明的方式  Fig. 8 is a structural diagram of a second predictive compression coding system to which the method shown in Fig. 7 is applied. Mode for carrying out the invention
为使本发明的目的、 技术方案和有益效果更加清楚明白, 下面结合 实施例和附图, 对本发明#文进一步地详细说明。  In order to make the objects, technical solutions and advantageous effects of the present invention more comprehensible, the present invention will be further described in detail below with reference to the embodiments and the accompanying drawings.
本发明实施例提供的预测编码方法, 包括如下步骤:  The predictive coding method provided by the embodiment of the present invention includes the following steps:
A、 通过分析各分量的特征信息, 选取第一分量;  A. selecting the first component by analyzing the feature information of each component;
B、 在相同的块划分种类中, 分析第一分量的预测方式, 根据分析 结果, 选择一种预测方式对第一分量进行预测压缩编码; 分析其余分量 的预测方式, 根据分析结果, 选择一种预测方式对其余分量进行预测压 缩编码。 B. In the same block division type, analyze the prediction method of the first component, according to the analysis As a result, a prediction method is selected to perform predictive compression coding on the first component; the prediction mode of the remaining components is analyzed, and according to the analysis result, a prediction mode is selected to perform predictive compression coding on the remaining components.
这里, 所述分析各分量的预测方式可以为分析各分量的预测方式的 编码效率或率失真率(RDcost )值。  Here, the prediction method for analyzing each component may be an encoding efficiency or a rate distortion rate (RDcost) value for analyzing a prediction mode of each component.
所述预测模式为第一种预测模式时, 所述预测压缩编码为第一种预 测压缩编码, 相应的预测方式为块划分和帧内预测压缩编码对应的预测 模式组合。 所述预测模式为第二种预测模式时, 所述预测压缩编码为第 二种预测压缩编码, 相应的预测方式为帧间预测压缩编码对应的预测模 式和运动矢量参数组合。  When the prediction mode is the first prediction mode, the prediction compression coding is the first prediction compression coding, and the corresponding prediction mode is a prediction mode combination corresponding to the block division and the intra prediction compression coding. When the prediction mode is the second prediction mode, the prediction compression coding is a second prediction compression coding, and the corresponding prediction mode is a combination of a prediction mode and a motion vector parameter corresponding to the inter prediction compression coding.
所述分析特征信息可以为分析各分量的纹理信息或直方图统计。 如 果通过分析各分量的纹理信息选取第一分量, 则当采用 RGB 色彩空间 时, 第一分量为 G分量, 其余分量为 R和 B分量; 当采用 YCbCr色彩 空间时, 第一分量为 Y分量, 其余分量为 Cb和 Cr分量。  The analysis feature information may be analysis of texture information or histogram statistics of each component. If the first component is selected by analyzing the texture information of each component, when the RGB color space is adopted, the first component is the G component, and the remaining components are the R and B components; when the YCbCr color space is used, the first component is the Y component. The remaining components are the Cb and Cr components.
本发明实施例提供的预测编码系统包括: 三个或三个以上预测压缩 编码单元和模式选择单元,  The predictive coding system provided by the embodiment of the present invention includes: three or more predictive compression coding units and a mode selection unit,
其中, 第一预测压缩编码单元, 分析第一分量的块划分和预测模式 组合, 根据分析结果, 选择一种块划分和预测模式组合对第一分量进行 预测压缩编码;  The first prediction compression coding unit analyzes the block division and the prediction mode combination of the first component, and selects a block division and a prediction mode combination to perform prediction compression coding on the first component according to the analysis result;
其余的预测压缩编码单元, 分别分析其余分量的块划分和预测模式 组合, 并将分析结果发送给所述模式选择单元, 并按照所述模式选择单 元通知的块划分和预测模式组合对其余分量进行预测压缩编码;  And the remaining prediction compression coding units respectively analyze the block division and the prediction mode combination of the remaining components, and send the analysis result to the mode selection unit, and perform the remaining components according to the block division and the prediction mode combination notified by the mode selection unit. Predictive compression coding;
所述模式选择单元, 根据接收到的分析结果选取一种块划分和预测 模式组合, 通知所述其余预测压缩编码单元。  The mode selection unit selects a block division and prediction mode combination according to the received analysis result, and notifies the remaining prediction compression coding unit.
这里, 所述预测模式为第一种预测模式时, 所述预测压缩编码为第 一种预测压缩编码; 所述预测模式为第二种预测模式时, 所述预测压缩 编码为第二种预测压缩编码。 Here, when the prediction mode is the first prediction mode, the prediction compression coding is A predictive compression coding; when the prediction mode is a second prediction mode, the prediction compression coding is a second prediction compression coding.
图 5至图 8的实施例中, 设定分量个数为 3个, 并且第一分量选取 的原则为: 选取三个分量中包含最多纹理信息的分量为第一分量。 分析 每一种块划分和预测模式组合为分析各分量在每一种块划分和预测模 式组合下的 RDcost值。  In the embodiment of FIG. 5 to FIG. 8, the number of set components is three, and the principle of selecting the first component is: selecting the component containing the most texture information among the three components as the first component. Analysis Each block partitioning and prediction mode combination is to analyze the RDcost values of each component under each block partitioning and prediction mode combination.
图 5为本发明实施例的基于第一种采样格式的第一种预测压缩编码 方法的流程图, 第一种预测压缩编码即为帧内预测压缩编码, 该流程包 括如下步骤:  FIG. 5 is a flowchart of a first predictive compression coding method based on a first sampling format according to an embodiment of the present invention. The first predictive compression coding is intra prediction compression coding, and the process includes the following steps:
步骤 501 , 分析接收到的 3个分量的纹理信息, 选取包含纹理信息 最多的分量为第一分量, 计算每一种块划分和帧内预测模式组合下, 第 一分量的第一 RDcost值, 以及其余两个分量共同的第二 RDcost值。  Step 501: Analyze the texture information of the received three components, select a component that includes the most texture information as the first component, and calculate a first RDcost value of the first component under each combination of the block partitioning and the intra prediction mode, and The second RDcost value common to the remaining two components.
计算第一分量在每一种块划分和帧内预测模式组合下的 RDcost值 的方法为:  The method for calculating the RDcost value of the first component in each of the block partitioning and intra prediction mode combinations is:
RDcost_l = Distortion_l + LamadaxBitrate_l。  RDcost_l = Distortion_l + LamadaxBitrate_l.
其中, RDcost_l表示第一 RDcost值; Distortion_l表示第一个分量 的失真量, Lamada为拉格朗日系数, Bitrate_l表示第一分量的比特率。  Where RDcost_l represents the first RDcost value; Distortion_l represents the distortion of the first component, Lamada is the Lagrangian coefficient, and Bitrate_l represents the bit rate of the first component.
计算其余两个分量在一种块划分和帧内预测模式组合下共同的 Calculate the remaining two components in common under a combination of block partitioning and intra prediction modes
RDcost值的方法为: The method of RDcost value is:
RDcost_2 = ( Distortion_2 + Distortion_3 ) + Lamadax (  RDcost_2 = ( Distortion_2 + Distortion_3 ) + Lamadax (
Bitrate _2 + Bitrate _3 )。  Bitrate _2 + Bitrate _3 ).
其中, RDcost_2表示第二 RDcost值; Distortion_2和 Distortion_3 分别表示第二和第三分量的失真量, Lamada为拉格朗日系数, Bitrate _2 和 Bitrate _3分别表示第二和第三分量的比特率。  Where RDcost_2 represents the second RDcost value; Distortion_2 and Distortion_3 represent the distortion of the second and third components, respectively, Lamada is the Lagrangian coefficient, and Bitrate _2 and Bitrate _3 represent the bitrates of the second and third components, respectively.
块划分和帧内预测模式组合的种类和个数由采用的视频编码标准平 台决定。 假设在给定的视频编解码标准平台: 块划分种类有 3种: 第一 种块划分方式为每块中有十六行, 每行有十六个象素; 第二种块划分方 式为: 每块中有八行, 每行有八个象素; 第三种块划分方式为: 每块中 有四行,每行有四个象素。其中对应第一种块划分方式有五种预测模式, 对应第二种块划分方式有九种预测模式, 对应第三种块划分方式有九种 预测模式。 预测模式定义为: 当前块中某一象素的预测值等于 fj(xi,yi, i=l-ni), (xi,yi), j=l-m是当前块周围的象素, f是预测函数, 共有 m种预 测模式。 The type and number of combinations of block partitioning and intra prediction modes are flat by the adopted video coding standard. Taiwan decided. Assume that in a given video codec standard platform: There are three types of block partitioning: The first block partitioning method has sixteen rows in each block, and each row has sixteen pixels; the second block is divided into: There are eight rows in each block, each row has eight pixels; the third block is divided into four rows with four pixels per row. There are five prediction modes corresponding to the first block division mode, and nine prediction modes corresponding to the second block division mode, and nine prediction modes corresponding to the third block division mode. The prediction mode is defined as: The predicted value of a pixel in the current block is equal to fj(xi, yi, i=l-ni), (xi, yi), j=lm is the pixel around the current block, and f is the prediction function. There are a total of m prediction modes.
步骤 502,选择第一 RDcost值最小的块划分和帧内预测模式组合对 第一分量进行预测压缩编码; 选择第二 RDcost值最小的块划分和帧内 预测模式组合分别对其余两个分量进行预测压缩编码。  Step 502: Select a block division and an intra prediction mode combination with the smallest RDcost value to perform predictive compression coding on the first component, and select a block division and an intra prediction mode combination with the second RDcost value to predict the remaining two components respectively. Compression coding.
图 6为应用图 5所示方法的第一种预测压缩编码系统的结构图。 该 系统包括: 分别接收第一、 第二和第三分量的第一、 第二、 第三帧内预 测压缩编码单元、 模式选择单元、 以及熵编码单元。  Fig. 6 is a structural diagram of a first predictive compression coding system to which the method shown in Fig. 5 is applied. The system includes: first, second, and third intra-frame predictive compression coding units, mode selection units, and entropy coding units that respectively receive the first, second, and third components.
其中, 第一帧内预测压缩编码单元, 用于计算含有最多纹理信息的 第一分量在每一种块划分和预测模式组合下的 RDcost值,并选择 RDcost 值最小的块划分预测模式组合对第一分量进行预测压缩编码;  The first intra-frame prediction compression coding unit is configured to calculate an RDcost value of the first component with the most texture information in each block partitioning and prediction mode combination, and select a block partition prediction mode combination pair with the smallest RDcost value. One component performs predictive compression coding;
第二和第三帧内预测压缩编码单元, 用于分别计算其余两个分量在 每一种块划分和帧内预测模式组合下的 RDcost值, 并将计算的 RDcost 值发送给模式选择单元;  And second and third intra-frame prediction compression coding units, configured to separately calculate RDcost values of each of the two block components and the intra prediction mode combination, and send the calculated RDcost value to the mode selection unit;
模式选择单元, 将接收到的第二和第三帧内预测压缩编码单元发送 的相同块划分和帧内预测模式组合的 RDcost值相加, 得出其余两个分 量对应每一个块划分和帧内预测模式组合的共同 RDcost值, 并将选取 的其余两个分量的共同 RDcost值最小的块划分和帧内预测模式组合, 通知第二和第三帧内预测压缩编码单元; 第二和第三帧内预测压缩编码单元分别按照模式选择单元选取的块 划分和预测模式组合对接收到的分量进行预测压缩编码。 The mode selection unit adds the RDcost values of the combination of the same block division and the intra prediction mode sent by the received second and third intra-frame prediction compression coding units, and obtains that the remaining two components correspond to each block division and intraframe. Predicting a common RDcost value of the mode combination, and combining the block division and the intra prediction mode with the smallest common RDcost value of the remaining two components, and notifying the second and third intra prediction compression coding units; The second and third intra-prediction compression coding units perform predictive compression coding on the received components according to the block division and the prediction mode combination selected by the mode selection unit, respectively.
熵编码单元, 用于对接收到的编码后的分量进行熵编码处理后, 输 出比特危。  The entropy coding unit is configured to perform bit entropy coding on the received encoded component, and output a bit crisis.
图 7为本发明实施例的基于第一种采样格式的第二种预测压缩编码 方法的流程图, 第二种预测压缩编码即为帧间预测压缩编码, 该流程包 括如下步骤:  FIG. 7 is a flowchart of a second prediction compression coding method based on a first sampling format according to an embodiment of the present invention, where the second prediction compression coding is inter prediction compression coding, and the process includes the following steps:
步骤 701 , 分析接收到的 3个分量的纹理信息, 选取包含纹理信息 最多的分量为第一分量, 对第一分量在每一种帧间预测模式下进行运动 搜索, 按照选取的代价函数确定其最佳匹配的块对应的运动矢量 MV参 数, 计算每一种帧间预测模式下第一分量的第一 RDcost值;  Step 701: Analyze the texture information of the received three components, select a component that includes the most texture information as the first component, perform a motion search on the first component in each inter prediction mode, and determine the cost according to the selected cost function. Calculating a first RDcost value of the first component in each inter prediction mode according to a motion vector MV parameter corresponding to the best matched block;
在每一种帧间预测模式下, 对其余两个分量进行运动搜索, 按照选 取的代价函数确定其余两个分量共同的最佳匹配的块对应的 MV参数, 计算每一种帧间预测模式下, 其余两个分量共同的第二 RDcost值。  In each inter prediction mode, the motion search is performed on the remaining two components, and the MV parameters corresponding to the best matching blocks of the remaining two components are determined according to the selected cost function, and each inter prediction mode is calculated. , the second RDcost value common to the remaining two components.
计算第一分量在每一种帧间预测模式下的 RDcost值的方法为: The method for calculating the RDcost value of the first component in each inter prediction mode is:
RDcost_l = Distortion_l + LamadaxBitrate_l。 RDcost_l = Distortion_l + LamadaxBitrate_l.
其中, RDcost_l表示第一 RDcost值; Distortion_l表示第一个分量 的失真量, Lamada为拉格朗日系数, Bitrate_l表示第一分量的比特率。  Where RDcost_l represents the first RDcost value; Distortion_l represents the distortion of the first component, Lamada is the Lagrangian coefficient, and Bitrate_l represents the bit rate of the first component.
计算其余两个分量在一种块划分和帧内预测模式组合下共同的 Calculate the remaining two components in common under a combination of block partitioning and intra prediction modes
RDcost值的方法为: The method of RDcost value is:
RDcost_2 = ( Distortion_2 + Distortion_3 ) + Lamadax (  RDcost_2 = ( Distortion_2 + Distortion_3 ) + Lamadax (
Bitrate _2 + Bitrate _3 )。  Bitrate _2 + Bitrate _3 ).
其中, RDcost_2表示第二 RDcost值; Distortion_2和 Distortion_3 分别表示第二和第三分量的失真量, Lamada为拉格朗日系数, Bitrate _2 和 Bitrate _3分别表示第二和第三分量的比特率。 帧间预测模式包含的帧间预测模式的种类和个数由采用的视频编 码标准平台决定。 假设在给定的视频编解码标准平台, 帧间预测编码方 法的模式, 共有 n中, 当前块中某一象素的预测值等于 j(xi,yi, i=l-ni), (xi,yi), j=l-n是当前图象内当前块周围的象素, 或者是其它图象内的象 素, g是预测函数, 共有 n个。 Where RDcost_2 represents the second RDcost value; Distortion_2 and Distortion_3 represent the distortion amounts of the second and third components, respectively, Lamada is the Lagrangian coefficient, and Bitrate _2 and Bitrate _3 represent the bitrates of the second and third components, respectively. The type and number of inter prediction modes included in the inter prediction mode are determined by the adopted video coding standard platform. Suppose that in a given video codec standard platform, the mode of the interframe predictive coding method, in n, the predicted value of a pixel in the current block is equal to j(xi, yi, i=l-ni), (xi, Yi), j=ln is the pixel around the current block in the current image, or the pixel in other images, g is the prediction function, there are n total.
步骤 702, 选取第一 RDcost值最小的帧间预测模式对第一分量进 行帧间预测编码; 选取第二 RDcost值最小的帧间预测模式分别对其余 两个分量进行帧间预测编码。  Step 702: Select an inter prediction mode with a first RDcost value to perform inter prediction coding on the first component, and select an inter prediction mode with a second RDcost value to perform inter prediction coding on the other two components.
在计算其余两个分量在上述 n种模式下的共同的 RDcost值时,采用 上述的每一种模式的方法为这两个分量确定同一个 MV参数, 然后分别 计算这两个分量在该模式下对应的 RDcost值, 再求出两个 RDcost值之 和, 作为这两个分量的共同的 RDcost值。 When calculating the common RDcost value of the remaining two components in the above n modes, the same MV parameter is determined for each of the two components by using each of the above modes, and then the two components are respectively calculated in the mode. The corresponding RDcost value is used to find the sum of the two RDcost values as the common RDcost value of the two components.
图 8为应用图 7所示方法的第二种预测压缩编码系统的结构图。 该 系统包括: 分别接收第一、 第二和第三分量的第一、 第二、 第三帧间预 测压缩编码单元、 第一和第二运动矢量选择单元、 帧间预测模式选择单 元、 以及熵编码单元。  Fig. 8 is a structural diagram of a second predictive compression coding system to which the method shown in Fig. 7 is applied. The system includes: first, second, and third inter-frame prediction compression coding units, first and second motion vector selection units, inter prediction mode selection units, and entropy that respectively receive the first, second, and third components Coding unit.
其中, 第一运动矢量选择单元, 用于在当前所用标准平台的帧间预 测模式工具集内, 对含有最多纹理信息的第一分量在每一种帧间预测模 式下进行运动搜索, 按照选取的代价函数确定其最佳匹配的块对应的运 动矢量 MV参数, 并发送给第一帧间预测压缩编码单元;  The first motion vector selection unit is configured to perform motion search in each inter prediction mode on the first component containing the most texture information in the inter prediction mode tool set of the currently used standard platform, according to the selected The cost function determines a motion vector MV parameter corresponding to the block that is best matched, and sends the motion vector MV parameter to the first inter prediction compression coding unit;
第一帧间预测压缩编码单元, 用于根据接收到的 MV参数, 计算每 一种帧间预测模式下第一分量的 RDcost值, 并选择 RDcost值最小的帧 间预测模式对第一分量进行帧间预测压缩编码;  The first inter-frame prediction compression coding unit is configured to calculate, according to the received MV parameter, an RDcost value of the first component in each inter prediction mode, and select an inter prediction mode with the smallest RDcost value to frame the first component. Inter-predictive compression coding;
第二运动矢量选择单元, 用于在当前所用标准平台的帧间预测模式 工具集内, 对其余两个分量在每一种帧间预测模式下进行运动搜索, 按 照选取的代价函数确定其余两个分量共同的最佳匹配的块对应的 MV参 数, 并发送给所述第二和第三帧间预测压缩编码单元; a second motion vector selecting unit, configured to perform motion search on each of the remaining two components in each inter prediction mode in the inter prediction mode tool set of the currently used standard platform, Determining, according to the selected cost function, an MV parameter corresponding to the best matching block of the remaining two components, and transmitting the MV parameter to the second and third inter prediction compression coding units;
第二和第三预测压缩编码单元, 分别根据接收到的 MV参数计算其 余两个分量在每一种帧间预测模式下的 RDcost值, 并发送给帧间预测 模式选择单元;  The second and third predictive compression coding units respectively calculate RDcost values of the remaining two components in each inter prediction mode according to the received MV parameters, and send the RDcost values to the inter prediction mode selection unit;
帧间预测模式选择单元, 将接收到的第二和第三预测压缩编码单元 发送的相同帧间预测模式的 RDcost值相加, 得出其余两个分量对应每 一个帧间预测模式的共同 RDcost值, 并将选取的其余两个分量的共同 RDcost值最小的帧间预测模式通知第二和第三预测压缩编码单元; 第二和第三预测压缩编码单元分别按照帧间预测模式选择单元选取 的帧间预测模式对接收到的分量进行帧间预测压缩编码。  The inter prediction mode selecting unit adds the RDcost values of the same inter prediction mode sent by the received second and third predictive compression coding units, and obtains a common RDcost value corresponding to each inter prediction mode of the remaining two components. And notifying the second and third predictive compression coding units of the inter prediction mode with the smallest common RDcost value of the remaining two components; the second and third predictive compression coding units respectively select the frame according to the inter prediction mode selection unit The inter prediction mode performs inter prediction compression coding on the received components.
熵编码单元, 用于对接收到的编码后的分量进行熵编码处理后, 输 出比特危。  The entropy coding unit is configured to perform bit entropy coding on the received encoded component, and output a bit crisis.
在上述两个实施例中, 分析图像各分量的特征信息时, 均分析了分 量的纹理信息, 并根据该纹理信息确定第一分量; 事实上, 也可以分析 图像分量的其他特征信息, 例如分析直方图统计信息, 并选取直方图统 计动态范围最大的分量作为第一分量。  In the above two embodiments, when analyzing the feature information of each component of the image, the texture information of the component is analyzed, and the first component is determined according to the texture information; in fact, other feature information of the image component may also be analyzed, for example, analysis. Histogram statistics, and select the component with the largest dynamic range of the histogram as the first component.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发 明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同 替换、 改进等, 均应包含在本发明的保护范围之内。  In summary, the above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求书 Claim
1、 一种预测压缩编码方法, 其特征在于, 该方法包括: A predictive compression coding method, characterized in that the method comprises:
根据图像的各分量的特征信息, 从所述分量中选取第一分量; 分析第一分量的至少两种预测方式, 根据分析结果选择一种预测方 式对第一分量进行预测压缩编码; 分析其余分量的至少两种预测方式, 根据分析结果选择一种预测方式对其余分量进行预测压缩编码。  And selecting, according to the feature information of each component of the image, the first component from the components; analyzing at least two prediction modes of the first component, selecting a prediction mode according to the analysis result, performing predictive compression coding on the first component; analyzing the remaining components At least two prediction methods are performed, and a prediction mode is selected according to the analysis result to perform predictive compression coding on the remaining components.
2、如权利要求 1所述的方法, 其特征在于, 所述分析第一分量的至 少两种预测方式组合为: 分析所述第一分量的至少两种预测方式的编码 效率或率失真率 RDcost值;  The method according to claim 1, wherein the analyzing the at least two prediction modes of the first component is: analyzing coding efficiency or rate distortion rate RDcost of at least two prediction modes of the first component Value
所述分析其余分量的至少两种预测方式为: 分析其余分量的至少两 种预测方式的编码效率或 RDcost值。  The at least two prediction manners of analyzing the remaining components are: analyzing coding efficiency or RDcost values of at least two prediction modes of the remaining components.
3、如权利要求 2所述的方法, 其特征在于, 所述分析其余分量的至 少两种预测方式的编码效率或 RDcost值包括:  3. The method according to claim 2, wherein the coding efficiency or RDcost value of the at least two prediction modes for analyzing the remaining components comprises:
针对其余分量中的每一个, 分别计算至少两种预测方式的编码效率 或 RDcost值; 在每种预测方式下, 对其余分量中每一个的编码效率或 RDcost值求和, 将求和结果作为其余分量的编码效率或 RDcost值。  For each of the remaining components, respectively calculate coding efficiency or RDcost value of at least two prediction modes; in each prediction mode, sum the coding efficiency or RDcost value of each of the remaining components, and use the summation result as the rest The coding efficiency of the component or the RDcost value.
4、 如权利要求 2所述的方法, 其特征在于, 所述根据分析结果选择 一种预测方式对第一分量进行预测压缩编码为: 根据分析结果选择 RDcost值最小的一种预测方式对第一分量进行预测压缩编码;  The method according to claim 2, wherein the predicting compression coding of the first component according to the analysis result is: selecting a prediction mode with the smallest RDcost value according to the analysis result to the first The component performs predictive compression coding;
所述根据分析结果选择一种预测方式对其余分量进行预测压缩编码 为: 根据分析结果选择 RDcost值最小的一种预测方式对其余分量进行 预测压缩编码。  According to the analysis result, a prediction mode is selected to perform predictive compression coding on the remaining components as follows: According to the analysis result, a prediction mode with the smallest RDcost value is selected to perform predictive compression coding on the remaining components.
5、如权利要求 1至 4任一项所述的方法, 其特征在于, 所述预测压 缩编码为帧内预测压缩编码; 所述预测方式为帧内预测压缩编码对应的块划分和预测模式的组 合。 The method according to any one of claims 1 to 4, wherein the predictive compression coding is intra prediction compression coding; The prediction mode is a combination of block partitioning and prediction mode corresponding to intra prediction compression coding.
6、如权利要求 1至 4任一项所述的方法, 其特征在于, 所述预测压 缩编码为帧间预测压缩编码, 所述预测方式为帧间预测压缩编码对应的 预测模式和运动矢量参数组合。  The method according to any one of claims 1 to 4, wherein the predictive compression coding is inter prediction compression coding, and the prediction mode is a prediction mode and a motion vector parameter corresponding to inter prediction compression coding. combination.
7、如权利要求 1至 4任一项所述的方法, 其特征在于, 所述根据图 像的各分量的特征信息, 从各分量中选取第一分量包括: 根据所述图像 的各分量的纹理信息或直方图统计, 从各所述分量中选取所述第一分 量。  The method according to any one of claims 1 to 4, wherein the selecting a first component from each component according to the feature information of each component of the image comprises: a texture according to each component of the image Information or histogram statistics, the first component being selected from each of the components.
8、如权利要求 7所述方法, 其特征在于, 所述根据图像的各分量的 特征信息, 从各分量中选取第一分量包括: 根据图像的各分量的纹理信 息, 从各分量中选取纹理信息最多的分量作为第一分量; 或根据图像的 各分量的直方图信息, 选取直方图统计动态范围最大的分量作为第一分 量。  The method according to claim 7, wherein the selecting the first component from each component according to the feature information of each component of the image comprises: selecting a texture from each component according to texture information of each component of the image The component with the most information is taken as the first component; or according to the histogram information of each component of the image, the component whose histogram statistical dynamic range is the largest is selected as the first component.
9、 一种预测压缩编码系统, 其特征在于, 该系统包括: 至少三个预 测压缩编码单元和至少三个模式选择单元, 其中,  A predictive compression coding system, the system comprising: at least three predictive compression coding units and at least three mode selection units, wherein
第一预测压缩编码单元, 用于分析第一分量的预测方式, 根据分析 结果选择一种预测方式对第一分量进行预测压缩编码;  a first prediction compression coding unit, configured to analyze a prediction manner of the first component, and select a prediction manner according to the analysis result to perform predictive compression coding on the first component;
其余的预测压缩编码单元, 用于分别分析其余分量的预测方式, 并 将分析结果发送给所述模式选择单元, 并按照所述模式选择单元通知的 预测方式对其余分量进行预测压缩编码;  And the remaining prediction compression coding unit is configured to separately analyze prediction modes of the remaining components, and send the analysis result to the mode selection unit, and perform prediction compression coding on the remaining components according to the prediction manner notified by the mode selection unit;
所述模式选择单元,用于根据接收到的分析结果选取一种预测方式, 通知所述其余预测压缩编码单元。  The mode selection unit is configured to select a prediction mode according to the received analysis result, and notify the remaining prediction compression coding unit.
10、 如权利要求 9所述的系统, 其特征在于, 所述第一预测压缩编 码单元为帧内预测压缩编码单元, 用于进行帧内预测压缩编码。 The system according to claim 9, wherein the first predictive compression coding unit is an intra prediction compression coding unit, configured to perform intra prediction compression coding.
11、 如权利要求 9所述的系统, 其特征在于, 所述第一预测压缩编 码单元为帧间预测压缩编码单元, 用于进行帧间预测压缩编码。 The system according to claim 9, wherein the first predictive compression coding unit is an inter prediction compression coding unit, configured to perform inter prediction compression coding.
PCT/CN2007/071170 2006-12-04 2007-12-04 A prediction compression encoding method and system WO2008067762A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610161042.9 2006-12-04
CN 200610161042 CN101198062A (en) 2006-12-04 2006-12-04 Method and system for estimating compression encoding

Publications (1)

Publication Number Publication Date
WO2008067762A1 true WO2008067762A1 (en) 2008-06-12

Family

ID=39491682

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/071170 WO2008067762A1 (en) 2006-12-04 2007-12-04 A prediction compression encoding method and system

Country Status (2)

Country Link
CN (1) CN101198062A (en)
WO (1) WO2008067762A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1754389A (en) * 2003-01-08 2006-03-29 苹果电脑有限公司 Method and apparatus for improved coding mode selection
CN1753500A (en) * 2005-10-31 2006-03-29 连展科技(天津)有限公司 Method of selecting in frame prediction mode based on H.264/AVC standard frame image
CN1784015A (en) * 2004-12-02 2006-06-07 中国科学院计算技术研究所 Inage predicting encoding method in frame

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1754389A (en) * 2003-01-08 2006-03-29 苹果电脑有限公司 Method and apparatus for improved coding mode selection
CN1784015A (en) * 2004-12-02 2006-06-07 中国科学院计算技术研究所 Inage predicting encoding method in frame
CN1753500A (en) * 2005-10-31 2006-03-29 连展科技(天津)有限公司 Method of selecting in frame prediction mode based on H.264/AVC standard frame image

Also Published As

Publication number Publication date
CN101198062A (en) 2008-06-11

Similar Documents

Publication Publication Date Title
JP5400876B2 (en) Rate control model adaptation based on slice dependency for video coding
CN105264888B (en) Coding strategy for adaptively switching to color space, color samples rate and/or bit-depth
CN1795680B (en) Method and apparatus for applying AVC intra-frame prediction to code digital vedio
TWI669955B (en) Video decoding/encoding apparatus and method, storage medium for storing bitstream
CN107005698B (en) Metadata hints to support best effort decoding
KR100739790B1 (en) Method and apparatus for deciding intra prediction mode
JP4391809B2 (en) System and method for adaptively encoding a sequence of images
CN111801945A (en) Hybrid motion compensated neural network with side information based video coding
CN100417228C (en) Method of selecting in frame prediction mode based on H.264/AVC standard frame image
Zhang et al. Chroma intra prediction based on inter-channel correlation for HEVC
US20050201627A1 (en) Methods and apparatus for performing fast mode decisions in video codecs
CN104780364A (en) Determining intra prediction mode of image coding unit and image decoding unit
CN106170092A (en) Fast encoding method for lossless coding
CN104853191B (en) A kind of HEVC fast encoding method
JP4391810B2 (en) System and method for adaptively encoding a sequence of images
US20110211637A1 (en) Method and system for compressing digital video streams
Zhang et al. Merge mode for deformable block motion information derivation
Kang et al. Multi-view distributed video coding with low-complexity inter-sensor communication over wireless video sensor networks
US9204155B2 (en) Multiple predictor set for intra coding with intra mode prediction
CN114189688B (en) Chrominance component prediction method based on luminance template matching
WO2008067762A1 (en) A prediction compression encoding method and system
CN114827616A (en) Compressed video quality enhancement method based on space-time information balance
JP2022069546A (en) Compound motion-compensated prediction
Urabe et al. MPEGTool: an X window based MPEG encoder and statistics tool
KR20040093253A (en) 16x16 intra luma prediction mode determining method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07817360

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07817360

Country of ref document: EP

Kind code of ref document: A1