Depth encoding and decoding method and apparatus
By employing a quantization function defined by a third point, angle, and error value, the method ensures accurate depth encoding and decoding in 3D scenes, addressing precision loss and visual artifacts in 3D video technologies.
Patent Information
- Application Number
- JP2021554675
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-03-20
- Filing Date
- 2020-03-17
- Publication Date
- 2024-10-03
- Estimated Expiration
- 2040-03-17
AI Technical Summary
Existing 3D video technologies, such as 3DoF and 6DoF, face challenges in encoding and decoding depth information effectively, especially when the range of depth values is large and the bit depth for encoding is limited, leading to precision loss and perceptible visual artifacts.
A method of quantizing depth values using a quantization function defined by a third point, a given angle, and an error value, ensuring the error angle remains below a predetermined threshold, and encoding this with metadata for accurate decoding.
This approach maintains visual accuracy by ensuring quantization errors are imperceptible to the user, providing precise depth reconstruction in 3D scenes even with limited bit depth, suitable for 3DoF+ rendering scenarios.
Smart Images

Figure 0007561135000006 
Figure 0007561135000007 
Figure 0007561135000008
Abstract
Description
[Technical field]
[0001] 1.Technical Field The present principles relate generally to the domain of three-dimensional (3D) scenes and volumetric video content. This document is also understood in the context of encoding, formatting, and decoding data representing the geometry of a 3D scene for rendering volumetric content on an end-user device, such as a mobile device or a head-mounted display (HMD). [Background technology]
[0002] 2.Background technology This section is intended to introduce the reader to various aspects of the art, which may be related to various aspects of the present principles that are described and / or claimed below. This discussion is believed to be helpful in providing the reader with background information to facilitate a better understanding of the various aspects of the present principles. As such, it should be understood that these statements are to be read in this light, and not as admissions of prior art.
[0003] In recent years, an increasing amount of wide-field content (up to 360°) has become available. Such content may not be fully visible to the user as the user is viewing the content on an immersive display device such as a head-mounted display, smart glasses, PC screen, tablet, smartphone, etc. This means that at a given moment, the user may only be viewing a portion of the content. However, the user can usually navigate within the content by various means such as head movement, mouse movement, touch screen, voice, etc. It is usually desirable to encode and decode this content.
[0004] Immersive video, also called 360° flat video, allows the user to see everything around them by rotating their head around a point of gaze. The rotation allows only a three-degrees-of-freedom (3DoF) experience. Even if 3DoF video was sufficient for the first omnidirectional video experience, for example using a head-mounted display device (HMD), 3DoF video can quickly frustrate viewers who expect more degrees of freedom, for example by experiencing parallax. Moreover, 3DoF also requires the user to not only rotate their head, but also translate their head in three directions, which can cause dizziness, since translational movements are never reproduced in a 3DoF video experience.
[0005] The wide-field content can be, among others, a three-dimensional computer graphic image scene (3D CGI scene), a point cloud, or an immersive video. Many conditions can be used to design such an immersive video: for example, a virtual reality (VR) video, a 360 video, a panoramic video, a 4π stereoscopic video, an immersive video, an omnidirectional video, or a wide-field video.
[0006] Volumetric video, also known as six degrees of freedom (6DoF) video, is an alternative to 3DoF video. When watching 6DoF video, in addition to rotation, the user can translate their head and body within the content they are looking at, experiencing parallax and even volume. Such video can significantly increase the sense of immersion and depth of the scene, and can prevent dizziness by providing steady visual feedback during head translation. Content can be created with dedicated sensors to simultaneously record the color and depth of the scene of interest. The use of color camera equipment combined with photogrammetry techniques is a way to perform such recording, even though technical challenges remain.
[0007] While 3DoF video involves a sequence of images resulting from the unmapping of texture images (e.g. spherical images encoded according to latitude / longitude projection mapping or equirectangular projection mapping), 6DoF video frames embed information from several viewpoints. These video frames can be displayed as a temporal sequence of point clouds resulting from three-dimensional photography. Depending on the viewing state, two types of volumetric videos can be considered. The first type (i.e. full 6DoF) allows a completely free navigation in the video content, whereas the second type (a.k.a. 3DoF+) restricts the user viewing space to a limited volume called the viewing bounding box, allowing a limited translational movement of the head, and a parallax experience. This second context is a valuable trade-off between the free navigation state of a seated viewer and a passive viewing state.
[0008] Beyond the specific case of volumetric video, encoding and decoding depth information for 3D scenes or volumetric content can be problematic, especially when the range of depth values to be encoded is large and the bit depth available for encoding is not provided with a sufficient amount of encoded values. Summary of the Invention
[0009] 3. Overview of the Invention The following presents a simplified summary of the present principles in order to provide a basic understanding of some aspects of the present principles. This summary is not an exhaustive summary of the present principles. It is not intended to identify key or critical elements of the present principles. The following summary is merely intended to present some aspects of the present principles in a simplified form as a prelude to the more detailed description provided below.
[0010] The present principles relate to a method of encoding data representing a distance between a point of a point cloud and a first point located within the point cloud. The method includes quantizing a value representing a distance between the first point and a second point by using a quantization function defined by a third point, a given angle, and an error value. The quantization function may be defined such that angles fourth point, third point, and second point are less than or equal to a given angle such that inverse quantization of the sum of the quantization value and the error value produces the fourth point. Once the value is quantized, the method encodes this quantization value in the data stream in association with metadata representing the quantization function. In one embodiment, the quantization function is a parameterized function known by both the encoder and the decoder, such that the metadata includes the given angle and / or the error value and / or the coordinates of the third point, or in a variant, the distance between the first point and the third point. In another embodiment, the metadata consists of a look-up table responsive to an inverse of the quantization function.
[0011] The present principles also relate to a data stream generated by a device implementing such a method, the data stream including data representing quantized values that represent a distance between a point of the point cloud and a first point located within the point cloud, the distance being quantized using a quantization function defined by a third point, a given angle, and an error value.
[0012] The present principles also relate to a method of decoding data representing a distance between a point of a point cloud and a first point in the point cloud. The method includes decoding a quantization value and associated metadata from a data stream. The metadata includes data representing a quantization function defined by a third point, a given angle, and an error value. The method further dequantizes the extracted quantization value using an inverse function of the quantization function. In one embodiment, the inverse quantization function is a parameterized function known by both the encoder and the decoder, and thus the metadata includes the given angle and / or the error value and / or the coordinates of the third point, or in a variant, the distance between the first point and the third point. In this embodiment, at the decoding side, the inverse quantization function is initialized by these parameters. In a variant, some of these parameters are optional, if one of them is set to a default value. In another embodiment, the metadata includes a lookup table responsive to the inverse function of the quantization function. The real value of the distance is obtained by looking up the quantization value in the table.
[0013] The present principles also relate to a device comprising a processor configured to implement such a method. [Brief description of the drawings]
[0014] 4. Brief description of the drawings The present disclosure will be better understood and other particular features and advantages will become apparent on reading the following description, which makes reference to the accompanying drawings, in which: [Figure 1] 1 illustrates a three-dimensional (3D) model of an object and points of a point cloud corresponding to the 3D model, in accordance with a non-limiting embodiment of the present principles. [Diagram 2] 1 shows a non-limiting example of encoding, transmission, and decoding of data representing a sequence of 3D scenes, in accordance with a non-limiting embodiment of the present principles. [Diagram 3]10 shows an exemplary architecture of a device that may be configured to implement the method described in connection with FIGS. 8 and 9, in accordance with a non-limiting embodiment of the present principles. [Figure 4] 1 shows an example embodiment of a syntax for a stream when data is transmitted via a packet-based transmission protocol, in accordance with a non-limiting embodiment of the present principles. [Diagram 5] 1 illustrates a spherical projection from a central viewpoint, in accordance with a non-limiting embodiment of the present principles; [Figure 6] 1 shows an example of a projection map containing depth information for points of a 3D scene that are visible from the center of projection (aka first point), in accordance with a non-limiting embodiment of the present principles. [Figure 7] 13 illustrates how quantization error is perceived according to a second viewpoint in a 3D scene, in accordance with a non-limiting embodiment of the present principles. [Figure 8] 1 shows a method for encoding data representing the depth of a point in a 3D scene, in accordance with a non-limiting embodiment of the present principles. [Figure 9] 1 illustrates a method for decoding data representing a distance between a point of a 3D scene and a first point within the 3D scene, in accordance with a non-limiting embodiment of the present principles. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] 5. Detailed Description of the Embodiments The present principles are described more fully below with reference to the accompanying drawings, in which examples of the present principles are shown. However, the present principles may be embodied in many alternative forms and should not be construed as being limited to the examples set forth herein. Thus, while the present principles are susceptible to various modifications and alternative forms, specific examples thereof are shown by way of example in the drawings and described in detail herein. However, there is no intention to limit the present principles to the particular forms disclosed, but rather, it should be understood that the present disclosure covers all modifications, equivalents, and alternatives falling within the spirit and scope of the present principles as defined in the claims.
[0016] The terminology used herein is for the purpose of describing particular examples only and is not intended to limit the present principles. As used herein, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise. It will be further understood that as used herein, the terms "comprises," "comprising," "including," and / or "comprising" specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. Furthermore, when an element is referred to as "responsive to" or "connected" to another element, it may be directly responsive or connected to the other element, or intervening elements may be present. In contrast, when an element is referred to as "directly responsive to" or "directly connected" to another element, there are no intervening elements. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items and can be abbreviated as " / ."
[0017] In this specification, terms such as first, second, etc. may be used to describe various elements, but it is understood that these elements should not be limited by these terms. These terms are used only to distinguish one element from another element. For example, a first element can be called a second element, and similarly, a second element can be called a first element, without departing from the teachings of the present principles.
[0018] Some diagrams include arrows on communication paths to indicate a primary direction of communication, however, it should be understood that communication may occur in a direction opposite to that depicted arrow.
[0019] Some examples are described with reference to block diagrams and operational flow charts, with each block representing a circuit element, module, or portion of code that includes one or more executable instructions for implementing a specified logical function(s). It should also be noted that in other implementations, the function(s) noted in the blocks may occur in an order different from the order noted. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may sometimes be executed in the reverse order, depending on the functionality involved.
[0020] References herein to "by one example" or "in one example" mean that a particular feature, structure, or characteristic described in connection with the example may be included in at least one implementation of the present principles. The appearances of the phrases "by one example" or "in one example" in various places in the specification do not necessarily all refer to the same example, nor do separate or alternative examples necessarily mutually exclude other examples.
[0021] Reference numerals appearing in the claims are by way of example only and shall have no limiting effect on the scope of the claims. Although not expressly described, the present examples and variations may be used in any combination or subcombination.
[0022] According to a non-limiting embodiment of the present disclosure, a method and device for encoding and decoding data representing the depth of a point of a 3D scene is presented herein. According to the present principles, the depth of a point in a 3D scene is the distance (e.g., Euclidean distance in a Cartesian reference frame) between this point and a given point, referred to herein as the first point or center of projection. The part of the 3D scene to be encoded is projected onto the image plane with respect to the center of projection. The central projection operation is used in conjunction with mapping operations, for example, spherical mapping projection (Equirectangular Projection (ERP) or Cassini Projection or Sinusoidal Projection) or cube mapping projection (with various layouts of the faces of a cube) or pyramidal mapping projection. In the context of the present disclosure, the depth data is quantized and stored as image data, i.e., as a 2D matrix, an array of pixels. Such an image is compressed and transmitted to a decoder for decompression.
[0023] A point P0 is projected onto the image plane and its depth is stored as a real number (i.e., represented as a floating-point value). Quantization is the process of constraining an input from a continuous or other large set of values (such as real numbers) to a discrete set, such as an interval of integers, typically between 0 and n. Thus, quantization results in a loss of precision when the number of values to quantize is greater than n. During encoding, the distance d0 is quantized as a value v0 according to a quantization function, and during decoding, the value v0 is inversely quantized to a distance d1 according to an inverse quantization function. Then, the point P1 is inversely projected at a distance D1 from the center of projection.
[0024] The compression-decompression operation introduces some errors in the quantized values. A quantized value v0 may, after compression-decompression, vault a value v2 between v0-δ and v0+δ, where δ=1 or 2 or 10 for example. This value v2 is dequantized at a distance d2 according to the inverse quantization function. Thus, instead of point P1, point P2 is deprojected at a distance d2 from the center of projection on the same line passing by the center of projection. The error (d1-d2) depends on the quantization function. Also, the position error between P1 and P2 is perceived differently depending on the position of the viewpoint A from which they are observed. In fact, the angle
number
[0025] According to a non-limiting embodiment of the present principles, data representing the distance between a point of a 3D scene and a first point in the 3D scene are encoded in a data stream. These depth data are quantized by using a quantization function defined according to a second point, a given angle, and an error value, so that the difference in the error value between the two quantization values leads to an error angle lower at said second point than said given angle. The depth data represents the distance between point P1 and the center of projection. The difference in the error value between the quantization value of the depth data of point P before compression and the quantization value of the same data after decompression (e.g. a difference of 1, 3, or 7) leads to a backprojection of this data at different distances, setting point P2 further or closer to the center of projection. The error angle at a given point A is the angle formed at this given point due to the error value of the quantization value.
number
[0026] FIG. 1 shows a three-dimensional (3D) model 10 of an object and points of a point cloud 11 corresponding to the 3D model 10. The 3D model 10 and the point cloud 11 may correspond to possible 3D representations of an object in a 3D scene, for example, including other objects. The model 10 may be a 3D mesh representation, and the points of the point cloud 11 may be vertices of the mesh. The points of the point cloud 11 may also be points distributed on the surface of the faces of the mesh. The model 10 may also be represented as a splatted version of the point cloud 11, and the surface of the model 10 is created by splatting the points of the point cloud 11. The model 10 may be represented in a number of different representations, such as voxels or splines. FIG. 1 shows that a point cloud may be defined with a surface representation of a 3D object, and a surface representation of a 3D object may be generated from the points of the cloud. As used herein, projecting the points of a 3D object (by extension points of the 3D scene) onto an image is equivalent to projecting any representation of this 3D object, for example a point cloud, a mesh, a spline model or a voxel model.
[0027] A point cloud can be represented in memory, for example, as a vector-based structure, where each point has its own coordinates in the reference frame of the viewpoint (e.g., three-dimensional coordinates XYZ, or solid angle and distance from / to the viewpoint (called depth)) and one or more attributes, also called components. Examples of components are color components, which can be represented in various color spaces, for example, RGB (red, green, and blue) or YUV (Y is the luma component and UV are the two chrominance components). A point cloud is a representation of a 3D scene, including objects. A 3D scene can be viewed from a given viewpoint or range of viewpoints. Point clouds can be obtained by various methods, such as: From the capture of real objects photographed by a camera arrangement, optionally complemented by an active depth sensing device; From capturing virtual / synthetic objects via a virtual camera device within the modeling tool, From a mix of both real and virtual objects.
[0028] 2 shows a non-limiting example of encoding, transmission, and decoding of data representing a sequence of 3D scenes. The encoding format may, for example, be compatible with 3DoF, 3DoF+, and 6DoF decoding simultaneously.
[0029] A sequence of 3D scenes 20 is captured. Since the sequence of pictures is a 2D video, the sequence of 3D scenes is a 3D (also called volumetric) video. The sequence of 3D scenes can be provided to a volumetric video rendering device for 3DoF, 3DoF+, or 6DoF rendering and display.
[0030] A sequence of 3D scenes 20 is provided to an encoder 21. The encoder 21 receives as input a 3D scene or a sequence of 3D scenes and provides a bitstream representative of the input. The bitstream may be stored in a memory 22 and / or an electronic data medium and transmitted over a network 22. The bitstream representative of the sequence of 3D scenes may be read from the memory 22 and / or received from the network 22 by a decoder 23. The decoder 23 is inputted by said bitstream and provides the sequence of 3D scenes, for example in a point cloud format.
[0031] The encoder 21 may comprise several circuits that implement several steps. In a first step, the encoder 21 projects each 3D scene into at least one 2D picture. A 3D projection is any method of mapping three-dimensional points onto a two-dimensional plane. The use of this type of projection is particularly widely used in computer graphics, engineering and drafting, since most current methods for displaying graphical data are based on a two-dimensional medium of planes (pixel information from multiple bit planes). The projection circuit 211 provides at least one two-dimensional frame 2111 for the sequence of 3D scenes 20. The frame 2111 includes depth information representing the 3D scene projected into the frame 2111. In a variant, color information representing the color information of the points of the 3D scene is also projected and stored in the pixels of the frame 2111. In another variant, the color and depth information are coded in two separate frames 2111 and 2112. For example, the points of the 3D scene 10 of FIG. 1 include only depth information. The models have no textures attached to them, and the points in the 3D scene have no color components. In either case, depth information needs to be encoded in the representation of the 3D scene.
[0032] Metadata 212 is used and updated by projection circuitry 211. Metadata 212 includes information about the projection operation (e.g., projection parameters), as well as information about how color and depth information is organized within frames 2111 and 2112, as described in connection with Figures 5-7. In accordance with the present principles, the metadata includes information representing an inverse quantization function used to encode the depth information.
[0033] A video encoding circuit 213 encodes the sequence of frames 2111 and 2112 as a video. The pictures of the 3D scene 2111 and 2112 (or a sequence of pictures of a 3D scene) are encoded into a stream by the video encoder 213. The video data and metadata 212 are then encapsulated into a data stream by a data encapsulation circuit 214.
[0034] The encoder 213 is compliant with the following encoders, for example: -JPEG, Specification ISO / CEI 10918-1 UIT-T Recommendation T.81, https: / / www.itu.int / rec / T-REC-T.81 / en, -AVC, also known as MPEG-4 AVC or h264. Specified in both UIT-T H.264 and ISO / CEI MPEG-4 Part 10 (ISO / CEI 14496-10), http: / / www.itu.int / rec / T-REC-H.264 / en; HEVC (whose specification can be found on the ITU website, Recommendation T, H-series, h265, http: / / www.itu.int / rec / T-REC-H.265-201612-I / en); -3D-HEVC (an extension to HEVC, the specification of which can be found on the ITU website, Recommendation T, H-series, h265, http: / / www.itu.int / rec / T-REC-H.265-201612-I / en Annex G and I), -VP9, developed by Google, or -AV1 (AOMedia Video 1) developed by the Alliance for Open Media.
[0035] The data stream is stored by a decoder 23 in a memory accessible, for example, via a network 22. The decoder 23 comprises different circuits implementing different steps of decoding. The decoder 23 takes as input the data stream generated by the encoder 21 and provides a sequence of 3D scenes 24 to be rendered and displayed by a volumetric video display device, such as a head mounted device (HMD). The decoder 23 obtains the stream from a source 22. For example, the source 22 belongs to a set including: - local memory, such as video memory or RAM (or Random Access Memory), Flash memory, ROM (or Read Only Memory), hard disk, -Storage interfaces, e.g. interfaces to mass storage, RAM, flash memory, ROM, optical disks, or magnetic supports; A communication interface, such as a wired interface (e.g. a bus interface, a wide area network interface, a local area network interface) or a wireless interface (such as an IEEE 802.11 interface or a Bluetooth interface), and A user interface, such as a graphical user interface, that allows a user to input data.
[0036] The decoder 23 comprises a circuit 234 for extracting the data encoded in the data stream. The circuit 234 receives the data stream as input and provides metadata 232 corresponding to the metadata 212 encoded in the stream and a two-dimensional video. According to the present principles, the metadata 232 includes information representing an inverse quantization function used to retrieve the depth of a point of the 3D scene. In the context of the present disclosure, the depth of a point corresponds to the distance between the point to be inversely projected and the center of the projection. The coordinates of the center of the projection are included in the metadata 232 or are defined by default, for example, at the origin of a reference frame of the 3D space of the 3D scene. The video is decoded by a video decoder 233, which provides a sequence of frames. The decoded frames include depth information. Due to the compression-decompression process, the quantized values of the depth after decoding may differ from the quantized values of the depth at the time of encoding. In a variant, the decoded frames include depth information and color information. In another variant, the video decoder 233 provides two sequences of frames, one containing color information and the other containing depth information. The circuit 231 uses the metadata 232 to extract an inverse quantization function, deproject the depth information, and finally deproject the color information from the decoded frames to provide a sequence of 3D scenes 24. The sequence of 3D scenes 24 corresponds to the sequence of 3D scenes 20, which may suffer from the loss of precision associated with encoding as a 2D video and video compression. The 3D scenes of the decoded sequence 24 are rendered from the current viewpoint by projecting the 3D scenes onto the image plane of the viewport.
[0037] Fig. 3 shows an example architecture of a device 30 that can be configured to implement the methods described in relation to Figs. 8 and 9. The encoder 21 and / or the decoder 23 of Fig. 2 can implement this architecture. Alternatively, each circuit of the encoder 21 and / or the decoder 23 can be a device according to the architecture of Fig. 3, linked together, for example, via their bus 31 and / or via an I / O interface 36.
[0038] The device 30 comprises the following elements linked together by a data and address bus 31: a microprocessor 32 (or CPU), for example a DSP (or Digital Signal Processor); -ROM (or read-only memory) 33, -RAM (or Random Access Memory) 34, -Storage interface 35, an I / O interface 36 for receiving data sent by an application, and A power source, e.g. a battery.
[0039] According to an example, the power source is external to the device. In each memory of the above memories, the word "register" used in this specification can correspond to a small area (a few bits) or a very large area (e.g., the entire program or a large amount of received or decoded data). The ROM 33 includes at least programs and parameters. The ROM 33 can store algorithms and instructions for implementing the technology according to the present principles. When switched on, the CPU 32 uploads the program in the RAM and executes the corresponding instructions.
[0040] The RAM 34 contains in registers the programs executed by the CPU 32 and uploaded after the device 30 is switched on, contains in registers the input data, contains in registers intermediate data for different states of the method, and contains in registers other variables used to execute the method.
[0041] The implementations described herein may be implemented, for example, in a method or process, an apparatus, a computer program product, a data stream, or a signal. Even if only a single implementation form (e.g., discussed only as a method or device) is discussed, the implementation of the discussed functionality may also be implemented in other forms (e.g., a program). An apparatus may be implemented, for example, in appropriate hardware, software, and firmware. The methods may be implemented, for example, in an apparatus, for example, in a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, for example, computers, mobile phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate communication of information between end users.
[0042] According to an example, the device 30 is configured to implement the method described in relation to Figures 8 and 9 and belongs to a set comprising: --Mobile devices, --Communication devices, --Game devices, --Tablet (or tablet computer), --Laptop, --Still camera, --Video camera, --Encoding chip, --A server (e.g., a broadcast server, a video-on-demand server, or a web server).
[0043] FIG. 4 shows an example of an embodiment of the syntax of a stream when data is transmitted via a packet-based transmission protocol. FIG. 4 shows an exemplary structure 4 of a volumetric video stream. The structure resides in a container that organizes the stream into individual syntax elements. The structure may include a header section 41, which is a set of data common to every syntax element of the stream. For example, the header section includes a portion of metadata about the syntax elements, describing the nature and role of each of them. The header section may also include a portion of the metadata 212 of FIG. 2, for example, the coordinates of a central viewpoint used to project points of the 3D scene into frames 2111 and 2112. The structure includes a payload that includes an element of syntax 42 and at least one element of syntax 43. Syntax element 42 includes data representing color and depth frames. The images may have been compressed according to a video compression method.
[0044] Syntax 43 elements are part of the payload of the data stream and may contain metadata about how frames of Syntax 42 elements are encoded, for example, parameters used to project and pack points of a 3D scene into frames. Such metadata may be associated with each frame of video, or with groups of frames (also known as Groups of Pictures (GoPs) in video compression standards).
[0045] FIG. 5 shows a spherical projection from a central viewpoint 50. In the example of FIG. 5, the 3D scene includes three objects 52, 53, and 54. The points of object 52 form a surface with a front side and a back side according to the viewpoint 50. The points of the back side of object 42 are not visible from the viewpoint 50. The points of objects 53 and 54 form a surface with a front side according to the viewpoint 50. The points of object 53 are visible from the viewpoint 50, but only a part of the points of object 54 are visible from the viewpoint due to the occlusion by the surface of object 53. Therefore, the spherical projection (Equirectangular Projection ERP) does not project every point of the 3D scene into the frame. Many other types of projections can be used, such as perspective projection and orthogonal projection. For example, the points of the point cloud visible from the viewpoint 50 are projected into the projection map 51 according to a projection method. In the example of FIG. 5, the projection method is a spherical projection, e.g. a latitude / longitude projection or an equirectangular projection (aka ERP), so the projection map is represented as a sphere 51 in FIG. 5. In variants, the projection method is a cube projection method, a pyramidal projection method, or any projection method centered on the viewpoint 50. Points on the front side of the object 52 are projected in an area 55 of the projection map. Points on the back side of the object 52 are not projected, since they are not visible from the viewpoint 50. All points of the object 53 are visible from the viewpoint 50. They are projected into an area 56 of the projection map 51 according to the projection method. In one embodiment, only a portion of the points of the object 54 are visible from the viewpoint 50. The visible points of the object 54 are projected into an area 57 of the projection map 51. The information stored in the pixels of the projection map 51 corresponds to the distance between the projected point in the 3D scene and the center of projection 50. In a variant, the colour components of the projected point are also stored in the pixel of the projection map 51 .
[0046] Figure 6 shows an example of a projection map 60 containing depth information of points of a 3D scene that are visible from the center of projection (aka the first point), according to a non-limiting embodiment of the present principles. In the example of Figure 6, the further a point of the 3D scene is from the center of projection, the brighter the pixel in image 60 is. The distances stored in pixels of image 60 are represented as gray levels, i.e. between 0 and N=2. nThe depth information is quantized with integers belonging to the interval between z and -1, where n is the coding bit depth (i.e., the number of bits used to code the integer value, typically 8, 10, or 12 for the HEVC codec). In the example of Figure 6, the depth is coded with 10 bits, so that the pixel stores a value between 0 and 1023. min = 0.5 meters to z max = 28 meters. There are more than 1024 distinct distances, and a quantization function must be used to convert the real values to discrete values. The following Equation 1 for the affine transformation or Equation 2 for the inverse function are possible quantization functions to quantize the real value of depth z:
number
number
[0047] FIG. 7 shows how the quantization error is perceived according to a second viewpoint in a 3D scene. In the example of FIG. 7, a point 71 is projected into the image plane of the projection map. A sphere 72 represents a viewing zone, also called a viewing bounding box, from which a user can view a 3D scene in the context of a 3DoF+ scenario. The sphere 72 may also represent the projection map. A distance 74 (which we call z) between the point 71 and a first point 73 (i.e., the center of the projection) is quantized by a quantization function f, and a quantized value v is stored in a pixel of the projection map. The projection map is compressed by an image codec and decompressed at the decoding side, as shown in FIG. 2. The value v may have been shifted by this compression-decompression process, for example by + or -1, 5, or 8, to a value v'. The distance between the first point 73 and the inverse projected point 76 is determined by applying an inverse quantization function to the value v'. The delta 75 between the distance 74 and the distance between point 76 and point 73 is due to compression errors. The delta 75 depends on the inverse quantization function and therefore on the quantization function. When observed from the first point 73, the delta 75 is only perceptible in relation to point 76 and its neighbors surrounding the inverse projected point. However, when observed from another viewing zone, for example point 77, the delta 75 is perceived by itself, since this delta between the position of point 71 and the position of point 76 forms an angle 78 pointing to point 77. The larger the angle 78, the greater the visual artifacts produced by the compression errors. The angle 78 is called the error angle at point 77.
[0048] According to the present principles, the quantization function is selected and parameterized to keep the angle 78 for the second point in the 3D space lower than a pre-determined angle γ. For example, the second point 77 or 79 is selected within the viewing zone defined for a given 3DoF+ rendering of the 3D scene. For example, the angle γ is set to a value corresponding to a known human visual acuity of about 0.5 arc minutes. The angle γ may be set to any angle value depending on the expected robustness of the quantization to expected compression error levels. In this context, depending on the location of the user within the viewing zone, the associated error angle 78, referred to herein as Φ(z), may be null when the user stands at the center of the projection, but may be significantly larger when he stands at point A. In the example of FIG. 7, the viewing zone is a sphere, and it can be shown that the maximum value of Φ(z) is obtained at a point on the leading edge of the bounding sphere. This property is important in the case of zone-constrained viewing points (i.e., 3DoF+ rendering) to design dedicated depth quantization laws (i.e., functions) that prevent users from experiencing visual artifacts within the viewing zone. max If we call the maximum of Φ(z), the quantization law states that the associated quantization error is Φ max This should ensure that the quantization law enforces (z)=γ, where γ is a predetermined angle for the expected robustness of the quantization function to compression error levels, e.g., human visual acuity as mentioned above. Doing so ensures that the quantization error due to the compression-decompression process is not perceptible from the viewing zone, since the associated error angle remains below the perceptible threshold. The resulting quantization law depends only on the predetermined angle γ and on the coordinates of a second point, e.g., within the viewing zone. In a variant, instead of the coordinates of the second point, the quantization function can depend on the distance from the first point. This is equivalent to defining the quantization function according to any point on a sphere centered on the first point, e.g., point 79 in FIG. 7.
[0049] Such a quantization law is the optimal position (Φ(z) = Φmax While it is analytically intractable in (z), a quantization discrete table can be obtained numerically. For example, a good approximation for a quantization function that forces the error angle at point 79 to be smaller than a predetermined angle γ for a value error of 1 (i.e., the decompressed value of value v is v+1 or v−1) can be obtained for point 79 at a distance R from the center of projection 73 by Equation 3:
[0050]
number
[0051] In the context of encoding and decoding a 3D scene or a sequence of 3D scenes for a 3DoF+ rendering scenario, the present principles have the advantage of guaranteeing a perceptual quantization error below a pre-determined level, e.g., below human visual acuity, for any viewpoint of view within the scenario's viewing zone.
[0052] FIG. 8 illustrates a method for encoding data representing depths of points of a 3D scene according to a non-limiting embodiment of the present principles. In step 81, depth data is obtained from a source and quantized by using a quantization function determined according to a second point, a given angle, and an error value, such that said error value difference between two quantization values leads to a lower error angle at the second point than the given angle. The depth data is quantized and stored in pixels of the image or an image compressed with a video codec. In step 82, the compressed image is encoded in a data stream in association with metadata representing an inverse function of the quantization function. In one embodiment, the inverse quantization function is a parameterized function known by both the encoder and the decoder. In this embodiment, the metadata includes the angle and / or the error value and / or the coordinates of the second point, or the distance between the first and second points. These metadata are optional if they are pre-determined and known in advance by the decoder. In another embodiment, a look-up table relating every possible quantization value to a distance determined by the quantization function is generated and encoded in the data stream in association with the compressed image.
[0053] FIG. 9 illustrates a method for decoding data representing a distance between a point of a 3D scene and a first point in the 3D scene. In step 91, a data stream encoding data representing the geometry of the 3D scene is obtained from the stream. The compressed image and metadata representing the inverse quantization function are extracted from the data stream. The image is decompressed. In step 92, the real values of the depth information contained in the pixels of the decompressed image are retrieved by applying the quantization value to the inverse quantization function. The points of the 3D scene are inverse projected, i.e. set to the inverse quantized distance from the first point in a direction determined according to the coordinates of the pixel in the image and the projection operation used to generate the image. In one embodiment, the inverse quantization function is a parameterized function known by both the encoder and the decoder. The metadata includes the parameters necessary to initialize the function, i.e. the angle and / or the error value and / or the coordinates of the second point or the distance between the first and second points. These metadata are optional if they are pre-determined and known in advance by the decoder. In another embodiment, the inverse quantization function is encoded as a look-up table in the metadata. The real value of the distance is taken directly from this look-up table according to the quantized value stored in the pixel.
[0054] The implementations described herein can be implemented, for example, in a method or process, an apparatus, a computer program product, a data stream, or a signal. Even if only a single implementation form (e.g., discussed only as a method or device) is discussed, the implementation of the discussed functionality can also be implemented in other forms (e.g., a program). An apparatus can be implemented, for example, in appropriate hardware, software, and firmware. The methods can be implemented, for example, in an apparatus, for example, in a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, such as, for example, smartphones, tablets, computers, mobile phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate the transfer of information between end users.
[0055] Implementations of the various processes and features described herein can be embodied in a wide variety of different devices or applications, particularly those associated with data encoding, data decoding, view generation, texture processing, and other image processing, and associated texture and / or depth information. Examples of such devices include encoders, decoders, post-processors that process output from the decoders, pre-processors that provide input to the encoders, video encoders, video decoders, video codecs, web servers, set-top boxes, laptops, personal computers, mobile phones, PDAs, and other communication devices. As should be clear, the devices can be portable, even mounted on moving vehicles.
[0056] Also, the methods may be implemented with instructions executed by a processor, and such instructions (and / or data values produced by the implementation) may be stored on a processor-readable medium, such as, for example, an integrated circuit, a software carrier, or other storage device, such as, for example, a hard disk, a compact diskette ("CD"), an optical disk (such as, for example, a DVD, often referred to as a digital versatile disc or digital video disc), a random access memory ("RAM"), or a read-only memory ("ROM"). The instructions may form an application program that is tangibly embodied on the processor-readable medium. The instructions may be implemented, for example, in hardware, firmware, software, or a combination. The instructions may be found, for example, in an operating system, a separate application, or a combination of the two. A processor may thus be characterized as both a device configured to perform a process, and a device that includes a processor-readable medium (such as a storage device) having instructions for performing a process. Furthermore, the processor-readable medium may store data values produced by the implementation in addition to or in place of instructions.
[0057] As will be apparent to one skilled in the art, implementations can generate a wide variety of signals formatted to carry information, which can be stored or transmitted, for example. Information can include, for example, instructions to perform a method or data generated by one of the described implementations. For example, a signal can be formatted to convey rules for writing or reading syntax of the described embodiments as data, or can be formatted to convey actual syntax values described by the described embodiments as data. Such a signal can be formatted, for example, as an electromagnetic wave (e.g., using a radio frequency portion of the spectrum) or can be formatted as a baseband signal. Formatting can include, for example, encoding a data stream and modulating a carrier wave with the encoded data stream. The information that the signal carries can be, for example, analog or digital information. The signal can be transmitted over a wide variety of different wired or wireless links, as is known. The signal can be stored in a processor-readable medium.
[0058] A number of implementations have been described. Nevertheless, it will be understood that various modifications can be made. For example, elements of different implementations can be combined, supplemented, modified, or eliminated to produce other implementations. Also, those skilled in the art will understand that other structures and processes can be substituted for those disclosed, with the resulting implementations performing at least substantially the same function(s) and in at least substantially the same manner(s) to achieve at least substantially the same result(s) as the disclosed implementations. Accordingly, these and other implementations are contemplated by the present application. [Appendix 1] quantizing a value representing a distance between the first point and the second point by using a quantization function defined by a third point (77, 79), the given angle, and an error value; encoding in a data stream (4), the quantization value (42) associated with metadata (43) representative of the quantization function. [Appendix 2] 2. The method of claim 1, wherein the quantization function is defined such that inverse quantization of a sum of the quantization value and the error value produces a fourth point, and such that angles the fourth point, the third point, and the second point are less than or equal to the given angle. [Appendix 3] 3. The method of claim 1 or 2, wherein the metadata includes the given angle and coordinates of the third point, or a distance between the first point and the third point. [Appendix 4] 3. The method of claim 1 or 2, wherein the metadata includes a lookup table responsive to an inverse of the quantization function. [Appendix 5] 5. The method according to claim 2, wherein the first point and the third point belong to a given zone, and the third point is selected to maximize the given angle. [Appendix 6] 6. The method according to claim 1, wherein the given angle corresponds to a measure of human visual acuity and / or the error value is equal to 1. [Appendix 7] A device (30) comprising a processor (32), the processor (32) comprising: quantizing a value representing a distance between the first point and the second point by using a quantization function defined by a third point (77, 79), the given angle, and an error value; encoding in a data stream (4), a quantization value (42) associated with metadata (43) representative of the quantization function. [Appendix 8] 8. The device of claim 7, wherein the quantization function is defined such that inverse quantization of a sum of the quantization value and the error value produces a fourth point, and such that angles the fourth point, the third point, and the second point are less than or equal to the given angle. [Appendix 9] 9. The device of claim 7 or 8, wherein the metadata includes the given angle and coordinates of the third point, or a distance between the first point and the third point. [Appendix 10] 9. The device of claim 7 or 8, wherein the metadata includes a lookup table responsive to an inverse of the quantization function. [Appendix 11] 11. The device of claim 8, wherein the first point and the third point belong to a given zone, and the third point is selected to maximize the given angle. [Appendix 12] 12. The device of claim 7, wherein the given angle corresponds to a measure of human visual acuity and / or the error value is equal to 1. [Appendix 13] decoding, from the data stream (4), a quantization value (42) and associated metadata (43) representative of a quantization function, the quantization function being defined by a third point (77, 79), a given angle, and an error value; and dequantizing the quantized value according to an inverse of the quantization function. [Appendix 14] 14. The method of claim 13, wherein the quantization function is defined such that inverse quantization of a sum of the quantization value and the error value produces a fourth point, and such that angles fourth point, the third point, and second point are less than or equal to the given angle. [Appendix 15] 15. The method of claim 13 or 14, wherein the metadata includes the given angle and coordinates of the third point, or a distance between the first point and the third point. [Appendix 16] 15. The method of claim 13 or 14, wherein the metadata includes a lookup table responsive to an inverse of the quantization function. [Appendix 17] 1. A device comprising a processor, the processor comprising: decoding, from the data stream (4), a quantization value (42) and associated metadata (43) representative of a quantization function, the quantization function being defined by a third point (77, 79), a given angle, and an error value; and dequantizing the quantized value according to an inverse of the quantization function. [Appendix 18] 18. The device of claim 17, wherein the quantization function is defined such that an inverse quantization of a sum of the quantization value and the error value produces a fourth point, and such that angles the fourth point, the third point, and the second point are less than or equal to the given angle. [Appendix 19] 19. The device of claim 17 or 18, wherein the metadata includes the given angle and coordinates of the third point, or a distance between the first point and the third point. [Appendix 20] 19. The device of claim 17 or 18, wherein the metadata includes a lookup table responsive to an inverse of the quantization function. [Appendix 21] a value representing a distance between the first point and the second point, said value being quantized by a quantization function defined by a third point (77, 79), a given angle, and an error value; and metadata representing the quantization function. [Appendix 22] 22. The data stream of claim 21, wherein the metadata includes the given angle and coordinates of the third point, or a distance between the first point and the third point. [Appendix 23] 22. The data stream of claim 21, wherein the metadata includes a lookup table responsive to an inverse of the quantization function.
Claims
1. Obtaining a quantized value by quantizing a value representing a distance between a first point and a second point of a 3D point cloud representing a 3D video content scene using a quantization function defined by a third point of the 3D point cloud, a given angle, and an error value, wherein the quantization function is defined such that a sum obtained by inverse quantizing the quantization value and the error value produces a fourth point, and such that an angle ABC formed by the fourth point (point A), the third point (point B), and the second point (point C) is less than or equal to the given angle; and encoding in a data stream a quantization value associated with metadata representing the quantization function.
2. The method of claim 1 , wherein the metadata includes the given angle and the coordinates of the third point, or the distance between the first point and the third point.
3. The method of claim 1 , wherein the metadata includes a lookup table that corresponds to an inverse of the quantization function.
4. The method of claim 1 , wherein the first point and the third point belong to a given zone, and the third point is selected to maximize the given angle.
5. The method of claim 1 , wherein the given angle corresponds to a measure of human visual acuity and / or the error value is equal to one.
6. 1. A device comprising a memory associated with a processor, the processor comprising: obtaining a quantized value by quantizing a value representing a distance between a first point and a second point of a 3D point cloud representing a 3D video content scene using a quantization function defined by a third point of the 3D point cloud, a given angle, and an error value, the quantization function being defined such that a sum obtained by inverse quantizing the quantization value and the error value produces a fourth point, and such that an angle ABC formed by the fourth point (point A), the third point (point B), and the second point (point C) is less than or equal to the given angle; encoding, in a data stream, a quantization value associated with metadata representing the quantization function.
7. The device of claim 6 , wherein the metadata includes the given angle and coordinates of the third point, or a distance between the first point and the third point.
8. The device of claim 6 , wherein the metadata includes a lookup table corresponding to an inverse of the quantization function.
9. The device of claim 6 , wherein the first point and the third point belong to a given zone, and the third point is selected to maximize the given angle.
10. The device according to claim 6 , wherein the given angle corresponds to a measure of human visual acuity and / or the error value is equal to 1.
11. decoding, from a data stream, a quantization value and associated metadata representing a quantization function, the quantization function being defined by a third point, a given angle, and an error value, the quantization function being defined such that a sum obtained by inverse quantizing the quantization value and the error value produces a fourth point, and such that an angle ABC consisting of the fourth point (point A), the third point (point B), and a second point (point C) is less than or equal to the given angle; and dequantizing the quantized value according to an inverse of the quantization function.
12. The method of claim 11 , wherein the metadata includes the given angle and the coordinates of the third point, or the distance between the first point and the third point.
13. The method of claim 11 , wherein the metadata includes a lookup table that corresponds to an inverse of the quantization function.
14. 1. A device comprising a processor, the processor comprising: decoding, from the data stream, a quantization value and associated metadata representing a quantization function, the quantization function being defined by a third point, a given angle, and an error value, the quantization function being defined such that a sum obtained by inverse quantizing the quantization value and the error value produces a fourth point, and such that an angle ABC consisting of the fourth point (point A), the third point (point B), and a second point (point C) is less than or equal to the given angle; and dequantizing the quantized value according to an inverse of the quantization function.
15. The device of claim 14 , wherein the metadata includes the given angle and coordinates of the third point, or a distance between the first point and the third point.
16. The device of claim 14 , wherein the metadata includes a lookup table corresponding to an inverse of the quantization function.
Citation Information
Patent Citations
A stereoscopic image representation method and system based on parallax layered segmentation
CN104820981B
Adaptive quantisation of a depth map
EP1591963A1
Methods, devices and stream for encoding and decoding volumetric video
EP3432581A1
Implicit view-dependent quantization
US20180286107A1
