WO2013155814A1 - View synthesis method and apparatus when encoding depth information and encoder - Google Patents

View synthesis method and apparatus when encoding depth information and encoder Download PDF

Info

Publication number
WO2013155814A1
WO2013155814A1 PCT/CN2012/080100 CN2012080100W WO2013155814A1 WO 2013155814 A1 WO2013155814 A1 WO 2013155814A1 CN 2012080100 W CN2012080100 W CN 2012080100W WO 2013155814 A1 WO2013155814 A1 WO 2013155814A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixels
pixel
viewpoint
depth image
synthesized
Prior art date
Application number
PCT/CN2012/080100
Other languages
French (fr)
Chinese (zh)
Inventor
贾杰
刘鸿彬
马思伟
王诗淇
Original Assignee
乐金电子(中国)研究开发中心有限公司
北京大学
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 乐金电子(中国)研究开发中心有限公司, 北京大学 filed Critical 乐金电子(中国)研究开发中心有限公司
Publication of WO2013155814A1 publication Critical patent/WO2013155814A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/161Encoding, multiplexing or demultiplexing different image signal components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/111Transformation of image signals corresponding to virtual viewpoints, e.g. spatial image interpolation

Abstract

A view synthesis method and apparatus when encoding depth information and an encoder are provided. The method includes: judging whether each line of pixels of a depth image encoding unit leads to variations of the pixel value of the synthesized view during the view synthesis when encoding the depth information; if judging that a certain line of pixels of the depth image encoding unit does not lead to the variations of the pixel value of the synthesized view, skipping the line during the view synthesis and proceeding the view synthesis without the line of pixels. The apparatus includes: a judging unit for judging whether each line of pixels of the depth image encoding unit leads to the variations of the pixel value of the synthesized view during the view synthesis when encoding the depth information; a view synthesis processing unit for, if judging that a certain line of pixels of the depth image encoding unit does not lead to the variations of the pixel value of the synthesized view, skipping the line during the view synthesis and proceeding the view synthesis without the line of pixels. The technical solutions mentioned above can reduce the time complexity of the encoding end while ensuring the encoding performance.

Description

一种编码深度信息时的视点合成方法、 装置及编码器 本申请要求于 2012 年 4 月 20 日提交中国专利局、 申请号为 201210119222.6 , 发明名称为 "一种编码深度信息时的视点合成方法、 装置 及编码器" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请 中。 技术领域  The present invention claims to be submitted to the Chinese Patent Office on April 20, 2012, and the application number is 201210119222.6. The invention name is "a method for synthesizing viewpoints when encoding depth information, The priority of the Chinese Patent Application for Apparatus and Encoder is hereby incorporated by reference in its entirety. Technical field
本发明涉及多媒体技术领域, 尤其涉及一种编码深度信息时的视点合成 方法、 装置及编码器。  The present invention relates to the field of multimedia technologies, and in particular, to a method, an apparatus, and an encoder for synthesizing a viewpoint when encoding depth information.
背景技术 Background technique
在第 98次 MPEG (Moving Pictures Experts Group, 动态图像专家组) 会议中, HHI (Heinrich Hertz Institute, 莱茵一赫兹研究所) 提出了一种在深 度图像压縮中基于合成视点失真信息的率失真优化算法。 在该算法中, 深度 图像的失真大小通过合成视点的失真变化来衡量, 具体可以表示为:  In the 98th MPEG (Moving Pictures Experts Group) conference, HHI (Heinrich Hertz Institute, Rhein-Hertz Institute) proposed a rate-distortion optimization based on synthetic viewpoint distortion information in depth image compression. algorithm. In this algorithm, the distortion size of the depth image is measured by the distortion variation of the synthesized viewpoint, which can be expressed as:
M) = - D = [ΡΓ (χ, y) - s (χ, y)f - [5 ( y) ~ s
Figure imgf000003_0001
y)f (丄) 其中, 代表应用原始紋理图像和原始深度信息合成的虚拟视 点。 同时, 编码深度信息时, 将一幅深度图像分为已编码, 当前编码和未编 码三类。 对于 和 , 都是选择应用失真的紋理图像进行合成。 区别在于, (X,W应用重构的已编码深度信息, 原始的当前编码单元的深度 信息和原始的其他像素深度信息进行合成, 而 应用重构的已编码深度 信息, 失真的当前编码单元深度信息和原始的其他像素深度信息进行合成。 可以看出, 如果当前失真的深度信息对视点合成没有影响, 那么 ΔΙ) = 0。 现有的技术方案是基于合成视点失真的变化情况对当前深度信息失真引 起的合成视点失真进行估计, 因此在实际编码中需要进行如下操作:
M) = - D = [Ρ Γ (χ, y) - s (χ, y)f - [ 5 ( y) ~ s
Figure imgf000003_0001
y)f (丄) where represents a virtual viewpoint synthesized using the original texture image and the original depth information. At the same time, when encoding the depth information, a depth image is divided into three types: encoded, current encoded and uncoded. For and , both select the texture image to which the distortion is applied for synthesis. The difference is that ( X , W applies the reconstructed coded depth information, the original depth information of the current coding unit and the original other pixel depth information are synthesized, and the reconstructed coded depth information is applied, the current coding unit depth of the distortion The information is synthesized with the original other pixel depth information. It can be seen that ΔΙ) = 0 if the depth information of the current distortion has no effect on the view synthesis. The existing technical solution is to estimate the synthesized viewpoint distortion caused by the current depth information distortion based on the change of the synthesized viewpoint distortion, so the following operations are required in the actual encoding:
1. 编码当前深度图像前, 对原始深度图像和原始紋理图像进行视点合 成, 即合成 '" 。 对原始深度图像和失真紋理图像进行视点合成, 即合 成 和 。 在编码过程开始之前 = g 。  1. Before encoding the current depth image, perform the viewpoint synthesis on the original depth image and the original texture image, that is, the composite '". Perform the viewpoint synthesis on the original depth image and the distorted texture image, that is, the synthesis and before the encoding process starts = g .
2.在编码当前深度图像编码单元时, 需要进行率失真计算。 设当前深度 图像编码单元的原始值为 B, 失真块为 B', 深度图像已编码区域的失真深度 信息为 Ρ',深度图像未编码区域的原始深度信息为 Η,则当前的 (X,W和 都是由 P,, B, H的深度信息绘制得到, 此时不需要更新 (x, (在 2.3中进行更新) 。 为了计算公式 (1)中的 ΔΖ) ,本发明实施例需要应用 B'更新 g(x, 。 在这个过程中, 只对 B'对应的合成视点 (χ, 中的像素进行重新绘 制, 这样就可以得到由 Ρ', Β', H的深度信息绘制的合成视点, 从而可以根据 公式 (1 ) 得到 ΔΟ, 并用它进行率失真计算。 2. When encoding the current depth image coding unit, rate distortion calculation is required. Let the original value of the current depth image coding unit be B, the distortion block be B', the distortion depth information of the coded area of the depth image is Ρ', and the original depth information of the uncoded area of the depth image is Η, then the current ( X , W The sum is drawn by the depth information of P, B, H, and does not need to be updated at this time ( x , (updated in 2.3). In order to calculate ΔΖ) in formula (1), the embodiment of the present invention needs to apply B. 'Update g( x , . In this process, only the composite viewpoint of B' (the pixel in χ , is redrawn, so that the synthetic viewpoint drawn by the depth information of Ρ', Β', H can be obtained, Thus, ΔΟ can be obtained according to the formula (1), and it can be used for rate distortion calculation.
3.在编码完当前深度图像编码单元后, 用重构的当前深度图像编码单元 更新合成视点信息 (X,W。 假设当前深度块为 B, 重构块为 B" , 深度图像 已编码区域的失真深度信息为 Ρ',深度图像未编码区域的原始深度信息为3. After encoding the current depth image coding unit, the synthesized view information is updated with the reconstructed current depth image coding unit ( X , W. Suppose the current depth block is B, the reconstructed block is B", and the depth image has been coded. The distortion depth information is Ρ', and the original depth information of the uncoded area of the depth image is
Η。 在编码当前深度图像编码单元的过程中, 是由?',8, 11的深度信 息得到, 在编码当前深度图像编码单元后, 需要应用 Β"对 进行更 新。 更新过程只对 Β"对应到的合成视点 (X,W中的像素进行重新绘制, 而 不对整幅图像重新绘制, 从而得到用 Ρ', Β", Η绘制的 (X,W。 Hey. In the process of encoding the current depth image coding unit, is it? The depth information of ', 8, 11 is obtained. After encoding the current depth image coding unit, it is necessary to apply the "update to the update. The update process only re-draws the pixels in the composite view ( X , W) corresponding to Β" Do not repaint the entire image, so that it is drawn with Ρ', Β", Η ( X , W.
从如上过程可以看到, 现有的技术方案在编码过程中需要不断的进行视 点的绘制和更新, 需要较大的时间复杂度 (时间开销) 。 因此, 需要设计快 速的技术方案在保证编码性能的同时减小编码端的时间复杂度。 发明内容 As can be seen from the above process, the existing technical solution requires continuous drawing and updating of the viewpoint in the encoding process, which requires a large time complexity (time overhead). Therefore, it is necessary to design a fast technical solution to reduce the time complexity of the encoding end while ensuring the encoding performance. Summary of the invention
本发明实施例提供一种编码深度信息时的视点合成方法、 装置及编码 器, 以在保证编码性能的同时减小编码端的时间复杂度。  Embodiments of the present invention provide a method, an apparatus, and an encoder for synthesizing a viewpoint when encoding depth information, so as to reduce the time complexity of the encoding end while ensuring encoding performance.
一方面, 本发明实施例提供了一种编码深度信息时的视点合成方法, 所 述编码深度信息时的视点合成方法包括:  In one aspect, the embodiment of the present invention provides a method for synthesizing a view when encoding depth information, where the method for synthesizing view when encoding depth information includes:
在编码深度信息时的视点合成过程中, 判断深度图像编码单元的每一行 像素是否导致合成视点像素值的变化;  In the process of view synthesis in encoding the depth information, it is determined whether each line of pixels of the depth image coding unit causes a change in the pixel value of the synthesized view;
若判定深度图像编码单元的某一行像素没有导致合成视点像素值的变 化, 则在视点合成过程中跳过该行, 不利用该行像素进行视点合成。  If it is determined that a certain row of pixels of the depth image coding unit does not cause a change in the composite view pixel value, the line is skipped during the view synthesis process, and the line synthesis is not performed using the line pixel.
优选的, 在本发明一实施例中, 所述判断深度图像编码单元的每一行像 素是否导致合成视点像素值的变化, 包括: 根据像素的深度信息与视差信息 的关系, 若判定深度图像编码单元的某一行像素的深度信息失真未导致视差 失真, 则判定该行像素没有导致合成视点像素值的变化。  Preferably, in an embodiment of the present invention, determining whether each row of pixels of the depth image encoding unit causes a change in the synthesized viewpoint pixel value comprises: determining a depth image encoding unit according to the relationship between the depth information of the pixel and the disparity information The depth information distortion of a certain row of pixels does not cause parallax distortion, and it is determined that the row of pixels does not cause a change in the synthesized viewpoint pixel value.
优选的, 在本发明一实施例中, 所述判断深度图像编码单元的每一行像 素是否导致合成视点像素值的变化, 包括: 根据紋理图像的梯度特性与合成 视点失真的关系, 若判定深度图像编码单元的某一行像素的视差的失真未对 合成视点失真产生影响, 则判定该行像素没有导致合成视点像素值的变化。  Preferably, in an embodiment of the present invention, determining whether each row of pixels of the depth image encoding unit causes a change in the pixel value of the synthesized viewpoint comprises: determining a depth image according to a relationship between a gradient characteristic of the texture image and a synthetic viewpoint distortion; The distortion of the parallax of a certain row of pixels of the coding unit does not affect the synthesized viewpoint distortion, and it is determined that the row of pixels does not cause a change in the composite viewpoint pixel value.
优选的, 在本发明一实施例中, 所述判断深度图像编码单元的每一行像 素是否导致合成视点像素值的变化, 包括: 判断深度图像编码单元的某一行 像素对应的合成视点中的像素是否被遮挡; 若判定深度图像编码单元的某一 行像素对应的合成视点中的像素被遮挡, 则进一歩判断所述深度图像编码单 元的所述行像素失真以后对应的合成视点中的像素是否仍被遮挡; 若判定所 述深度图像编码单元的所述行像素失真以后对应的合成视点中的像素仍被遮 挡, 则判定该行像素没有导致合成视点像素值的变化。  Preferably, in an embodiment of the present invention, determining whether each row of pixels of the depth image encoding unit causes a change in the synthesized viewpoint pixel value comprises: determining whether a pixel in the synthesized viewpoint corresponding to a certain row of pixels of the depth image encoding unit is If it is determined that the pixels in the synthesized viewpoint corresponding to a certain row of pixels of the depth image encoding unit are occluded, further determining whether the pixel in the corresponding synthesized viewpoint after the pixel of the depth image encoding unit is distorted is still If the pixel in the corresponding synthesized viewpoint is still occluded after the row pixel of the depth image encoding unit is determined to be occluded, it is determined that the row of pixels does not cause a change in the synthesized viewpoint pixel value.
另一方面, 本发明实施例提供了一种编码深度信息时的视点合成装置, 所述编码深度信息时的视点合成装置包括: 判断单元, 用于在编码深度信息时的视点合成过程中, 判断深度图像编 码单元的每一行像素是否导致合成视点像素值的变化; On the other hand, an embodiment of the present invention provides a view point synthesizing apparatus for encoding depth information, and the view point synthesizing apparatus for encoding depth information includes: a determining unit, configured to determine, in a process of synthesizing the depth information when encoding the depth information, whether each row of pixels of the depth image encoding unit causes a change in the pixel value of the synthesized viewpoint;
视点合成处理单元, 用于若判定深度图像编码单元的某一行像素没有导 致合成视点像素值的变化, 则在视点合成过程中跳过该行, 不利用该行像素 进行视点合成。  The view synthesis processing unit is configured to skip the line in the view synthesis process if it is determined that a certain row of pixels of the depth image coding unit does not cause a change in the synthesized view pixel value, and does not use the line pixel for view synthesis.
优选的, 在本发明一实施例中, 所述判断单元包括: 第一判断模块, 用 于根据像素的深度信息与视差信息的关系, 若判定深度图像编码单元的某一 行像素的深度信息失真未导致视差失真, 则判定该行像素没有导致合成视点 像素值的变化。  Preferably, in an embodiment of the present invention, the determining unit includes: a first determining module, configured to determine, according to the relationship between the depth information of the pixel and the disparity information, if the depth information of a certain row of pixels of the depth image encoding unit is not distorted As a result of parallax distortion, it is determined that the row of pixels does not cause a change in the synthesized viewpoint pixel value.
优选的, 在本发明一实施例中, 所述判断单元包括: 第二判断模块, 用 于根据紋理图像的梯度特性与合成视点失真的关系, 若判定深度图像编码单 元的某一行像素的视差的失真未对合成视点失真产生影响, 则判定该行像素 没有导致合成视点像素值的变化。  Preferably, in an embodiment of the present invention, the determining unit includes: a second determining module, configured to determine a parallax of a row of pixels of the depth image encoding unit according to a relationship between a gradient characteristic of the texture image and a synthetic viewpoint distortion If the distortion does not affect the synthetic viewpoint distortion, it is determined that the row of pixels does not cause a change in the composite viewpoint pixel value.
优选的, 在本发明一实施例中, 所述判断单元包括: 第三判断模块, 判 断深度图像编码单元的某一行像素对应的合成视点中的像素是否被遮挡; 若 判定深度图像编码单元的某一行像素对应的合成视点中的像素被遮挡, 则进 一歩判断所述深度图像编码单元的所述行像素失真以后对应的合成视点中的 像素是否仍被遮挡; 若判定所述深度图像编码单元的所述行像素失真以后对 应的合成视点中的像素仍被遮挡, 则判定该行像素没有导致合成视点像素值 的变化。  Preferably, in an embodiment of the present invention, the determining unit includes: a third determining module, determining whether a pixel in a synthesized viewpoint corresponding to a certain row of pixels of the depth image encoding unit is occluded; if determining a certain depth image encoding unit If the pixels in the synthesized view corresponding to one line of pixels are occluded, it is further determined whether the pixels in the corresponding synthesized view are still occluded after the line pixel of the depth image coding unit is distorted; if it is determined that the depth image coding unit is After the row of pixels is distorted, the pixels in the corresponding synthesized viewpoint are still occluded, and it is determined that the row of pixels does not cause a change in the synthesized viewpoint pixel value.
再一方面, 本发明实施例提供了一种编码器, 所述编码器包括上述编码 深度信息时的视点合成装置。  In still another aspect, an embodiment of the present invention provides an encoder, where the encoder includes the above-described viewpoint synthesis device when encoding depth information.
上述技术方案具有如下有益效果: 因为采用在编码深度信息时的视点合 成过程中, 判断深度图像编码单元的每一行像素是否导致合成视点像素值的 变化; 若判定深度图像编码单元的某一行像素没有导致合成视点像素值的变 化, 则在视点合成过程中跳过该行, 不利用该行像素进行视点合成的技术手 段, 所以可以在保证编码性能的同时减小编码端的时间复杂度。 The above technical solution has the following beneficial effects: It is determined whether each row of pixels of the depth image encoding unit causes a change of the synthesized viewpoint pixel value in the viewpoint synthesis process when encoding the depth information; if it is determined that a certain row of pixels of the depth image encoding unit is not Resulting in a change in the pixel value of the synthetic viewpoint In the process of view synthesis, the line is skipped, and the line pixels are not used for the technique of view synthesis. Therefore, the time complexity of the code end can be reduced while ensuring the coding performance.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图 1为本发明实施例一种编码深度信息时的视点合成方法流程图; 图 2为本发明实施例一种编码深度信息时的视点合成装置结构示意图; 图 3为本发明实施例判断单元结构示意图;  1 is a flowchart of a method for synthesizing a viewpoint when encoding depth information according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of a device for synthesizing a viewpoint when encoding depth information according to an embodiment of the present invention; FIG. 3 is a structural diagram of a judging unit according to an embodiment of the present invention; Schematic diagram
图 4为本发明应用实例对应相同 1/4像素精度视差情况下原始视差和失 真视差示意图;  4 is a schematic diagram of the original parallax and the disparity of the disparity corresponding to the same 1/4 pixel precision parallax in the application example of the present invention;
图 5(a)为本发明应用实例原始深度对应的合成视点示意图;  FIG. 5(a) is a schematic diagram of a synthetic viewpoint corresponding to an original depth of an application example of the present invention; FIG.
图 5(b)为本发明应用实例失真深度对应的合成视点示意图;  FIG. 5(b) is a schematic diagram of a synthetic viewpoint corresponding to a distortion depth of an application example of the present invention; FIG.
图 5 (c)为本发明应用实例图 5(a)和图 5 (b)中合成视点的像素值之差示意 图;  Figure 5 (c) is a schematic diagram showing the difference in pixel values of the synthesized viewpoints in Figures 5(a) and 5(b) of the application example of the present invention;
图 6为本发明应用实例遮挡像素示意图;  6 is a schematic diagram of an occlusion pixel of an application example of the present invention;
图 7为本发明应用实例编码深度信息时的视点合成方法流程图。 具体实施方式  FIG. 7 is a flowchart of a method for synthesizing a viewpoint when encoding depth information according to an application example of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
如图 1所示, 为本发明实施例一种编码深度信息时的视点合成方法流程 图, 所述编码深度信息时的视点合成方法包括: 101、 在编码深度信息时的视点合成过程中, 判断深度图像编码单元的 每一行像素是否导致合成视点像素值的变化; As shown in FIG. 1 , it is a flowchart of a method for synthesizing a view when encoding depth information according to an embodiment of the present invention, where the method for synthesizing a view when encoding depth information includes: 101. In a process of synthesizing the depth information when encoding the depth information, determining whether each row of pixels of the depth image encoding unit causes a change in the pixel value of the synthesized viewpoint;
102、 若判定深度图像编码单元的某一行像素没有导致合成视点像素值 的变化, 则在视点合成过程中跳过该行, 不利用该行像素进行视点合成。  102. If it is determined that a certain row of pixels of the depth image coding unit does not cause a change in the composite view pixel value, the row is skipped during the view synthesis process, and the view pixel synthesis is not performed by using the row of pixels.
优选的, 所述判断深度图像编码单元的每一行像素是否导致合成视点像 素值的变化, 包括: 根据像素的深度信息与视差信息的关系, 若判定深度图 像编码单元的某一行像素的深度信息失真未导致视差失真, 则判定该行像素 没有导致合成视点像素值的变化。  Preferably, determining whether each row of pixels of the depth image encoding unit causes a change of the synthesized viewpoint pixel value comprises: determining, according to the relationship between the depth information of the pixel and the disparity information, determining the depth information distortion of a certain row of pixels of the depth image encoding unit If parallax distortion is not caused, it is determined that the row of pixels does not cause a change in the synthesized viewpoint pixel value.
或者, 优选的, 所述判断深度图像编码单元的每一行像素是否导致合成 视点像素值的变化, 包括: 根据紋理图像的梯度特性与合成视点失真的关 系, 若判定深度图像编码单元的某一行像素的视差的失真未对合成视点失真 产生影响, 则判定该行像素没有导致合成视点像素值的变化。  Or, preferably, determining whether each row of pixels of the depth image encoding unit causes a change of the synthesized viewpoint pixel value comprises: determining a row of pixels of the depth image encoding unit according to a relationship between a gradient characteristic of the texture image and the synthesized viewpoint distortion The distortion of the parallax does not affect the synthetic viewpoint distortion, and it is determined that the row of pixels does not cause a change in the composite viewpoint pixel value.
或者, 优选的, 所述判断深度图像编码单元的每一行像素是否导致合成 视点像素值的变化, 包括: 判断深度图像编码单元的某一行像素对应的合成 视点中的像素是否被遮挡; 若判定深度图像编码单元的某一行像素对应的合 成视点中的像素被遮挡, 则进一歩判断所述深度图像编码单元的所述行像素 失真以后对应的合成视点中的像素是否仍被遮挡; 若判定所述深度图像编码 单元的所述行像素失真以后对应的合成视点中的像素仍被遮挡, 则判定该行 像素没有导致合成视点像素值的变化。  Or, the determining whether the pixel of each line of the depth image encoding unit causes the change of the composite view pixel value comprises: determining whether the pixel in the synthesized view corresponding to a certain row of pixels of the depth image encoding unit is occluded; If the pixel in the synthesized view corresponding to a certain row of pixels of the image coding unit is occluded, it is further determined whether the pixel in the corresponding synthesized view is still occluded after the line pixel of the depth image coding unit is distorted; If the pixels in the corresponding synthesized viewpoint are still occluded after the row pixel of the depth image encoding unit is distorted, it is determined that the row of pixels does not cause a change in the synthesized viewpoint pixel value.
对应于上述方法实施例, 如图 2所示, 为本发明实施例一种编码深度信 息时的视点合成装置结构示意图, 所述编码深度信息时的视点合成装置包 括:  Corresponding to the foregoing method embodiment, as shown in FIG. 2, it is a schematic structural diagram of a view synthesizing device when encoding depth information according to an embodiment of the present invention, and the view synthesizing device for encoding depth information includes:
判断单元 21, 用于在编码深度信息时的视点合成过程中, 判断深度图像 编码单元的每一行像素是否导致合成视点像素值的变化; 视点合成处理单元 22, 用于若判定深度图像编码单元的某一行像素没有 导致合成视点像素值的变化, 则在视点合成过程中跳过该行, 不利用该行像 素进行视点合成。 The determining unit 21 is configured to determine, during the view synthesis process when the depth information is encoded, whether each row of pixels of the depth image encoding unit causes a change of the synthesized view pixel value; The view synthesis processing unit 22 is configured to skip the line in the view synthesis process if it is determined that a certain row of pixels of the depth image coding unit does not cause a change in the composite view pixel value, and does not use the line pixel to perform view synthesis.
优选的, 如图 3所示, 为本发明实施例判断单元结构示意图, 所述判断 单元 21包括: 第一判断模块 211, 用于根据像素的深度信息与视差信息的关 系, 若判定深度图像编码单元的某一行像素的深度信息失真未导致视差失 真, 则判定该行像素没有导致合成视点像素值的变化。 或者, 所述判断单元 包括: 第二判断模块 212, 用于根据紋理图像的梯度特性与合成视点失真的 关系, 若判定深度图像编码单元的某一行像素的视差的失真未对合成视点失 真产生影响, 则判定该行像素没有导致合成视点像素值的变化。 或者, 所述 判断单元包括: 第三判断模块 213, 用于判断深度图像编码单元的某一行像 素对应的合成视点中的像素是否被遮挡; 若判定深度图像编码单元的某一行 像素对应的合成视点中的像素被遮挡, 则进一歩判断所述深度图像编码单元 的所述行像素失真以后对应的合成视点中的像素是否仍被遮挡; 若判定所述 深度图像编码单元的所述行像素失真以后对应的合成视点中的像素仍被遮 挡, 则判定该行像素没有导致合成视点像素值的变化。  Preferably, as shown in FIG. 3, which is a schematic structural diagram of a determining unit according to an embodiment of the present invention, the determining unit 21 includes: a first determining module 211, configured to determine a depth image coding according to a relationship between depth information of a pixel and disparity information. If the depth information distortion of a certain row of pixels of the cell does not cause parallax distortion, it is determined that the row of pixels does not cause a change in the composite viewpoint pixel value. Alternatively, the determining unit includes: a second determining module 212, configured to determine, according to the relationship between the gradient characteristic of the texture image and the synthesized viewpoint distortion, if the distortion of the parallax of a certain row of pixels of the depth image encoding unit is not affected by the synthesized viewpoint distortion Then, it is determined that the row of pixels does not cause a change in the composite viewpoint pixel value. Alternatively, the determining unit includes: a third determining module 213, configured to determine whether a pixel in a synthesized view corresponding to a certain row of pixels of the depth image encoding unit is occluded; and if determining a synthesized view point corresponding to a certain row of pixels of the depth image encoding unit If the pixel in the pixel is occluded, it is further determined whether the pixel in the corresponding synthesized viewpoint is still occluded after the line pixel of the depth image encoding unit is distorted; if it is determined that the line pixel of the depth image encoding unit is distorted If the pixels in the corresponding synthesized viewpoint are still occluded, it is determined that the row of pixels does not cause a change in the composite viewpoint pixel value.
再一方面, 本发明实施例提供了一种编码器, 所述编码器包括上述编码 深度信息时的视点合成装置。  In still another aspect, an embodiment of the present invention provides an encoder, where the encoder includes the above-described viewpoint synthesis device when encoding depth information.
本发明实施例上述方法、 装置或编码器技术方案具有如下有益效果: 因 为采用在编码深度信息时的视点合成过程中, 判断深度图像编码单元的每一 行像素是否导致合成视点像素值的变化; 若判定深度图像编码单元的某一行 像素没有导致合成视点像素值的变化, 则在视点合成过程中跳过该行, 不利 用该行像素进行视点合成的技术手段, 所以可以在保证编码性能的同时减小 编码端的时间复杂度。 本发明实施例上述方法、 装置或编码器技术方案可作用在背景技术 2和 3所述过程。 与 2和 3所述过程在编码深度图像编码单元的过程中和编码深 度图像编码单元之后都需要更新合成视点不同, 本发明实施例在每次更新合 成视点之前, 根据像素的深度信息与视差信息的关系, 或根据紋理图像的梯 度特性与合成视点失真的关系, 或合成视点的遮挡特性进行分析, 判断是否 需要更新合成视点。 通过只对某些深度图像编码单元或者深度图像编码单元 中的某些行执行合成视点的更新操作, 本发明实施例可以有效减少合成视点 更新操作, 从而降低编码器复杂度。 (需要说明的是本技术方案对于解码端 没有任何影响) 具体的本发明应用实例的技术方案如下: The foregoing method, apparatus, or encoder technical solution has the following beneficial effects: because in the process of view synthesis in encoding depth information, it is determined whether each row of pixels of the depth image coding unit causes a change in the pixel value of the synthesized view; Determining that a certain row of pixels of the depth image coding unit does not cause a change in the pixel value of the synthesized viewpoint, skipping the line in the process of view synthesis, and not using the line pixel to perform the technique of view synthesis, can be reduced while ensuring the coding performance. The time complexity of the small coding end. Embodiments of the Invention The above described method, apparatus or encoder solution can be applied to the processes described in Backgrounds 2 and 3. Different from the process of encoding the depth image coding unit and the coded depth image coding unit, the process of the process of encoding the depth image coding unit is different, and the embodiment of the present invention uses the depth information and the disparity information of the pixel before updating the synthesized view point. The relationship is analyzed according to the relationship between the gradient characteristics of the texture image and the synthetic viewpoint distortion, or the occlusion characteristics of the synthetic viewpoint, to determine whether the synthetic viewpoint needs to be updated. The embodiment of the present invention can effectively reduce the synthesized view update operation by reducing the encoder complexity by performing the update operation of the synthesized view only for some of the depth image coding units or some of the depth image coding units. (It should be noted that the technical solution has no influence on the decoding end.) The specific technical solution of the application example of the present invention is as follows:
1、 在摄像机水平并行排列的情况下, 真实的深度信息 z与视差信息 ί之 间的关系可以表示为:  1. In the case where the cameras are horizontally arranged in parallel, the relationship between the true depth information z and the parallax information ί can be expressed as:
d-l±  D-l±
z (2)  z (2)
其中, /代表摄像机的焦距。 /代表两个视点之间的基准距离。  Where / represents the focal length of the camera. / Represents the reference distance between two viewpoints.
设当前深度 z对应的量化深度为 ν=ρ(ζ),则视差信息与量化深度之间的 关系可以表示为:
Figure imgf000010_0001
If the quantization depth corresponding to the current depth z is ν=ρ(ζ), the relationship between the disparity information and the quantization depth can be expressed as:
Figure imgf000010_0001
由公式 (3)可以看出, 不同的深度信息会导致不同的水平视差。 然而, 在 实际应用中, 一般会对水平视差做取整操作 (rounding)。 例如在现有的 3DV- HEVC中, 对水平视差采用 1/4像素精度取整, 如图 4所示, 为本发明应用 实例对应相同 1/4像素精度视差情况下原始视差和失真视差示意图。 取整以 后可以看到, 原始深度和失真深度对应着相同的 1/4像素精度的水平视差。 因此, 深度信息的失真不一定会导致水平视差的失真。  As can be seen from equation (3), different depth information leads to different horizontal parallaxes. However, in practical applications, horizontal parallax is generally rounded. For example, in the existing 3DV-HEVC, the horizontal parallax is rounded by 1/4 pixel precision, as shown in Fig. 4, which is a schematic diagram of the original parallax and distortion parallax corresponding to the same 1/4 pixel precision parallax for the application example of the present invention. After rounding, it can be seen that the original depth and the distortion depth correspond to the horizontal disparity of the same 1/4 pixel precision. Therefore, the distortion of the depth information does not necessarily cause distortion of the horizontal parallax.
设当前像素的位置为 p,像素深度值对应的视差 在 1/N精度的取整的操 作为 RA<d:)。 假设 ^为原始视差, 4P为失真视差。 则视差失真可以表示为 Let the position of the current pixel be p, and the rounding operation of the parallax corresponding to the pixel depth value at 1/N precision is RA<d:). Assume that ^ is the original parallax and 4 P is the distortion parallax. Then the parallax distortion can be expressed as
DN(dop, dsp) = RN(dop) -RN(dsp) (A, 那么失真深度 v '属于如下条件的集合 d的条件时, 当前深度图像失真不 会对视点合成产生影响。 D N (d op , d sp ) = R N (d op ) -R N (d sp ) (A , Then, when the distortion depth v 'is a condition of the set d of the following conditions, the current depth image distortion does not affect the view synthesis.
ς = { Ί ¾(^(ν)^( ')) = ο} (5) ς = { Ί 3⁄4(^(ν)^( ')) = ο} (5)
在现有的 3DV-HEVC中, 对水平视差采用 1/4像素精度取整, 则 Ν=4。  In the existing 3DV-HEVC, the horizontal parallax is rounded with 1/4 pixel precision, then Ν=4.
2、 当视差失真不为 0时, 合成视点的失真与紋理图像特性有很大的关 系:  2. When the parallax distortion is not 0, the distortion of the synthesized viewpoint has a great relationship with the texture image characteristics:
如图 5(a)所示, 为本发明应用实例原始深度对应的合成视点示意图; 如 图 5(b)所示, 为本发明应用实例失真深度对应的合成视点示意图; 如图 5 (c) 所示, 为本发明应用实例图 5(a)和图 5 (b)中合成视点的像素值之差示意图。 紋理图像中位置 2〜5 的像素值相同, 这些位置紋理图像梯度很小或为 0, 这 种情况下, 利用原始深度信息和失真深度信息得到的合成视点中的像素差别 很小, 如图 5(a)和图 5 (b)中合成视点位置 1〜3的像素值; 另一方面, 紋理图 像中位置 5〜9 的像素值变化较大, 这些位置紋理图像梯度较大, 这种情况 下, 利用原始深度信息和失真深度信息得到的合成视点中的像素差别很大, 如图 5 (a)和图 5 (b)中合成视点位置 4〜7的像素值。 即在平滑区域时, 视差的 失真并不能对合成视点失真产生影响。 因此, 本发明实施例定义当失真深度 ν '满足如下集合 C2的条件时, 可认为当前深度图像失真不会对视点合成产生 影响。 As shown in FIG. 5( a ), it is a schematic diagram of a synthetic viewpoint corresponding to the original depth of the application example of the present invention; as shown in FIG. 5( b ), a schematic view of a synthetic viewpoint corresponding to the distortion depth of the application example of the present invention; FIG. 5( c ) Shown is a schematic diagram showing the difference in pixel values of the synthesized viewpoints in FIGS. 5(a) and 5(b) of the application example of the present invention. The pixel values of positions 2 to 5 in the texture image are the same. The gradient of the texture image at these positions is very small or 0. In this case, the pixel difference in the synthesized viewpoint obtained by using the original depth information and the distortion depth information is small, as shown in FIG. 5. (a) and FIG. 5(b), the pixel values of the synthesized viewpoint positions 1 to 3; on the other hand, the pixel values of the positions 5 to 9 in the texture image vary greatly, and the gradient of the texture image at these positions is large, in this case The pixels in the synthesized viewpoint obtained by using the original depth information and the distortion depth information are largely different, and the pixel values of the synthesized viewpoint positions 4 to 7 are as shown in FIGS. 5(a) and 5(b). That is, in the smooth region, the distortion of the parallax does not affect the synthetic viewpoint distortion. Therefore, the embodiment of the present invention defines that when the distortion depth ν ' satisfies the condition of the set C 2 as follows, it can be considered that the current depth image distortion does not affect the view synthesis.
C2 = {v' l fe(v),g(v')) = 0且 = 0} (6) C 2 = {v' l fe(v),g(v')) = 0 and = 0} (6)
其中, G(p)为失真紋理图像在位置 p的梯度。 可以表示为:  Where G(p) is the gradient of the distorted texture image at position p. It can be expressed as:
G(P) =| i(p) - i(p - i) \ + \ I(P) - i(P + 1) I (7) 3、 当前深度像素点对应的合成视点中的像素被遮挡时, 该深度信息在 视点合成中不起作用。 如图 6所示, 为本发明应用实例遮挡像素示意图, c,d 像素的深度信息不影响视点合成的结果。 因此, 如果当前深度像素失真以 后, 其对应的合成视点中的像素仍然被遮挡, 即可认为当前深度像素失真不 会对视点合成产生影响。 本发明实施例定义当失真深度 V'满足如下集合 的 条件时, 可认为当前深度图像失真不会对视点合成产生影响: G(P) =| i(p) - i(p - i) \ + \ I(P) - i(P + 1) I (7) 3. The pixels in the synthesized viewpoint corresponding to the current depth pixel are occluded This depth information does not work in view synthesis. As shown in FIG. 6, the application example of the present invention obscures the pixel, and the depth information of the c, d pixels does not affect the result of the viewpoint synthesis. Therefore, if the pixel in the corresponding synthesized viewpoint is still occluded after the current depth pixel is distorted, the current depth pixel distortion is considered not to be Will have an impact on view synthesis. Embodiments of the present invention define that when the distortion depth V' satisfies the conditions of the following set, it can be considered that the current depth image distortion does not affect the view synthesis:
Q ={V | A(g(v), g(v')) = 0且 v e O} (8) 其中, Ο为被遮挡 (即其对应的合成视点中的像素被遮挡) 的深度像 素的集合。 设当前深度图像编码单元第 _/行像素的集合为 Sj,从以上定义的条件 d, c2, c3可知, 当当前行所有像素都满足集合 chc2, 中的任何一个条件时, 即Q ={V | A(g(v), g(v')) = 0 and ve O} (8) where Ο is the depth pixel of the occlusion (ie, the pixels in its corresponding composite view are occluded) set. It is assumed that the set of the _/th row pixels of the current depth image coding unit is Sj, and from the condition d, c 2 , c 3 defined above, when all the pixels of the current line satisfy any of the conditions of the set c h c 2 , which is
Figure imgf000012_0001
Figure imgf000012_0001
C = ! u c2 u c3 (9) 即可认为当前行深度信息像素的失真对合成视点失真没有影响。 C = ! uc 2 uc 3 (9) It can be considered that the distortion of the current line depth information pixel has no effect on the synthesized viewpoint distortion.
如图 7所示, 为本发明应用实例编码深度信息时的视点合成方法流程 图, 包括如下歩骤:  As shown in FIG. 7, the flow chart of the method for synthesizing the viewpoint when encoding the depth information of the application example of the present invention includes the following steps:
701、 初始化户 0;  701, initialize the household 0;
702、 对当前块中第 _/行像素  702, the first _ / row pixel in the current block
703、 判断是否 ^£^,£ £(:, 如果是, 即可认为当前行深度信息像素的 失真对合成视点失真没有影响, 则转歩骤 704, 如果否, 则转歩骤 706; 703, determine whether ^ £ ^, £ £ (:, if yes, can be considered that the distortion of the current line depth information pixel has no effect on the synthetic viewpoint distortion, then step 704, if not, then step 706;
704、 跳过第 _/行, 不利用该第 _ /行像素进行视点合成;  704. Skip the _/th line, and perform the view synthesis without using the _/th line pixel;
705、 将 '+l赋给最为新的 ', §Ρ · = · + 1, 然后转歩骤 702; 705, assign '+l to the newest', §Ρ · = · + 1, and then transfer to step 702;
706、 利用第 _/行像素 视点合成;  706, using the _/_ pixel pixel view synthesis;
707、 将 +1赋给最为新的 , 即 · = · + 1, 然后转歩骤 702。  707. Assign +1 to the newest one, ie, == + 1, and then go to step 702.
由此可见, 当编码器需要用某深度图像编码单元的信息更新合成视点 时, 首先对当该深度图像编码单元的每一行用条件 C进行判断,如果某一行 的所有深度信息都满足条件 C, 则不用该行更新合成视点, 否则, 需要用该 行更新合成视点。 本技术方案应用的技术范围 (领域) 是编码深度信息过程中的视点合成 过程。 在编码深度信息计算失真的过程中, 现有方法使用每个深度图像编码 单元的每一行像素进行视点合成。 提出的方案中, 首先判断深度图像编码单 元的每一行是否对视点合成有影响, 如果没有影响, 则在视点合成过程中跳 过该行从而降低编码时间复杂度。 It can be seen that when the encoder needs to update the synthesized viewpoint with the information of a certain depth image encoding unit, first, the condition C is determined for each row of the depth image encoding unit, and if all the depth information of a certain row satisfies the condition C, The line is not updated with the synthetic view point, otherwise the line needs to be used to update the composite view. The technical scope (domain) to which the present technical solution is applied is a viewpoint synthesis process in the process of encoding depth information. In the process of encoding depth information to calculate distortion, existing methods use each line of pixels of each depth image coding unit for view synthesis. In the proposed scheme, it is first determined whether each row of the depth image coding unit has an influence on the view synthesis, and if there is no influence, the row is skipped during the view synthesis process to reduce the coding time complexity.
通过实验表明, 本技术方案可以对于 1024x768的序列,编码端总时间复 杂度可以降低 10%以上, 同时不损失编码性能。  Experiments show that this technical solution can reduce the total time complexity of the coding end by more than 10% for the sequence of 1024x768 without losing coding performance.
本领域技术人员还可以了解到本发明实施例列出的各种说明性逻辑块 ( illustrative logical block) , 单元, 和歩骤可以通过电子硬件、 电脑软件, 或两者的结合进行实现。 为清楚展示硬件和软件的可替换性 ( interchangeability ) , 上述的各禾中说明性部件 ( illustrative components ) , 单元和歩骤已经通用地描述了它们的功能。 这样的功能是通过硬件还是软件 来实现取决于特定的应用和整个系统的设计要求。 本领域技术人员可以对于 每种特定的应用, 可以使用各种方法实现所述的功能, 但这种实现不应被理 解为超出本发明实施例保护的范围。  Those skilled in the art can also appreciate that the various illustrative logical blocks, units, and steps listed in the embodiments of the present invention can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the above-described illustrative components, units, and steps have generally described their functions. Whether such functionality is implemented by hardware or software depends on the design requirements of the particular application and the overall system. A person skilled in the art can implement the described functions using various methods for each specific application, but such implementation should not be construed as being beyond the scope of the embodiments of the present invention.
本发明实施例中所描述的各种说明性的逻辑块, 或单元都可以通过通用 处理器, 数字信号处理器, 专用集成电路 (ASIC ) , 现场可编程门阵列 The various illustrative logic blocks, or units described in the embodiments of the invention may be implemented by a general purpose processor, a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array.
(FPGA) 或其它可编程逻辑装置, 离散门或晶体管逻辑, 离散硬件部件, 或上述任何组合的设计来实现或操作所描述的功能。 通用处理器可以为微处 理器, 可选地, 该通用处理器也可以为任何传统的处理器、 控制器、 微控制 器或状态机。 处理器也可以通过计算装置的组合来实现, 例如数字信号处理 器和微处理器, 多个微处理器, 一个或多个微处理器联合一个数字信号处理 器核, 或任何其它类似的配置来实现。 (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of the above, is designed to implement or operate the described functionality. The general purpose processor may be a microprocessor, which may alternatively be any conventional processor, controller, microcontroller or state machine. The processor may also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration. achieve.
本发明实施例中所描述的方法或算法的歩骤可以直接嵌入硬件、 处理器 执行的软件模块、 或者这两者的结合。 软件模块可以存储于 RAM存储器、 闪存、 ROM存储器、 EPROM存储器、 EEPROM存储器、 寄存器、 硬盘、 可 移动磁盘、 CD-ROM或本领域中其它任意形式的存储媒介中。 示例性地, 存 储媒介可以与处理器连接, 以使得处理器可以从存储媒介中读取信息, 并可 以向存储媒介存写信息。 可选地, 存储媒介还可以集成到处理器中。 处理器 和存储媒介可以设置于 ASIC中, ASIC可以设置于用户终端中。 可选地, 处 理器和存储媒介也可以设置于用户终端中的不同的部件中。 The steps of the method or algorithm described in the embodiments of the present invention may be directly embedded in hardware, a software module executed by a processor, or a combination of the two. Software modules can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, Mobile disk, CD-ROM or any other form of storage medium in the field. Illustratively, the storage medium can be coupled to the processor such that the processor can read information from the storage medium and can write information to the storage medium. Alternatively, the storage medium can also be integrated into the processor. The processor and the storage medium may be disposed in an ASIC, and the ASIC may be disposed in the user terminal. Alternatively, the processor and the storage medium may also be disposed in different components in the user terminal.
在一个或多个示例性的设计中, 本发明实施例所描述的上述功能可以在 硬件、 软件、 固件或这三者的任意组合来实现。 如果在软件中实现, 这些功 能可以存储与电脑可读的媒介上, 或以一个或多个指令或代码形式传输于电 脑可读的媒介上。 电脑可读媒介包括电脑存储媒介和便于使得让电脑程序从 一个地方转移到其它地方的通信媒介。 存储媒介可以是任何通用或特殊电脑 可以接入访问的可用媒体。 例如, 这样的电脑可读媒体可以包括但不限于 RAM, ROM, EEPROM、 CD-ROM或其它光盘存储、 磁盘存储或其它磁性 存储装置, 或其它任何可以用于承载或存储以指令或数据结构和其它可被通 用或特殊电脑、 或通用或特殊处理器读取形式的程序代码的媒介。 此外, 任 何连接都可以被适当地定义为电脑可读媒介, 例如, 如果软件是从一个网站 站点、 服务器或其它远程资源通过一个同轴电缆、 光纤电脑、 双绞线、 数字 用户线 (DSL) 或以例如红外、 无线和微波等无线方式传输的也被包含在所 定义的电脑可读媒介中。 所述的碟片 (disk) 和磁盘 (disc) 包括压縮磁盘、 镭射盘、 光盘、 DVD、 软盘和蓝光光盘, 磁盘通常以磁性复制数据, 而碟片 通常以激光进行光学复制数据。 上述的组合也可以包含在电脑可读媒介中。  In one or more exemplary designs, the above-described functions described in the embodiments of the present invention may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, these functions can be stored on a computer readable medium or transmitted in a form of one or more instructions or code to a computer readable medium. Computer readable media includes computer storage media and communication media that facilitates the transfer of computer programs from one place to another. The storage medium can be any available media that can be accessed by any general or special computer. For example, such computer-readable media can include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage device, or any other device or data structure that can be used for carrying or storing Other media that can be read by a general purpose or special computer, or a general purpose or special processor. In addition, any connection can be appropriately defined as a computer readable medium, for example, if the software is from a website site, server or other remote resource through a coaxial cable, fiber optic computer, twisted pair, digital subscriber line (DSL) Or wirelessly transmitted in, for example, infrared, wireless, and microwave, is also included in a defined computer readable medium. The disks and discs include compact disks, laser disks, optical disks, DVDs, floppy disks, and Blu-ray disks. Disks typically replicate data magnetically, while disks typically optically replicate data with a laser. Combinations of the above may also be included in a computer readable medium.
以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进行 了进一歩详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而 已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做 的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present invention. The scope of the invention, any modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利要求书 Claim
1、 一种编码深度信息时的视点合成方法, 其特征在于, 所述编码深度 信息时的视点合成方法包括:  A method for synthesizing a view when encoding depth information, wherein the method for synthesizing view when encoding depth information includes:
在编码深度信息时的视点合成过程中, 判断深度图像编码单元的每一行 像素是否导致合成视点像素值的变化;  In the process of view synthesis in encoding the depth information, it is determined whether each line of pixels of the depth image coding unit causes a change in the pixel value of the synthesized view;
若判定深度图像编码单元的某一行像素没有导致合成视点像素值的变 化, 则在视点合成过程中跳过该行, 不利用该行像素进行视点合成。  If it is determined that a certain row of pixels of the depth image coding unit does not cause a change in the composite view pixel value, the line is skipped during the view synthesis process, and the line synthesis is not performed using the line pixel.
2、 如权利要求 1所述编码深度信息时的视点合成方法, 其特征在于, 所述判断深度图像编码单元的每一行像素是否导致合成视点像素值的变化, 包括:  2. The method of synthesizing the depth of the information according to claim 1, wherein the determining whether each row of pixels of the depth image encoding unit causes a change in the pixel value of the synthesized viewpoint comprises:
根据像素的深度信息与视差信息的关系, 若判定深度图像编码单元的某 一行像素的深度信息失真未导致视差失真, 则判定该行像素没有导致合成视 点像素值的变化。  According to the relationship between the depth information of the pixel and the disparity information, if it is determined that the depth information distortion of a certain line of pixels of the depth image encoding unit does not cause parallax distortion, it is determined that the line pixel does not cause a change in the synthesized view pixel value.
3、 如权利要求 1所述编码深度信息时的视点合成方法, 其特征在于, 所述判断深度图像编码单元的每一行像素是否导致合成视点像素值的变化, 包括:  The method of synthesizing the depth information when the depth information is encoded according to claim 1, wherein the determining whether each row of pixels of the depth image encoding unit causes a change in the pixel value of the synthesized viewpoint includes:
根据紋理图像的梯度特性与合成视点失真的关系, 若判定深度图像编码 单元的某一行像素的视差的失真未对合成视点失真产生影响, 则判定该行像 素没有导致合成视点像素值的变化。  According to the relationship between the gradient characteristics of the texture image and the synthesized viewpoint distortion, if it is determined that the distortion of the parallax of a certain row of pixels of the depth image encoding unit does not affect the synthetic viewpoint distortion, it is determined that the line pixel does not cause a change in the synthesized viewpoint pixel value.
4、 如权利要求 1所述编码深度信息时的视点合成方法, 其特征在于, 所述判断深度图像编码单元的每一行像素是否导致合成视点像素值的变化, 包括:  The method of synthesizing the depth information when the depth information is encoded according to claim 1, wherein the determining whether each row of pixels of the depth image encoding unit causes a change in the pixel value of the synthesized viewpoint includes:
判断深度图像编码单元的某一行像素对应的合成视点中的像素是否被遮 挡; 若判定深度图像编码单元的某一行像素对应的合成视点中的像素被遮 挡, 则进一歩判断所述深度图像编码单元的所述行像素失真以后对应的合成 视点中的像素是否仍被遮挡; 若判定所述深度图像编码单元的所述行像素失 真以后对应的合成视点中的像素仍被遮挡, 则判定该行像素没有导致合成视 点像素值的变化。 Determining whether a pixel in a composite view corresponding to a certain row of pixels of the depth image coding unit is occluded; if it is determined that a pixel in a composite view corresponding to a certain row of pixels of the depth image coding unit is occluded, determining the depth image coding unit further Whether the pixel in the corresponding synthesized viewpoint is still occluded after the row pixel is distorted; if it is determined that the row of the depth image encoding unit is missing If the pixels in the corresponding synthesized viewpoint are still occluded, it is determined that the row of pixels does not cause a change in the composite viewpoint pixel value.
5、 一种编码深度信息时的视点合成装置, 其特征在于, 所述编码深度 信息时的视点合成装置包括:  5. A viewpoint synthesis apparatus for encoding depth information, wherein the viewpoint synthesis apparatus for encoding depth information comprises:
判断单元, 用于在编码深度信息时的视点合成过程中, 判断深度图像编 码单元的每一行像素是否导致合成视点像素值的变化;  a determining unit, configured to determine, during the process of synthesizing the depth information, whether each row of pixels of the depth image encoding unit causes a change in the pixel value of the synthesized viewpoint;
视点合成处理单元, 用于若判定深度图像编码单元的某一行像素没有导 致合成视点像素值的变化, 则在视点合成过程中跳过该行, 不利用该行像素 进行视点合成。  The view synthesis processing unit is configured to skip the line in the view synthesis process if it is determined that a certain row of pixels of the depth image coding unit does not cause a change in the synthesized view pixel value, and does not use the line pixel for view synthesis.
6、 如权利要求 5所述编码深度信息时的视点合成装置, 其特征在于, 所述判断单元包括:  6. The apparatus according to claim 5, wherein the determining unit comprises:
第一判断模块, 用于根据像素的深度信息与视差信息的关系, 若判定深 度图像编码单元的某一行像素的深度信息失真未导致视差失真, 则判定该行 像素没有导致合成视点像素值的变化。  a first determining module, configured to determine, according to the relationship between the depth information of the pixel and the disparity information, if it is determined that the depth information distortion of a certain row of pixels of the depth image encoding unit does not cause parallax distortion, determining that the row of pixels does not cause a change in the synthesized viewpoint pixel value .
7、 如权利要求 5所述编码深度信息时的视点合成装置, 其特征在于, 所述判断单元包括:  7. The apparatus according to claim 5, wherein the determining unit comprises:
第二判断模块, 用于根据紋理图像的梯度特性与合成视点失真的关系, 若判定深度图像编码单元的某一行像素的视差的失真未对合成视点失真产生 影响, 则判定该行像素没有导致合成视点像素值的变化。  a second determining module, configured to determine, according to the relationship between the gradient characteristic of the texture image and the synthetic viewpoint distortion, if it is determined that the distortion of the parallax of a certain row of pixels of the depth image encoding unit does not affect the synthetic viewpoint distortion, determining that the row of pixels does not cause synthesis The change in the pixel value of the viewpoint.
8、 如权利要求 5所述编码深度信息时的视点合成装置, 其特征在于, 所述判断单元包括:  8. The apparatus according to claim 5, wherein the determining unit comprises:
第三判断模块, 用于判断深度图像编码单元的某一行像素对应的合成视 点中的像素是否被遮挡; 若判定深度图像编码单元的某一行像素对应的合成 视点中的像素被遮挡, 则进一歩判断所述深度图像编码单元的所述行像素失 真以后对应的合成视点中的像素是否仍被遮挡; 若判定所述深度图像编码单 元的所述行像素失真以后对应的合成视点中的像素仍被遮挡, 则判定该行像 素没有导致合成视点像素值的变化。 a third determining module, configured to determine whether a pixel in a synthesized view corresponding to a certain row of pixels of the depth image encoding unit is occluded; if it is determined that a pixel in a synthesized view corresponding to a certain row of pixels of the depth image encoding unit is occluded, Determining whether a pixel in the corresponding synthesized viewpoint is still occluded after the row pixel of the depth image encoding unit is distorted; if the depth image encoding sheet is determined After the pixel of the element is distorted, the pixel in the corresponding synthesized viewpoint is still occluded, and it is determined that the row of pixels does not cause a change in the synthesized viewpoint pixel value.
9、 一种编码器, 其特征在于, 所述编码器包括权利要求 5-8中任一项所 述编码深度信息时的视点合成装置。  An encoder, characterized in that the encoder comprises a viewpoint synthesizing device for encoding depth information as claimed in any one of claims 5-8.
PCT/CN2012/080100 2012-04-20 2012-08-14 View synthesis method and apparatus when encoding depth information and encoder WO2013155814A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210119222.6 2012-04-20
CN201210119222.6A CN103379348B (en) 2012-04-20 2012-04-20 Visual point synthesizing method, device and encoder during a kind of coding depth information

Publications (1)

Publication Number Publication Date
WO2013155814A1 true WO2013155814A1 (en) 2013-10-24

Family

ID=49382859

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/080100 WO2013155814A1 (en) 2012-04-20 2012-08-14 View synthesis method and apparatus when encoding depth information and encoder

Country Status (2)

Country Link
CN (1) CN103379348B (en)
WO (1) WO2013155814A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867813A (en) * 2010-04-23 2010-10-20 南京邮电大学 Multi-view video coding method oriented for interactive application
CN102055982A (en) * 2011-01-13 2011-05-11 浙江大学 Coding and decoding methods and devices for three-dimensional video
CN102217314A (en) * 2008-09-18 2011-10-12 汤姆森特许公司 Methods and apparatus for video imaging pruning

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8854486B2 (en) * 2004-12-17 2014-10-07 Mitsubishi Electric Research Laboratories, Inc. Method and system for processing multiview videos for view synthesis using skip and direct modes
CN101729891B (en) * 2009-11-05 2012-06-20 宁波大学 Method for encoding multi-view depth video
CN101986716B (en) * 2010-11-05 2012-07-04 宁波大学 Quick depth video coding method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102217314A (en) * 2008-09-18 2011-10-12 汤姆森特许公司 Methods and apparatus for video imaging pruning
CN101867813A (en) * 2010-04-23 2010-10-20 南京邮电大学 Multi-view video coding method oriented for interactive application
CN102055982A (en) * 2011-01-13 2011-05-11 浙江大学 Coding and decoding methods and devices for three-dimensional video

Also Published As

Publication number Publication date
CN103379348A (en) 2013-10-30
CN103379348B (en) 2016-11-16

Similar Documents

Publication Publication Date Title
US10979663B2 (en) Methods and apparatuses for image processing to optimize image resolution and for optimizing video streaming bandwidth for VR videos
KR100990565B1 (en) Systems and methods for processing multiple projections of video data in a single video file
WO2016131223A1 (en) Frame loss method for video frame and video sending apparatus
JP2015526973A5 (en)
JP2017507517A5 (en)
JP2016167867A5 (en)
JP2017510127A5 (en)
CN103763556B (en) Video image encoding and decoding devices and methods therefor, Transmission system and its method
WO2013127126A1 (en) Video image sending method, device and system
JP2016508011A5 (en)
JP4954473B2 (en) Method and apparatus for encoding a digital video signal
CN104869399A (en) Information processing method and electronic equipment.
TWI489876B (en) A Multi - view Video Coding Method That Can Save Decoding Picture Memory Space
US8879826B2 (en) Method, system and computer program product for switching between 2D and 3D coding of a video sequence of images
TW201138476A (en) Joint scalar embedded graphics coding for color images
WO2013155814A1 (en) View synthesis method and apparatus when encoding depth information and encoder
TWI735297B (en) Coding of video and audio with initialization fragments
WO2014154074A1 (en) Methods and devices for coding and decoding depth information, and video processing and playing device
WO2013075515A1 (en) Coding and decoding method, device, encoder, and decoder for multi-view video
US10397609B2 (en) Method and apparatus for predicting residual
CN117579843B (en) Video coding processing method and electronic equipment
WO2024051299A1 (en) Encoding method and apparatus, and decoding method and apparatus
CN103517052A (en) Viewpoint synthetic method and device used for encoding depth information and encoder
JP2012191569A (en) Stereoscopic video encoder, stereoscopic video encoding method, stereoscopic video decoder and stereoscopic video decoding method
JPWO2012023248A1 (en) 3D encoding device

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: 12874589

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: 12874589

Country of ref document: EP

Kind code of ref document: A1