Encrypting device, encrypting program, encrypting method, decrypting device, decrypting program and decrypting method

By separating and encoding point cloud data into time stamps, position, and attribute data, and correcting predicted positions, the method addresses efficiency losses in encoding and decoding point cloud data from LiDAR systems with varying point generation intervals, ensuring high accuracy.

JP2024122003APending Publication Date: 2024-09-09CANON KK

Patent Information

Application Number
JP2023029293
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-09

AI Technical Summary

Technical Problem

Existing methods for encoding point cloud data generated by rotating or non-rotating LiDAR systems face efficiency losses due to varying time intervals at which points are generated, leading to increased prediction errors.

Method used

The encoding and decoding devices utilize a method that separates point cloud data into time stamps, position data, and attribute data, applying predictive encoding to improve efficiency by correcting predicted positions based on attribute data, and generating bitstreams for each component.

Benefits of technology

This approach allows for efficient encoding and decoding of point cloud data without reducing efficiency, even when time intervals of point generation are not constant, thereby maintaining high coding accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To encrypt dot-group data without decreasing an efficiency, and to decrypt a dot-group bit stream without decreasing an efficiency even if the interval of a generation time of a dot contained in the dot-group data is uncertain.SOLUTION: A positional data encrypting module of an encrypting device includes a subjected dot positional data encrypting unit that generates a subjected dot position bit stream representing the position of the subjected dot by encrypting, based on subjected dot attribute data, subjected dot positional data which is contained in dot-group data and which is subjected to a process of predicting a position. A position bit stream decrypting module of a decrypting device includes: a subjected dot bit stream obtaining unit that obtains a subjected dot attribute bit stream representing the attribute of the subjected point which is contained in a dot-group bit stream, and which has been subjected to the process of predicting the position; and a subjected dot position bit stream decrypting unit that generates the subjected dot positional data representing the position of the subjected dot by decrypting, based on the subjected dot attribute bit stream, the subjected dot position bit stream representing the position of the subjected dot.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an encoding device, an encoding program, an encoding method, a decoding device, a decoding program, and a decoding method. [Background technology]

[0002] Currently, technology is being developed that utilizes point cloud data generated by LiDAR (Light Detection and Ranging) and the like for the purpose of assisting automobile driving, realizing autonomous movement of automatic guided vehicles (AGVs), etc. Generally, point cloud data includes a large number of points and data associated with each point, and therefore may require a long time for transmission, reception, storage in a storage medium, etc. As a technology for addressing such issues, for example, a method for compressing point clouds disclosed in Patent Document 1 can be cited. This method compresses data in a two-dimensional matrix having a first dimension and a second dimension representing a point, and generates a bit stream including the compressed data of the two-dimensional matrix. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Special Publication No. 2022-518888 Summary of the Invention [Problem to be solved by the invention]

[0004] However, the method of Patent Document 1 assumes a rotating LIDAR in which the time at which points are generated is constant, and predicts the position of a newly input point based on the positions of multiple points input in the past. Therefore, in the case of rotating LIDAR or non-rotating LIDAR in which the time interval at which points are generated is not constant, the error in the prediction may become large, and the efficiency of encoding may decrease.

[0005] Therefore, the present invention aims to provide an encoding device, encoding program, and encoding method that can encode point cloud data without reducing efficiency even if the time intervals at which points contained in the point cloud data were generated are not constant, and to provide a decoding device, decoding program, and decoding method that can decode a point cloud bit stream without reducing efficiency even if the time intervals at which points contained in the point cloud bit stream were generated are not constant. [Means for solving the problem]

[0006] In order to solve the above-mentioned problems, the encoding device of the present invention comprises: an object point data acquisition means for acquiring object point attribute data that is included in point cloud data and indicates attributes of an object point that is the target of a process for predicting a position; and an object point position data encoding means for generating an object point position bit stream that indicates the position of the object point by encoding the object point position data that indicates the position of the object point based on the object point attribute data. Also, in order to solve the above-mentioned problems, the decoding device of the present invention comprises: an object point bit stream acquisition means for acquiring an object point attribute bit stream that is included in a point cloud bit stream and indicates attributes of an object point that is the target of a process for predicting a position; and an object point position bit stream decoding means for generating object point position data that indicates the position of the object point by decoding the object point position bit stream that indicates the position of the object point based on the object point attribute bit stream. Effect of the Invention

[0007] According to the present invention, even if the time intervals at which the points contained in the point cloud data were generated are not constant, it is possible to encode the point cloud data without sacrificing efficiency, and to decode the point cloud bit stream without sacrificing efficiency. [Brief description of the drawings]

[0008] [Figure 1] 11 is a diagram for explaining a process of encoding a difference between a result of predicting a position of a point by predictive encoding and the position of the point. FIG. [Diagram 2]FIG. 1 is a diagram showing an example of a tree corresponding to point cloud data generated by a rotating lidar. [Diagram 3] FIG. 2 illustrates an example of a decomposition module, an encoding device, and a synthesis module according to the first embodiment; [Figure 4] 4 is a diagram illustrating an example of a software configuration of a position data encoding module according to the first embodiment. FIG. [Diagram 5] 10A to 10C are diagrams illustrating an example of processing executed by a position data encoding module according to the first embodiment. [Figure 6] 3A to 3C are diagrams illustrating examples of nodes, timestamps, and positions related to points included in point cloud data according to the first embodiment. [Figure 7] FIG. 2 is a diagram illustrating an example of a portion of a tree according to the first embodiment. [Figure 8] 6 is a flowchart illustrating an example of processing executed by a position data encoding module according to the first embodiment. [Figure 9] 11A and 11B are diagrams illustrating examples of a decomposition module, a decoding device, and a synthesis module according to a second embodiment. [Figure 10] FIG. 11 is a diagram illustrating an example of a software configuration of a position bitstream decoding module according to the second embodiment. [Figure 11] FIG. 11 is a diagram for explaining an example of processing executed by a position bitstream decoding module according to the second embodiment. [Figure 12] FIG. 11 is a diagram for explaining an example of processing executed by a position bitstream decoding module according to the second embodiment. [Figure 13] FIG. 13 is a diagram showing an example of a rotation type lidar according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] <G-PCCについて> First, a process of encoding the difference between the result of predicting the position of a point by predictive coding and the position of the point will be described with reference to FIG. 1. Predictive coding (Predictive Geometry Coding) is a form of G-PCC (Geometry based Point Cloud Compression) included in MPEG (Moving Picture Experts Group). Note that G-PCC is disclosed in the document "ISO / IEC JTC 1 / SC 29 / WG7N 0151, G-PCC codec description v12, July 2021".

[0010] Predictive coding is a technique in which the position of an input point is predicted based on the positions of points previously input, and the difference between the position of the input point and the predicted position is coded. When predictive coding is applied to point cloud data, a prediction tree is created and managed. The tree is a combination of multiple nodes. Data indicating information about each point is registered in each node. For example, position data indicating the position of the point and attribute data indicating information other than the position of the point are registered in each node. Each node also holds an identifier that enables unique identification of an ancestor node of the node. The identifier represents the existence of a branch between the node and the node that is the parent of the node. The tree can be arbitrarily created or updated based on the position of each point, and typically, branches are laid between nearby nodes.

[0011] FIG. 1 is a diagram for explaining a process of encoding the difference between the result of predicting the position of a point by predictive coding and the position of the point. FIG. 1 shows nodes in a space defined by a left-handed three-dimensional orthogonal coordinate system having an X axis, a Y axis, and a Z axis. Node n corresponds to a point whose position is to be predicted. Node n0 is the parent node of node n. Node n1 is the parent node of node n0. Node n2 is the parent node of node n1. If the position of an arbitrary node x is represented as Pоs(x), the predicted vector is represented as Pred(x), and the position of node x predicted by predictive coding is represented as PredPоs(x), the following formulas (1) to (4) hold. Predictive coding predicts the position of node n using one of formulas (1) and (2) and formulas (3) and (4).

[0012] Pred(n)=Pos(n0)-Pos(n1)...Equation (1)

[0013] PredPos(n)=Pos(n0)+Pred(n)…Equation (2)

[0014] Pred(n)=Pos(n0)-Pos(n2)…Equation (3)

[0015] PredPos(n)=Pos(n1)+Pred(n)...Equation (4)

[0016] Next, the difference Delta(n) between the position Pоs(n) of node n and the position PredPоs(n) of node n predicted by predictive coding is calculated using the following equation (5).

[0017] Delta(n)=Pos(n)-PredPos(n)…Equation (5)

[0018] Next, arithmetic coding is applied to the difference Delta(n) and the identifier of node n0 to generate a position bitstream indicating the position of node n. Then, the position bitstream and an attribute bitstream generated by separately applying coding to attribute data are combined to output a coded bitstream.

[0019] In predictive coding, the smaller the difference Delta(n), the higher the coding efficiency, and the larger the difference Delta(n), the lower the coding efficiency. To increase coding efficiency, it is necessary to improve the accuracy of the position PredPоs(n) of node x predicted by predictive coding and to reduce the difference Delta(n).

[0020] In the above description, an example is given of a case where the node exists in a space defined by a left-handed three-dimensional orthogonal coordinate system, but the coordinate system defining the space is not particularly limited. For example, the space in which the node exists may be defined by a right-handed three-dimensional orthogonal coordinate system.

[0021] Next, the process of decoding the coded bit stream will be described. The coded bit stream is separated into a position bit stream and an attribute bit stream. Arithmetic decoding is applied to the position bit stream to generate a difference Delta(n) and an identifier of the parent node n0 of node n. A node corresponding to the point to be decoded is added to the tree based on the identifier, and the position of the node is predicted by the above-mentioned method, and the position of the node is decoded by the following equation (6). After that, the attribute bit stream is decoded.

[0022] Pos(n)=Delta(n)+PredPos(n)…Equation (6)

[0023] Next, a case where predictive coding is applied to point cloud data acquired by a rotary LIDAR will be described with reference to FIG. 2. FIG. 2 is a diagram showing an example of a tree corresponding to point cloud data generated by a rotary LIDAR. Here, each point constituting the point cloud data is a measurement point (measurement data) measured by a rotary LIDAR. FIG. 2 shows a space defined by three-dimensional orthogonal coordinates defined by an axis indicating the direction of the azimuth angle, an axis indicating a laser ID unique to each laser mounted on the rotary LIDAR, and an axis indicating a distance from each laser. In a rotary LIDAR, the angle at which each laser emits laser light, that is, the elevation angle, does not change. For this reason, the amount of data can be reduced by using the laser ID instead of the elevation angle. The natural number N shown in FIG. 2 represents the number of lasers, and is, for example, "16" or "32". As shown in FIG. 2, a node is added to each point acquired using each laser so that it has a point acquired earlier using the same laser, forming a tree.

[0024] The technology described with reference to FIG. 1 predicts the position of a point included in input point cloud data based on the positions of multiple previously input points. Therefore, when the time intervals at which each point is acquired are not constant, as in the above-mentioned example of LIDAR, this technology may cause a large prediction error and reduce encoding efficiency. Hereinafter, a technology for solving such a problem will be described with reference to FIG. 3 to FIG. 13. Note that LIDAR is just an example, and this technology can also be applied to other devices in which the time intervals at which the point cloud to be encoded is acquired are not constant.

[0025] First Embodiment The encoding device will be described with reference to Figures 3 to 8. Figure 3 is a diagram showing an example of a decomposition module, an encoding device, and a synthesis module according to a first embodiment. Figure 3 shows a decomposition module 1, an encoding device 2, and a synthesis module 3.

[0026] Point cloud data D1 is input to the decomposition module 1. The decomposition module 1 decomposes the point cloud data D1 into time stamp D11, position data D12, and attribute data D13, and outputs the data. The decomposition module 1 performs a process of decomposing each point constituting the input point cloud data D1 into the time stamp D11, position data D12, and attribute data D13.

[0027] The timestamp D11 is data indicating the time when a point was generated, and is a type of attribute data indicating the attribute of the point. The timestamp D11 is included in the point cloud data D1, and includes a target point timestamp indicating the time when a target point, the object of which is the subject of processing for predicting a position, was generated. The timestamp D11 is also included in the point cloud data D1, and includes a processed point timestamp indicating the time when a processed point, the processing for predicting a position of which has been completed, was generated.

[0028] The position data D12 is data indicating the position of a point. The position data D12 includes target point position data indicating the position of a target point and processed point position data indicating the position of a processed point. The target point and the processed point each correspond to a point or area on the surface of an object that is irradiated with a laser, light, or the like by a rotary lidar or the like.

[0029] The attribute data D13 indicates attributes of a point other than the time when the point was generated. That is, the attribute data D13 is data indicating various attributes of a point except for a time stamp. For example, the attribute data D13 is information indicating the intensity of a laser light that is reflected by a predetermined point or area on the surface of an object and enters a sensor composed of a light receiving unit and the like. In addition, the attribute data D13 may include information indicating the color of a predetermined point or area on the surface of an object acquired by a camera, information indicating the reliability of the data of the point such as an SN ratio calculated from the intensity of the incident laser light, the amount of background light such as the sun, and the amount of noise inside the lidar, and information indicating the normal of the object surface. The information indicating the color of a predetermined point or area on the surface of an object acquired by a camera may be RGB (Red Green Blue) information transferred to the point from an image taken by a camera attached to the rotary lidar. Alternatively, the information indicating the color of a predetermined point or area on the surface of an object acquired by a camera may be RGB information output from an image sensor included in the rotary lidar. Moreover, the attribute data D13 includes target point attribute data indicating attributes of the target point, and processed point attribute data indicating attributes of the processed point.

[0030] As shown in FIG. 3, the encoding device 2 includes a time stamp encoding module 21, a position data encoding module 22, and an attribute data encoding module .

[0031] A timestamp D11 is input to the timestamp encoding module 21. The timestamp encoding module 21 generates a timestamp bit stream B11 by applying an arbitrary encoding method to the timestamp D11, and outputs the timestamp bit stream B11.

[0032] For example, the time stamp encoding module 21 subtracts the time indicated by the processed point time stamp from the time indicated by the target point time stamp. Then, the time stamp encoding module 21 arithmetically encodes the subtraction result to generate a time stamp bit stream B11. This processed point means the processed point generated just before the target point among the processed points.

[0033] Also, for example, the time stamp encoding module 21 predicts the difference between the time indicated by the target point time stamp and the time indicated by the processed point time stamp. Next, the time stamp encoding module 21 generates a target point time stamp bit stream by arithmetically encoding the result of predicting the difference. Then, the time stamp encoding module 21 outputs a time stamp bit stream B11 including the target point time stamp bit stream.

[0034] The position data encoding module 22 receives a time stamp D11 and object point position data D12. The position data encoding module 22 generates an object point position bit stream indicating the position of the object point by encoding the object point position data based on the object point time stamp. The position data encoding module 22 then outputs a position bit stream B12 including the object point position bit stream. The process executed by the position data encoding module 22 will be described in detail later.

[0035] The attribute data encoding module 23 receives the position data D12 and the attribute data D13. The attribute data encoding module 23 generates an object point attribute bit stream by encoding the object point attribute data. Then, the attribute data encoding module 23 outputs an attribute bit stream B13 including the object point attribute bit stream.

[0036] The synthesis module 3 receives the timestamp bitstream B11, the position bitstream B12, and the attribute bitstream B13 as inputs. The synthesis module 3 generates a point cloud bitstream B1 by synthesizing the timestamp bitstream B11, the position bitstream B12, and the attribute bitstream B13, and outputs the point cloud bitstream B1.

[0037] Next, the details of the process executed by the position data encoding module 22 will be described with reference to Fig. 4 to Fig. 7. Fig. 4 is a diagram showing an example of the software configuration of the position data encoding module according to the first embodiment. As shown in Fig. 4, the position data encoding module 22 includes a target point data acquisition unit 221, a processed point data acquisition unit 222, a target point position prediction unit 223, a predicted position correction unit 224, and a target point position data encoding unit 225.

[0038] 5 is a diagram for explaining an example of a process executed by the position data encoding module according to the first embodiment. FIG. 5 shows a tree management module 401, a position prediction module 402, a subtraction module 403, and an arithmetic encoding module 404.

[0039] The target point data acquisition unit 221 acquires a target point timestamp indicating the time when the target point included in the point cloud data was generated. The target point data acquisition unit 221 also acquires target point position data indicating the position of the target point. For example, the target point data acquisition unit 221 adds a node corresponding to the target point to the tree T, and controls the tree management module 401 to register the target point timestamp and the target point position data in the node.

[0040] Note that the tree T used by the position data encoding module 22 differs from the tree used by the technique described with reference to Fig. 1 in that not only the position data of a point but also attribute data indicating the time when the point was generated, etc. are registered in each node. Also, in the tree T used by the position data encoding module 22, a new node corresponding to the target point is added each time a point is acquired by the LIDAR and a target point is generated. However, the tree T used by the position data encoding module 22 may be generated by a different method.

[0041] The processed point data acquisition unit 222 acquires processed point position data that is included in the point cloud data and indicates the position of a processed point whose position has been predicted. The processed point data acquisition unit 222 also acquires processed point attribute data that indicates the attributes of the processed point. The processed point position data and the processed point attribute data are registered by the tree management module 401 in, for example, an ancestor node of a node corresponding to the target point in the tree T. The processed point data acquisition unit 222 also outputs the acquired processed point position data and processed point attribute data to the position prediction module 402, for example.

[0042] The target point position prediction unit 223 predicts the position of the target point based on the processed point position data. For example, the target point position prediction unit 223 controls the position prediction module 402 to predict the position of the target point based on the processed point position data registered in the ancestor node.

[0043] Fig. 6 is a diagram showing an example of nodes, timestamps, and positions of points included in point cloud data according to the first embodiment. The first line from the top of Fig. 6 shows a node n of a target point, a parent node n0 of the target point, a parent node n1 of node n0, and a parent node n2 of node n1. The second line from the top of Fig. 6 shows the time indicated by the timestamp registered in each node shown in the first line from the top of Fig. 6. The third line from the top of Fig. 6 shows the position of each node shown in the first line from the top of Fig. 6.

[0044] The interval between time Time(n2) and time Time(n1) is equal to the interval between time Time(n1) and time Time(n0). Meanwhile, the interval between time Time(n) and time Time(n0) is longer than the interval between time Time(n2) and time Time(n1) and the interval between time Time(n1) and time Time(n0). In other words, the following equations (7) and (8) are established.

[0045] Time(n)-Time(n0)>Time(n0)-Time(n1)…Equation (7)

[0046] Time(n)-Time(n1)>Time(n0)-Time(n2)…Formula (8)

[0047] Fig. 7 is a diagram showing an example of a part of a tree according to the first embodiment. Fig. 7 shows a space defined by a three-dimensional Cartesian coordinate system defined by an axis indicating the azimuth direction, an axis indicating a laser ID unique to each laser mounted on the rotary LID, and an axis indicating a distance from each laser. Node n2, node n1, and node n0 correspond to a series of points acquired by one laser, respectively.

[0048] When a rotating lidar rotates at a constant speed in the azimuth direction, the distance between nodes is proportional to the distance between the times indicated by the time stamps registered at each node. Therefore, the position Pоs(n2) of node n2, the position Pоs(n1) of node n1, and the position Pоs(n0) of node n0 are equally spaced along the axis indicating the azimuth direction.

[0049] On the other hand, the interval between the position Pоs(n0) of node n0 and the position Pоs(n) of node n is longer than the intervals between the position Pоs(n2) of node n2, the position Pоs(n1) of node n1, and the position Pоs(n0) of node n0. This is because, as described above, the interval between time Time(n) and time Time(n0) is longer than the interval between time Time(n2) and time Time(n1) and the interval between time Time(n1) and time Time(n0).

[0050] The white circle shown in Fig. 7 is a position predicted by the technique described with reference to Fig. 1. The position Pоs(n) of node n is located to the right of the white circle because the interval between time Time(n) and time Time(n0) is longer than the intervals between other times. A prediction vector Pred(n) indicating the position predicted by the technique described with reference to Fig. 1 is expressed by the following equation (9).

[0051] Pred(n)=Pos(n0)-Pos(n1)...Equation (9)

[0052] The predicted position correction unit 224 corrects the result of the prediction of the position of the target point by the target point position prediction unit 223 based on the target point attribute data and the processed point attribute data, and generates corrected position data. In addition, the predicted position correction unit 224 outputs the corrected position data to the subtraction module 403, for example. For example, based on the fact that the interval between nodes is proportional to the time interval indicated by the time stamp registered in the node, the predicted position correction unit 224 corrects the above-mentioned predicted vector using the time interval, and calculates a corrected predicted vector CorrPred(n). The corrected predicted vector CorrPred(n) is expressed by the following formula (10). Note that the symbol [x] included in formula (10) represents the magnitude of the vector x.

[0053] CorrPred(n)=([Time(n)-Time(n0)]÷([Time(n0)-Time(n1)])×Pred(n)...Equation (10)

[0054] The position PredPos(n) of node n predicted by the target point position prediction unit 223 is expressed by the following equation (11).

[0055] PredPos(n)=Pos(n0)+CorrPred(n)…Equation (11)

[0056] The predicted vector may be calculated by the following formula (12) instead of the above formula (9). Also, the corrected predicted vector may be calculated by the following formula (13) instead of the above formula (10).

[0057] Pred(n)=Pos(n0)-Pos(n2)…Equation (12)

[0058] CorrPred(n)=((Time(n)-Time(n1))÷(Time(n0)-Time(n2)))×Pred(n)...Equation (13)

[0059] The object point position data encoding unit 225 generates an object point position bit stream indicating the position of the object point by encoding the object point position data indicating the position of the object point based on the object point attribute data.

[0060] Specifically, the object point position data encoding unit 225 calculates the difference Delta(n) between the position Pos(n) indicated by the object point position data and the position PredPos(n) indicated by the corrected position data. The difference between the position Pos(n) of node n and the position PredPos(n) of node n predicted by the object point position prediction unit 223 is expressed by the following formula (14).

[0061] Delta(n)=Pos(n)-PredPos(n)…Equation (14)

[0062] For example, the object point position data encoding unit 225 controls the subtraction module 403 to calculate the difference and output it to the arithmetic coding module 404. In this case, for example, the object point position data encoding unit 225 also provides the arithmetic coding module 404 with an identifier of a parent node of a node corresponding to the object point.

[0063] Then, the object point position data encoding unit 225 generates an object point position bit stream by encoding this difference. For example, the object point position data encoding unit 225 controls the arithmetic encoding module 404 to generate an object point position bit stream by arithmetically encoding the difference calculated by itself and the identifier of the parent node of the node corresponding to the object point.

[0064] Next, a process executed by the position data encoding module 22 according to the first embodiment will be described with reference to Fig. 8. Fig. 8 is a flowchart showing an example of a process executed by the position data encoding module according to the first embodiment. Fig. 8 shows an example of a process for encoding object point position data to generate an object point position bit stream.

[0065] In step S101, the target point data acquisition unit 221 acquires position data and attribute data of each point included in the point cloud data.

[0066] In step S102, the object point data acquisition unit 221 acquires object point position data and object point attribute data.

[0067] In step S103, the object point data acquisition unit 221 adds a node to the tree, and registers the object point position data and the object point attribute data acquired in step S102 in the node.

[0068] In step S104, the processed point data acquisition unit 222 acquires processed point position data and processed point attribute data contained in the ancestor node from the tree.

[0069] In step S105, the target point position prediction unit 223 predicts the position of the target point based on the processed point position data acquired in step S104.

[0070] In step S106, the predicted position correction unit 224 corrects the result predicted in step S105 based on the target point attribute data and the processed point attribute data, and generates corrected position data.

[0071] In step S107, the target point position data encoding unit 225 calculates the difference between the position indicated by the target point position data acquired in step S102 and the position indicated by the corrected position data generated in step S106.

[0072] In step S108, the target point position data encoding unit 225 generates a target point position bit stream by encoding the difference calculated in step S107.

[0073] In step S109, the object point position data encoding unit 225 stores the object point position bit stream generated in step S108 in a buffer.

[0074] In step S110, the encoding device 2 determines whether or not the processing from step S102 to step S109 has been performed for all points included in the point cloud data. If the encoding device 2 determines that the processing from step S102 to step S109 has been performed for all points included in the point cloud data (step S110: YES), the processing proceeds to step S111. On the other hand, if the encoding device 2 determines that the processing from step S102 to step S109 has not been performed for all points included in the point cloud data (step S110: NO), the processing proceeds to step S102.

[0075] In step S111, the encoding device 2 outputs, from the buffer, a position bitstream for all points included in the point group data.

[0076] The encoding device 2 according to the first embodiment has been described above. The encoding device 2 acquires target point attribute data that is included in the point cloud data and indicates attributes of the target point that is the target of the process of predicting the position. The encoding device 2 then generates a target point position bit stream that indicates the position of the target point by encoding the target point position data that indicates the position of the target point based on the target point attribute data. The encoding device 2 calculates the position PredPos(n) of the node n using the corrected prediction vector CorrPred(n), thereby making it possible to reduce the difference Delta(n) compared to the case where the position of the node n is predicted using the prediction vector Pred(n), thereby improving the encoding efficiency. In other words, the encoding device 2 can efficiently encode the point cloud data by the above-mentioned process, even if the intervals at which the points included in the point cloud data are generated are not constant.

[0077] Second Embodiment The decoding device according to the second embodiment will be described with reference to Fig. 9 to Fig. 12. Fig. 9 is a diagram showing an example of a decomposition module, a decoding device, and a synthesis module according to the second embodiment. Fig. 9 shows a decomposition module 5, a decoding device 6, and a synthesis module 7. In the description of the second embodiment, the same symbols and notations as those used in the description of the first embodiment are used for the same elements as in the first embodiment. In addition, the tree T used in the second embodiment is the same as the tree T used in the first embodiment.

[0078] The point group bitstream B1 is input to the decomposition module 5. The decomposition module 5 decomposes the point group bitstream B1 into a timestamp bitstream B11, a position bitstream B12, and an attribute bitstream B13, and outputs them.

[0079] The timestamp bit stream B11 is a bit stream indicating the time when a point was generated, and is a type of attribute bit stream indicating the attribute of the point. The timestamp bit stream B11 is included in the point cloud bit stream B1, and includes a target point timestamp bit stream indicating the time when a target point, the target of the process of predicting the position, was generated. The timestamp bit stream B11 is also included in the point cloud bit stream B1, and includes a processed point timestamp bit stream indicating the time when a processed point, the process of predicting the position of which has been completed, was generated.

[0080] The position bitstream B12 indicates the positions of the points. The position bitstream B12 includes an object point position bitstream that indicates the positions of object points.

[0081] The attribute bit stream B13 indicates attributes of a point other than the time when the point was generated. For example, the attribute bit stream B13 indicates the intensity of a laser light reflected at a specific point or area on the object surface and incident on a sensor, the color of a specific point or area on the object surface acquired by a camera attached to the LIDAR, information indicating the reliability of point data such as the S / N ratio, and information indicating the normal of the object surface. In addition, the attribute bit stream B13 includes a target point attribute bit stream indicating the attributes of a target point and a processed point attribute bit stream indicating the attributes of a processed point.

[0082] As shown in FIG. 9, the decoding device 6 includes a time stamp decoding module 61, a position bitstream decoding module 62, and an attribute bitstream decoding module 63.

[0083] The timestamp decoding module 61 receives the timestamp bitstream B11 as input. The timestamp decoding module 61 generates a timestamp D11 by applying an arbitrary decoding method to the timestamp bitstream B11, and outputs the timestamp D11. For example, the timestamp decoding module 61 generates the timestamp D11 by a decoding process corresponding to the encoding process used by the timestamp encoding module 21 according to the first embodiment.

[0084] The position bitstream decoding module 62 receives the position bitstream B12 and the timestamp D11. The position bitstream decoding module 62 generates object point position data indicating the position of the object point by decoding the object point position bitstream. Then, the position bitstream decoding module 62 outputs position data D12 including the object point position data. The process executed by the position bitstream decoding module 62 will be described in detail later.

[0085] The attribute bitstream decoding module 63 receives the attribute bitstream B13 and the object point data D12. The attribute bitstream decoding module 63 generates object point attribute data by decoding the object point attribute bitstream. Then, the attribute bitstream decoding module 63 outputs attribute data D13 including the object point attribute data.

[0086] The synthesis module 7 receives the time stamp D11, the position data D12, and the attribute data D13. The synthesis module 7 generates point cloud data D1 by synthesizing the time stamp D11, the position data D12, and the attribute data D13, and outputs the point cloud data D1.

[0087] Next, the details of the process executed by the position bitstream 62 will be described with reference to Fig. 10 and Fig. 11. Fig. 10 is a diagram showing an example of the software configuration of a position bitstream decoding module according to the second embodiment. As shown in Fig. 10, the position bitstream 62 includes a target point bitstream acquisition unit 621, a processed point bitstream acquisition unit 622, a difference decoding unit 623, a bitstream decoding unit 624, a target point position prediction unit 625, a predicted position correction unit 626, and a target point position bitstream decoding unit 627.

[0088] 11 is a diagram for explaining an example of a process executed by the position bitstream decoding module according to the second embodiment. FIG. 10 shows an arithmetic decoding module 801, a tree management module 802, a position prediction module 803, and an addition module 804.

[0089] The target point bit stream acquisition unit 621 acquires a target point attribute bit stream that is included in the point cloud bit stream and indicates the attribute of the target point that is the target of the position prediction process. Also, the target point bit stream acquisition unit 621 acquires a target point position bit stream that is included in the point cloud bit stream and indicates the position of the target point that is the target of the position prediction process. The target point bit stream acquisition unit 621 outputs the target point position bit stream to the arithmetic decoding module 801, for example.

[0090] The differential decoding unit 623 decodes the difference Delta(n) between the position P 0s(n) and the predicted position Pred P 0s(n). For example, the differential decoding unit 623 controls the arithmetic decoding module 801 to decode the difference Delta(n) between the position P 0s(n) and the position Pred P 0s(n).

[0091] The bitstream decoding unit 624 generates an object point timestamp by decoding the object point attribute bitstream. This object point timestamp indicates the time Time(n) included in the right side of the above-mentioned formula (10). For example, the bitstream decoding unit 624 controls the arithmetic decoding module 801 to generate an object point timestamp by decoding the object point attribute bitstream. Also, for example, the bitstream decoding unit 624 controls the tree management module 802 to refer to the identifier of each node and identify the node n0 that will be the parent of the node n to be newly added. Then, the bitstream decoding unit 624 adds the node n to the tree T and controls the tree management module 802 to register the object point timestamp in the node n, which indicates the time when the point corresponding to the node n was generated.

[0092] The bitstream decoding unit 624 acquires the processed point timestamp and the processed point position data registered in each of the ancestor nodes of node n, such as node n0 and node n1, from the tree T. Then, the bitstream decoding unit 624 outputs the processed point timestamp and the processed point position data to the position prediction module 803.

[0093] The object point position prediction unit 625 predicts the object point position based on the processed point position data. For example, the object point position prediction unit 625 controls the position prediction module 803 to predict the object point position based on the processed point position data.

[0094] The predicted position correction unit 626 corrects the result PredPos(n) predicted by the target point position prediction unit 625 based on the target point attribute data and the processed point attribute data, and generates the target point position data. At this stage, the corrected prediction vector CorrPred(n) on the left side of the above-mentioned equation (10) and PredPos(n) on the left side of the above-mentioned equation (11) are known. For example, the predicted position correction unit 626 corrects the predicted result PredPos(n) based on the target point attribute data and the processed point attribute data, and controls the position prediction module 803 to generate the target point position data. Also, for example, the predicted position correction unit 626 outputs the target point position data to the addition module 804.

[0095] The target point position bitstream decoding unit 627 generates target point position data indicating the position of the target point by decoding the target point position bitstream indicating the position of the target point based on the target point attribute bitstream. Specifically, the target point position bitstream decoding unit 627 generates the target point position data from the above-mentioned difference Delta(n) and the result PredPоs(n) of the position predicted by the target point position prediction unit 625. At this stage, Pоs(n) included in the above-mentioned formula (12) becomes known. For example, the target point position bitstream decoding unit 627 adds the above-mentioned difference Delta(n) to the predicted result PredPоs(n) and controls the addition module 804 to generate the target point position data. Also, for example, the target point position bitstream decoding unit 627 controls the tree management module 802 to register the target point position data in node n and store it in a buffer.

[0096] Next, a process executed by the position bitstream decoding module 62 according to the second embodiment will be described with reference to Fig. 12. Fig. 12 is a diagram for explaining an example of a process executed by the position bitstream decoding module according to the second embodiment. Fig. 12 shows an example of a process for decoding a target point position bitstream to generate target point position data.

[0097] In step S201, the target point bitstream acquisition unit 621 acquires the position bitstream and attribute bitstream of each point included in the point group bitstream.

[0098] In step S202, the target point bit stream acquisition unit 621 acquires a target point time stamp bit stream, a target point position bit stream, and a target point attribute bit stream.

[0099] In step S203, the difference decoding unit 623 decodes the difference between the position and the corrected position.

[0100] In step S204, the bit stream decoding unit 624 generates a target point timestamp by decoding the target point timestamp bit stream acquired in step S202, adds a node to the tree, and registers target point attribute data in the node.

[0101] In step S206, the bitstream decoding unit 624 obtains the processed point position data and the processed point time stamp from the tree.

[0102] In step S207, the object point position prediction unit 625 predicts the position of the object point indicated by the object point position bit stream based on the processed point position data.

[0103] In step S208, the predicted position correction unit 626 corrects the result predicted in step S207 based on the target point timestamp generated in step S204 and the processed point timestamp generated in step S206, and generates corrected position data.

[0104] In step S209, the target point position bitstream decoding unit 627 generates target point position data based on the difference decoded in step S203, the prediction result in step S207, and the corrected position data generated in step S208.

[0105] In step S210, the target point position bitstream decoding unit 627 registers the target point position data generated in step S209 in the node added in step S204.

[0106] In step S211, the target point position bitstream decoding unit 627 stores the target point position data generated in step S209 in a buffer.

[0107] In step S212, the decoding device 6 determines whether the processes from step S202 to step S211 have been performed for all points included in the point cloud bit stream. If the decoding device 6 determines that the processes from step S202 to step S211 have been performed for all points included in the point cloud bit stream (step S212: YES), the processing proceeds to step S213.

[0108] In step S213, the decoding device 6 outputs the position data for all points included in the point group bitstream from the buffer.

[0109] The above describes the decoding device 6 according to the second embodiment. The decoding device 6 acquires a target point timestamp bit stream that is included in the point cloud bit stream and indicates the attributes of the target point that is the target of the process of predicting the position. The decoding device 6 then generates target point position data indicating the position of the target point by decoding the target point position bit stream indicating the position of the target point based on the target point timestamp bit stream. This allows the decoding device 6 to efficiently decode the point cloud data even if the time intervals at which points included in the point cloud data were generated are not constant.

[0110] <Third embodiment> Many objects observed by a lidar are structures composed of surfaces of the same material. When the reflection of the laser light on the surface is limited to diffuse reflection, the points measured continuously in the azimuth or elevation direction are reflected at each position on the surface, and the intensity of the laser light input to the sensor has a tendency to change continuously. In the third embodiment, by utilizing this tendency, the predicted position of the target point is corrected and the encoding efficiency is improved.

[0111] Fig. 13 is a diagram showing an example of a rotational type LIDAR according to the third embodiment. Fig. 13 shows a rotational type LIDAR 9, an object S, points P1, P2, P3, and P4. The object S is a flat object disposed directly opposite the rotational type LIDAR.

[0112] The rotary LIDAR 9 measures, for example, the surface of the object S, and generates points P1, P2, P3, and P4. These four points are consecutive points in the azimuth direction by the same laser, and constitute point cloud data. The intensity of the laser light is measured by inputting the laser light reflected at the points or areas corresponding to each azimuth angle on the surface of the object S to a sensor mounted on the rotary LIDAR 9. Therefore, the intensity of the laser light changes depending on the distance, angle, etc. to the surface of the object S, and since the distance, angle, etc. are different for each of points P1, P2, P3, and P4, the intensity of the laser light is a different value for each point.

[0113] The intensity of the laser light changes continuously as the point changes, so it increases or decreases smoothly in the azimuth angle. If the amount of change in the intensity of the laser light can be considered constant with respect to the azimuth angle, the timestamp in at least one of the first and second embodiments can be replaced with the intensity of the laser light to obtain the same effect. In addition, the timestamp in at least one of the first and second embodiments may be replaced with information indicating the color of a point or area on an object corresponding to a target point, background light amount, point reliability, normal information, etc., in addition to the intensity of the laser light.

[0114] In the third embodiment, the object S is on a flat plate, but the present invention is not limited to this example. That is, the shape of the object S may be any shape.

[0115] <Other embodiments> The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a recording medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit for implementing one or more of the functions, such as an ASIC (Application Specific Integrated Circuit).

[0116] The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments. In other words, the present invention includes embodiments in which various modifications have been made based on the gist of the present invention, and these embodiments are not excluded from the scope of the present invention. [Explanation of symbols]

[0117] 2: Encoding device 221: Target point data acquisition unit 222: Processed point data acquisition unit 223: Target point position prediction unit 224: Prediction position correction unit 225: Target point position data encoding unit 6: Decryption device 621: Target point bit stream acquisition unit 622: Processed point bit stream acquisition unit 623: Differential decoding unit 624: Bitstream decoder 625: Target point position prediction unit 626: Prediction position correction unit 627: Object point position bitstream decoding unit

Claims

1. a target point data acquisition means for acquiring target point attribute data that is included in the point cloud data and indicates attributes of target points that are targets of a process for predicting a position; an object point position data encoding means for generating an object point position bit stream indicating the position of the object point by encoding object point position data indicating the position of the object point based on the object point attribute data; An encoding device comprising:

2. The object point data acquisition means further acquires object point position data indicating a position of the object point, a processed point data acquisition means for acquiring processed point position data indicating positions of processed points included in the point cloud data and for which processing for predicting positions has been completed, and processed point attribute data indicating attributes of the processed points; a target point position predicting means for predicting a position of the target point based on the processed point position data; a predicted position correction means for correcting a result of the prediction of the position of the object point by the object point position prediction means based on the object point attribute data and the processed point attribute data, and generating corrected position data; Further comprising: the object point position data encoding means calculates a difference between a position indicated by the object point position data and a position indicated by the corrected position data, and generates an object point position bit stream by encoding the difference. The encoding device according to claim 1 , comprising:

3. the target point data acquisition means acquires the target point attribute data indicating at least one of the time when the target point was generated, the intensity of the laser light reflected at the target point and incident on a sensor, the color of the point or area on the object corresponding to the target point, the reliability of the target point, and the normal of the point or area on the object corresponding to the target point; The encoding device according to claim 1 or 2.

4. Obtain target point attribute data that indicates the attributes of the target points included in the point cloud data and that are the subject of the process of predicting the position. generating an object point position bit stream indicating the position of the object point by encoding object point position data indicating the position of the object point based on the object point attribute data; Encoding program.

5. Obtain target point attribute data that indicates the attributes of the target points included in the point cloud data and that are the subject of the process of predicting the position. generating an object point position bit stream indicating the position of the object point by encoding object point position data indicating the position of the object point based on the object point attribute data; Encoding method.

6. a target point bit stream acquisition means for acquiring a target point attribute bit stream which is included in the point cloud bit stream and indicates attributes of a target point which is the subject of a process for predicting a position; an object point position bitstream decoding means for generating object point position data indicating the position of the object point by decoding an object point position bitstream indicating the position of the object point based on the object point attribute bitstream; A decoding device comprising:

7. The object point bit stream acquisition means further acquires an object point position bit stream that is included in the point cloud bit stream and indicates the position of the object point that is the subject of the position prediction process; a processed point bit stream acquisition means for acquiring a processed point position bit stream, which is included in the point cloud bit stream and indicates the positions of processed points for which processing for predicting a position has been completed earlier than the target point, and a processed point attribute bit stream, which indicates attributes of the processed points; a difference decoding means for decoding a difference between a position indicated by the object point position bitstream and a position indicated by a correction position bitstream generated by correcting the position of the object point predicted based on the processed point position bitstream based on the object point attribute bitstream and the processed point attribute bitstream; a bitstream decoding means for generating object point attribute data by decoding the object point attribute bitstream, and acquiring processed point attribute data and processed point position data; an object point position prediction means for predicting the position of the object point indicated by the object point position bitstream based on the processed point position data; a predicted position correction means for correcting a result of prediction of the position of the object point indicated by the object point position bit stream by the object point position prediction means based on the object point attribute data and the processed point attribute data, to generate corrected position data; Further comprising: the object point position bitstream decoding means generates object point position data based on the difference, a result of predicting the position of the object point indicated by the object point position bitstream by the object point position predicting means, and the corrected position data. The decoding device according to claim 6 , comprising:

8. the object point bit stream acquisition means acquires the object point attribute bit stream indicating any one of the time when the object point was generated, the intensity of the laser light reflected at the object point and incident on a sensor, the color of the point or area on the object corresponding to the object point, the reliability of the object point, and the normal of the point or area on the object corresponding to the object point; 8. A decoding device according to claim 6 or 7.

9. A target point attribute bit stream is obtained, which is included in the point cloud bit stream and indicates attributes of the target points that are the subject of the position prediction process; generating object point position data indicating the position of the object point by decoding an object point position bit stream indicating the position of the object point based on the object point attribute bit stream; Decryption program.

10. A target point attribute bit stream is obtained, which is included in the point cloud bit stream and indicates attributes of the target points that are the subject of the position prediction process; generating object point position data indicating the position of the object point by decoding an object point position bit stream indicating the position of the object point based on the object point attribute bit stream; Decryption method.

Citation Information

Patent Citations

  • Method, apparatus, and computer program for point cloud compression

    JP2022518888A

Cited By

  • Gaming machine

    JP2026021716A