Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device

By correcting the position information of three-dimensional points and selecting appropriate reference point groups for encoding or decoding, the problem of low efficiency of three-dimensional data encoding is solved and more efficient data processing and transmission are achieved.

CN118613832APending Publication Date: 2024-09-06PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280078761.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-12-09
Filing Date
2022-10-24
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing 3D data encoding and decoding methods have low encoding efficiency when processing 3D point cloud data, resulting in large data volumes and low transmission compression efficiency.

Method used

By correcting the position information of three-dimensional points, matching it with the coordinate system of the object point, a reference point group is generated, and the appropriate reference point group is selected for encoding or decoding to reduce prediction errors and the amount of data processed.

Benefits of technology

It improves the efficiency of encoding and decoding of 3D data, reduces the amount of data processed, and enhances the accuracy of encoding and decoding. It is especially suitable for 3D point cloud data acquired by sensors that repeatedly move and stop.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118613832A
    Figure CN118613832A
Patent Text Reader

Abstract

A three-dimensional data encoding method generates a first reference point group by matching and correcting position information of one or more first three-dimensional points with a coordinate system of a target three-dimensional point to be encoded (S201). In the present invention, one of a first reference point group and a second reference point group including one or more first three-dimensional points before correction is selected as a third reference point group for a target three-dimensional point (S202), a prediction point is determined using the third reference point group (S203), and position information of the target three-dimensional point is encoded by referring to at least a portion of the position information of the prediction point (S204).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a three-dimensional data encoding method, a three-dimensional data decoding method, a three-dimensional data encoding device, and a three-dimensional data decoding device. Background Art

[0002] In a wide range of fields such as computer vision, map information, surveillance, infrastructure inspection, or image distribution for autonomous operation of cars or robots, devices and services that effectively utilize three-dimensional data are expected to become more widespread in the future. Three-dimensional data is obtained by various methods such as distance sensors such as laser rangefinders, stereo cameras, or a combination of multiple monocular cameras.

[0003] As one of the methods of expressing three-dimensional data, there is a method called point cloud that represents the shape of a three-dimensional structure by a group of points in a three-dimensional space. In the point cloud, the position and color of the point group are stored. It is expected that point cloud will become the mainstream method of expressing three-dimensional data, but the amount of data of the point group is very large. Therefore, in the accumulation or transmission of three-dimensional data, like two-dimensional dynamic images (for example, MPEG-4AVC or HEVC standardized by MPEG), compression based on the amount of encoded data must be performed.

[0004] In addition, compression of point clouds is partially supported by a public library (Point Cloud Library) that performs point cloud association processing.

[0005] In addition, there is known a technology for searching and displaying facilities located around a vehicle using three-dimensional map data (for example, refer to Patent Document 1).

[0006] Prior art literature

[0007] Patent Literature

[0008] Patent Document 1: International Publication No. 2014 / 020663 Summary of the invention

[0009] Problems to be solved by the invention

[0010] It is desirable to improve encoding efficiency in encoding and decoding processes of three-dimensional data.

[0011] An object of the present disclosure is to provide a three-dimensional data encoding method, a three-dimensional data decoding method, a three-dimensional data encoding device or a three-dimensional data decoding device capable of improving encoding efficiency.

[0012] Means for solving problems

[0013] A three-dimensional data encoding method according to one embodiment of the present disclosure (the content of claim 1 at the time of filing is attached. The same applies hereinafter).

[0014] A three-dimensional data decoding method according to one embodiment of the present disclosure (claim 12).

[0015] Effects of the Invention

[0016] The present disclosure can provide a three-dimensional data encoding method, a three-dimensional data decoding method, a three-dimensional data encoding device, and a three-dimensional data decoding device that can improve encoding efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a diagram for explaining a method of encoding or decoding a three-dimensional point represented by polar coordinates using inter-frame prediction according to the first embodiment.

[0018] Figure 2 This is a diagram for explaining a method of encoding or decoding a three-dimensional point represented by polar coordinates using inter-frame prediction according to the first embodiment.

[0019] Figure 3 This is a diagram for explaining a method of encoding or decoding a three-dimensional point represented by polar coordinates using inter-frame prediction according to the first embodiment.

[0020] Figure 4 This is a diagram for explaining a method of encoding or decoding a three-dimensional point represented by polar coordinates using inter-frame prediction according to the first embodiment.

[0021] Figure 5 This is a flowchart showing an example of a processing procedure of the inter-frame prediction method according to the first embodiment.

[0022] Figure 6 This is a diagram for explaining a first example of a method for switching a prediction value according to a horizontal angle value in the first embodiment.

[0023] Figure 7 is the horizontal angle φ derived according to the first embodiment. cur The predicted value d is determined for each of the four specified directions pred Graph of the formula .

[0024] Figure 8 This is a diagram for explaining a second example of the method of switching the derivation of the prediction value according to the value of the horizontal angle in the first embodiment.

[0025] Fig. 9 is the horizontal angle φ derived according to the first embodiment. cur The predicted value d is determined for each of the 8 specified directions. pred Graph of the formula .

[0026] Fig.10 This is a block diagram of a three-dimensional data encoding device according to Embodiment 2.

[0027] Fig.11 This is a block diagram of a three-dimensional data decoding device according to Embodiment 2.

[0028] Fig.12 This is a flowchart of the encoding or decoding process including the inter-frame prediction process of implementation mode 2.

[0029] Fig.13 This is a diagram for explaining an example of the inter-frame prediction method according to the second embodiment.

[0030] Fig.14 This is a flowchart of the inter-frame prediction processing in the second embodiment.

[0031] Fig.15 This is a flowchart of the three-dimensional data encoding process in the second embodiment.

[0032] Fig.16 This is a flowchart of the three-dimensional data decoding process according to the second embodiment. DETAILED DESCRIPTION

[0033] A three-dimensional data encoding method according to one embodiment of the present invention generates a first reference point group by correcting the position information of one or more first three-dimensional points to match the coordinate system of the object three-dimensional points of the encoding object, selects one of the first reference point group and a second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the object three-dimensional points, determines a prediction point using the third reference point group, and encodes the position information of the object three-dimensional point with reference to at least a portion of the position information of the prediction point.

[0034] Thus, the three-dimensional data encoding method selectively uses the first reference point group after correction and the second reference point group before correction to encode the object point. Therefore, according to the three-dimensional data encoding method, it is possible to determine the prediction point that reduces the prediction error. Therefore, the three-dimensional data encoding method can improve the encoding efficiency. In addition, the three-dimensional data encoding method can suppress the amount of data processed in the encoding process.

[0035] For example, in the correction, the position information of the one or more first three-dimensional points can also be matched with the coordinate system of the object three-dimensional point based on the first information representing the displacement between the coordinate system of the one or more first three-dimensional points and the coordinate system of the object three-dimensional point.

[0036] For example, in the calibration, the position information of one or more second three-dimensional points included in the first reference point group may be derived by projecting the one or more first three-dimensional points onto the coordinate origin of the object three-dimensional point according to the displacement.

[0037] For example, the first information may include at least one of second information related to movement parallel to the horizontal plane and third information related to rotation around a vertical axis.

[0038] For example, the position information may include a distance component, a horizontal angle component, and an elevation component, and in the correction, at least one of the distance component and the horizontal angle component is corrected. That is, in this method, the elevation component in the polar coordinates is not corrected. Therefore, this method is suitable for selectively using a reference point group whose position is corrected in the horizontal direction and a reference point group before correction. For example, this method is suitable for a three-dimensional point group obtained by a sensor that repeatedly moves and stops in the horizontal direction.

[0039] For example, the three-dimensional data encoding method may further determine whether to perform the correction, and generate a bit stream including the encoded position information of the object three-dimensional point and fourth information indicating whether to perform the correction.

[0040] Therefore, the three-dimensional data encoding method can determine a prediction point that further reduces the prediction error by switching whether to perform correction.

[0041] For example, when the correction is not performed, the second reference point group may be selected as the third reference point group.

[0042] For example, it may also be that the one or more first three-dimensional points are included in the first processing unit, and without performing the correction, one of the second reference point group and the fourth reference point group is selected as the third reference point group, and the fourth reference point group is one or more third three-dimensional points before correction included in the second processing unit different from the first processing unit.

[0043] Thus, the three-dimensional data encoding method can refer to two processing units that have not been corrected without performing correction. Therefore, the three-dimensional data encoding method can improve encoding efficiency.

[0044] For example, the first reference point group may be generated by calibrating one or more fourth three-dimensional points that are part of the one or more first three-dimensional points.

[0045] Thus, the three-dimensional data encoding method can reduce the amount of processing by limiting the three-dimensional points of the object to be corrected. For example, when the relative position relationship between the object three-dimensional point and the origin is approximately equal to the relative position relationship between the prediction point included in the reference point group and the origin, if the prediction point is used without correction, the prediction error can be suppressed. On the other hand, when the relative position relationship between the object three-dimensional point and the origin is different from the relative position relationship between the prediction point included in the reference point group and the origin, the prediction error can be suppressed if the corrected prediction point is used. In this way, by switching whether correction should be performed according to the position of the object three-dimensional point, the prediction error can be reduced.

[0046] For example, the position information may include a distance component, a horizontal angle component, and an elevation component, and the fourth three-dimensional point is a first three-dimensional point among the one or more first three-dimensional points whose elevation component is larger than a predetermined value. That is, in this method, the three-dimensional points of the object to be corrected are limited to three-dimensional points with a large elevation component. Three-dimensional points with a large elevation component represent buildings, for example. Buildings are fixed to the ground. Therefore, in the case where the object three-dimensional point and the predicted point represent buildings, the relative position relationship between the object three-dimensional point and the origin is different from the relative position relationship between the predicted point and the origin included in the reference point group. In this case, if the predicted point that has been corrected is used, the prediction error can be suppressed. Therefore, the three-dimensional data encoding method limits the object to be corrected to buildings, etc.

[0047] Similarly, the fourth three-dimensional point may be a first three-dimensional point whose vertical position is higher than a predetermined position among the one or more first three-dimensional points.

[0048] A three-dimensional data decoding method according to one embodiment of the present invention generates a first reference point group by correcting the position information of one or more first three-dimensional points to match the coordinate system of the object three-dimensional points of the decoding object, selects one of the first reference point group and a second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the object three-dimensional points, determines a prediction point using the third reference point group, and decodes the position information of the object three-dimensional point with reference to at least a portion of the position information of the prediction point.

[0049] Thus, the three-dimensional data decoding method selectively uses the first reference point group after correction and the second reference point group before correction to decode the object point. Therefore, according to the three-dimensional data decoding method, it is possible to determine the prediction point that reduces the prediction error. Therefore, the three-dimensional data decoding method can suppress the amount of data processed in the decoding process.

[0050] For example, in the correction, the position information of the one or more first three-dimensional points can also be matched with the coordinate system of the object three-dimensional point based on the first information representing the displacement between the coordinate system of the one or more first three-dimensional points and the coordinate system of the object three-dimensional point.

[0051] For example, in the calibration, the position information of one or more second three-dimensional points included in the first reference point group may be derived by projecting the one or more first three-dimensional points onto the coordinate origin of the object three-dimensional point according to the displacement.

[0052] For example, the first information may include at least one of second information related to movement parallel to the horizontal plane and third information related to rotation around a vertical axis.

[0053] For example, the position information may include a distance component, a horizontal angle component, and an elevation component, and in the correction, at least one of the distance component and the horizontal angle component is corrected. That is, in this method, the elevation component in the polar coordinates is not corrected. Therefore, this method is suitable for selectively using a reference point group whose position is corrected in the horizontal direction and a reference point group before correction. For example, this method is suitable for a three-dimensional point group obtained by a sensor that repeatedly moves and stops in the horizontal direction.

[0054] For example, the three-dimensional data decoding method may further obtain fourth information indicating whether to perform the correction from a bit stream, and determine whether to perform the correction based on the fourth information.

[0055] Therefore, the three-dimensional data decoding method can determine a prediction point that further reduces the prediction error by switching whether to perform correction.

[0056] For example, when the correction is not performed, the second reference point group may be selected as the third reference point group.

[0057] For example, it may also be that the one or more first three-dimensional points are included in the first processing unit, and without performing the correction, one of the second reference point group and the fourth reference point group is selected as the third reference point group, and the fourth reference point group is the one or more third three-dimensional points before correction included in the second processing unit different from the first processing unit.

[0058] Thus, the three-dimensional data decoding method can refer to two processing units that have not been corrected when no correction is performed. Therefore, the three-dimensional data decoding method can improve coding efficiency.

[0059] For example, the first reference point group may be generated by correcting one or more fourth three-dimensional points that are part of the one or more first three-dimensional points.

[0060] Thus, the three-dimensional data decoding method can reduce the amount of processing by limiting the three-dimensional points of the object to be corrected. For example, when the relative position relationship between the object three-dimensional point and the origin is approximately equal to the relative position relationship between the prediction point included in the reference point group and the origin, if the prediction point is used without correction, the prediction error can be suppressed. On the other hand, when the relative position relationship between the object three-dimensional point and the origin is different from the relative position relationship between the prediction point included in the reference point group and the origin, the prediction error can be suppressed if the corrected prediction point is used. In this way, by switching whether correction should be performed according to the position of the object three-dimensional point, the prediction error can be reduced.

[0061] For example, the position information may include a distance component, a horizontal angle component, and an elevation component, and the fourth three-dimensional point is a first three-dimensional point among the one or more first three-dimensional points whose elevation component is larger than a predetermined value. That is, in this method, the three-dimensional points of the object to be corrected are limited to three-dimensional points with a large elevation component. Three-dimensional points with a large elevation component represent buildings, for example. Buildings are fixed to the ground. Therefore, in the case where the object three-dimensional point and the predicted point represent buildings, the relative position relationship between the object three-dimensional point and the origin is different from the relative position relationship between the predicted point and the origin included in the reference point group. In this case, if the predicted point that has been corrected is used, the prediction error can be suppressed. Therefore, the three-dimensional data decoding method limits the object to be corrected to buildings, etc.

[0062] Similarly, the fourth three-dimensional point may be a first three-dimensional point whose vertical position is higher than a predetermined position among the one or more first three-dimensional points.

[0063] In addition, a three-dimensional data encoding device of one embodiment of the present invention includes a processor and a memory, and the processor uses the memory to correct the position information of one or more first three-dimensional points by matching them with the coordinate system of the object three-dimensional points of the encoding object, thereby generating a first reference point group, selecting one of the first reference point group and a second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the object three-dimensional points, using the third reference point group to determine a prediction point, and encoding the position information of the object three-dimensional point with reference to at least a portion of the position information of the prediction point.

[0064] Thus, the three-dimensional data encoding device selectively uses the first reference point group after correction and the second reference point group before correction to encode the object point. Therefore, according to the three-dimensional data encoding device, it is possible to determine the prediction point that reduces the prediction error. Therefore, the three-dimensional data encoding device can improve the encoding efficiency. In addition, the three-dimensional data encoding device can suppress the amount of data processed in the encoding process.

[0065] In addition, a three-dimensional data decoding device of one embodiment of the present invention includes a processor and a memory, and the processor uses the memory to correct the position information of one or more first three-dimensional points to match the coordinate system of the object three-dimensional points of the decoding object, thereby generating a first reference point group, selecting one of the first reference point group and a second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the object three-dimensional points, using the third reference point group to determine a prediction point, and decoding the position information of the object three-dimensional point with reference to at least a portion of the position information of the prediction point.

[0066] Thus, the three-dimensional data decoding device selectively uses the first reference point group after correction and the second reference point group before correction to decode the object point. Therefore, according to the three-dimensional data decoding device, it is possible to determine the prediction point that reduces the prediction error. Therefore, the three-dimensional data decoding method can suppress the amount of data processed in the decoding process.

[0067] In addition, these general or specific methods can be implemented by systems, methods, integrated circuits, computer programs, or computer-readable recording media such as CD-ROMs, or by any combination of systems, methods, integrated circuits, computer programs, and recording media.

[0068] Hereinafter, the embodiments are described in detail with reference to the accompanying drawings. In addition, the embodiments described below all represent a specific example of the present disclosure. The numerical values, shapes, materials, components, configuration positions of components, connection methods, steps, order of steps, etc. shown in the following embodiments are examples and do not limit the subject matter of the present disclosure. In addition, the components in the following embodiments that are not described in the independent claims are described as arbitrary components.

[0069] (Implementation Method 1)

[0070] In this embodiment, a 3D data encoding method and a 3D data decoding method for performing inter-frame prediction on a point group including a plurality of 3D points represented by a polar coordinate system including position information representing each position are described. In addition, the position information is sometimes referred to as simply a position. The following mainly describes a method for determining one or more candidate points used in determining a prediction value of inter-frame prediction.

[0071] Figure 1 to Figure 3 This is a diagram for explaining a method of encoding or decoding a three-dimensional point represented by polar coordinates using inter-frame prediction.

[0072] Here, inter-frame prediction refers to a method of predictively encoding a plurality of three-dimensional points contained in a coding target frame based on the one or more three-dimensional points referenced, referring to one or more already-encoded three-dimensional points contained in a reference frame that is a frame different from the coding target frame, when encoding a three-dimensional point of a coding target contained in a coding target frame. Intra-frame prediction refers to a method of predictively encoding a plurality of three-dimensional points contained in a coding target frame based on the one or more referenced three-dimensional points, referring to at least one of the other one or more already-encoded three-dimensional points contained in the coding target frame, when encoding a three-dimensional point of a coding target contained in a coding target frame. The coding target frame is sometimes expressed as a second frame. The reference frame is sometimes expressed as a first frame.

[0073] The point group data has one or more frames, and each of the one or more frames has one or more three-dimensional points. The one or more frames include a coding object frame and a reference frame. For example, the frames can also be generated by measuring at multiple different positions by a sensor. The frames can also be generated by measuring by multiple different sensors.

[0074] In the space on the reference plane, a plurality of first three-dimensional points are obtained by measuring the distance to an object in each of a plurality of first directions around a first position. The first position is a first origin that serves as a reference for position information of the plurality of first three-dimensional points, and the position information of the plurality of first three-dimensional points is a measurement result measured by a sensor configured at a third position. The first position is sometimes also referred to as a first reference position. The first position may or may not coincide with the third position where the sensor is configured. The plurality of first three-dimensional points are respectively represented by a first polar coordinate system with the first position as the first origin. The plurality of first three-dimensional points are, for example, included in a reference frame.

[0075] In addition, in the space on the reference plane, a plurality of second three-dimensional points are obtained by measuring the distance to the object in each of the plurality of second directions around the second position. The second position is a second origin that serves as a reference for the position information of the plurality of second three-dimensional points, and the position information of the plurality of second three-dimensional points is a measurement result measured by a sensor configured at a fourth position. The second position is sometimes also referred to as a second reference position. The second position may or may not coincide with the fourth position where the sensor is configured. The plurality of second three-dimensional points are respectively represented by a second polar coordinate system with the second position as the second origin.

[0076] The sensor generates a measurement result including one or more three-dimensional points by emitting electromagnetic waves and obtaining reflected waves of the electromagnetic waves reflected by the subject. In this embodiment, the sensor may also generate a frame including the measurement results obtained by one measurement. Specifically, the sensor measures the time taken for the emitted electromagnetic waves to be reflected by the subject and return to the sensor, and uses the measured time and the wavelength of the electromagnetic waves to calculate the distance between the sensor and a point on the surface of an object surrounding the sensor. The sensor emits electromagnetic waves from a reference position of the sensor to a predetermined plurality of radial directions. The sensor is, for example, LiDAR, and the electromagnetic waves are, for example, lasers.

[0077] The three-dimensional points each have at least position information. The position information indicates the position of the three-dimensional point having the position information, and is expressed in polar coordinates. Specifically, the position information includes the distance from the reference point to the three-dimensional point having the position information and two angles indicating the direction from the reference point to the three-dimensional point having the position information. One of the two angles is, for example, the angle (horizontal angle) formed by a reference direction perpendicular to the axis and the above direction when observed from an axis perpendicular to the reference plane, and the other is the angle (elevation angle) formed by the reference plane and the above direction. In addition, the reference plane is a horizontal plane, such as a plane perpendicular to a specified axis of the sensor, such as the rotation axis of the LiDAR, the ground, the floor surface, or a plane parallel to them.

[0078] exist Figure 1 to Figure 3 In , it is assumed that the encoding of the point group is generated by obtaining the three-dimensional position of the objects around the sensor with the sensor position as the center, such as LiDAR. Figure 1 to Figure 3 For example, the positional relationship between the second reference position 13808 of the sensor 13806 when measuring the point group of the encoding target frame, the first reference position 13807 of the sensor 13805 when measuring the point group of the reference frame, the encoding target point 13801, and the reference candidate points 13802 and 13803 in the inter-frame prediction is shown. In the case of a sensor such as LiDAR that emits laser light around a predetermined axis (rotation axis) to measure the distance to an object, Figure 1 to Figure 3 For example, it is a top view when viewed from the axial direction. The encoding target point 13801 and the reference candidate points 13802 and 13803 represent the three-dimensional position on the same surface (e.g., plane) 13810 of the object 13804. The encoding target point 13801 is included in the point group of the encoding target frame. Figure 1 to Figure 3 The reference candidate points 13802 and 13803 are included in the point group of the reference frame and are included in the multiple (for example, n+1) three-dimensional points representing the three-dimensional position on the above-mentioned surface 13810. The point group of the reference frame is Figure 1 to Figure 3In the figure, the points are represented by blank diamonds. In addition, sensor 13805 and sensor 13806 may be the same sensor or different sensors (i.e., separate sensors). In the case where sensor 13805 and sensor 13806 are the same sensor, for example, one sensor moves from the first reference position 13807 to the second reference position 13808 or from the second reference position 13808 to the first reference position 13807. In this case, the time when the encoding object frame is generated is different from the time when the reference frame is generated. In the case where sensor 13805 and sensor 13806 are different sensors, the time when the encoding object frame is generated and the time when the reference frame is generated may be different or the same.

[0079] The three-dimensional data encoding device determines the distance d from the second reference position 13808 of the sensor 13806 to the encoding target point 13801 based on the positional relationship between the second reference position 13808 of the sensor 13806 when measuring the point group of the encoding target frame, the first reference position 13807 of the sensor 13805 when measuring the point group of the reference frame, the encoding target point 13801, and the reference candidate points 13802 and 13803. cur The predicted value d pred Furthermore, the three-dimensional data encoding device may also determine the predicted value d pred For example, the three-dimensional data encoding device can also determine the prediction value d by executing the following steps 1 to 3: pred In addition, the three-dimensional data decoding device determines the prediction value d by performing the same processing as the three-dimensional data encoding device. pred , therefore, only the three-dimensional data encoding device is described below.

[0080] In step 1, if Figure 2 As shown, the three-dimensional data encoding device projects at least one reference candidate point 13802, 13803 to the second polar coordinate system of the second reference position 13808, and derives the horizontal angle φ of the i-th reference candidate point observed from the second reference position 13808 by formula Z1 ref2 (i). In addition, φ ref1 (i) d ref1 (i) and m represent Figure 2The horizontal angle at the first reference position 13807, the distance from the first reference position 13807 to the i-th reference candidate point, and the distance (inter-sensor distance or movement distance) between the first reference position 13807 and the second reference position 13808 are shown. The horizontal angle is an angle in the direction in which the i-th reference candidate point exists relative to the first reference position 13807, based on the reference direction 13809 connecting the first reference position 13807 and the second reference position 13808. In addition, n is a natural number that can be used to obtain i and k. i is an arbitrary natural number.

[0081] φ ref2 (i) = arctan(d ref1 (i)sin(φ ref1 (i)) / (d ref1 (i)cos(φ ref1 (i))-m))(Formula Z1)

[0082] In step 2, the three-dimensional data encoding device selects at least one horizontal angle φ corresponding to the i-th reference candidate point. ref2 In (i), the horizontal angle φ from the second reference position 13808 to the encoding object point 13801 is selected. cur The horizontal angle φ near ref2 (k) Figure 3 As shown, select the horizontal angle φ ref2 The k-th reference candidate point 13802 indicated by (k) is used as a reference point (inter-frame reference point) 13811 for inter-frame prediction. In addition, k represents the number of horizontal angles φ at n. ref2 The horizontal angle φ from the second reference position 13808 to the encoding object point 13801 is cur That is, the kth reference candidate point is a reference point used for calculation of a prediction value among the n reference candidate points, and is an example of the first three-dimensional point that has been encoded.

[0083] In step 3, the three-dimensional data encoding device derives the distance d from the second reference position 13808 to the inter-frame reference point 13811. ref2 (k), the distance d ref2 (k) is determined as the predicted value d pred .

[0084] d pred =d ref2 (k) = d ref1 (k)sin(φ ref1 (k)) / sin(φ ref2 (k))(Formula Z2)

[0085] The point group of the encoding target frame and the point group of the reference frame are expressed by polar coordinates of coordinate systems having different reference positions. Therefore, when predictive encoding is performed on the encoding target point 13801 using reference candidate points 13802 and 13803 of a reference frame different from the encoding target frame, it is necessary to perform a coordinate system transformation to transform the coordinate system of the reference candidate points 13802 and 13803 of the reference frame from a first coordinate system expressing the point group of the reference frame to a second coordinate system expressing the point group of the encoding frame.

[0086] The three-dimensional data encoding device performs steps 1 to 3 to represent the position in the first polar coordinate system and determine the first three-dimensional point that has been encoded. The first three-dimensional point is a reference point for predicting the value. In addition, the three-dimensional data encoding device calculates the distance d between the second three-dimensional point whose position is represented in the second polar coordinate system and is not encoded and the second reference position 13808. cur , determine (i) the distance m between the first reference position 13807 and the second reference position 13808, (ii) the horizontal angle φ between the first line connecting the first reference position 13807 and the second reference position 13808 and the second line connecting the first reference position 13807 and the reference point 13811 ref1 (k), and (iii) the distance d from the reference point 13811 in the first polar coordinate system to the first reference position 13807 ref1 (k). In addition, the distance d cur is an example of the second distance. The distance m is an example of the distance between the first position and the second position. The horizontal angle φ ref1 (k) is an example of a first angle, which indicates the angle between the first line and the second line. ref1 (k) is an example of the first distance.

[0087] In addition, for example, the three-dimensional data encoding device uses the distance m, the horizontal angle φ, and the predicted value of the position of the uncoded second three-dimensional point in the second polar coordinate system. ref1 (k), and the distance d ref1 (k) Calculate (iv) the horizontal angle φ between the first line and the third line connecting the second reference position 13808 and the reference point 13811 ref2 (k) and (v) the distance d from the reference point 13811 in the second polar coordinate system to the second reference position 13808 cur In addition, the horizontal angle φ ref2 (k) is an example of the second angle.

[0088] In addition, for example, at a distance d cur In the calculation of , when the first line coincides with the reference line of the horizontal angle in the first polar coordinate system (that is, when the first line is parallel to the reference line of the horizontal angle), the distance d is used. ref1(k) and the horizontal angle φ as the first angle ref1 (k), calculate the horizontal angle φ ref2 (k). Horizontal angle φ ref1 (k) is an example of a first horizontal angle, which is a component of a horizontal angle in the polar coordinate component representing the position of the reference point 13811. The position of the reference point 13811 is represented by the first polar coordinate system. Figure 1 to Figure 3 In the example, the case where the first line is consistent with the baseline of the horizontal angle in the first polar coordinate system (that is, the first line is parallel to the baseline of the horizontal angle), but when the first line is inconsistent with the baseline of the horizontal angle in the first polar coordinate system (that is, the first line is not parallel to the baseline of the horizontal angle), the three-dimensional data encoding device may also calculate the difference between the horizontal angle component in the polar coordinate component representing the position of the reference point 13811 and the angle formed by the first line relative to the baseline as the first angle.

[0089] Furthermore, the three-dimensional data encoding device may determine the first three-dimensional point based on other second three-dimensional points whose positions are represented in the second polar coordinate system and have been encoded, when determining the reference point 13811 .

[0090] As described above, the three-dimensional data encoding device can predict the distance d from the second reference position 13808 of the encoding target frame to the encoding target point 13801 with high accuracy. cur , which may be able to improve the efficiency of inter-frame prediction coding.

[0091] In addition, the moving distance m can also be generated based on the results of measurement using sensors such as GPS (Global Positioning System) and odometers, or the results derived using self-position estimation technology using SfM (Structure from Motion) and SLAM (Simultaneous Localization and Mapping). In addition, these results can also be included in the header information in the data units specified such as frames and slices, and the information of the first nodes of these data units. Therefore, these results can also be notified from the three-dimensional data encoding device to the three-dimensional data decoding device.

[0092] In addition, in the above step 3, d can also be derived by formula Z3 ref2 (k).

[0093] d ref2 (k)=(d ref1 (k)cos(φ ref1 (k))-m) / cos(φ ref2 (k))(Formula Z3)

[0094] In addition, the three-dimensional data encoding device may also determine the inter-frame reference point by projecting all the reference candidate points of the reference frame onto the second polar coordinate system of the second reference position 13808 of the encoding target frame. That is, the three-dimensional data encoding device may also perform the above-mentioned coordinate system transformation on all the reference candidate points of the reference frame, and determine the inter-frame reference point based on all the transformed candidate points. Alternatively, the three-dimensional data encoding device may also determine the inter-frame reference point based on the horizontal angle φ of the encoding target point 13801. cur , the distance m between the first reference position 13807 and the second reference position 13808, etc., the reference candidate points are limited to points included in a part of the horizontal angle range of the sensor 13805 relative to the reference frame. For example, at the horizontal angle φ of the encoding target point 13801 cur When the distance m is small, or when the encoding object point is in the direction connecting the first reference position and the second reference position, the process of determining the inter-frame reference point is not performed. In addition, when the distance m is large, the reference candidate points in the direction connecting the first reference position to the second reference position are limited to the area in front of the first reference position. In this way, the amount of processing for determining the inter-frame reference point can be suppressed. That is, the three-dimensional data encoding device is based on the horizontal angle φ. cur and distance m, etc., and by limiting the reference candidate points that are the target of the coordinate system transformation to a part of all the reference candidate points, the amount of processing related to the coordinate system transformation can be suppressed.

[0095] In addition, the calculation processing such as trigonometric function and division in each of the above steps can also be simplified using a table consisting of a limited number of elements. By simplifying, the efficiency of inter-frame prediction coding can be improved while suppressing the amount of processing.

[0096] also, Figure 1 to Figure 3 The angle between the reference direction 13809 and the same surface (e.g., plane) 13810 of the object 13804 is not limited. That is, the direction of the first line connecting the first reference position 13807 and the second reference position 13808 can take any angle with respect to the horizontal axis included in the same surface (e.g., plane) 13810 of the object 13804. Even in this case, the above method can be used to calculate the predicted value.

[0097] Then, in Figure 4 In , it is assumed that the encoding of the point group is generated by obtaining the three-dimensional position of the objects around the sensor with the sensor position as the center, such as LiDAR. Figure 4 For example, when using Figure 1 to Figure 3 In the steps 1 to 3 described above, the three-dimensional data encoding device may also consider the elevation angle θ when the encoding target point 13821 is observed from the sensor 13826 of the encoding target frame. cur, determines the distance d from the sensor 13826 of the encoding object frame to the encoding object point 13821 cur The predicted value d pred .

[0098] exist Figure 4 , for example, the positional relationship between the second reference position 13828 of the sensor 13826 of the encoding target frame, the first reference position 13827 of the sensor 13826 of the reference frame, the encoding target point 13821, and the reference candidate point 13822 in the inter-frame prediction is shown. The encoding target point 13821 and the reference candidate point 13822 represent three-dimensional positions on the same surface (e.g., plane) 13824 of the object 13823. The encoding target point 13821 is included in the point group of the encoding target frame. The point group of the encoding target frame is Figure 4 The reference candidate point 13822 is a 3D point included in the point group of the reference frame and representing the 3D position on the surface 13824 of the object 13823. The reference frame contains more than one 3D point, and sometimes contains multiple (for example, n) 3D points. The point group of the reference frame is Figure 4 In the figure, the points are represented by blank diamonds. In addition, sensor 13825 and sensor 13826 may be the same sensor or different sensors (i.e., other sensors). In the case where sensor 13825 and sensor 13826 are the same sensor, for example, one sensor moves from the first reference position 13827 to the second reference position 13828 or from the second reference position 13828 to the first reference position 13827. In this case, the time when the encoding object frame is generated is different from the time when the reference frame is generated. In the case where sensor 13825 and sensor 13826 are different sensors, the time when the encoding object frame is generated and the time when the reference frame is generated may be different or the same.

[0099] The three-dimensional data encoding device can also determine the prediction value d by executing the following steps 11 to 13 pred .

[0100] In step 11, the three-dimensional data encoding device projects at least one reference candidate point 13822 to the second polar coordinate system of the second reference position 13828, and derives the horizontal angle φ of the i-th reference candidate point observed from the second reference position 13828 through equations Z4 and Z5. ref2 (i) and the elevation angle θ ref2 (i). It should be noted that φ ref2 (i), θ ref2 (i) d ref1 (i), and m represent Figure 4The horizontal angle and elevation angle at the first reference position 13827, the distance from the first reference position to the i-th reference candidate point, and the distance (inter-sensor distance or movement distance) between the first reference position 13827 and the second reference position 13828 are shown. In addition, the horizontal angle is an angle relative to the direction in which the i-th reference candidate point of the first reference position 13827 exists, based on the reference direction 13829 of the first reference position 13827 and the second reference position 13828. The elevation angle is an angle relative to the direction in which the i-th reference candidate point of the first reference position 13827 exists, based on the horizontal plane. In addition, n is a natural number that can be used to obtain i and k. i is an arbitrary natural number.

[0101] φ ref2 (i) = arctan(d ref1 (i)sin(φ ref1 (i)) / (d ref1 (i)cos(φ ref1 (i))-m))(Formula Z4)

[0102] θ ref2 (i) = arctan((tan(θ ref1 (i))+(h ref1 (i)-h ref2 (i)) / d ref1 (i))

[0103] ×sin(φ ref2 (i)) / sin(φ ref1 (i)))(Formula Z5)

[0104] In addition, in formula Z5, h ref1 (i) represents the height of sensor 13825 from the reference surface, h ref2 (i) represents the height of sensor 13826 from the reference plane.

[0105] In step 12, the three-dimensional data encoding device selects at least one horizontal angle φ corresponding to the reference candidate point 13822. ref2 (i) and the elevation angle θ ref2 In the combination of (i), the horizontal angle φ from the second reference position 13828 to the encoding object point 13821 is selected. cur and the horizontal angle φ near the combination of the elevation angle θcur ref2 (k) and elevation angle θ ref2 (k) combination, select the horizontal angle φ ref2 (k) and elevation angle θ ref2 The k-th reference candidate point 13822 indicated by the combination of (k) is used as a reference point for inter-frame prediction (inter-frame reference point). ref2and elevation angle θ ref2 The horizontal angle φ from the second reference position 13828 to the encoding object point 13821 in cur and the horizontal angle φ near the elevation angle θcur ref2 (k) and elevation angle θ ref2 That is, the kth reference candidate point is a reference point used for calculation of a prediction value among the n reference candidate points, and is an example of the first three-dimensional point that has been encoded.

[0106] In step 13, the three-dimensional data encoding device derives the distance d from the second reference position 13828 to the reference candidate point 13822 selected as the inter-frame reference point. ref2 (k), the distance d ref2 (k) is determined as the predicted value d pred .

[0107] d pred =d ref2 (k) = d ref1 (k)sin(φ ref1 (k)) / sin(φ ref2 (k))(Formula Z6)

[0108] As described above, the three-dimensional data encoding device can predict the distance d from the sensor 13826 of the encoding target frame to the encoding target point 13821 with high accuracy. cur , which may be able to improve the efficiency of inter-frame prediction coding.

[0109] In addition, in the above step 13, d can also be derived by formula Z7 ref2 (k).

[0110] d ref2 (k)=(d ref1 (k)cos(φ ref1 (k))-m) / cos(φ ref2 (k))(Formula Z7)

[0111] In addition, the three-dimensional data encoding device may also determine the inter-frame reference point by projecting all the reference candidate points of the reference frame into the second polar coordinate system of the second reference position 13828 of the sensor 13826 of the encoding object frame. That is, the three-dimensional data encoding device may project all the reference candidate points of the reference frame into the second polar coordinate system of the second reference position, and determine the inter-frame reference point based on all the transformed candidate points. Alternatively, the three-dimensional data encoding device may also determine the inter-frame reference point based on the horizontal angle φ of the encoding object point 13821. curor elevation angle θcur, the distance m between the first reference position 13827 and the second reference position 13828, etc., the reference candidate points are limited to points included in a part of the horizontal angle and elevation angle range of the sensor 13825 relative to the reference frame. In this way, the amount of processing for determining the reference point between frames can be suppressed. That is, the three-dimensional data encoding device is based on the horizontal angle φ cur , elevation angle θcur and distance m, etc., and the reference candidate points that are the object of coordinate system transformation are limited to a part of all reference candidate points, thereby suppressing the processing amount related to the coordinate system transformation.

[0112] In addition, the calculation processing such as trigonometric functions and division in the above steps can also be simplified by using a table consisting of a finite number of elements. Furthermore, in step 11, it can also be set as (h ref1 (i)-h ref2 (i)) / d ref1 (i) is sufficiently small, and θ is calculated by equation Z8 ref2 (i) By simplifying as described above, it is possible to reduce the amount of processing and improve the efficiency of inter-frame prediction coding.

[0113] θ ref2 (i) = arctan(tan(θ ref1 (i))sin(φ ref2 (i)) / sin(φ ref1 (i)))(Formula Z8)

[0114] Figure 5 This is a flowchart showing an example of the processing steps of the inter-frame prediction method.

[0115] The three-dimensional data encoding device converts the intra-frame prediction point (d intra ,φ intra ,θ intra ) is determined as a reference point for inter-frame prediction (S13801). In addition, the intra-frame prediction information may be notified and a prediction value based on a prediction method determined to be an appropriate intra-frame prediction method may be used, or the notification of part or all of the intra-frame prediction information may be omitted by limiting the prediction method to a specific prediction method. Here, the intra-frame prediction point determined as a reference point for inter-frame prediction may also be a three-dimensional point used in the second polar coordinate system for calculating a prediction value of a three-dimensional point of the encoding object.

[0116] Next, the three-dimensional data encoding device converts the intra-frame prediction point (d intra ,φ intra ,θ intra ) is projected onto the first polar coordinate system of the reference frame, and the angle (φ) serving as the reference point selection basis in the reference frame is determined. sref ,θ sref )(S13802). In addition, the angle (φsref ,θ sref ) can also be determined by Formula Z9 and Formula Z10.

[0117] φ sref =arctan(d intra sin(φ intra ) / (d intra cos(φ intra )+m))(Formula Z9)

[0118] θ sref =arctan(tan(θ intra )sin(φ sref ) / sin(φ intra ))(Formula Z10)

[0119] Next, the three-dimensional data encoding device selects a region having an angle (φ) in the reference frame by a predetermined method. sref ,θ sref ) near the angle (φ ref1 (i), θ ref1 (i)) as the reference candidate point (S13803). In addition, the three-dimensional data encoding device may also select one or more lines having an elevation angle close to θ sref The laser scanning line at an angle close to the elevation angle θ sref The order of the laser scanning lines is selected, and at least one point close to the horizontal angle φ is selected in each laser scanning line. sref The three-dimensional points of the reference candidate points are selected in the order of their selection.

[0120] Next, the three-dimensional data encoding device refers to the candidate point (d ref1 (i) φ ref1 (i), θ ref1 (i)) is projected onto the second polar coordinate system of the second reference position of the encoding target frame, and the angle (φ) in the encoding target frame is derived. ref2 (i), θ ref2 (i))(S13804). In addition, the angle (φ ref2 (i), θ ref2 (i)) can also be derived through equations Z11 and Z12.

[0121] φ ref2 (i) = arctan(d ref1 (i)sin(φ ref1 (i)) / (d ref1 (i)cos(φ ref1 (i))-m))(Formula Z11)

[0122] θ ref2(i) = arctan(tan(θ ref1 (i))sin(φ ref2 (i)) / sin(φ ref1 (i)))(Formula Z12)

[0123] Next, the three-dimensional data encoding device is adjusted from the angle (φ ref2 (i), θ ref2 (i)) In the above method, an inter-frame reference point (φ) is selected by a predetermined method. ref2 (k),θ ref2 (k))(S13805). In addition, the three-dimensional data encoding device may also select the one with the closest angle (φ cur , θcur) as an inter-frame reference point. In this way, the inter-frame reference point is determined based on the angle component in the polar coordinate component representing the position of other second three-dimensional points included in the encoding object frame. And, among multiple first three-dimensional points whose positions are represented in the first polar coordinate system and include other encoded first three-dimensional points, the inter-frame reference point is the one whose angle component of multiple projected first three-dimensional points after being projected from the first polar coordinate system to the second polar coordinate system is closest to the angle component of the encoding object point. Alternatively, the index k of the inter-frame reference point selected by the three-dimensional data encoding device through a prescribed method may be notified to the three-dimensional data decoding device.

[0124] Next, the three-dimensional data encoding device derives the distance d from the first reference position of the encoding target frame to the inter-frame reference point. ref2 (k), the distance d ref2 (k) is determined as the predicted value d pred (S13806). In addition, the distance d ref2 (k) can also be derived by either Formula Z13 or Formula Z14.

[0125] d ref2 (k) = d ref1 (k)sin(φ ref1 (k)) / sin(φ ref2 (k))(Formula Z13)

[0126] d ref2 (k)=(d ref1 (k)cos(φ ref1 (k))-m) / cos(φ ref2 (k))(Formula Z14)

[0127] In addition, the inter-frame reference point itself is used as the prediction value, because the cur So whether using formula Z13 or formula Z14, the distance d ref2 (k) also becomes the same value.

[0128] In this way, the three-dimensional data encoding device can also project the intra-frame prediction point of the encoding target frame to the first polar coordinate system of the first reference position of the reference frame, and select one or more inter-frame reference point candidates based on the angle. In this way, the number of reference candidate points used for inter-frame prediction can be reduced, and the processing amount of inter-frame prediction can be reduced. In addition, the calculation processing such as trigonometric functions and division in the above steps can also be simplified using a table consisting of a limited number of elements.

[0129] As described above, it is possible to improve the efficiency of inter-frame prediction encoding while suppressing the amount of processing.

[0130] In addition, the calculation or determination related to the elevation angle θ can be omitted, or the calculation or determination can be performed using only the horizontal angle φ. In addition, the inter-frame prediction and intra-frame prediction of this embodiment can be switched per node or per slice, or intra-frame prediction or other inter-frame prediction can be switched and used per node or slice.

[0131] In use Figure 2 to Figure 5 In the inter-frame prediction method described above, the distance d is derived ref2 (k) is determined as the predicted value d pred , but if Figure 6 As shown, it can also be based on φ cur The value of switch prediction value d pred The export method. Figure 6 This is a diagram for explaining a first example of a method for switching a prediction value derivation method according to a horizontal angle value. Figure 6 For example, in the case of a sensor such as LiDAR that emits laser light around a predetermined axis (rotation axis) to measure the distance to an object, this is a plan view when viewed from the axial direction. Figure 7 It means that the horizontal angle φ cur The predicted value d is determined for each of the four specified directions. pred Graph of the formula . Figure 7 The index is represented in Figure 6 The virtual planes 13840 to 13843 set in respectively correspond to the index values ​​0 to 3.

[0132] like Figure 6 As shown in the figure, an imaginary plane perpendicular to the horizontal plane (reference plane) is set as the object in the four directions of front, back, left, and right, and the horizontal angle φ is set to cur Each of the four ranges is divided by Figure 7 The formula shown in Figure derives the predicted value d pred That is, the three-dimensional data encoding device obtains the horizontal angle φ of the encoding object point cur ,according to Fig. 9 The angle φ shown with the horizontal cur The corresponding formula derives the predicted value dpred In addition, Figure 6 In the example, let |φ cur |≤π, 0<α<π / 2. α can also be a predetermined constant such as α=π / 6. In addition, α can also be included in the header information of a specified data unit such as a sequence, a frame, or a slice. Thus, α can also be notified from the 3D data encoding device to the 3D data decoding device and can be changed. In addition, as long as the boundary lines of each range are included in the same range in the encoding process and the decoding process, it does not necessarily have to be Figure 7 Like that.

[0133] In this way, the three-dimensional data encoding device can also make the first determination method of the prediction value in the prediction encoding for multiple three-dimensional points on the first plane different from the second determination method of the prediction value in the prediction encoding for multiple three-dimensional points on the second plane. As described above, the prediction encoding is an inter-frame prediction for predicting the encoding object points of the encoding object frame using the reference candidate points of the reference frame different from the encoding object frame. The first plane is a plane opposite to the first reference position and the second reference position in the third direction, and is a plane perpendicular to the reference plane. The second plane is a plane opposite to the first reference position and the second reference position in the fourth direction, and is a plane perpendicular to the reference plane. The third direction and the fourth direction are different directions from each other. A part of the multiple three-dimensional points on the first plane is included in the multiple first three-dimensional points included in the reference frame. A part of the multiple three-dimensional points on the first plane is included in the multiple second three-dimensional points included in the encoding object frame. A part of the multiple three-dimensional points on the second plane is included in the multiple first three-dimensional points included in the reference frame. Another part of the multiple three-dimensional points on the second plane is included in the multiple second three-dimensional points included in the second frame.

[0134] By the above, it is possible to obtain a point group based on the sensor 13845 of the reference frame of the first reference position at a distance m from the second reference position and to obtain a point group based on the sensor 13845 of the reference frame of the first reference position at a distance m from the second reference position. Figure 2 to Figure 5 The inter-frame prediction method described above predicts the distance d from the second reference position of the encoding target frame to the encoding target point with higher accuracy than cur , which can further improve the efficiency of inter-frame prediction coding.

[0135] in addition, Figure 7 The calculation processing such as trigonometric function and division in the 2D image can also be simplified by using a table consisting of a limited number of elements. By simplifying, the efficiency of inter-frame prediction coding can be improved while suppressing the processing amount.

[0136] You can also use Figure 6 and Figure 7 The predicted values ​​d in the four directions of front, back, left and right are shown. pred To these four derivation methods, four derivation methods for four oblique directions between the above four directions are further added, such as Figure 8 The export method is switched in 8 directions as shown. Figure 8 This is a diagram for explaining a second example of switching the method of deriving the prediction value according to the value of the horizontal angle. Figure 8 For example, in the case of a sensor such as LiDAR that emits laser light around a predetermined axis (rotation axis) to measure the distance to an object, this is a plan view when viewed from the axial direction. Fig. 9 It means that the horizontal angle φ is derived cur The predicted value d is determined for each of the 8 specified directions. pred Graph of the formula . Fig. 9 The index is represented in Figure 8 The virtual planes 13840 to 13843 set in respectively correspond to the index values ​​0 to 7.

[0137] like Figure 8 As shown in the figure, an imaginary plane perpendicular to the horizontal plane (reference plane) is set as an object in eight directions, namely, four directions of front, back, left, and right, and four inclined directions between the four directions, and the horizontal angle φ is set to cur The 8 ranges are divided into Fig. 9 The formula shown in Figure derives the predicted value d pred That is, the three-dimensional data encoding device obtains the horizontal angle φ of the encoding object point cur ,according to Fig. 9 The angle φ shown with the horizontal cur The corresponding formula derives the predicted value d pred In addition, Figure 8 In the example, let |φ cur |≤π, 0<α<π / 2, 0<β<π / 2-α. α and β may also be predetermined constants such as α=π / 6, β=π / 4. In addition, α and β may also be included in the header information of a data unit specified in a sequence, frame, slice, etc. Thus, α and β may also be notified from the three-dimensional data encoding device to the three-dimensional data decoding device and may be changed. In addition, as long as the boundary lines of each range are included in the encoding process and the decoding process, it does not necessarily have to be the same. Fig. 9 Like that.

[0138] By the above, it is possible to obtain a point group based on the reference frame of the sensor 13845 at the first reference position m away from the sensor 13846 and to obtain a point group based on the reference frame of the sensor 13845 at the first reference position m away from the sensor 13846. Figure 2 to Figure 7 The inter-frame prediction method described above predicts the distance d from the second reference position of the encoding target frame to the encoding target point with higher accuracy than cur , which can further improve the efficiency of inter-frame prediction coding.

[0139] in addition, Fig. 9The calculation processing such as trigonometric function and division in the byte array can also be simplified by using a table consisting of a limited number of elements. By simplifying, it is possible to improve the efficiency of inter-frame prediction coding while suppressing the amount of processing.

[0140] (Implementation Method 2)

[0141] In this embodiment, a method of performing inter-frame prediction on position information of three-dimensional points included in three-dimensional data will be described.

[0142] Three-dimensional data is, for example, point group data. A point group is a collection of multiple three-dimensional points, representing the three-dimensional shape of an object. Point group data includes position information and attribute information of multiple three-dimensional points. The position information represents the three-dimensional position of each three-dimensional point. In addition, position information is sometimes referred to as geometry information. For example, position information is represented by an orthogonal coordinate system or a polar coordinate system.

[0143] The attribute information represents, for example, color, reflectivity, or normal vector, etc. A three-dimensional point may have one piece of attribute information or may have multiple pieces of attribute information.

[0144] In addition, three-dimensional data is not limited to point group data, and can also be other three-dimensional data such as mesh data. Mesh data (also called three-dimensional mesh data) is a data format used by CG (Computer Graphics) to represent the three-dimensional shape of an object as a collection of surface information. For example, mesh data contains point group information (such as vertex information). Therefore, the same method as the method corresponding to point group data can be applied to the point group information.

[0145] Fig.10 3D data encoding device 100 corresponds to inter-frame prediction encoding for encoding a point group to be encoded with reference to an encoded point group. 3D data encoding device 100 includes an encoding unit 101, a motion compensation unit 102, a first buffer 103, a second buffer 104, a switching unit 105, and an inter-frame prediction unit 106.

[0146] In addition, Fig.10 Only the structure related to the inter-frame prediction coding of the position information is recorded, but the three-dimensional data encoding device 100 may have other processing units related to the coding of the position information (such as an intra-frame prediction unit, etc.), and may also have an attribute information encoding unit for encoding the attribute information.

[0147] The coding unit 101 generates a bit stream by coding an object point group of a point group of coding object as input. Specifically, the coding unit 101 extracts a prediction tree (Predtree) as a unit of coding processing from the object point group, and encodes each point included in the prediction tree while referring to the inter-frame prediction point. In addition, the coding unit 101 outputs a decoded point obtained by reproducing the point obtained by decoding the bit stream. The decoded point is used for inter-frame prediction of a subsequent object point group (for example, an object point group of a subsequent frame or slice).

[0148] Here, the position information of the object point group and the position information of the decoding point are expressed by polar coordinates, for example. Alternatively, the position information of the object point group is expressed by orthogonal coordinates, and the encoding unit 101 may transform the position information of orthogonal coordinates into position information of polar coordinates and encode the transformed position information of polar coordinates.

[0149] The motion compensation unit 102 performs motion compensation on the decoded point, and stores the reference point group (first reference point group) after motion compensation in the first buffer 103. For example, the motion compensation unit 102 projects the position information of the decoded point onto the polar coordinates of the object point group using the inter-frame prediction method in the polar coordinate system described in Embodiment 1, thereby performing motion compensation.

[0150] In addition, motion compensation refers to correcting the position information of the decoding point to match the coordinate system of the object three-dimensional point of the encoded object. Specifically, motion compensation may include at least one of a process of matching the origin of the coordinate system of the decoding point with the origin of the coordinate system of the object three-dimensional point, and a process of matching each axis of the coordinate system of the decoding point with each axis of the coordinate system of the object three-dimensional point. In addition, motion compensation may include coordinate calculation using a translation vector and a rotation matrix.

[0151] In addition, the decoding point (the second reference point group that has not been motion compensated) is stored in the second buffer 104. The switching unit 105 selects one of the first reference point group stored in the first buffer 103 and the second reference point group stored in the second buffer 104 as an inter-frame reference point (third reference point group), and outputs the inter-frame reference point to the inter-frame prediction unit 106.

[0152] The inter-frame prediction unit 106 determines the inter-frame prediction point by referring to at least one inter-frame reference point stored in the first buffer 103 or the second buffer 104. For example, the inter-frame prediction unit 106 refers to one or more inter-frame reference points whose positions are the same as or close to the object point among the multiple inter-frame reference points included in the reference frame different from the object frame including the object point group. Here, the so-called inter-frame reference point whose position is the same as or close to the object point is, for example, a point whose index in elevation angle and horizontal angle is the same as or close to the object point (for example, the index value is 1 or 1). That is, as a method of determining the inter-frame prediction point in the inter-frame prediction unit 106, one three-dimensional point in the reference point group can be selected as the prediction point, or the prediction point can be calculated from multiple three-dimensional points in the reference point group. For example, the average position of multiple three-dimensional points can be calculated as the position of the prediction point.

[0153] Fig.11 3D data decoding device 200 is a block diagram showing the structure of the 3D data decoding device of the present embodiment. The 3D data decoding device 200 corresponds to inter-frame prediction decoding for decoding a point group to be decoded while referring to a decoded point group. The 3D data decoding device 200 includes a decoding unit 201, a motion compensation unit 202, a first buffer 203, a second buffer 204, a switching unit 205, and an inter-frame prediction unit 206.

[0154] In addition, Fig.11 Only the structure related to the inter-frame prediction decoding of the position information is recorded, but the three-dimensional data decoding device 200 may have other processing units related to the decoding of the position information (such as an intra-frame prediction unit, etc.), and may also have an attribute information decoding unit that decodes the attribute information.

[0155] The decoding unit 201 generates a decoding point group by decoding the input bit stream. Specifically, the decoding unit 201 decodes each point in the prediction tree while referring to the inter-frame prediction point, and outputs the obtained decoding point. In addition, the operations of the motion compensation unit 202, the first buffer 203, the second buffer 204, the switching unit 205, and the inter-frame prediction unit 206 are respectively the same as Fig.10 The motion compensation unit 102 , the first buffer 103 , the second buffer 104 , the switching unit 105 , and the inter-frame prediction unit 106 included in the three-dimensional data encoding device 100 shown in the figure operate in the same manner.

[0156] In this way, by using the first reference point group that has been motion compensated for inter-frame prediction coding, in the coding of the point group obtained by the sensor such as LiDAR while moving, it is possible to predict the position information of structures such as buildings and walls around the moving path such as roads with high accuracy. Therefore, it is possible to improve the efficiency of inter-frame prediction coding. Furthermore, by being able to refer to both the first reference point group after motion compensation and the second reference point group that has not been motion compensated in the inter-frame prediction coding, it is possible not only to predict the position information of structures around the moving path with high accuracy, but also to predict the position information of objects moving at the same speed as the sensor or points on the ground around the sensor that are approximately constant in distance from the sensor with high accuracy. Therefore, it is possible to further improve the efficiency of inter-frame prediction coding.

[0157] Next, an example of the processing steps of the inter prediction process will be described. Fig.12 It means in Fig.10 and Fig.11 A flowchart of an example of a process step for encoding or decoding a frame to which an inter-frame prediction process is applied in the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 shown in FIG. Fig.12 The processing shown may be repeated for each frame, or may be repeated for each processing unit (for example, slice) obtained by dividing a frame.

[0158] In this example, first, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 obtain motion information related to the displacement between the coordinates of the processed point group that has been encoded or decoded and the coordinates of the object point group that is the object of the encoding or decoding process (S101). For example, the three-dimensional data encoding device 100 uses a positioning technology such as an ICP (Iterative Closest Point) algorithm to detect the displacement such as rotation and / or parallel translation between the coordinates of the processed point group and the coordinates of the object point group, and determines the motion information based on the detected displacement. In addition, the three-dimensional data encoding device 100 stores the motion information in the upper syntax (SPS, GPS, or slice header, etc.) of the bit stream.

[0159] SPS (Sequence Parameter Set) is metadata (parameter set) common to multiple frames. GPS (Geometry Parameter Set) is metadata (parameter set) related to encoding of position information. For example, GPS is metadata common to multiple frames.

[0160] In addition, the motion information includes, for example, at least one of information related to movement parallel to the horizontal plane and information related to rotation around the vertical axis. Specifically, the motion information includes, for example, a 3×1 translation matrix. Alternatively, the motion information includes the absolute value (|mv| described later) and direction (angle α described later) of a translation vector parallel to the horizontal plane. Alternatively, the motion information includes, for example, a 3×3 rotation matrix. Alternatively, the motion information represents the rotation angle of the coordinate axis on the horizontal plane (angle β described later) and the rotation around the vertical axis.

[0161] The three-dimensional data decoding apparatus 200 obtains motion information from a bit stream, and sets a displacement such as rotation and / or parallel translation between the coordinates of the processed point group and the coordinates of the target point group based on the obtained motion information.

[0162] Next, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 project at least a portion of the first processed point group to the coordinates of the object point group based on the motion information, and set the obtained point group as the first reference point group (S102). In addition, as a method of projecting the first processed point group to the coordinates of the object point group, the method of using the method in Embodiment 1 may also be used. Figures 1 to 9 The inter-frame prediction method in the polar coordinate system is described. The first processed point group refers to a processed point group included in a frame or a slice. It should be noted that the first processed point group may be a processed point group included in multiple frames or multiple slices.

[0163] In addition, the above projection may be performed on all of the distance components, horizontal angle components, and elevation angle components included in the position information, or may be performed on a portion of them. For example, only the distance component and the horizontal angle component may be changed from the first processed point group to the values ​​of the coordinates projected to the target point group, and the elevation angle component may not be changed to the value of the first processed point group. This can reduce the amount of processing.

[0164] Next, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 set the coordinate information of the second processed point group directly as the point group of the coordinate information of the object point group as the second reference point group (S103) for at least a part of the second processed point group. In addition, step S103 can also be implemented before step S101 or S102.

[0165] In addition, the first processed point group and the second processed point group may be included in the same processing unit (the same frame or the same slice, etc.) or in different processing units. For example, the first processed point group and the second processed point group may be the corrected (projected) point group and the pre-corrected point group of the point group included in the same processing unit. For example, the point group of the processing unit refers to the point group that is closest to the object point group at a certain moment. Alternatively, the second processed point group is the point group that is closest to the object point group at a certain moment, and the first processed point group may be another point group that is different from the second processed point group at a certain moment.

[0166] The point group at which time is used in the first processed point group and the second processed point group can be fixedly set in advance. For example, the point group at which the time is closest to the object point group can be fixedly set for both the first processed point group and the second processed point group. Alternatively, the three-dimensional data encoding device 100 can also determine the point group at which time is used in the first processed point group and the second processed point group, respectively, and save the information representing the determined content in the upper syntax of the bit stream (SPS, GPS or slice header, etc.). For example, the information is information representing the time distance between the object point group and the point group used as the first processed point group, and the time distance between the object point group and the point group used as the second processed point group. In addition, when a common point group is used in the first processed point group and the second processed point group, the information can also represent the common point group. For example, the information can also be set for each processing unit (such as a slice or frame).

[0167] This allows the three-dimensional data encoding device 100 to select a processed point group that is suitable for the characteristics of the target point group, such as temporal changes, and thus may improve encoding efficiency.

[0168] Next, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 determine an inter-frame prediction point group for each point, and encode or decode the target point with reference to the inter-frame prediction point ( S104 to S107 ).

[0169] First, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 start loop processing for each object point included in the object point group (S104). That is, one of the plurality of points included in the object point group is selected as the object point to be processed.

[0170] Next, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 refer to at least a portion of the reference point group including the first reference point group and the second reference point group to determine the inter-frame prediction point corresponding to the object point (S105). For example, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 refer to one or more inter-frame reference points whose positions are the same as or close to the object point among a plurality of inter-frame reference points included in a reference frame different from the object frame including the object point group. Here, the so-called inter-frame reference point whose position is the same as or close to the object point is, for example, a point whose index in elevation angle and horizontal angle is the same as or close to the object point (for example, the index value is 1 or 1).

[0171] For example, the three-dimensional data encoding device 100 compares the code amount (residual) when the inter-frame prediction point determined by the first processed point group is used with the code amount (residual) when the inter-frame prediction point determined by the second processed point group is used, and determines to select (reference) the one with the smaller code amount. Alternatively, the three-dimensional data encoding device 100 may refer to the first processed point group and the second processed point group to determine the inter-frame prediction point with the smallest code amount.

[0172] In addition, whether to use the first processed point group or the second processed point group may be determined based on the characteristics of the object point or the object point group, etc. In addition, the three-dimensional data encoding device 100 may store information indicating whether to use the first processed point group or the second processed point group, or information indicating the inter-frame prediction point, in the bit stream, and the three-dimensional data decoding device 200 may use the first processed point group or the second processed point group, or determine the inter-frame prediction point, with reference to the information.

[0173] Next, the three-dimensional data encoding device 100 encodes the object point with reference to the inter-frame prediction point (S106). Specifically, the three-dimensional data encoding device 100 calculates the residual (difference) between the position information of the object point and the position information of the inter-frame prediction point. The three-dimensional data encoding device 100 generates the encoded position information by quantizing and entropy encoding the obtained residual. In addition, the residual of some components of the multiple components of the position information (such as distance, elevation angle, horizontal angle) can also be calculated, and the other components can be directly quantized and entropy encoded with the original values. In addition, the three-dimensional data encoding device 100 generates a bit stream containing the encoded position information.

[0174] In addition, in the three-dimensional data decoding device 200, the object point is decoded with reference to the inter-frame prediction point. Specifically, the three-dimensional data decoding device 200 obtains the encoded position information of the object point from the bit stream. The three-dimensional data decoding device 200 generates the residual of the object point by entropy decoding and inverse quantization of the encoded position information of the object point. The three-dimensional data decoding device 200 generates the position information of the object point by adding the residual of the object point to the position information of the inter-frame prediction point.

[0175] Next, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 terminate the loop processing for the target point (S107). That is, steps S105 and S106 are performed on each of the plurality of points included in the target point group.

[0176] In addition, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 do not need to always refer to the inter-frame prediction point to encode or decode the object point. For example, the three-dimensional data encoding device 100 can store switching information indicating whether to refer to the inter-frame prediction point in the bit stream for each node or each slice. In this case, the three-dimensional data decoding device 200 can switch whether to refer to the inter-frame prediction point based on the information. In addition, step S105 can also be omitted without referring to the inter-frame prediction point. In this way, by being able to switch whether to refer to the inter-frame prediction point, the three-dimensional data encoding device 100 can select a coding method suitable for the characteristics of the object point group such as time changes, and there is a possibility of improving the coding efficiency.

[0177] Next, an example of an inter-frame prediction method in a polar coordinate system is described. Fig.13 FIG. 1 is a diagram for explaining an example of an inter-frame prediction method when encoding or decoding is performed using polar coordinates. Fig.10 The motion compensation unit 102 and Fig.11 The motion compensation unit 202 or Fig.12 In step S102 shown in FIG. 1 , the inter-frame prediction method described below may be used instead of the inter-frame prediction method in the polar coordinate system described in Embodiment 1. That is, Fig.13 This shows an example of motion compensation.

[0178] exist Fig.13 In the above, the motion vector mv is the displacement on the horizontal plane from the polar coordinate origin of the target frame (processing target frame) to the polar coordinate origin of the reference frame. The angle α (alpha) is the angle formed by the motion vector mv with respect to the reference direction of the horizontal angle of the target frame. The angle β (beta) is the angle formed by the reference direction of the horizontal angle of the reference frame with respect to the reference direction of the horizontal angle of the target frame.

[0179] At this time, when the point n in the reference frame is used for inter-frame prediction in encoding the target frame, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 may also use the following (Formula 1) and (Formula 2) to determine the predicted value φ of the horizontal angle in the polar coordinates of the target frame. ref2 (n) and the predicted value of the distance d ref2 (n). |mv| is the magnitude of the motion vector mv.

[0180] φ ref2 (n) = arctan(dref1 (n)sin(φ ref1 (n)-α+β) / (d ref1 (n)cos(φ ref1 (n)-α+

[0181] β)+|mv|))+α…(Formula 1)

[0182] d ref2 (n) = d ref1 (n)sin(φ ref1 (n)-α+β) / sin(φ ref2 (n)-α) … (Formula 2)

[0183] In addition, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 may also use the following (Formula 3) instead of (Formula 2) to determine d ref2 In addition, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 may determine d using the other equation when the denominator of the division in one of (Equation 2) and (Equation 3) is 0 (zero). ref2 (n).

[0184] d ref2 (n)=(d ref1 (n)cos(φ ref1 (n)-α+β)+|mv|) / cos(φ ref2 (n)-α) … (Formula 3)

[0185] As described above, the three-dimensional data encoding apparatus 100 and the three-dimensional data decoding apparatus 200 can accurately predict the distance from the polar coordinate origin of the target frame to the target point, thereby making it possible to improve the efficiency of inter-frame prediction encoding.

[0186] In addition, the predicted value θ of the elevation angle in the polar coordinates of the target frame is ref2 (n) can also be determined using (Equation Z5) shown in Embodiment 1. This can further improve the efficiency of inter-frame prediction coding. Alternatively, the elevation angle θ in the polar coordinates of the reference frame can be ref1 (n) or its index information is directly used as the predicted value of the elevation angle θ ref2 (n) or its index information. This makes it possible to improve the efficiency of inter-frame prediction coding while suppressing the amount of processing.

[0187] In addition, instead of arctan in (Formula 1), a method that can also derive the angles of the second and third quadrants, such as atan2(y, x) in C language, may be used. For example, the following (Formula 4) using atan2(y, x) in C language may be used instead of (Formula 1).

[0188] φ ref2 (n) = atan2(d ref1 (n)sin(φ ref1 (n)-α+β), d ref1 (n)cos(φ ref1 (n)-α+

[0189] β)+|mv|)+α…(Formula 4)

[0190] However, atan2(0,0) is uncertain, so in this case, a constant such as atan2(0,0)=0 may be set.

[0191] In addition, the angle β formed by the reference direction of the horizontal angle of the reference frame relative to the motion vector mv and the reference direction of the horizontal angle of the object frame can also be determined based on the results derived from at least one of the following positioning technologies: (1) the results of measurement using sensors such as GPS (Global Positioning System) or odometers, (2) self-position estimation technology using SfM (Structure from Motion), SLAM (Simultaneous Localization and Mapping), and (3) ICP (Iterative Closest Point) algorithm.

[0192] In addition, the three-dimensional data encoding device 100 may store the motion vector mv and the angle β formed by the reference direction of the horizontal angle of the reference frame with respect to the reference direction of the horizontal angle of the target frame, or information related to these values ​​as motion information in the header information of the frame or slice unit. In addition, the three-dimensional data encoding device 100 may store the size of mv |mv| and the angle α (alpha) formed by mv with respect to the reference direction of the horizontal angle of the target frame in the header information instead of the motion vector mv.

[0193] Fig.14 is a flowchart of the inter-frame prediction process. Fig.14 is using Fig.13 In the inter-frame prediction method described above, a predicted value φ of the horizontal angle in polar coordinates of the target frame is derived. ref2 (n) and the predicted value of the distance d ref2 (n) is an example of the step. In this example, the horizontal angle takes a value in the range from -π to π. For example, Fig.14 In steps S121 and S129 shown, when the result is less than -π, 2π is added to the result, and when the result is greater than π, 2π is subtracted from the result.

[0194] In addition, the operation of the three-dimensional data encoding device 100 is described below, but the operation of the three-dimensional data decoding device 200 is also the same.

[0195] In this step, first, the three-dimensional data encoding device 100 converts φ' ref1 (n) is set to φ ref1 (n)-α+β(S121).

[0196] Next, the three-dimensional data encoding device 100 determines that φ' ref2 (n) = φ ref2 (n)-αφ' ref2 (n) In which angle range is φ' derived using any of the following (Equation 5) to (Equation 8) ref2 (n).

[0197] φ' ref2 (n) = arctan(d ref1 (n)sin(φ' ref1 (n)) / (d ref1 (n)cos(φ' ref1 (n))+|mv|))…(Formula 5)

[0199] φ' ref2 (n) = arctan(d ref1 (n)sin(φ' ref1 (n)) / (d ref1 (n)cos(φ' ref1 (n))+|mv|))+

[0200] sign(φ' ref1 (n))×π…(Formula 6)

[0201] φ' ref2 (n) = sign(φ' ref1 (n))×π / 2…(Formula 7)

[0202] φ' ref2 (n) = 0 ... (Equation 8)

[0203] Among them, sign(x) is sign(x)=1 when x>0, sign(x)=0 when x==0, and sign(x)=-1 when x<0.

[0204] Specifically, the three-dimensional data encoding device 100 is ref1 (n)cos(φ' ref1 (n))+|mv|>0 (“true” in S122), it is determined that -π / 2<φ' ref2 (n)<π / 2, by executing (Equation 5) to obtain φ'ref2 (n)(S123).

[0205] On the other hand, if d is not satisfied ref1 (n)cos(φ' ref1 (n))+|mv|>0 (“false” in S122), and d ref1 (n)cos(φ' ref1 When (n))+|mv|<0 (“true” in S124), the three-dimensional data encoding device 100 determines that φ′ ref2 (n)<-π / 2 or π / 2<φ' ref2 (n), and φ' is obtained by executing (Equation 6) ref2 (n)(S125).

[0206] On the other hand, if d is not satisfied ref1 (n)cos(φ' ref1 (n))+|mv|>0 (“false” in S122), and d ref1 (n)cos(φ' ref1 (n))+|mv|<0 (“false” in S124), and sin(φ' ref1 When (n))≠0 (“true” in S126), the three-dimensional data encoding device 100 determines that φ′ ref2 (n) = -π / 2 or φ' ref2 (n) = π / 2, and φ' is obtained by executing (Equation 7) ref2 (n)(S127).

[0207] On the other hand, when all the above three conditions are false ("false" in S126), the three-dimensional data encoding device 100 determines that tan is not defined, and sets a constant (for example, 0) as φ' by executing (Equation 8). ref2 (n)(S128).

[0208] In (Formula 5) and (Formula 6), arctan(x) is defined as -π / 2<x<π / 2. In S123, S125, and S127, instead of (Formula 5) to (Formula 7), the formula using φ' ref1 (n) = φ ref1 (n)-α+β and φ' ref2 (n) = φ ref2 (n)-α (Formula 8).

[0209] Next, the three-dimensional data encoding device 100 uses the φ' obtained above ref2 (n), φ ref2 (n) is set to φ' ref2(n)+α(S129).

[0210] Next, the three-dimensional data encoding device 100 determines φ' ref1 (n) In which angle domain is it located? Use (Equation 9) or (Equation 10) to derive d ref2 (n).

[0211] d ref2 (n) = d ref1 (n)sin(φ' ref1 (n)) / sin(φ' ref2 (n)) … (Formula 9)

[0212] d ref2 (n)=(d ref1 (n)cos(φ' ref1 (n))+|mv|) / cos(φ' ref2 (n)) … (Equation 10)

[0213] Specifically, in sin(φ' ref2 When (n)) is not 0 (“true” in S130), the three-dimensional data encoding device 100 determines that the reference point is not located on the straight line including the motion vector mv, and calculates d by executing (Equation 9) ref2 (n)(S131). On the other hand, in sin(φ' ref2 When (n) is 0 (“false” in S130), the three-dimensional data encoding device 100 determines that the reference point is located on the straight line including the motion vector mv, and executes (Equation 10) to obtain d ref2 (n)(S132).

[0214] The following describes a modified example. Figure 10 to Figure 14 In the disclosed apparatus, process, syntax, etc., when the motion vector mv representing the displacement on the horizontal plane from the polar coordinate origin of the target frame (processing target frame) to the polar coordinate origin of the reference frame and the angle β (beta) formed by the reference direction of the horizontal angle of the reference frame relative to the reference direction of the horizontal angle of the target frame are both smaller than a predetermined value (when the motion is small), the three-dimensional data encoding apparatus 100 may use only the reference point group that has not been motion compensated for inter-frame prediction and omit the storage of the accompanying information such as the information related to the selection of the inter-frame reference point in the bitstream. Alternatively, the three-dimensional data encoding apparatus 100 and the three-dimensional data decoding apparatus 200 may use the point group at another time point that has not been motion compensated as the reference point group instead of the reference point group that has been motion compensated. As a result, in the encoding of a scene in which a moving body equipped with a sensor stops, it is possible to suppress the amount of processing and maintain or improve the encoding efficiency.

[0215] In addition, the three-dimensional data encoding device 100 may also store information indicating whether the reference point group that has been subjected to motion compensation is used for inter-frame prediction in the upper syntax (SPS, GPS or slice header, etc.). In addition, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 may use one or more reference point groups that have not been subjected to motion compensation for inter-frame prediction without using the reference point group that has been subjected to motion compensation for inter-frame prediction. As a result, the flexibility of the operation of the three-dimensional data encoding device 100 and the design of the encoding algorithm is increased, and it is possible to improve the operability of the device and the encoding efficiency.

[0216] In addition, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 may project all the inter-frame reference point candidates contained in the reference frame to the polar coordinate origin of the target frame, or may project only some of the points to the polar coordinate origin of the target frame. For example, the some of the points are points whose elevation angle relative to the polar coordinate origin of the reference frame is higher (larger) than a predetermined value, or points whose vertical (z-axis direction) position is higher than a predetermined position (e.g., the ground) when the reference frame is expressed in orthogonal coordinates. Thus, the processing object can be limited to structures such as buildings or walls that can be expected to improve the coding efficiency by projection. Therefore, it is possible to maintain or improve the coding efficiency while suppressing the processing amount and storage amount. In addition, the horizontal angle relative to the polar coordinate origin of the reference frame can be divided (quantized) into predetermined angles, and the inter-frame reference point candidates can be limited only to the representative points of each angle interval. Thus, it is possible to further suppress the processing amount and storage amount.

[0217] In addition, the three-dimensional data encoding device 100 and the three-dimensional data decoding device 200 can also obtain the coordinates of the object point group of the processed point group in the orthogonal coordinate space by rotating and / or parallel translating the processed point group in the orthogonal coordinate space, and then transform the obtained coordinates of the processed point group into the coordinates in the polar coordinate space of the object point group, and set the obtained point group as the reference point group for motion compensation. Thus, by encoding the point group represented by the orthogonal coordinates of the octree or prediction tree and the encoding of the point group represented by the polar coordinates, the motion compensation method can be shared. Therefore, the structure of the three-dimensional data encoding device and the three-dimensional data decoding device can be simplified, so the scale of the circuit or software can be suppressed.

[0218] In addition, the operations such as trigonometric functions and division in inter-frame prediction can also be simplified by using approximate operations based on integer precision or by using a table consisting of a limited number of elements. Through these simplifications, it is possible to improve the efficiency of point group coding while suppressing the amount of processing and storage required for projection.

[0219] In addition, at least a part of the above-mentioned device, process or syntax may be used for encoding vertex information of a three-dimensional mesh. Thus, the processes can be made common through point group encoding and three-dimensional mesh encoding, and thus there is a possibility that the scale of circuits or software can be reduced.

[0220] As described above, the three-dimensional data encoding device of this embodiment performs Fig.15 The processing shown. The three-dimensional data encoding device corrects (motion compensates) the position information of one or more first three-dimensional points to match the coordinate system of the object three-dimensional point of the encoding object, thereby forming a first reference point group (S201), selects one of the first reference point group and the second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the object three-dimensional point (S202), determines a prediction point using the third reference point group (S203), and encodes the position information of the object three-dimensional point with reference to at least a part of the position information of the prediction point (for example, at least a part of a plurality of components included in the position information) (S204).

[0221] In addition, the three-dimensional data encoding device may determine the prediction point for the target three-dimensional point based on the first reference point group and the second reference point group instead of steps S202 and S203.

[0222] Thus, the three-dimensional data encoding device selectively uses the first reference point group after correction and the second reference point group before correction to encode the object point. Therefore, according to the three-dimensional data encoding device, it is possible to determine the prediction point that reduces the prediction error. Therefore, the three-dimensional data encoding device can improve the encoding efficiency. In addition, the three-dimensional data encoding device can suppress the amount of data processed in the encoding process.

[0223] For example, during correction (S201), the three-dimensional data encoding device makes the position information of one or more first three-dimensional points consistent with the coordinate system of the object three-dimensional point based on first information (such as motion information) representing the displacement between the coordinate system of one or more first three-dimensional points and the coordinate system of the object three-dimensional point.

[0224] For example, in correction (S201), the three-dimensional data encoding device projects one or more first three-dimensional points to the coordinate origin of the object three-dimensional point according to the displacement, thereby deriving position information of one or more second three-dimensional points included in the first reference point group.

[0225] For example, the first information includes at least one of second information related to movement parallel to the horizontal plane and third information related to rotation around a vertical axis.

[0226] For example, the position information includes a distance component, a horizontal angle component, and an elevation component, and the three-dimensional data encoding device corrects at least one of the distance component and the horizontal angle component in the correction (S201). As a result, the three-dimensional data encoding device can efficiently correct the three-dimensional data obtained by the sensor moving in the horizontal direction. That is, in this method, the elevation component in the polar coordinates is not corrected. Therefore, this method is suitable for selectively using a reference point group whose position is corrected in the horizontal direction and a reference point group before correction. For example, this method is suitable for a three-dimensional point group obtained by a sensor that repeatedly moves and stops in the horizontal direction.

[0227] For example, the three-dimensional data encoding device also determines whether to perform correction, and generates a bit stream containing the position information of the encoded object three-dimensional point and the fourth information indicating whether to perform correction. Thus, the three-dimensional data encoding device can determine the prediction point that further reduces the prediction error by switching whether to perform correction. For example, the three-dimensional data encoding device can select an appropriate method based on the characteristics of the point group of the processing object. In addition, the fourth information can be a flag or a parameter. In addition, the fourth information can be set for each frame, can be set for each processing unit (such as a slice) within the frame, or can be set for each point.

[0228] For example, the three-dimensional data encoding device selects the second reference point group as the third reference point group without performing correction.

[0229] For example, one or more first three-dimensional points are included in a first processing unit (e.g., a frame or a slice), and the three-dimensional data encoding device selects one of the second reference point group and the fourth reference point group as the third reference point group without correction, and the fourth reference point group is one or more third three-dimensional points before correction included in the second processing unit different from the first processing unit. Thus, the three-dimensional data encoding device can refer to two processing units (e.g., two frames) that have not been corrected without correction. Therefore, the three-dimensional data encoding device can improve the encoding efficiency.

[0230] For example, a first reference point group is generated by correcting one or more fourth three-dimensional points that are part of one or more first three-dimensional points. Thus, the three-dimensional data encoding device can reduce the amount of processing by limiting the three-dimensional points of the object to be corrected. For example, when the relative position relationship between the object three-dimensional point and the origin is approximately equal to the relative position relationship between the predicted point and the origin included in the reference point group, if the predicted point is used without correction, the prediction error can be suppressed. On the other hand, when the relative position relationship between the object three-dimensional point and the origin is different from the relative position relationship between the predicted point and the origin included in the reference point group, the prediction error can be suppressed if the corrected prediction point is used. In this way, by switching whether correction should be performed according to the position of the object three-dimensional point, the prediction error can be reduced.

[0231] For example, the position information includes a distance component, a horizontal angle component, and an elevation component, and the fourth three-dimensional point is a first three-dimensional point among one or more first three-dimensional points whose elevation component is larger than a predetermined value. That is, in this method, the three-dimensional points of the object to be corrected are limited to three-dimensional points with large elevation components. Three-dimensional points with large elevation components represent buildings, for example. Buildings are fixed to the ground. Therefore, in the case where the object three-dimensional point and the predicted point represent buildings, the relative position relationship between the object three-dimensional point and the origin is different from the relative position relationship between the predicted point and the origin included in the reference point group. In this case, if the predicted point that has been corrected is used, the prediction error can be suppressed. Therefore, the three-dimensional data encoding device limits the object to be corrected to buildings, etc.

[0232] Likewise, the fourth three-dimensional point is a first three-dimensional point whose vertical position is higher than a predetermined position among the one or more first three-dimensional points.

[0233] For example, the three-dimensional data encoding device includes a processor and a memory, and the processor performs the above-mentioned processing using the memory.

[0234] In addition, the three-dimensional data decoding device of this embodiment performs Fig.16 The processing shown. The three-dimensional data decoding device generates a first reference point group (S211) by correcting (motion compensating) the position information of one or more first three-dimensional points to match the coordinate system of the object three-dimensional point of the decoding object, selects one of the first reference point group and the second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the object three-dimensional point (S212), determines a prediction point using the third reference point group (S213), and decodes the position information of the object three-dimensional point with reference to at least a portion of the position information of the prediction point (for example, at least a portion of a plurality of components included in the position information) (S214).

[0235] Furthermore, the three-dimensional data decoding apparatus may determine a prediction point for the target three-dimensional point based on the first reference point group and the second reference point group instead of steps S212 and S213 .

[0236] Thus, the three-dimensional data decoding device selectively uses the first reference point group after correction and the second reference point group before correction to decode the object point. Therefore, according to the three-dimensional data decoding device, it is possible to determine the prediction point that reduces the prediction error. Therefore, the three-dimensional data decoding device can suppress the amount of data processed in the decoding process.

[0237] For example, during correction (S211), the three-dimensional data decoding device makes the position information of one or more first three-dimensional points consistent with the coordinate system of the object three-dimensional point based on first information (e.g., motion information) representing the displacement between the coordinate system of one or more first three-dimensional points and the coordinate system of the object three-dimensional point.

[0238] For example, during correction (S211), the three-dimensional data decoding device projects one or more first three-dimensional points onto the coordinate origin of the object three-dimensional point according to the displacement, thereby deriving position information of one or more second three-dimensional points included in the first reference point group.

[0239] For example, the first information includes at least one of second information related to movement parallel to the horizontal plane and third information related to rotation around a vertical axis. Thus, the three-dimensional data decoding device can efficiently correct three-dimensional data obtained by a sensor moving in the horizontal direction.

[0240] For example, the position information includes a distance component, a horizontal angle component, and an elevation component, and the three-dimensional data decoding device corrects at least one of the distance component and the horizontal angle component in the correction (S211). That is, in this method, the elevation component in the polar coordinates is not corrected. Therefore, this method is suitable for selectively using a reference point group whose position is corrected in the horizontal direction and a reference point group before correction. For example, this method is suitable for a three-dimensional point group obtained by a sensor that repeatedly moves and stops in the horizontal direction.

[0241] For example, the three-dimensional data decoding device further obtains fourth information indicating whether to perform correction from the bit stream, and determines whether to perform correction based on the fourth information. Thus, the three-dimensional data decoding device can determine a prediction point that further reduces the prediction error by switching whether to perform correction. In addition, the fourth information can be a flag or a parameter. In addition, the fourth information can be set for each frame, can be set for each processing unit (such as a slice) within a frame, or can be set for each point.

[0242] For example, the three-dimensional data decoding apparatus selects the second reference point group as the third reference point group without performing correction.

[0243] For example, one or more first three-dimensional points are included in a first processing unit (e.g., a frame or a slice), and the three-dimensional data decoding device selects one of the second reference point group and the fourth reference point group as the third reference point group without correction, and the fourth reference point group is one or more third three-dimensional points before correction included in the second processing unit different from the first processing unit. Thus, the three-dimensional data decoding device can refer to two processing units (e.g., two frames) that have not been corrected without correction. Therefore, the three-dimensional data decoding device can improve the coding efficiency.

[0244] For example, a first reference point group is generated by correcting one or more fourth three-dimensional points that are part of one or more first three-dimensional points. Thus, the three-dimensional data decoding device can reduce the amount of processing by limiting the three-dimensional points of the object to be corrected. For example, when the relative position relationship between the object three-dimensional point and the origin is approximately equal to the relative position relationship between the prediction point included in the reference point group and the origin, if the prediction point is used without correction, the prediction error can be suppressed. On the other hand, when the relative position relationship between the object three-dimensional point and the origin is different from the relative position relationship between the prediction point included in the reference point group and the origin, the prediction error can be suppressed if the corrected prediction point is used. In this way, by switching whether correction should be performed according to the position of the object three-dimensional point, the prediction error can be reduced.

[0245] For example, the location information includes a distance component, a horizontal angle component, and an elevation component, and the fourth three-dimensional point is a first three-dimensional point among one or more first three-dimensional points whose elevation component is larger than a predetermined value. That is, in this method, the three-dimensional points of the object to be corrected are limited to three-dimensional points with large elevation components. Three-dimensional points with large elevation components represent buildings, for example. Buildings are fixed to the ground. Therefore, in the case where the object three-dimensional point and the predicted point represent buildings, the relative positional relationship between the object three-dimensional point and the origin is different from the relative positional relationship between the predicted point and the origin included in the reference point group. In this case, if the predicted point that has been corrected is used, the prediction error can be suppressed. Therefore, the three-dimensional data decoding method limits the object to be corrected to buildings, etc.

[0246] Likewise, the fourth three-dimensional point is a first three-dimensional point whose vertical position is higher than a predetermined position among the one or more first three-dimensional points.

[0247] For example, the three-dimensional data decoding device includes a processor and a memory, and the processor performs the above-mentioned processing using the memory.

[0248] As mentioned above, the three-dimensional data encoding device and the three-dimensional data decoding device according to the embodiment and the modification of the present disclosure have been described, but the present disclosure is not limited to the embodiment.

[0249] In addition, each processing unit included in the three-dimensional data encoding device and the three-dimensional data decoding device of the above-mentioned embodiment is typically implemented as an integrated circuit, that is, LSI. They may be implemented as a single chip individually or in part or in whole.

[0250] The integrated circuit is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. An FPGA (Field Programmable Gate Array) that can be programmed after LSI manufacturing or a reconfigurable processor that can reconfigure the connection and setting of the circuit unit inside the LSI may also be used.

[0251] In addition, in each of the above embodiments, each component may be formed by dedicated hardware, or implemented by executing a software program suitable for each component. Each component may also be implemented by a program execution unit such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.

[0252] Furthermore, the present disclosure may also be implemented as a three-dimensional data encoding method or a three-dimensional data decoding method executed by a three-dimensional data encoding device or a three-dimensional data decoding device.

[0253] In addition, the division of the functional blocks in the block diagram is an example, and multiple functional blocks can also be implemented as one functional block, or one functional block can be divided into multiple blocks, or a part of the function can be moved to other functional blocks. In addition, a single hardware or software can process the functions of multiple functional blocks with similar functions in parallel or time-sharing.

[0254] In addition, the order of executing each step in the flowchart is used to specifically explain the present disclosure, and may be an order other than the above. In addition, part of the above steps may be executed simultaneously (in parallel) with other steps.

[0255] In the above, one or more embodiments of a three-dimensional data encoding device and a three-dimensional data decoding device are described based on the embodiments, but the present disclosure is not limited to the embodiments. As long as it does not deviate from the main purpose of the present disclosure, various modifications that can be thought of by those skilled in the art are implemented in the embodiments, and the embodiments constructed by combining the constituent elements of different embodiments can also be included in the scope of one or more embodiments.

[0256] Industrial availability

[0257] The present disclosure can be applied to a three-dimensional data encoding device and a three-dimensional data decoding device.

[0258] Description of Reference Numerals

[0259] 100 3D data encoding device

[0260] 101 Coding Department

[0261] 102, 202 Motion Compensation Unit

[0262] 103, 203 first buffer

[0263] 104, 204 second buffer

[0264] 105, 205 switching unit

[0265] 106, 206 inter-frame prediction unit

[0266] 200 3D data decoding device

[0267] 201 Decoding Department

Claims

1. A three-dimensional data encoding method, wherein: The first reference point group is generated by correcting the position information of one or more first three-dimensional points so as to match the coordinate system of the target three-dimensional points of the encoding target. selecting one of the first reference point group and a second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the target three-dimensional point, Determine the prediction point using the third reference point group, The position information of the object three-dimensional point is encoded with reference to at least a portion of the position information of the prediction point.

2. The three-dimensional data encoding method according to claim 1, wherein: In the correction, the position information of the one or more first three-dimensional points is matched with the coordinate system of the object three-dimensional point based on the first information indicating the displacement between the coordinate system of the one or more first three-dimensional points and the coordinate system of the object three-dimensional point.

3. The three-dimensional data encoding method according to claim 2, wherein: In the calibration, the one or more first three-dimensional points are projected onto the coordinate origin of the target three-dimensional point according to the displacement, thereby deriving position information of one or more second three-dimensional points included in the first reference point group.

4. The three-dimensional data encoding method according to claim 2, wherein: The first information includes at least one of second information related to movement parallel to a horizontal plane and third information related to rotation around a vertical axis.

5. The three-dimensional data encoding method according to claim 1, wherein: The position information includes a distance component, a horizontal angle component and an elevation angle component. In the correction, at least one of the distance component and the horizontal angle component is corrected.

6. The three-dimensional data encoding method according to claim 1, wherein: The three-dimensional data encoding method also determines whether to perform the correction. A bit stream including the encoded position information of the target three-dimensional point and fourth information indicating whether the correction is to be performed is generated.

7. The three-dimensional data encoding method according to claim 6, wherein: When the correction is not performed, the second reference point group is selected as the third reference point group.

8. The three-dimensional data encoding method according to claim 6, wherein: The one or more first three-dimensional points are included in the first processing unit, Without performing the correction, one of the second reference point group and a fourth reference point group is selected as the third reference point group, wherein the fourth reference point group is one or more third three-dimensional points before correction included in a second processing unit different from the first processing unit.

9. The three-dimensional data encoding method according to claim 1, wherein: The first reference point group is generated by calibrating one or more fourth three-dimensional points that are part of the one or more first three-dimensional points.

10. The three-dimensional data encoding method according to claim 9, wherein: The position information includes a distance component, a horizontal angle component and an elevation angle component. The fourth three-dimensional point is a first three-dimensional point of which the elevation angle component is larger than a predetermined value among the one or more first three-dimensional points.

11. The three-dimensional data encoding method according to claim 9, wherein: The fourth three-dimensional point is a first three-dimensional point whose vertical position is higher than a predetermined position among the one or more first three-dimensional points.

12. A three-dimensional data decoding method, wherein: The first reference point group is generated by correcting the position information of one or more first three-dimensional points so as to match the coordinate system of the target three-dimensional points to be decoded. selecting one of the first reference point group and a second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the target three-dimensional point, Determine the prediction point using the third reference point group, The position information of the object three-dimensional point is decoded with reference to at least a portion of the position information of the prediction point.

13. The three-dimensional data decoding method according to claim 12, wherein: In the correction, the position information of the one or more first three-dimensional points is matched with the coordinate system of the object three-dimensional point based on the first information indicating the displacement between the coordinate system of the one or more first three-dimensional points and the coordinate system of the object three-dimensional point.

14. The three-dimensional data decoding method according to claim 13, wherein: In the calibration, the one or more first three-dimensional points are projected onto the coordinate origin of the target three-dimensional point according to the displacement, thereby deriving position information of one or more second three-dimensional points included in the first reference point group.

15. The three-dimensional data decoding method according to claim 13, wherein: The first information includes at least one of second information related to movement parallel to a horizontal plane and third information related to rotation around a vertical axis.

16. The three-dimensional data decoding method according to claim 12, wherein: The position information includes a distance component, a horizontal angle component and an elevation angle component. In the correction, at least one of the distance component and the horizontal angle component is corrected.

17. The three-dimensional data decoding method according to claim 12, wherein: The three-dimensional data decoding method further includes: obtaining fourth information indicating whether the correction is performed from the bit stream, Based on the fourth information, it is determined whether to perform the correction.

18. The three-dimensional data decoding method according to claim 17, wherein: When the correction is not performed, the second reference point group is selected as the third reference point group.

19. The three-dimensional data decoding method according to claim 17, wherein: The one or more first three-dimensional points are included in the first processing unit, Without performing the correction, one of the second reference point group and a fourth reference point group is selected as the third reference point group, wherein the fourth reference point group is one or more third three-dimensional points before correction included in a second processing unit different from the first processing unit.

20. The three-dimensional data decoding method according to claim 12, wherein: The first reference point group is generated by calibrating one or more fourth three-dimensional points that are part of the one or more first three-dimensional points.

21. The three-dimensional data decoding method according to claim 20, wherein: The position information includes a distance component, a horizontal angle component and an elevation angle component. The fourth three-dimensional point is a first three-dimensional point of which the elevation angle component is larger than a predetermined value among the one or more first three-dimensional points.

22. The three-dimensional data decoding method according to claim 20, wherein: The fourth three-dimensional point is a first three-dimensional point whose vertical position is higher than a predetermined position among the one or more first three-dimensional points.

23. A three-dimensional data encoding device, comprising: Processor; and Memory, The processor uses the memory, The first reference point group is generated by correcting the position information of one or more first three-dimensional points so as to match the coordinate system of the target three-dimensional points of the encoding target. selecting one of the first reference point group and a second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the target three-dimensional point, Determine the prediction point using the third reference point group, The position information of the object three-dimensional point is encoded with reference to at least a portion of the position information of the prediction point.

24. A three-dimensional data decoding device, comprising: processor; and, Memory, The processor uses the memory, The first reference point group is generated by correcting the position information of one or more first three-dimensional points so as to match the coordinate system of the target three-dimensional points to be decoded. selecting one of the first reference point group and a second reference point group including the one or more first three-dimensional points before correction as a third reference point group for the target three-dimensional point, Determine the prediction point using the third reference point group, The position information of the object three-dimensional point is decoded with reference to at least a portion of the position information of the prediction point.