Method and apparatus for encoding / decoding the color of a point cloud representing a 3D object
By encoding the approximate point set of the point cloud geometry and using the color information of adjacent points or upsampling points, the problem of excessive color information encoding bit rate in the octree-based encoding method is solved, and the complex geometry is realized Efficient compression of shape point clouds.
Patent Information
- Application Number
- CN201880076043.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-10-06
- Filing Date
- 2018-10-03
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2038-10-03
AI Technical Summary
Existing octree-based encoding methods cannot effectively encode the color information in colored point clouds, resulting in high bit rates in complex geometric shapes and difficulty in achieving effective compression of point clouds.
By obtaining a set of points that approximate the point cloud geometry and encoding the color information data, only the colors of some points are encoded, and the colors of other points are obtained from the colors of adjacent points or upsampled points, thereby reducing encoding bitrate.
Significantly reduces the bit rate required for point cloud color encoding, improves encoding efficiency, and is suitable for point cloud compression of complex geometric shapes.
Smart Images

Figure CN111417984B_ABST
Abstract
Description
Technical Field
[0001] The present principles generally relate to encoding and decoding colors of point clouds representing 3D objects. In particular, but not exclusively, the technical field of the present principles relates to octree-based encoding / decoding of point clouds. Background Art
[0002] 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 described and / or claimed below. It is believed that this discussion will help provide the reader with background information to better understand the various aspects of the present principles. Therefore, it should be understood that these statements should be read in this light and not as admissions of prior art.
[0003] A point cloud is a collection of points that is typically intended to represent the exterior surface of a 3D object as well as more complex geometries (such as hair, fur) that may not be efficiently represented by other data formats (such as meshes). Each point in a point cloud is often defined by a 3D spatial position (X, Y, and Z coordinates in 3D space) and may also be defined by other associated attributes, such as color, transparency, reflectance, a two-component normal vector, etc., expressed in, for example, RGB or YUV color space.
[0004] A colored point cloud can be a collection of 6-component points (X,Y,Z,R,G,B) or equivalently (X,Y,Z,Y,U,V) where (X,Y,Z) defines the spatial position of the point in 3D space and (R,G,B) or (Y,U,V) defines the color of that point.
[0005] In the following, the term "point cloud" refers to any point cloud including colored point clouds.
[0006] A colored point cloud can be static or dynamic, depending on whether the cloud evolves with respect to time. It should be noted that in the case of a dynamic point cloud, the number of points is not constant, but instead generally evolves with time. Therefore, a dynamic point cloud is a time-ordered list of a collection of points.
[0007] In fact, colored point clouds can be used for various purposes, such as cultural heritage / architecture, where an object like a statue or a building is scanned in 3D to share the spatial configuration of the object without transmitting or accessing it. Moreover, it is a way to ensure that the knowledge of the object is preserved in cases where the object may be destroyed; for example, a temple in an earthquake. Such colored point clouds are usually static and huge.
[0008] Another use case is in topography and cartography, where by using 3D representation, maps are not limited to flat surfaces but can also include relief.
[0009] The automotive industry and autonomous vehicles are also areas where point clouds can be used. Autonomous vehicles should be able to "detect" their surroundings to make safe driving decisions based on the actual situation of their immediate surroundings. Typical sensors produce dynamic point clouds that are used by decision engines. These point clouds are not intended for human viewing. They are usually small, not necessarily in color, and are dynamic and have a high capture frequency. They may have other properties, such as reflectance, which is valuable information associated with the material of the physical surface of the sensed object and can help make decisions.
[0010] Virtual reality (VR) and immersive worlds have become a hot topic recently and are foreseen by many as the future of 2D flat video. The basic idea is to immerse the viewer in an environment that surrounds him, as opposed to standard TV, where he can only see the virtual world in front of him. There are several levels of immersion, depending on the degree of freedom the viewer has in the environment. Colored point clouds are a good format candidate for distributing VR worlds. They can be static or dynamic and are usually of average size, e.g. no more than a few million points at a time.
[0011] Point cloud compression can only be successful in storing / sending 3D objects for immersive worlds if the bitstream size is small enough to allow practical storage / sending to end users.
[0012] It is also important to be able to distribute dynamic point clouds to end users with reasonable bandwidth consumption while maintaining acceptable (or preferably, very good) quality of experience.Similar to video compression, good use of temporal correlation is believed to be an important element that will lead to effective compression of dynamic point clouds.
[0013] A known method projects a colored point cloud representing the geometry and color of a 3D object onto the surface of a cube surrounding the 3D object to obtain a video about texture and depth and encodes the texture and depth video using a conventional encoder such as 3D-HEVC (an extension of HEVC, whose specifications can be found at the following addresses: ITU website, T recommendation, H series, h265, http: / / www.itu.int / rec / T-REC-H.265-201612-l / en annex G and I).
[0014] For each projected point, the performance of the compression is close to that of video compression, but when considering dynamic point clouds, some content may be more complex due to occlusions, redundancy, and temporal stability. Therefore, point cloud compression is more demanding than video compression in terms of bitrate.
[0015] Regarding occlusion, it is almost impossible to get the complete geometry of a complex topology without using many projections. Therefore, the required resources (computational power, storage memory) for encoding / decoding all these projections are usually too high.
[0016] Octree-based encoding is also a well-known method for encoding the geometry of a colored point cloud. The octree-based structure for representing the geometry of a point cloud is obtained by recursively partitioning a cube surrounding the point cloud until a leaf cube associated with a leaf node of the octree-based structure contains no more than one point of the point cloud. Thus, the spatial position of a leaf cube of the octree-based structure represents the spatial position of a point in the point cloud, i.e. its geometry.
[0017] Octal-based encoding is an effective method for encoding the geometry of points in a colored point cloud, but does not provide encoding of the color of points in a colored point cloud.
[0018] Therefore, there is a need to find a solution for encoding the colors of point clouds whose geometry is represented by an octree-based structure.
[0019] Encoding the colors of points in leaf cubes requires very high bit rates, especially when the point cloud geometry is complex, since a large number of leaf cubes are required.
[0020] Therefore, a trade-off needs to be made between obtaining a good representation of the geometry of the point cloud without requiring a high bit rate for encoding the colors of the point cloud. Summary of the invention
[0021] A simplified overview of the present principles is presented below in order to provide a basic understanding of some aspects of the present principles. This overview is not an extensive overview of the present principles. It is not intended to identify the key or important elements of the present principles. The following overview merely presents some aspects of the present principles in a simplified form as a prelude to the more detailed description provided below.
[0022] In general, the present principles relate to a method for encoding the color of a point cloud representing a 3D object. The method includes: obtaining a set of points that approximate the geometry of the point cloud; and encoding color information data indicating that the color of at least one point in the set of points is encoded in a bitstream, and the colors of other points in the set of points are not encoded in the bitstream.
[0023] In this way, on the decoding side, the colors of the points defining the geometry of the decoded point cloud are obtained by decoding the bitstream or from the colors of the decoded points that have been colorized and therefore from said decoded color information data.
[0024] This results in a significant reduction in the bit rate required to encode the color of the points approximating the color of the point cloud.
[0025] According to an embodiment, at least one point in the set of points is a point in a leaf cube associated with a leaf node of an octree-based structure approximating the geometry of the point cloud.
[0026] According to one embodiment, the octree-based structure is determined by optimizing a trade-off between a bit rate for encoding a candidate octree-based structure that approximates points of a point cloud and a distortion that takes into account spatial distances between points of the point cloud on the one hand and points approximating points of the point cloud that are contained in leaf cubes associated with leaf nodes of the candidate octree-based structure on the other hand.
[0027] According to an embodiment, at least one point in the set of points is an upsampled point obtained by recursively upsampling points associated with the octree-based structure.
[0028] According to an embodiment, at least one point in the set of points is a point in a back-projected point cloud.
[0029] According to an embodiment, the back-projected point cloud IPPC is performed by back-projecting at least one texture and a depth image representing a portion of the point cloud.
[0030] According to another aspect thereof, the present principles relate to a method for decoding the color of a point cloud representing a 3D object from a bitstream. The method comprises:
[0031] - obtaining from the bitstream a set of points that approximate the geometry of the point cloud;
[0032] -decode color information data from the bitstream;
[0033] -For each point in the set of points,
[0034] - when color information data (indicating the color of the point) is encoded in the bitstream, decoding the color of the point from the bitstream; and
[0035] - Otherwise, get the color of the point based on the colors of the neighboring points.
[0036] According to an embodiment, at least one point in the set of points is a point in a leaf cube associated with a leaf node of an octree-based structure approximating the geometry of the point cloud.
[0037] According to an embodiment, at least one point in the set of points is an upsampled point obtained by recursively upsampling points associated with the octree-based structure.
[0038] According to an embodiment, at least one point in the set of points is a point in a back-projected point cloud.
[0039] According to an embodiment, when the color of the up-sampled point is not encoded in the bitstream, the color of the up-sampled point is obtained according to the color of at least one point in a leaf cube of an octree-based structure located around the up-sampled point.
[0040] According to an embodiment, when the color of the up-sampled point is not encoded in the bitstream, the color of the up-sampled point is obtained according to the color of at least one point in a leaf cube around the up-sampled point and the color of at least one point of the back-projected point cloud.
[0041] According to another aspect thereof, the present principles relate to a signal carrying data representing a set of points approximating a geometry of a point cloud. The signal also carries color information data indicating that the color of at least one point of the set of points is also carried by the signal, and the colors of other points of the set of points are not carried by the signal.
[0042] The specific nature of the present principle as well as other objects, advantages, features and uses of the present principle will become apparent from the following description of examples taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In the accompanying drawings, an example of the present principle is illustrated. It shows:
[0044] - Figure 1 illustrates an example of an octree-based structure;
[0045] - Figure 2 A diagram schematically illustrating steps of a method for color encoding of a point cloud representing a 3D object according to an example of the present principles;
[0046] - Figure 3 A diagram showing sub-steps of step 210 according to an embodiment of the present principles;
[0047] - Figure 4 A diagram showing an example of a candidate octree-based structure;
[0048] - Figure 5 Schematically shows a method for recursively performing a search on a point P associated with an octree-based structure O having a maximum depth level δ according to an embodiment of step 210. i A diagram of the steps of a method for upsampling;
[0049] - Figure 6a to Figure 6b An example of upsampling according to the present principles is shown;
[0050] - Figure 7An example according to the present principles is shown. Figure 5 A variation of the method;
[0051] - Figure 8 A diagram schematically illustrates steps of a method for decoding the colors of a point cloud representing a 3D object from a bitstream according to an example of the present principles.
[0052] - Fig. 9 An example of the architecture of a device according to an example of the present principles is shown;
[0053] - Fig.10 Two remote devices communicating over a communication network are shown according to an example of the present principles; and
[0054] - Fig.11 The syntax of a signal according to an example of the present principles is shown.
[0055] Similar or identical elements are denoted by the same reference numerals. DETAILED DESCRIPTION
[0056] The present principles will be 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. Therefore, although the present principles are susceptible to various modifications and alternative forms, specific examples thereof are shown by way of example in the accompanying drawings and will be described in detail herein. However, it should be understood that it is not intended to limit the present principles to the specific forms disclosed, but on the contrary, the present disclosure will cover all modifications, equivalents, and substitutes that fall within the spirit and scope of the present principles as defined in the claims.
[0057] The terms used here are only for the purpose of describing specific examples, and are not intended to limit this principle. As used here, the singular forms "one", "an" and "said" are also intended to include plural forms, unless the context clearly indicates otherwise. It will be further understood that when used in this specification, the terms "comprise", "comprising", "include" and / or "including" specify the presence of stated features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their groups. Moreover, when an element is referred to as "responding" or "connected" to another element, it can directly respond or be connected to another element, or there can be an intermediate element. On the contrary, when an element is referred to as "directly responding" or "directly connected" to other elements, there is no intermediate element. As used here, the term "and / or" includes any combination and all combinations of one or more of the associated listed items, and can be abbreviated as " / ".
[0058] It will be understood that although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, without departing from the teaching of the present principles, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element.
[0059] Although some of the figures include arrows on communication paths to illustrate a primary direction of communication, it should be understood that communication can occur in the opposite direction to the depicted arrows.
[0060] Some examples are described with respect to block diagrams and operational flow charts, wherein each box represents a circuit element, module or part of a code that includes one or more executable instructions for implementing a specified (one or more) logical function. It should also be noted that in other embodiments, the (one or more) functions indicated in the box may not occur in the order indicated. For example, depending on the functions involved, two boxes shown in succession may actually be executed substantially simultaneously, or sometimes the boxes may be executed in reverse order.
[0061] References to "according to an example" or "in an example" herein mean that a particular feature, structure, or characteristic described in conjunction with an example may be included in at least one embodiment of the present principles. The phrases "according to an example" or "in an example" appearing in various places in the specification do not necessarily all refer to the same example, nor are they necessarily separate or alternative examples that are mutually exclusive with other examples.
[0062] Reference signs appearing in the claims are by way of illustration only and shall have no limiting effect on the scope of the claims.
[0063] Although not explicitly described, the present examples and variations may be employed in any combination or sub-combination.
[0064] The present principles are described for encoding / decoding the colors of a point cloud, but also extend to encoding / decoding the colors of a sequence of point clouds, in that each colored point cloud in the sequence is sequentially encoded / decoded, as described below.
[0065] In the following, an image contains one or several sample (pixel value) arrays of a specific image / video format, which specifies all information related to the pixel values of the image (or video), and all information that can be used by a display and / or any other device, for example, to visualize and / or decode the image (or video). An image includes at least one component in the shape of a first sample array, typically a brightness (or luminance) component, and may include at least one other component in the shape of at least one other sample array, typically a color component. Alternatively, equivalently, the same information can also be represented by a collection of color sample arrays, such as a traditional three-color RGB representation.
[0066] A pixel value is represented by a vector of nv values, where nv is the number of components. Each value in the vector is represented by a number of bits that defines the maximum dynamic range of the pixel value.
[0067] A depth image is an image whose pixel values are the depths of 3D points. Generally speaking, a depth image is a grayscale image.
[0068] The octree-based structure includes a root node, at least one leaf node, and possible intermediate nodes. A leaf node is a node in the octree-based structure that does not have children. All other nodes have children. Each node of the octree-based structure is associated with a cube. Therefore, the octree-based structure includes a set of at least one cube associated with (one or more) nodes.
[0069] A leaf cube is a cube associated with a leaf node of an octree based structure.
[0070] exist Figure 1 In the example shown, the cube associated with the root node (depth 0) is split into 8 sub-cubes (depth 1), and then the two sub-cubes at depth 1 are split into 8 sub-cubes (final depth = maximum depth = 2).
[0071] Figure 2 A diagram schematically illustrates steps of a method for color encoding of a point cloud IPC representing a 3D object according to an example of the present principles.
[0072] In step 210 , module M1 obtains a set of points SP that approximate the geometry of said point cloud IPC.
[0073] At step 220 , the module M2 encodes color information data CID indicating that the color of at least one point of said set of points SP is encoded in the bitstream and that the colors of the other points of said set of points are not encoded in the bitstream.
[0074] According to an embodiment of step 210, at least one point in the set of points SP is a point P in a leaf cube. i , which leaf cube is associated with a leaf node of an octree-based structure O that approximates the geometry of the point cloud IPC.
[0075] Figure 3 A diagram showing sub-steps of step 210 is shown, in accordance with an embodiment of the present principles.
[0076] According to this embodiment, a rate distortion optimization (RDO) process is used to determine an optimal octree-based structure O for approximating the geometry of the point cloud IPC. A point P in a leaf cube associated with a leaf node of the octree-based structure O is i The points of the point cloud IPC (ie, the geometric shape of the point cloud IPC) are approximated.
[0077] RDO processes the octree-based structure O from N candidates. n (n∈[1;N]) to find the best octree-based structure O. The basic principle is to test each candidate octree-based structure O in turn. n And the octree-based structure O for each candidate n To calculate the Lagrangian cost C n , which is given by:
[0078] C n =D n +λR n (1)
[0079] Where R n and D n are the bit rate and distortion as detailed below, respectively, and λ is a fixed Lagrangian parameter that is constant for all candidate octree-based structures O n Both can be fixed.
[0080] Then, by optimizing the point P used to encode the point cloud or The candidate octree-based structure O for approximation n The bit rate Rn The trade-off between octrees is used to obtain the optimal octree-based structure O, that is, the Lagrangian cost C is obtained by the following formula: n Minimize:
[0081]
[0082] High values of the Lagrangian parameter will severely affect the bit rate R n and leads to low approximation quality, while low values of the Lagrangian parameter make it easy to obtain R n High values of λ result in high approximation quality. The range of values of λ depends on the degree of distortion and, most importantly, on the distance between two neighboring points. Assuming this distance is unity, typical values of λ range from hundreds of unit lengths (for very poor encodings) to tenths (for good encodings). These values are indicative and may also depend on the content.
[0083] Determining the optimal octree-based structure O according to an embodiment of the present principles is now described in detail.
[0084] In step 300, module M1 obtains N candidate octree-based structures O n and obtain an octree-based structure O for each candidate n Point P n Point P n is contained in the candidate octree-based structure O n The point in the leaf cube associated with the leaf node of n Approximate the points of the point cloud IPC.
[0085] In step 310, module M1 obtains an octree-based structure O for each candidate n The encoding bit rate R n .
[0086] In step 320, module M1 obtains point P of the point cloud IPC. or .
[0087] In step 330, module M1 obtains an octree-based structure O for each candidate n Distortion D n , each distortion D n Consider point P or and on the other hand point P n The spatial distance between.
[0088] In step 340, module M1 generates a candidate octree-based structure O according to equation (1). n Calculate the Lagrangian cost C n.
[0089] At step 350, once all candidate octree-based structures have been considered, n , module M1 obtains the optimal octree-based structure O according to equation (2).
[0090] According to an embodiment of step 300, the candidate octree-based structure O n includes at least one leaf node, and the leaf cube associated with the leaf node may (or may not) include a single point P n .
[0091] Each single point is the best point P based on the octree structure O i , is a point in the set of points SP.
[0092] Figure 4 The candidate octree-based structure according to this embodiment is shown. n The figure shows an example of a quadtree-based structure partitioning a square, but the reader will easily be able to extend it to the 3D case by replacing the square with a cube.
[0093] According to this example, the cube is split into 4 sub-cubes C1, C2, C3 and C4 (depth 1). Sub-cube C1 is associated with a leaf node and does not contain any points. Sub-cube C2 is recursively split into 4 sub-cubes (depth 2). Sub-cube C3 is also recursively split, while sub-cube C4 is not split but a point located at the center of the cube is associated with it, ..., and so on.
[0094] exist Figure 4 The right part of shows an illustration of a candidate octree-based structure. Black circles indicate that the node is split. A binary flag is associated with each white circle (leaf node) to indicate whether the square (cube in the 3D case) includes (1) or does not include (0) the point.
[0095] According to this example, the point is located at the center of the cube because once the cube is identified in the octree-based structure, it avoids any additional information about the spatial position of the point. However, the present principles are not limited to this example and can be extended to any other spatial position of the point in the cube.
[0096] This principle is not limited to Figure 4 The candidate octree-based structure shown is extended to any other octree-based structure including at least one leaf node, whose associated leaf cube includes at least one point. Therefore, these points are points in the set of points SP.
[0097] According to an embodiment of step 330, the distortion D n is the measure given by:
[0098] D n =d(P n ,P OR )+d(P OR ,P n )
[0099] where d(A,B) is a metric that measures the spatial distance from a set of points A to a set of points B. This metric is not symmetric, meaning that the distance from A to B is not the same as the distance from B to A.
[0100] Distance d(P n ,P OR ) ensures that the candidate octree-based structure O n The leaf cube associated with the leaf node contains P n The distance between the points and the point cloud IPC will not be too far, thus avoiding encoding irrelevant points.
[0101] Distance d(P OR ,P n ) Ensure that each point of the point cloud IPC is approximated by points that are not far away from them, that is, ensure that all parts of the point cloud IPC are well approximated.
[0102] According to an embodiment of step 330, the distance d(A, B) is given by:
[0103]
[0104] where norm is the Euclidean distance and q closest (p,B) is the point of B that is closest to point p of A, defined as
[0105]
[0106] According to an embodiment of step 340, the candidate octree-based structure O is identified by a set of binary flags. n Some of these binary flags are related to the candidate octree-based structure O n to indicate whether the cube associated with the node is split, and some other of these binary flags are associated with the candidate octree-based structure O n associated with a leaf node to indicate the candidate octree-based structure O n The leaf cube associated with the leaf node contains a point representing at least a portion of the point cloud IPC. Then, the candidate octree-based structure O n The encoding bit rate Rn is the sum of the number of these binary flags.
[0107] According to a variant, at least one first bit sequence is formed from the binary flag and entropy coding is performed on the at least one bit sequence. The bit rate R is then obtained from the entropy coded version of the at least one bit sequence. n .
[0108] According to an alternative to this embodiment of step 340, for selecting a candidate octree-based structure O n The syntax for encoding may include an index to a table (Look-Up-Table) identifying a candidate octree-based structure from a set of candidate octree-based structures predetermined, for example, by an end user. The table of candidate octree-based structures is known at the decoder. A set of bits (one or more bytes) is used to encode the index to the table. Thus, the bit rate R n is the bit rate required to encode the index.
[0109] The geometry of the octree-based structure O may be encoded by a set of binary flags, some of which are associated with nodes of the octree-based structure O to indicate whether a cube associated with the node is segmented, and other of which are associated with leaf nodes of the octree-based structure O to indicate whether a leaf cube associated with the leaf node of the octree-based structure O contains a point representing at least a portion of a point cloud IPC.
[0110] According to a variant, at least one first bit sequence is formed from said binary flag and said at least one bit sequence is entropy encoded.
[0111] According to an alternative, the syntax for encoding the octree-based structure O may comprise an index to a table (Look-Up-Table) identifying a candidate octree-based structure from a set of candidate octree-based structures predetermined, for example, by an end user. The table of candidate octree-based structures is known at the decoder. A set of bits (one or more bytes) is used to encode the index to the table. Thus, the bit rate R n is the bit rate required to encode the index.
[0112] When a point P in a leaf cube of the octree-based structure O i When the colors are encoded in the bitstream F1, the colors may be encoded with at least one byte per color component (typically three bytes).
[0113] According to a variant embodiment of step 210, at least one point of the set of points SP is obtained by recursively performing a search on the points P associated with the octree-based structure O. i The upsampling point P obtained by upsampling up .
[0114] Figure 5 Schematically shows a method for recursively performing a search on a point P associated with an octree-based structure O having a maximum depth level δ according to an embodiment of step 210. i Diagram of the steps of the upsampling method.
[0115] In step 510, module M3 obtains I points P from the octree-based structure O. i A set of (I is greater than or equal to 1). Each of the points P i Located in leaf cube C i At the center of the leaf cube C i itself and the leaf node N at the maximum depth level δ i Assuming that all cubes at the same depth have the same size, point P i is located on a regular 3D grid whose steps are the size of the cube of the maximum depth level δ. i is said to have a precision level π=δ.
[0116] Some leaf nodes may be located at depth levels lower than the maximum depth level.
[0117] According to a variation of step 510, the octree-based structure O is said to be completed by recursively splitting the leaf cubes associated with the leaf nodes at depth levels below the maximum depth level until their depth levels reach the maximum depth level. In each iteration, four child nodes are added to the octree-based structure, where point P i Preferably located in its center.
[0118] The purpose of upsampling is to convert the point P i Upsample to a precision level πexp, which is the precision level associated with a regular 3D grid of cubes stepped to the size of a maximum depth level δexp = πexp. Typically, the maximum depth level δexp will be associated with a leaf cube of a single size, i.e. the minimum size of a "3D pixel" (= small cube) during rendering of a point cloud.
[0119] In each iteration, I points P are considered i A collection of .
[0120] At step 520, consider point P iModule M4 determines the neighbor points NEI (on a regular 3D grid) i,j Is it located at point P? i Neighborhood, and for J neighbor points NEI i,j In each of the above, at step 530, module M5 determines a new point NP i,j . New Point NP i,j At the connection point P i Neighbors click NEI i,j The middle of the line segment.
[0121] New Point NP i,j is added to point P i and consider the new point P i The set of is used for the next iteration. The new point P i The points in the set are located on a new regular 3D grid whose steps are the old points P i The points in the set of are located at half the steps of the regular grid. In other words, during steps 520 and 530, the accuracy level of the grid has been increased by 1.
[0122] When point P i The iteration stops when the accuracy level π reaches the desired accuracy level πexp, and the accuracy level π increases by 1 in each iteration.
[0123] Figure 5 The output is the point P obtained after the last iteration. i The final set is called the upsampling point P up .
[0124] Figure 6a to Figure 6b The neighbor point NEI in steps 520 and 530 is shown. i,j and new point NP i,j of determination.
[0125] exist Figure 6a In the figure, point P is shown. i (black dot) all possible adjacent points (white circles). Since point P i The accuracy level of the grid is π, so the accuracy level of the regular 3D grid shown in the figure is π.
[0126] According to one embodiment, by adding a value +S, 0 or -S to point P i The point P is defined by at least one coordinate of i neighborhood of , where S is the steps of a regular 3D grid with precision level π. Figure 6a In the example shown, S = 1. Then, point P i There can be up to 26 neighbor points represented by circles.
[0127] exist Figure 6b , showing a point P i With two neighboring points NEI i,1 and NEI i,2 Example. At point P i and NEI i,1 Add a new point NP in the middle of the defined line segment i,1 , at point P i and NEI i,2 Add a new point NP in the middle of the defined line segment i,2 . Figure 6b The new grid shown (right) has a precision level of π+1, i.e., it has Figure 6b (Left) shows half the steps of the grid with a precision level of π.
[0128] The present principle is not limited to this example, but can be extended to define a point P i Any other method of neighborhood of P can be extended to the i Any other method that uses the neighborhood of two existing points to define a new point.
[0129] Determine the neighbor point NEI as described above i,j Is it located at point P? i The neighborhood of Figure 6a As shown there are many couples of points to be tested.
[0130] according to Figure 7 The variant shown can reduce the number of 26 point pairs to be tested to 13, wherein 3 of the 13 point pairs are considered from point P i Starting from the neighbor points along the line segment, 6 of the 13 point pairs are considered from point P i Start with the neighbor points along the small diagonal, and consider 4 of the 13 point pairs from point P i Start with neighbor points along all long diagonals.
[0131] This variant thus avoids checking the same pair of points twice, so the number of pairs to be checked in step 520 is 26 / 2=13.
[0132] According to an embodiment of step 210, at least one point in the set of points SP is a point P of the inverse-projected point cloud IIPC. IP .
[0133] According to an embodiment of step 210, the module M1 obtains a point P of the back-projected point cloud IPPC by back-projecting at least one texture and a depth image representing the point cloud IPC. IP , for example as proposed in the following article: "Image-Based Surface Compression", Tilo Ochotta and Dietmar Saupe, September 2008, Computer Graphics Forum.
[0134] Basically, the point cloud IPC is projected onto a texture image representing the color of the points of the point cloud IPC and onto a depth image representing the distance between the plane of the texture image and the points of the point cloud IPC. Therefore, a point P in 3D space can be obtained from the pixels of the texture image and its associated depth obtained from the depth image. IP , and click P IP The set of forms the inverse projection point cloud IIPC. Therefore, the inverse projection point cloud IIPC is an approximation of both the geometric shape and color of the points of the point cloud IPC, and the color of the point cloud IPC is encoded by encoding the texture image.
[0135] According to an embodiment of step 220, the color information data CID is defined for signaling:
[0136] -Click P i The color is encoded in the bit stream F1;
[0137] -Click P IP The color is also encoded in the bitstream F1; and
[0138] - At least one upsampling point P up The colors are not encoded in the bitstream.
[0139] This embodiment is advantageous because it allows to identify the points P associated with the octree-based structure O by i Upsampling is performed to accurately approximate the geometry of the point cloud IPC without requiring a high bit rate for encoding the upsampled points, which are taken from an octree-based structure O on the decoding side, and for encoding the colors of the upsampled points, which are obtained based on the colors of previously decoded points.
[0140] According to a variant of step 220 , the color information data CID indicate whether the colors of a subset of points of the set of points SP are encoded in the bitstream F1 .
[0141] According to one embodiment, the points in the subset of points may be points that are close to each other in space and have similar colors. The Euclidean distance may be used to estimate the spatial distance between two points, and the difference between the colors of the points may be compared with a threshold to determine the similarity between the two colors.
[0142] This embodiment is advantageous for larger areas with similar colors, since only a single color and color information data CID has to be encoded for a plurality of points, thereby reducing the global bit rate for encoding the colors of the point cloud.
[0143] According to an embodiment of step 220 , the color information data CID comprises at least one binary flag equal to 1 to indicate that the color of a point of the set of points SP is encoded in the bit stream, and 0 otherwise.
[0144] According to an embodiment of step 220 , the color information data CID comprises at least one binary flag equal to 1 to indicate that the colors of a subset of points of the set of points SP are encoded in the bitstream, and 0 otherwise.
[0145] Figure 8 A diagram schematically illustrates steps of a method for decoding the colors of a point cloud IPC representing a 3D object from a bitstream according to an example of the present principles.
[0146] At step 800 , module M6 obtains a set of points SP from bitstream F1 . This set of points SP approximates the geometry of the point cloud IPC.
[0147] According to an embodiment of step 800, at least one point of the set of points SP is a point P in a leaf cube associated with a leaf node of an octree-based structure O approximating the geometry of the point cloud IPC. i .
[0148] In this case, module M6 decodes the octree-based structure O from the bitstream F1.
[0149] According to an embodiment of step 800, the octree-based structure O is decoded from a set of binary flags. Some of these binary flags indicate whether cubes associated with nodes of the octree-based structure O are segmented, while other of these binary flags indicate whether leaf cubes associated with leaf nodes of the octree-based structure O contain points representing at least a portion of a point cloud IPC.
[0150] Then build an octree-based structure O and include or exclude point P in each leaf cube based on some of these binary flags i .
[0151] According to a variant, at least one first bit sequence is entropy decoded and said binary flag is obtained from said at least one decoded sequence.
[0152] According to an alternative, the syntax for decoding the octree-based structure O may include an index to a table (lookup table) identifying a candidate octree-based structure from a set of candidate octree-based structures predetermined, for example, by an end user. The table of candidate octree-based structures is known at the decoder. Module M6 decodes a set of (one or more) bits and determines said index to the table from said decoded set of (one or more) bits.
[0153] When decoding point P in bitstream F1 i When a color is encoded, the color may be decoded as at least one byte per color component (typically three bytes).
[0154] According to an embodiment of step 800, at least one point of the set of points SP is obtained by recursively performing a search on the points P associated with the octree-based structure O. i The upsampling point P obtained by upsampling up ,like Figures 5 to 7 Described in detail.
[0155] According to an embodiment of step 800, at least one point in the set of points SP is a point P of the inverse projected point cloud IIPC. IP Module M6 decodes at least one texture and depth image representing the point cloud IPC from the bitstream F1 and obtains said back-projected point cloud IPPC by back-projecting said at least one decoded texture and depth image, as described above with respect to the embodiment of step 210 .
[0156] In step 810 , module M7 decodes the color information data CID from the bit stream F1 .
[0157] At step 820 , for each point P of the set of points SP, the module M8 determines whether the colour information data CID indicate that the colour of the point P is encoded in the bitstream F1 .
[0158] If the color of the point P is encoded in the bitstream F1 , then, in a step 830 , the module M9 decodes the color Col of the point P from the bitstream F1 .
[0159] Otherwise, in step 840, module M10 calculates the value of the adjacent point P according to the j The color of point P is obtained by the color of
[0160] According to one embodiment, the color of a point P is obtained by calculating the color of the neighboring points P j The average or median color is obtained.
[0161] According to an embodiment of step 840, the neighboring point P of point P j are points that are spatially close to point P according to the Euclidean distance.
[0162] According to the embodiment of step 840, when the sampling point P up When the color is not encoded in the bitstream F1, the upsampling point P up The color is based on the upper sampling point P up At least one point P in the leaf cube of the surrounding octree-based structure O i obtained by the color.
[0163] For example, if point P i With P up The Euclidean distance between them is less than the threshold, then point P is considered up Located around the upsampling point.
[0164] In one variant, the upsampling point P up The color is based on the upsampling point P up At least one point P in the surrounding leaf cube i The color and at least one back-projection point P IP obtained by the color.
[0165] exist Figure 1-8 In the present invention, a module is a functional unit that may or may not be associated with a distinguishable physical unit. For example, these modules or some of them may be integrated in a unique component or circuit, or contribute to the functionality of the software. In contrast, some modules may potentially consist of separate physical entities. Devices compatible with the present principles are implemented using pure hardware (e.g., using dedicated hardware such as ASIC or FPGA or VLSI ("Application Specific Integrated Circuit", "Field Programmable Gate Array", "Very Large Scale Integration"), or from several integrated electronic components embedded in the device, or from a mixture of hardware and software components.
[0166] Fig. 9 900, which may be configured to implement Figure 1-8 Describe the method.
[0167] The device 900 comprises the following elements linked together by a data and address bus 901:
[0168] - a microprocessor 902 (or CPU), which is for example a DSP (or digital signal processor);
[0169] - ROM (or read-only memory) 903;
[0170] - RAM (or random access memory) 904;
[0171] - I / O interface 905, for receiving data to be sent from the application; and
[0172] -Battery 906.
[0173] According to one example, the battery 906 is external to the device. In each of the memories mentioned, the word "register" used in the specification can correspond to an area of relatively small capacity (a few bits) or a very large area (e.g., an entire program or a large amount of received or decoded data). The ROM 903 includes at least programs and parameters. The ROM 903 can store algorithms and instructions to perform the technology according to the present principles. The CPU 902 uploads the program in the RAM and executes the corresponding instructions when it is started.
[0174] The RAM 904 includes in registers a program executed by the CPU 902 and uploaded after the device 900 is started, input data in registers, intermediate data in different states of a method in registers, and other variables used for execution of the method in registers.
[0175] The embodiments described herein may be implemented, for example, in methods or processes, devices, software programs, data streams, or signals. Even if discussed only in the context of a single form of embodiment (e.g., discussed only as a method or device), the embodiments of the features discussed may also be implemented in other forms (e.g., programs). The device may be implemented, for example, with appropriate hardware, software, and firmware. The method may be implemented in a device such as, for example, a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. The processor also includes a communication device, such as, for example, a computer, a cellular phone, a portable / personal digital assistant ("PDA"), and other devices that facilitate information communication between end users.
[0176] According to an example of an encoder or encoder, a point cloud IPC is obtained from a source. For example, a source belongs to a collection including:
[0177] - local memory (903 or 904), such as video memory or RAM (or random access memory), flash memory, ROM (or read-only memory), hard disk;
[0178] - a storage interface (905), such as an interface to mass storage, RAM, flash memory, ROM, optical disk or magnetic holder;
[0179] - Communication interface (905), such as a wired interface (such as 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 interface); and
[0180] - Image capture circuitry (e.g., a sensor such as a CCD (or Charge Coupled Device) or CMOS (or Complementary Metal Oxide Semiconductor)).
[0181] According to an example of decoding or a decoder, the decoded point cloud is transmitted to a destination; specifically, the destination belongs to a set including:
[0182] - local storage (903 or 904), such as video memory or RAM, flash memory, hard disk;
[0183] - a storage interface (905), such as an interface to mass storage, RAM, flash memory, ROM, optical disk or magnetic holder;
[0184] - a communication interface (905), such as a wired interface (such as a bus interface (such as USB (or Universal Serial Bus)), a wide area network interface, a local area network interface, an HDMI (High Definition Multimedia Interface) interface, or a wireless interface (such as an IEEE 802.11 interface, or interface);
[0185] - Rendering equipment; and
[0186] -monitor.
[0187] According to the example of encoding or encoder, the bit stream F1 is transmitted to the destination. As an example, the bit stream F1 is stored in a local or remote memory, such as a video memory (904) or a RAM (904), a hard disk (903). In a variant, the bit stream F1 is transmitted to a storage interface (905), such as an interface with a mass storage, a flash memory, a ROM, an optical disk or a magnetic holder, and / or is sent through a communication interface (905), such as an interface with a point-to-point link, a communication bus, a point-to-multipoint link or a broadcast network.
[0188] According to the example of decoding or decoder, a bit stream F1 is obtained from a source. Exemplarily, the bit stream is read from a local memory such as a video memory (904), a RAM (904), a ROM (903), a flash memory (903) or a hard disk (903). In a variant, the bit stream is received from a storage interface (905), such as an interface with a mass storage, a RAM, a ROM, a flash memory, an optical disk or a magnetic holder; and / or the bit stream is received from a communication interface (905), such as an interface with a point-to-point link, a bus, a point-to-multipoint link or a broadcast network.
[0189] According to an example, the Figure 1-7 The described encoding method device 900 belongs to the set including the following contents:
[0190] -mobile device;
[0191] - A smartphone or TV with 3D capture capabilities;
[0192] -communication equipment;
[0193] -Gaming equipment;
[0194] - Tablet (or tablet computer);
[0195] - Laptop computer;
[0196] - Still image camera;
[0197] - Video camera;
[0198] -Encoding chip;
[0199] -Still image server; and
[0200] - Video server (eg, broadcast server, video-on-demand server, or web server).
[0201] According to an example, the Figure 5-8 The device 900 of the described decoding method belongs to the set including the following contents:
[0202] -mobile device;
[0203] - Head-mounted display (HMD);
[0204] - (Mixed reality) smart glasses;
[0205] -Holographic devices;
[0206] -communication equipment;
[0207] -Gaming equipment;
[0208] - Set-top box;
[0209] -TV set;
[0210] - Tablet (or tablet computer);
[0211] - Laptop computer;
[0212] -monitor;
[0213] - Stereoscopic display; and
[0214] -Decoding chip.
[0215] according to Fig.10In the example of the present principle shown, in a transmission scenario between two remote devices A and B via a communication network NET, device A comprises a processor associated with a memory RAM and ROM, the memory RAM and ROM being configured to implement the Figure 1-7 The method for encoding a colored point cloud described herein, and the device B comprises a processor associated with a memory RAM and a ROM, the memory RAM and the ROM being configured to implement the Figure 5-8 Describes the method used for decoding.
[0216] According to one example, the network is a broadcast network adapted to broadcast the encoded colored point cloud from device A to decoding devices including device B.
[0217] The signal intended to be sent by device A carries a bit stream F1.
[0218] Thus, the signal may carry data representing a set of points approximating the geometry of a point cloud, characterised in that it also carries colour information data (CID) indicating that the colour of at least one point in the set of points is also carried by the signal and that the colours of other points in the set of points are not carried by the signal.
[0219] Fig.11 An example of the syntax of such a signal is shown when data is transmitted via a packet-based transmission protocol. Each transmitted packet P comprises a header H and a payload PAYLOAD.
[0220] According to one embodiment, the payload PAYLOAD may include at least one of the following elements:
[0221] - Color information data (CID) indicating that the color of at least one point of the set of points is also carried by the signal and that the colors of the other points of the set of points are not carried by the signal.
[0222] The various processes and features described herein may be implemented in various devices or applications. Examples of such devices include encoders, decoders, post-processor processing outputted from decoders, pre-processors providing inputs to encoders, video encoders, video decoders, video codecs, web servers, set-top boxes, notebook computers, personal computers, cell phones, PDAs, HMDs, smart glasses, and any other device or other communication device for processing images or videos. It should be clear that the device may be mobile and may even be installed in a mobile vehicle.
[0223] In addition, the method may be implemented by instructions executed by a processor, and such instructions (and / or data values generated by the implementation) may be stored on a computer-readable storage medium. A computer-readable storage medium may take the form of a computer-readable program product embodied in one or more computer-readable media and having a computer-readable program code embodied thereon that can be executed by a computer. Computer-readable storage media as used herein are considered to be non-transitory storage media in view of having the inherent ability to store information therein and providing the inherent ability to retrieve information therefrom. A computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or apparatus, or any suitable combination of the foregoing. It should be understood that, although more specific examples of computer-readable storage media to which the present principles may be applied are provided, the following is merely an illustrative and non-exhaustive list that is readily understood by a person of ordinary skill in the art: a portable computer floppy disk; a hard disk; a read-only memory (ROM); an erasable programmable read-only memory (EPROM or flash memory); a portable compact disk read-only memory (CD-ROM); an optical storage device; a magnetic storage device; or any suitable combination of the foregoing.
[0224] The instructions may form an application program tangibly embodied on a processor-readable medium.
[0225] The instructions may be in, for example, hardware, firmware, software, or a combination thereof. The instructions may be found, for example, in an operating system, a separate application, or a combination of the two. Thus, a processor may be characterized, for example, as both a device configured to implement a process and a device containing a processor-readable medium (e.g., a storage device) having instructions for implementing the process. Furthermore, in addition to or in lieu of instructions, a processor-readable medium may store data values generated by an embodiment.
[0226] As will be apparent to those skilled in the art, embodiments may generate various signals formatted to carry information that may be stored or transmitted, for example. The information may include, for example, instructions for executing a method, or data generated by one of the described embodiments. For example, a signal may be formatted to carry as data the rules for writing or reading the grammar of the examples described in the present principles, or to carry as data the actual grammar values written by the examples described in the present principles. Such a signal may be formatted as, for example, an electromagnetic wave (e.g., using the radio frequency portion of the spectrum) or a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information carried by the signal may be, for example, analog or digital information. As is known, the signal may be sent over a variety of different wired or wireless links. The signal may be stored on a processor-readable medium.
[0227] Many embodiments have been described. However, it will be understood that various modifications may be made. For example, elements of different embodiments may be combined, supplemented, modified, or removed to produce other embodiments. In addition, it will be understood by those of ordinary skill in the art that other structures and processes may be substituted for the disclosed structures and processes, and that the resulting embodiments will perform at least substantially the same (one or more) functions in at least substantially the same (one or more) manners to achieve at least substantially the same (one or more) results as the disclosed embodiments. Therefore, the present application contemplates these and other embodiments.
Claims
1. A video encoding method, include: - obtaining at least one point associated with an octree-based structure approximating a geometry of a point cloud, wherein the octree-based structure defines a set of points associated with the point cloud; - adding a new point to said set of points associated with said point cloud, said new point being generated by upsampling said at least one point associated with said octree-based structure; as well as - encoding color information indicating that a color of the at least one point associated with the octree-based structure is encoded in a bitstream and a color of the new point is not encoded in the bitstream.
2. The video encoding method according to claim 1, in, The octree-based structure is determined by optimizing a trade-off between bit rate, which is used to encode a candidate octree-based structure that approximates points of a point cloud, and distortion, which takes into account the spatial distances between points of the point cloud on the one hand and points approximating points of the point cloud contained in leaf cubes associated with leaf nodes of the candidate octree-based structure on the other hand. 3 . The video encoding method according to claim 1 , further comprising obtaining at least one point of the back-projected point cloud.
4. The video encoding method according to claim 3, in, The color of the at least one point of the back-projected point cloud is encoded in the bitstream, and the color information further indicates that the color of the at least one point of the back-projected point cloud is encoded in the bitstream.
5. The video encoding method according to claim 3, in, The back-projected point cloud IPPC is obtained by back-projecting at least one texture and depth image representing a portion of the point cloud.
6. A video decoding method, include: - obtaining from the bitstream at least one point associated with an octree-based structure approximating the geometry of a point cloud, wherein the octree-based structure defines a set of points associated with the point cloud; - adding a new point to said set of points associated with said point cloud, said new point being generated by upsampling said at least one point associated with said octree-based structure; - decoding color information from the bitstream, wherein the color information indicates that a color of the at least one point associated with the octree-based structure is encoded in the bitstream, and a color of the new point is not encoded in the bitstream; as well as - obtaining the color of the new point according to the color of the at least one point in the leaf cube of the octree-based structure surrounding the new point.
7. The video decoding method according to claim 6 also includes obtaining at least one point of the back-projected point cloud from the bit stream.
8. The video decoding method according to claim 7, in, The color information further indicates that a color of the at least one point of the back-projected point cloud is encoded in the bitstream, and wherein the video decoding method further comprises decoding the color of the at least one point of the back-projected point cloud from the bitstream.
9. The video decoding method according to claim 7, in, The color of the new point is obtained according to the color of the at least one point in the leaf cube surrounding the new point and the color of the at least one point of the back-projected point cloud.
10. A computer-readable medium comprising instructions, wherein when a computer runs the program, the instructions cause the computer to execute the video encoding method of claim 1.
11. A computer-readable medium comprising instructions, wherein when a computer runs the program, the instructions cause the computer to execute the video decoding method according to claim 6.
12. A video encoding apparatus comprising electronic circuitry adapted to: - obtaining at least one point associated with an octree-based structure approximating a geometry of a point cloud, wherein the octree-based structure defines a set of points associated with the point cloud; - adding a new point to said set of points associated with said point cloud, said new point being generated by upsampling said at least one point associated with said octree-based structure; as well as - encoding color information indicating that a color of the at least one point associated with the octree-based structure is encoded in a bitstream and a color of the new point is not encoded in the bitstream.
13. The video encoding device according to claim 12, in, The octree-based structure is determined by optimizing a trade-off between bit rate, which is used to encode a candidate octree-based structure that approximates points of a point cloud, and distortion, which takes into account the spatial distances between points of the point cloud on the one hand and points approximating points of the point cloud contained in leaf cubes associated with leaf nodes of the candidate octree-based structure on the other hand.
14. The video encoding device according to claim 12, in, The electronic circuit is further adapted to obtain at least one point of the back-projected point cloud.
15. The video encoding device according to claim 14, in, The color of the at least one point of the back-projected point cloud is encoded in the bitstream, and the color information further indicates that the color of the at least one point of the back-projected point cloud is encoded in the bitstream.
16. The video encoding device according to claim 14, in, The electronic circuit is further adapted to obtain a back-projected point cloud IPPC by back-projecting at least one texture and depth image representing a portion of the point cloud.
17. A video decoding device comprising electronic circuitry adapted to: - obtaining from the bitstream at least one point associated with an octree-based structure approximating the geometry of a point cloud, wherein the octree-based structure defines a set of points associated with the point cloud; - adding a new point to said set of points associated with said point cloud, said new point being generated by upsampling said at least one point associated with said octree-based structure; - decoding color information from the bitstream, wherein the color information indicates that a color of the at least one point associated with the octree-based structure is encoded in the bitstream, and a color of the new point is not encoded in the bitstream; as well as - obtaining the color of the new point according to the color of the at least one point in the leaf cube of the octree-based structure surrounding the new point.
18. The video decoding device according to claim 17, in, The electronic circuit is further adapted to obtain at least one point of a back-projected point cloud from the bit stream.
19. The video decoding device according to claim 18, in, The color information further indicating a color of the at least one point of the back-projected point cloud is encoded in the bitstream, and wherein the electronic circuit is further adapted to decode the color of the at least one point of the back-projected point cloud from the bitstream.
20. The video decoding device according to claim 18, in, The color of the new point is obtained according to the color of the at least one point in the leaf cube surrounding the new point and the color of the at least one point of the back-projected point cloud.
