Point cloud frame prediction method, device and equipment and readable storage medium

By calculating and processing the residuals between point cloud frames, combined with scene flow and attention mechanisms, the problem of poor point cloud frame prediction quality in the existing technology is solved, and the frame rate and detail accuracy of the point cloud sequence are improved.

CN118608680APending Publication Date: 2024-09-06CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310165423.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The quality of the predicted point cloud frames obtained by the existing point cloud frame prediction and point cloud frame interpolation technologies is poor, and it is difficult to improve the frame rate of the point cloud sequence.

Method used

By obtaining the basic frame based on the first point cloud frame and the second point cloud frame, calculating the residual using the basic frame and the neighborhood relationship between the two, and processing the basic frame based on the residual to obtain the target point cloud frame, It uses techniques such as scene flow estimation, linear interpolation and mapping, and combines the attention mechanism to aggregate neighborhood point features to generate high-quality predicted frames.

Benefits of technology

It achieves high-quality point cloud frame prediction, improves the frame rate of point cloud sequences, reduces dependence on scene flow, and enhances the ability to accurately predict details.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608680A
    Figure CN118608680A
Patent Text Reader

Abstract

The invention discloses a point cloud frame prediction method, device and equipment and a readable storage medium, relates to the technical field of image processing, and aims to obtain a high-quality predicted point cloud frame and improve the frame rate of a point cloud sequence. The method comprises the following steps: obtaining a basic frame according to a first point cloud frame and a second point cloud frame; obtaining a first residual error according to a first neighborhood relationship between the basic frame and the first point cloud frame and a second neighborhood relationship between the basic frame and the second point cloud frame; and processing the basic frame based on the first residual error to obtain a target point cloud frame. According to the embodiment of the invention, the high-quality predicted point cloud frame can be obtained, and the frame rate of the point cloud sequence is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a point cloud frame prediction method, device, equipment and readable storage medium. Background Art

[0002] 3D (Three Dimensional) point clouds can be roughly divided into two categories: sparse point clouds for machine vision (usually acquired by LiDAR (Light Detection and Ranging)) and dense point clouds for human vision (usually acquired by RGB-D cameras or multiple cameras). Sparse point clouds generally consist of three-dimensional coordinate points (x, y, z) and attribute information (reflection intensity) corresponding to each point; dense point clouds generally consist of three-dimensional coordinate points (x, y, z) and attribute information (color) corresponding to each point.

[0003] Point cloud frame prediction refers to the use of the temporal and spatial correlation between consecutive frames of the point cloud to predict the existing intermediate frames between two consecutive frames based on the two previous and next reference frames. This technology can be used for bidirectional frame prediction in point cloud encoding (compression) to remove the redundancy of the point cloud in the temporal domain, thereby improving the efficiency of point cloud compression. Point cloud interpolation refers to predicting the non-existent intermediate frames between two consecutive frames based on the two previous and next reference frames to increase the frame rate of the point cloud sequence. This solves the problem of being unable to collect high frame rate point cloud data due to hardware conditions.

[0004] The existing point cloud frame prediction and point cloud interpolation technologies can be divided into two categories: 2D space-based methods and 3D space-based methods. However, the quality of the predicted point cloud frames obtained by the existing solutions is poor. Summary of the invention

[0005] The embodiments of the present application provide a point cloud frame prediction method, apparatus, device and readable storage medium to obtain high-quality predicted point cloud frames and improve the frame rate of a point cloud sequence.

[0006] In a first aspect, an embodiment of the present application provides a point cloud frame prediction method, comprising:

[0007] Obtaining a basic frame according to the first point cloud frame and the second point cloud frame;

[0008] Obtaining a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame;

[0009] The basic frame is processed based on the first residual to obtain a target point cloud frame.

[0010] Optionally, obtaining a basic frame according to the first point cloud frame and the second point cloud frame includes:

[0011] Obtain a reference scene flow according to the first point cloud frame and the second point cloud frame;

[0012] Obtaining a third point cloud frame and a fourth point cloud frame according to the first point cloud frame, the second point cloud frame and the reference scene flow;

[0013] The basic frame is obtained by processing the third point cloud frame and the fourth point cloud frame.

[0014] Optionally, obtaining a reference scene flow according to the first point cloud frame and the second point cloud frame includes:

[0015] Performing scene flow estimation on the first point cloud frame and the second point cloud frame to obtain a first scene flow and a second scene flow;

[0016] Processing the first scene stream and the second scene stream to obtain a third scene stream and a fourth scene stream;

[0017] Among them, the first point cloud frame is a moment frame that is temporally before the second point cloud frame, the first scene flow and the third scene flow are scene flows from the moment corresponding to the first point cloud frame to the moment corresponding to the second point cloud frame, and the second scene flow and the fourth scene flow are scene flows from the moment corresponding to the second point cloud frame to the moment corresponding to the first point cloud frame.

[0018] Optionally, the processing the first scene flow and the second scene flow to obtain a third scene flow and a fourth scene flow includes:

[0019] Linear interpolation is performed on the first scene stream and the second scene stream respectively to obtain the third scene stream and the fourth scene stream.

[0020] Optionally, the first scene flow is linearly interpolated using a first formula to obtain the third scene flow:

[0021] First formula:

[0022] The second scene flow is linearly interpolated using the second formula to obtain the fourth scene flow:

[0023] Second formula:

[0024] Among them, F forward represents the first scene flow, F T→T+Δt represents the third scene flow, F backward represents the second scene flow, F T+t→T+Δtrepresents the fourth scene flow, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0025] Optionally, obtaining a third point cloud frame and a fourth point cloud frame according to the first point cloud frame, the second point cloud frame and the reference scene stream includes:

[0026] Mapping is performed based on the first point cloud frame and the third scene flow to obtain the third point cloud frame;

[0027] Mapping is performed based on the second point cloud frame and the fourth scene flow to obtain the fourth point cloud frame.

[0028] Optionally, the processing according to the third point cloud frame and the fourth point cloud frame to obtain the basic frame includes:

[0029] Sampling the third point cloud frame and the fourth point cloud frame respectively;

[0030] The sampled third point cloud frame and the sampled fourth point cloud frame are fused to obtain the basic frame.

[0031] Optionally, the number of sampling points of the third point cloud frame is determined according to a third formula:

[0032] The third formula:

[0033] The number of sampling points of the fourth point cloud frame is determined according to the third formula:

[0034] The fourth formula:

[0035] Among them, N(T) represents the number of sampling points of the third point cloud frame, N(T+t) represents the number of sampling points of the fourth point cloud frame, N represents the number of points of the first point cloud frame or the second point cloud frame, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0036] Optionally, obtaining a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame, includes:

[0037] Obtaining a first sub-residual according to a first neighborhood relationship between the basic frame and the first point cloud frame;

[0038] Obtaining a second sub-residual according to a second neighborhood relationship between the basic frame and the second point cloud frame;

[0039] The first sub-residual and the second sub-residual are calculated to obtain the first residual.

[0040] Optionally, obtaining a first sub-residual according to a first neighborhood relationship between the basic frame and the first point cloud frame includes:

[0041] Determining a first neighborhood point set of the basic frame in the first point cloud frame;

[0042] Obtaining features of each point in the first neighborhood point set;

[0043] According to the characteristics of each point, a first attention weight is obtained;

[0044] The first sub-residual is obtained according to the first attention weight and the first neighborhood point set.

[0045] Optionally, obtaining a second sub-residual according to a second neighborhood relationship between the basic frame and the second point cloud frame includes:

[0046] Determining a second neighborhood point set of the basic frame in the second point cloud frame;

[0047] Obtaining features of each point in the second neighborhood point set;

[0048] According to the characteristics of each point, a second attention weight is obtained;

[0049] The second sub-residual is obtained according to the second attention weight and the second neighborhood point set.

[0050] Optionally, the calculating the first sub-residual and the second sub-residual to obtain the first residual includes:

[0051] The first sub-residual and the second sub-residual are calculated using the following formula to obtain the first residual:

[0052]

[0053] Wherein, M represents the first residual, M1 represents the first sub-residual, M2 represents the second sub-residual, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0054] Optionally, the processing the basic frame based on the first residual to obtain a target point cloud frame includes:

[0055] The coordinates of each point in the basic frame are adjusted using the first residual to obtain the target point cloud frame.

[0056] In a second aspect, an embodiment of the present application provides a point cloud frame prediction device, comprising:

[0057] A first acquisition module, used to obtain a basic frame according to the first point cloud frame and the second point cloud frame;

[0058] A second acquisition module, configured to obtain a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame;

[0059] A third acquisition module is used to process the basic frame based on the first residual to obtain a target point cloud frame.

[0060] Optionally, the first acquisition module includes:

[0061] A first acquisition submodule, configured to obtain a reference scene flow according to the first point cloud frame and the second point cloud frame;

[0062] A second acquisition submodule, configured to obtain a third point cloud frame and a fourth point cloud frame according to the first point cloud frame, the second point cloud frame and the reference scene stream;

[0063] The third acquisition submodule is used to process the third point cloud frame and the fourth point cloud frame to obtain the basic frame.

[0064] Optionally, the first acquisition submodule includes:

[0065] A first acquisition unit, configured to perform scene flow estimation on the first point cloud frame and the second point cloud frame to obtain a first scene flow and a second scene flow;

[0066] a second acquiring unit, configured to process the first scene stream and the second scene stream to obtain a third scene stream and a fourth scene stream;

[0067] Among them, the first point cloud frame is a moment frame that is temporally before the second point cloud frame, the first scene flow and the third scene flow are scene flows from the moment corresponding to the first point cloud frame to the moment corresponding to the second point cloud frame, and the second scene flow and the fourth scene flow are scene flows from the moment corresponding to the second point cloud frame to the moment corresponding to the first point cloud frame.

[0068] Optionally, the second acquiring unit is further used to:

[0069] Linear interpolation is performed on the first scene stream and the second scene stream respectively to obtain the third scene stream and the fourth scene stream.

[0070] Optionally, the second acquiring unit is further used to:

[0071] The first scene flow is linearly interpolated using the first formula to obtain the third scene flow:

[0072] First formula:

[0073] The second scene flow is linearly interpolated using the second formula to obtain the fourth scene flow:

[0074] Second formula:

[0075] Among them, F forward represents the first scene flow, F T→T+Δt represents the third scene flow, F backward represents the second scene flow, F T+t→T+Δt represents the fourth scene flow, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0076] Optionally, the second acquisition submodule includes:

[0077] A first acquisition unit, configured to perform mapping based on the first point cloud frame and the third scene flow to obtain the third point cloud frame;

[0078] The second acquisition unit is used to perform mapping based on the second point cloud frame and the fourth scene flow to obtain the fourth point cloud frame.

[0079] Optionally, the third acquisition submodule includes:

[0080] A first acquisition submodule, used to sample the third point cloud frame and the fourth point cloud frame respectively;

[0081] The second acquisition submodule is used to fuse the sampled third point cloud frame and the sampled fourth point cloud frame to obtain the basic frame.

[0082] Optionally, the first acquisition submodule is further used for:

[0083] The number of sampling points of the third point cloud frame is determined according to the third formula:

[0084] The third formula:

[0085] The number of sampling points of the fourth point cloud frame is determined according to the third formula:

[0086] The fourth formula:

[0087] Among them, N(T) represents the number of sampling points of the third point cloud frame, N(T+t) represents the number of sampling points of the fourth point cloud frame, N represents the number of points of the first point cloud frame or the second point cloud frame, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0088] Optionally, the second acquisition module includes:

[0089] A first acquisition submodule, configured to obtain a first sub-residual according to a first neighborhood relationship between the basic frame and the first point cloud frame;

[0090] A second acquisition submodule, configured to obtain a second sub-residual according to a second neighborhood relationship between the basic frame and the second point cloud frame;

[0091] The third acquisition submodule is used to calculate the first sub-residual and the second sub-residual to obtain the first residual.

[0092] Optionally, the first acquisition submodule includes:

[0093] A first determining unit, configured to determine a first neighborhood point set of the basic frame in the first point cloud frame;

[0094] A first acquisition unit, used to acquire features of each point in the first neighborhood point set;

[0095] A second acquisition unit, configured to obtain a first attention weight according to the features of each point;

[0096] The third acquisition unit is used to obtain the first sub-residual according to the first attention weight and the first neighborhood point set.

[0097] Optionally, the second acquisition submodule includes:

[0098] A first determining unit, configured to determine a second neighborhood point set of the basic frame in the second point cloud frame;

[0099] A first acquisition unit, used to acquire features of each point in the second neighborhood point set;

[0100] A second acquisition unit, configured to obtain a second attention weight according to the features of each point;

[0101] The third acquisition unit is used to obtain the second sub-residual according to the second attention weight and the second neighborhood point set.

[0102] Optionally, the third acquisition submodule is used to:

[0103] The first sub-residual and the second sub-residual are calculated using the following formula to obtain the first residual:

[0104]

[0105] Wherein, M represents the first residual, M1 represents the first sub-residual, M2 represents the second sub-residual, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0106] Optionally, the third acquisition module is further used for:

[0107] The coordinates of each point in the basic frame are adjusted using the first residual to obtain the target point cloud frame.

[0108] In a third aspect, an embodiment of the present application provides a point cloud frame prediction device, including: a processor and a transceiver;

[0109] Wherein, the processor is used for:

[0110] Obtaining a basic frame according to the first point cloud frame and the second point cloud frame;

[0111] Obtaining a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame;

[0112] The basic frame is processed based on the first residual to obtain a target point cloud frame.

[0113] Optionally, the processor is further configured to:

[0114] Obtain a reference scene flow according to the first point cloud frame and the second point cloud frame;

[0115] Obtaining a third point cloud frame and a fourth point cloud frame according to the first point cloud frame, the second point cloud frame and the reference scene flow;

[0116] The basic frame is obtained by processing the third point cloud frame and the fourth point cloud frame.

[0117] Optionally, the processor is further configured to:

[0118] Performing scene flow estimation on the first point cloud frame and the second point cloud frame to obtain a first scene flow and a second scene flow;

[0119] Processing the first scene stream and the second scene stream to obtain a third scene stream and a fourth scene stream;

[0120] Among them, the first point cloud frame is a moment frame that is temporally before the second point cloud frame, the first scene flow and the third scene flow are scene flows from the moment corresponding to the first point cloud frame to the moment corresponding to the second point cloud frame, and the second scene flow and the fourth scene flow are scene flows from the moment corresponding to the second point cloud frame to the moment corresponding to the first point cloud frame.

[0121] Optionally, the processor is further configured to:

[0122] Linear interpolation is performed on the first scene stream and the second scene stream respectively to obtain the third scene stream and the fourth scene stream.

[0123] Optionally, the processor is further configured to:

[0124] The first scene flow is linearly interpolated using the first formula to obtain the third scene flow:

[0125] First formula:

[0126] The second scene flow is linearly interpolated using the second formula to obtain the fourth scene flow:

[0127] Second formula:

[0128] Among them, F forward represents the first scene flow, F T→T+Δt represents the third scene flow, F backward represents the second scene flow, F T+t→T+Δt represents the fourth scene flow, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0129] Optionally, the processor is further configured to:

[0130] Mapping is performed based on the first point cloud frame and the third scene flow to obtain the third point cloud frame;

[0131] Mapping is performed based on the second point cloud frame and the fourth scene flow to obtain the fourth point cloud frame.

[0132] Optionally, the processor is further configured to:

[0133] Sampling the third point cloud frame and the fourth point cloud frame respectively;

[0134] The sampled third point cloud frame and the sampled fourth point cloud frame are fused to obtain the basic frame.

[0135] Optionally, the processor is further configured to:

[0136] The number of sampling points of the third point cloud frame is determined according to the third formula:

[0137] The third formula:

[0138] The number of sampling points of the fourth point cloud frame is determined according to the third formula:

[0139] The fourth formula:

[0140] Among them, N(T) represents the number of sampling points of the third point cloud frame, N(T+t) represents the number of sampling points of the fourth point cloud frame, N represents the number of points of the first point cloud frame or the second point cloud frame, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0141] Optionally, the processor is further configured to:

[0142] Obtaining a first sub-residual according to a first neighborhood relationship between the basic frame and the first point cloud frame;

[0143] Obtaining a second sub-residual according to a second neighborhood relationship between the basic frame and the second point cloud frame;

[0144] The first sub-residual and the second sub-residual are calculated to obtain the first residual.

[0145] Optionally, the processor is further configured to:

[0146] Determining a first neighborhood point set of the basic frame in the first point cloud frame;

[0147] Obtaining features of each point in the first neighborhood point set;

[0148] According to the characteristics of each point, a first attention weight is obtained;

[0149] The first sub-residual is obtained according to the first attention weight and the first neighborhood point set.

[0150] Optionally, the processor is further configured to:

[0151] Determining a second neighborhood point set of the basic frame in the second point cloud frame;

[0152] Obtaining features of each point in the second neighborhood point set;

[0153] According to the characteristics of each point, a second attention weight is obtained;

[0154] The second sub-residual is obtained according to the second attention weight and the second neighborhood point set.

[0155] Optionally, the processor is further configured to:

[0156] The first sub-residual and the second sub-residual are calculated using the following formula to obtain the first residual:

[0157]

[0158] Wherein, M represents the first residual, M1 represents the first sub-residual, M2 represents the second sub-residual, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0159] Optionally, the processor is further configured to:

[0160] The coordinates of each point in the basic frame are adjusted using the first residual to obtain the target point cloud frame.

[0161] In a fourth aspect, an embodiment of the present application further provides a communication device, comprising: a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the point cloud frame prediction method as described above are implemented.

[0162] In a fifth aspect, an embodiment of the present application further provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps in the point cloud frame prediction method as described above are implemented.

[0163] In the embodiment of the present application, a basic frame is obtained based on the first point cloud frame and the second point cloud frame, and a first residual is obtained based on a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame, and then the basic frame can be processed based on the first residual to obtain a target point cloud frame. It can be seen from this that in the embodiment of the present application, the first residual is obtained based on the neighborhood relationship between the basic frame and the first point cloud frame and the second point cloud frame, and the basic frame is adjusted using the first residual, so that a high-quality predicted point cloud frame can be obtained, thereby improving the frame rate of the point cloud sequence. BRIEF DESCRIPTION OF THE DRAWINGS

[0164] Figure 1 This is one of the flow charts of the point cloud frame prediction method provided in the embodiment of the present application;

[0165] Figure 2 It is one of the structural diagrams of the point cloud frame prediction device provided in the embodiment of the present application;

[0166] Figure 3 It is a structural diagram of the self-attention reconstruction submodule in the point cloud frame prediction device provided in an embodiment of the present application;

[0167] Figure 4 This is the second structural diagram of the point cloud frame prediction device provided in the embodiment of the present application;

[0168] Figure 5 This is the third structural diagram of the point cloud frame prediction device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0169] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0170] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0171] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0172] See also Figure 1 , Figure 1 is a flow chart of the point cloud frame prediction method provided by the embodiment of the present application. In the embodiment of the present application, the motion residual is learned through the neighborhood relationship between the original input frame and the basic frame obtained after fusing the two scene streams, and the fine residual is obtained by supplementing the motion deformation information based on the temporal relationship, and then the predicted frame is obtained based on the basic frame and the fine residual. Through this "coarse-fine" framework, a good interpolation effect is achieved for the deformed point cloud sequence, and high-quality predicted frames are gradually generated. Specifically, as Figure 1 As shown, the following steps are included:

[0173] Step 101: Obtain a basic frame according to the first point cloud frame and the second point cloud frame.

[0174] In an embodiment of the present application, the first point cloud frame and the second point cloud frame are two point cloud frames with a certain time interval in time. The time interval can be set as needed. The first point cloud frame and the second point cloud frame can be any time frames in the 3D point cloud. For example, the first point cloud frame and the second point cloud frame can be two adjacent frames, and there can also be multiple frames between the first point cloud frame and the second point cloud frame. Correspondingly, the first point cloud frame can be a time frame that is temporally before the second point cloud frame. Of course, the first point cloud frame can also be a time frame that is temporally after the second point cloud frame. In this case, the second point cloud frame can be used as the first point cloud frame in this embodiment, and the first point cloud frame can be used as the second point cloud frame in this embodiment. In the embodiment of the present application, the first point cloud frame is described as an example of a time frame that is temporally before the second point cloud frame.

[0175] In the following description, the first point cloud frame is, for example, a frame at time T, which can be represented as I T , the second point cloud frame is, for example, the frame at time T+t, which can be expressed as IT+t , where t is the time interval between the first point cloud frame and the second point cloud frame, which is a constant greater than 0.

[0176] This step may include the following processes:

[0177] S1: Obtain a reference scene flow according to the first point cloud frame and the second point cloud frame.

[0178] Scene flow is the three-dimensional motion field of the scene in space, that is, the 3D motion of each point in space between the previous and next frames. Here, the reference scene flow can be understood as the scene flow used to obtain the subsequent third point cloud frame and fourth point cloud frame, or as the basic scene flow. Specifically, this step may include:

[0179] S11. Perform scene flow estimation (such as 3D scene flow estimation) on the first point cloud frame and the second point cloud frame to obtain a first scene flow and a second scene flow. In practical applications, scene flow estimation can be performed in a variety of ways, such as depth estimation. The embodiment of the present application does not limit the method used for scene flow estimation. By performing scene flow estimation on the first point cloud frame and the second point cloud frame, a three-dimensional motion field between the two can be obtained.

[0180] Among them, the first scene flow is the scene flow from the time corresponding to the first point cloud frame to the time corresponding to the second point cloud frame, and the second scene flow is the scene flow from the time corresponding to the second point cloud frame to the time corresponding to the first point cloud frame, that is, the first scene flow is the forward scene flow F from the frame at time T to the frame at time T+t. forward , the second scene flow is the backward scene flow F from the frame at time T+t to the frame at time T backward .

[0181] S12: Process the first scene stream and the second scene stream to obtain a third scene stream and a fourth scene stream, wherein the reference scene stream may include the third scene stream and the fourth scene stream.

[0182] Here, the processing refers to performing linear interpolation on the first scene stream and the second scene stream respectively to obtain the third scene stream and the fourth scene stream. The linear interpolation process can be understood as linear interpolation based on the time domain relationship, thereby facilitating the accurate prediction of intermediate frames at different times.

[0183] Specifically, the first scene flow is linearly interpolated using the first formula to obtain the third scene flow:

[0184] The first formula is:

[0185] The second scene flow is linearly interpolated using the second formula to obtain the fourth scene flow:

[0186] The second formula is:

[0187] Among them, F forward represents the first scene flow, F T→T+Δt represents the third scene flow, F backward represents the second scene flow, F T+t→T+Δt represents the fourth scene flow, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0188] At this time, the third scene flow can be considered as a scene flow from the time corresponding to the first point cloud frame to the time corresponding to the second point cloud frame, and the fourth scene flow can be considered as a scene flow from the time corresponding to the second point cloud frame to the time corresponding to the first point cloud frame. The difference from the first scene flow or the second scene flow is that the third scene flow or the fourth scene flow is obtained based on the interpolation of the first scene flow or the second scene flow.

[0189] S2: Obtain a third point cloud frame and a fourth point cloud frame according to the first point cloud frame, the second point cloud frame and the reference scene flow.

[0190] In this step, mapping is performed based on the first point cloud frame and the third scene flow to obtain the third point cloud frame; and mapping is performed based on the second point cloud frame and the fourth scene flow to obtain the fourth point cloud frame.

[0191] Here, the meaning of mapping can be understood as predicting the time frame at any time between two point cloud frames based on the mapping relationship between two point cloud frames and the scene flow between the two point cloud frames. This mapping relationship can be embodied in various forms. For example, in practical applications, for any two frames I m with I n and the scene flow F between them m→n The following relationship exists:

[0192] I m +F m→n =I n

[0193] Therefore, based on the above mapping relationship, the third point cloud frame and the fourth point cloud frame can be obtained here.

[0194] For example, the third point cloud frame I ′ T→T+Δt It can be obtained as follows: I t +F T→T+Δt =I ′ T→T+Δt; The fourth point cloud frame I ′ T+t→T+Δt It can be obtained as follows: I T+t +F T+t→T+Δt =I ′ T→T+Δt .

[0195] That is, in the process of obtaining the third point cloud frame and the fourth point cloud frame, through the above method, based on I t and F T→T+Δt Perform a warping operation to obtain I ′ T→T+Δt Based on I T+t and F T+t→T+Δt Perform a warping operation to obtain I ′ T→T+Δt .

[0196] S3: Processing the third point cloud frame and the fourth point cloud frame to obtain the basic frame.

[0197] In this step, the third point cloud frame and the fourth point cloud frame are sampled respectively, and the sampled third point cloud frame and the sampled fourth point cloud frame are fused to obtain the basic frame. Here, the meaning of "fusion" can be understood as point cloud splicing of the sampled third point cloud frame and the sampled fourth point cloud frame. The above sampling can be random sampling. That is to say, here, according to the time domain relationship, I ′ T→T+Δt with I ′ T+t→T+Δt Random sampling is performed respectively, and the number of sampling points is set to N(T) and N(T+t) respectively.

[0198] Specifically, the number of sampling points of the third point cloud frame is determined according to the third formula:

[0199] The third formula is:

[0200] The number of sampling points of the fourth point cloud frame is determined according to the third formula:

[0201] The fourth formula is:

[0202] Among them, N(T) represents the number of sampling points of the third point cloud frame, N(T+t) represents the number of sampling points of the fourth point cloud frame, N represents the number of points of the first point cloud frame or the second point cloud frame, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0203] Through the above method, the number of points in the first point cloud frame or the second point cloud frame can be flexibly processed, so that when the number of points in the first point cloud frame or the second point cloud frame changes, there is no need to retrain the model.

[0204] The basic frame obtained here can be called a "rough" time frame at time T+Δt. Rough may mean that the image quality is poor or does not meet the preset requirements, such as the ability to restore details in the image is poor or does not meet the preset requirements, the visual effect of the human eye is poor or does not meet the preset requirements, the calculated error index is large (or small) or does not meet the preset requirements, etc.

[0205] In the above process, since the influence of time domain information is fully considered, accurate prediction of the target frame can be achieved under different timing conditions.

[0206] Step 102: Obtain a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame.

[0207] That is, in this step, the spatial structural relationship or spatial neighborhood relationship between the basic frame and the first point cloud frame and the second point cloud frame is determined, and the first residual is determined according to the spatial structural relationship or spatial neighborhood relationship.

[0208] In the embodiment of the present application, the attention mechanism is used to aggregate the neighboring points of the basic frame to generate the first residual. By integrating the attention mechanism, the embodiment of the present application can better aggregate the properties of the neighboring points, thereby ensuring the accuracy of the residual refinement, that is, the accuracy of the obtained first residual.

[0209] This step may include:

[0210] S1. Obtain a first sub-residual according to a first neighborhood relationship between the basic frame and the first point cloud frame.

[0211] Specifically, the first neighborhood point set of the basic frame can be determined in the first point cloud frame. For example, the first neighborhood point set of the basic frame can be determined in the first point cloud frame using the k-nearest neighbor algorithm. Afterwards, the features of each point in the first neighborhood point set are obtained, wherein the features may be, for example, attribute information such as coordinates and colors. Then, based on the features of each point, a first attention weight is obtained. For example, the first attention weight may be obtained by a maximum pooling operation, etc. Finally, based on the first attention weight and the first neighborhood point set, the first sub-residual is obtained. For example, the first attention weight and the first neighborhood point set may be multiplied to aggregate the neighborhood points to the center, thereby obtaining the first sub-residual.

[0212] S2. Obtain a second sub-residual according to a second neighborhood relationship between the basic frame and the second point cloud frame.

[0213] Specifically, the second neighborhood point set of the basic frame can be determined in the second point cloud frame. For example, the second neighborhood point set of the basic frame can be determined in the second point cloud frame using the k-nearest neighbor algorithm. Afterwards, the features of each point in the second neighborhood point set are obtained, wherein the features may be, for example, attribute information such as coordinates and colors. Then, based on the features of each point, a second attention weight is obtained. For example, the second attention weight may be obtained by a maximum pooling operation, etc. Finally, based on the second attention weight and the second neighborhood point set, the second sub-residual is obtained. For example, the second attention weight and the second neighborhood point set may be multiplied to aggregate the neighborhood points to the center, thereby obtaining the second sub-residual.

[0214] Of course, in the process of determining each neighborhood point set, it is not limited to using the above k-nearest neighbor algorithm, and it can also be implemented in other ways.

[0215] S3. Calculate the first sub-residual and the second sub-residual to obtain the first residual.

[0216] In this step, under the guidance of the timing relationship, the first sub-residual and the second sub-residual may be calculated using the following formula to obtain the first residual:

[0217]

[0218] Wherein, M represents the first residual, M1 represents the first sub-residual, M2 represents the second sub-residual, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0219] Compared with M1 and M2, the first residual M can be called a fine residual. Therefore, after the basic frame is processed using the first residual, the quality of the obtained image is higher, such as a stronger ability to restore details.

[0220] Step 103: Process the basic frame based on the first residual to obtain a target point cloud frame.

[0221] Here, the target point cloud frame is any time frame between the first point cloud frame and the second point cloud frame. The first residual can be used to adjust the coordinates of each point in the basic frame to obtain the target point cloud frame. That is, the fusion basic frame I′ T+Δt And fine residual, get the frame prediction result, that is, the target point cloud frame. The specific process can be expressed as:

[0222] I T+Δt =I′ T+Δt+M.

[0223] Since the first residual is a fine residual, the process can be understood as a refinement process of the basic frame. Therefore, in the embodiment of the present application, the designed "coarse-refined" interpolation framework not only retains the global shape features, but also further improves the accurate prediction of local details.

[0224] It can be seen that in the embodiment of the present application, the first residual is obtained based on the neighborhood relationship between the basic frame and the first point cloud frame and the second point cloud frame, and the basic frame is adjusted using the first residual, so that a high-quality predicted point cloud frame can be obtained, thereby improving the frame rate of the point cloud sequence. At the same time, by finding the neighborhood relationship between the "rough" basic frame and the original input frame, and using the attention mechanism to extract and condense the neighborhood relationship into a residual, the "rough" basic frame can be refined based on the input frame, and the system's dependence on the scene flow is reduced by introducing motion deformation information.

[0225] The solution of the embodiment of the present application can be applied in scenarios including but not limited to immersive media transmission and playback, fusion processing of multiple sensor (LiDAR, camera) data in the field of autonomous driving, etc. In addition, the above solution can also be used for bidirectional frame prediction in point cloud encoding (compression) to remove redundancy in the time domain of point cloud, thereby improving the efficiency of point cloud compression.

[0226] See also Figure 2 , Figure 2 Schematic diagram of a point cloud frame prediction device provided in an embodiment of the present application. Figure 2 As shown, the device may include:

[0227] The scene flow estimation module 201 is used to estimate the scene flow based on the frame I at time T. T (First point cloud frame) and frame I at time T+t T+t (Second point cloud frame) performs scene flow estimation to obtain the first scene flow and the second scene flow, that is, the forward scene flow F from the frame at time T to the frame at time T+t forward , the backward scene flow F from the frame at time T+t to the frame at time T backward .

[0228] The time sequence flow fusion module 202 is used to perform linear interpolation on the first scene flow and the second scene flow based on the time domain relationship to obtain the third scene flow and the fourth scene flow, that is, the scene flow F from the frame at time T to the frame at time T+Δt. T→T+Δt , scene flow F from frame at time T+t to frame at time T+Δt T+t→T+Δt ; Mapping is performed based on the first point cloud frame and the third scene flow to obtain a third point cloud frame, that is, I ′ T→T+Δt , mapping is performed based on the second point cloud frame and the fourth scene flow to obtain a fourth point cloud frame, that is, I ′T+t→T+Δt The third scene stream and the fourth scene stream may also be referred to as predicted streams or predicted scene streams, and the third point cloud frame and the fourth point cloud frame may also be referred to as fused frames.

[0229] The linear interpolation method and the mapping method may refer to the description of the aforementioned embodiments.

[0230] The time sequence frame fusion module 203 is used to combine I ′ T→T+Δt with I ′ T+t→T+Δt Randomly sample each, and use the sampled I ′ T→T+Δt with I ′ T+t→T+Δt Splicing to get the "rough" basic frame I at time T+Δt ′ T+Δt .

[0231] The sampling method may refer to the description of the above-mentioned embodiment.

[0232] The motion residual prediction module 204 is used to obtain a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame. That is, according to the original input and the “rough” basic frame I at time T+Δt, ′ T+Δt Estimate the residual and achieve further interpolation refinement.

[0233] This module may include: a spatial neighborhood query submodule 2041 and a self-attention reconstruction submodule 2042.

[0234] Among them, the spatial neighborhood query submodule 2041 is used to determine the "rough" basic frame I at time T+Δt ′ T+Δt Compared with the original input (frame I at time T T With frame I at time T+t T+t ) between the spatial structure relationship. ′ T+Δt All points in frame I at time T are determined using the k-nearest neighbor algorithm. t With frame I at time T+t T+t The neighborhood point set L in t (i.e. the first neighborhood point set) and L T+t (i.e. the second neighborhood point set).

[0235] The self-attention reconstruction submodule 2042 is used to determine a first sub-residual and a second sub-residual. Specifically, the first sub-residual is obtained according to the first neighborhood point set and the basic frame, and the second sub-residual is obtained according to the second neighborhood point set and the basic frame.

[0236] Combination Figure 3 , Figure 3 is the result graph of the self-attention reconstruction submodule. This module uses the attention mechanism to aggregate neighboring points to generate the above sub-residuals. In the process of generating the first sub-residual or the second sub-residual, for the obtained neighborhood point set L t or L T+t (dimension is N×3×k), first use the multi-layer perceptron (MLP) to obtain the neighborhood point set L t or L T+t The features of each point in (N×C×k) are then calculated through the maximum pooling operation to obtain the neighborhood point set L t or L T+t The corresponding attention weight (N×1×k), then the neighborhood point set L t or L T+t Multiply them by the corresponding attention weights respectively to convert the neighborhood point set L t or L T+t Aggregate to the center (add the array along the dimension k) to generate the first residual or the second residual (N×3), that is, estimate the motion residual M1 and M2 respectively. Where N is the frame I at time T T Or frame I at time T+t T+t The number of points, k is the neighborhood point set L determined by the k-nearest neighbor algorithm t (i.e. the first neighboring point set) or L T+t The k value used when (i.e., the second neighborhood point set).

[0237] The temporal residual fusion module 205 is used to generate a first residual and obtain a target point cloud frame.

[0238] Specifically, the two estimated motion residuals M1 and M2 are used to fuse the final fine residual, i.e., the first residual M, through the following formula under the guidance of the temporal relationship:

[0239]

[0240] Finally, the fusion basic frame I ′ T+Δt And fine residual, get the frame prediction result, that is, the target point cloud frame can be expressed as:

[0241] I T+Δt =I ′ T+Δt +M

[0242] See also Figure 4 , Figure 4 is a structural diagram of a point cloud frame prediction device provided in an embodiment of the present application. Figure 4As shown, the point cloud frame prediction device includes:

[0243] The first acquisition module 401 is used to obtain a basic frame based on the first point cloud frame and the second point cloud frame; the second acquisition module 402 is used to obtain a first residual based on a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame; the third acquisition module 403 is used to process the basic frame based on the first residual to obtain a target point cloud frame.

[0244] Optionally, the first acquisition module includes:

[0245] A first acquisition submodule, configured to obtain a reference scene flow according to the first point cloud frame and the second point cloud frame;

[0246] A second acquisition submodule, configured to obtain a third point cloud frame and a fourth point cloud frame according to the first point cloud frame, the second point cloud frame and the reference scene stream;

[0247] The third acquisition submodule is used to process the third point cloud frame and the fourth point cloud frame to obtain the basic frame.

[0248] Optionally, the first acquisition submodule includes:

[0249] A first acquisition unit, configured to perform scene flow estimation on the first point cloud frame and the second point cloud frame to obtain a first scene flow and a second scene flow;

[0250] a second acquiring unit, configured to process the first scene stream and the second scene stream to obtain a third scene stream and a fourth scene stream;

[0251] Among them, the first point cloud frame is a moment frame that is temporally before the second point cloud frame, the first scene flow and the third scene flow are scene flows from the moment corresponding to the first point cloud frame to the moment corresponding to the second point cloud frame, and the second scene flow and the fourth scene flow are scene flows from the moment corresponding to the second point cloud frame to the moment corresponding to the first point cloud frame.

[0252] Optionally, the second acquiring unit is further used to:

[0253] Linear interpolation is performed on the first scene stream and the second scene stream respectively to obtain the third scene stream and the fourth scene stream.

[0254] Optionally, the second acquiring unit is further used to:

[0255] The first scene flow is linearly interpolated using the first formula to obtain the third scene flow:

[0256] First formula:

[0257] The second scene flow is linearly interpolated using the second formula to obtain the fourth scene flow:

[0258] Second formula:

[0259] Among them, F forward represents the first scene flow, F T→T+Δt represents the third scene flow, F backward represents the second scene flow, F T+t→T+Δt represents the fourth scene flow, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0260] Optionally, the second acquisition submodule includes:

[0261] A first acquisition unit, configured to perform mapping based on the first point cloud frame and the third scene flow to obtain the third point cloud frame;

[0262] The second acquisition unit is used to perform mapping based on the second point cloud frame and the fourth scene flow to obtain the fourth point cloud frame.

[0263] Optionally, the third acquisition submodule includes:

[0264] A first acquisition submodule, used to sample the third point cloud frame and the fourth point cloud frame respectively;

[0265] The second acquisition submodule is used to fuse the sampled third point cloud frame and the sampled fourth point cloud frame to obtain the basic frame.

[0266] Optionally, the first acquisition submodule is further used for:

[0267] The number of sampling points of the third point cloud frame is determined according to the third formula:

[0268] The third formula:

[0269] The number of sampling points of the fourth point cloud frame is determined according to the third formula:

[0270] The fourth formula:

[0271] Among them, N(T) represents the number of sampling points of the third point cloud frame, N(T+t) represents the number of sampling points of the fourth point cloud frame, N represents the number of points of the first point cloud frame or the second point cloud frame, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0272] Optionally, the second acquisition module includes:

[0273] A first acquisition submodule, configured to obtain a first sub-residual according to a first neighborhood relationship between the basic frame and the first point cloud frame;

[0274] A second acquisition submodule, configured to obtain a second sub-residual according to a second neighborhood relationship between the basic frame and the second point cloud frame;

[0275] The third acquisition submodule is used to calculate the first sub-residual and the second sub-residual to obtain the first residual.

[0276] Optionally, the first acquisition submodule includes:

[0277] A first determining unit, configured to determine a first neighborhood point set of the basic frame in the first point cloud frame;

[0278] A first acquisition unit, used to acquire features of each point in the first neighborhood point set;

[0279] A second acquisition unit, configured to obtain a first attention weight according to the features of each point;

[0280] The third acquisition unit is used to obtain the first sub-residual according to the first attention weight and the first neighborhood point set.

[0281] Optionally, the second acquisition submodule includes:

[0282] A first determining unit, configured to determine a second neighborhood point set of the basic frame in the second point cloud frame;

[0283] A first acquisition unit, used to acquire features of each point in the second neighborhood point set;

[0284] A second acquisition unit, configured to obtain a second attention weight according to the features of each point;

[0285] The third acquisition unit is used to obtain the second sub-residual according to the second attention weight and the second neighborhood point set.

[0286] Optionally, the third acquisition submodule is used to:

[0287] The first sub-residual and the second sub-residual are calculated using the following formula to obtain the first residual:

[0288]

[0289] Wherein, M represents the first residual, M1 represents the first sub-residual, M2 represents the second sub-residual, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0290] Optionally, the third acquisition module is further used for:

[0291] The coordinates of each point in the basic frame are adjusted using the first residual to obtain the target point cloud frame.

[0292] The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0293] See also Figure 5 , Figure 5 is a structural diagram of a point cloud frame prediction device provided in an embodiment of the present application. Figure 5 As shown, the point cloud frame prediction device includes: a processor 501 and a transceiver 502.

[0294] The processor 501 is used for:

[0295] Obtaining a basic frame according to the first point cloud frame and the second point cloud frame;

[0296] Obtaining a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame;

[0297] The basic frame is processed based on the first residual to obtain a target point cloud frame.

[0298] Optionally, the processor 501 is further configured to:

[0299] Obtain a reference scene flow according to the first point cloud frame and the second point cloud frame;

[0300] Obtaining a third point cloud frame and a fourth point cloud frame according to the first point cloud frame, the second point cloud frame and the reference scene flow;

[0301] The basic frame is obtained by processing the third point cloud frame and the fourth point cloud frame.

[0302] Optionally, the processor 501 is further configured to:

[0303] Performing scene flow estimation on the first point cloud frame and the second point cloud frame to obtain a first scene flow and a second scene flow;

[0304] Processing the first scene stream and the second scene stream to obtain a third scene stream and a fourth scene stream;

[0305] Among them, the first point cloud frame is a moment frame that is temporally before the second point cloud frame, the first scene flow and the third scene flow are scene flows from the moment corresponding to the first point cloud frame to the moment corresponding to the second point cloud frame, and the second scene flow and the fourth scene flow are scene flows from the moment corresponding to the second point cloud frame to the moment corresponding to the first point cloud frame.

[0306] Optionally, the processor 501 is further configured to:

[0307] Linear interpolation is performed on the first scene stream and the second scene stream respectively to obtain the third scene stream and the fourth scene stream.

[0308] Optionally, the processor 501 is further configured to:

[0309] The first scene flow is linearly interpolated using the first formula to obtain the third scene flow:

[0310] First formula:

[0311] The second scene flow is linearly interpolated using the second formula to obtain the fourth scene flow:

[0312] Second formula:

[0313] Among them, F forward represents the first scene flow, F T→T+Δt represents the third scene flow, F backward represents the second scene flow, F T+t→T+Δt represents the fourth scene flow, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0314] Optionally, the processor 501 is further configured to:

[0315] Mapping is performed based on the first point cloud frame and the third scene flow to obtain the third point cloud frame;

[0316] Mapping is performed based on the second point cloud frame and the fourth scene flow to obtain the fourth point cloud frame.

[0317] Optionally, the processor 501 is further configured to:

[0318] Sampling the third point cloud frame and the fourth point cloud frame respectively;

[0319] The sampled third point cloud frame and the sampled fourth point cloud frame are fused to obtain the basic frame.

[0320] Optionally, the processor 501 is further configured to:

[0321] The number of sampling points of the third point cloud frame is determined according to the third formula:

[0322] The third formula:

[0323] The number of sampling points of the fourth point cloud frame is determined according to the third formula:

[0324] The fourth formula:

[0325] Among them, N(T) represents the number of sampling points of the third point cloud frame, N(T+t) represents the number of sampling points of the fourth point cloud frame, N represents the number of points of the first point cloud frame or the second point cloud frame, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0326] Optionally, the processor 501 is further configured to:

[0327] Obtaining a first sub-residual according to a first neighborhood relationship between the basic frame and the first point cloud frame;

[0328] Obtaining a second sub-residual according to a second neighborhood relationship between the basic frame and the second point cloud frame;

[0329] The first sub-residual and the second sub-residual are calculated to obtain the first residual.

[0330] Optionally, the processor 501 is further configured to:

[0331] Determining a first neighborhood point set of the basic frame in the first point cloud frame;

[0332] Obtaining features of each point in the first neighborhood point set;

[0333] According to the characteristics of each point, a first attention weight is obtained;

[0334] The first sub-residual is obtained according to the first attention weight and the first neighborhood point set.

[0335] Optionally, the processor 501 is further configured to:

[0336] Determining a second neighborhood point set of the basic frame in the second point cloud frame;

[0337] Obtaining features of each point in the second neighborhood point set;

[0338] According to the characteristics of each point, a second attention weight is obtained;

[0339] The second sub-residual is obtained according to the second attention weight and the second neighborhood point set.

[0340] Optionally, the processor 501 is further configured to:

[0341] The first sub-residual and the second sub-residual are calculated using the following formula to obtain the first residual:

[0342]

[0343] Wherein, M represents the first residual, M1 represents the first sub-residual, M2 represents the second sub-residual, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

[0344] Optionally, the processor 501 is further configured to:

[0345] The coordinates of each point in the basic frame are adjusted using the first residual to obtain the target point cloud frame.

[0346] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0347] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0348] An embodiment of the present application provides a communication device, including: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the point cloud frame prediction method described above.

[0349] The embodiment of the present application also provides a readable storage medium, on which a program is stored. When the program is executed by the processor, each process of the above-mentioned point cloud frame prediction method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. Among them, the readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.

[0350] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0351] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0352] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A point cloud frame prediction method, characterized in that: include: Obtain a basic frame according to the first point cloud frame and the second point cloud frame; Obtaining a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame; The basic frame is processed based on the first residual to obtain a target point cloud frame.

2. The method according to claim 1, characterized in that The obtaining of the basic frame according to the first point cloud frame and the second point cloud frame comprises: Obtain a reference scene flow according to the first point cloud frame and the second point cloud frame; Obtaining a third point cloud frame and a fourth point cloud frame according to the first point cloud frame, the second point cloud frame and the reference scene flow; The basic frame is obtained by processing the third point cloud frame and the fourth point cloud frame.

3. The method according to claim 2, characterized in that The obtaining a reference scene flow according to the first point cloud frame and the second point cloud frame includes: Performing scene flow estimation on the first point cloud frame and the second point cloud frame to obtain a first scene flow and a second scene flow; Processing the first scene stream and the second scene stream to obtain a third scene stream and a fourth scene stream; Among them, the first point cloud frame is a moment frame that is temporally before the second point cloud frame, the first scene flow and the third scene flow are scene flows from the moment corresponding to the first point cloud frame to the moment corresponding to the second point cloud frame, and the second scene flow and the fourth scene flow are scene flows from the moment corresponding to the second point cloud frame to the moment corresponding to the first point cloud frame.

4. The method according to claim 3, characterized in that The processing of the first scene flow and the second scene flow to obtain a third scene flow and a fourth scene flow includes: Linear interpolation is performed on the first scene stream and the second scene stream respectively to obtain the third scene stream and the fourth scene stream.

5. The method according to claim 4, characterized in that The first scene flow is linearly interpolated using the first formula to obtain the third scene flow: First formula: The second scene flow is linearly interpolated using the second formula to obtain the fourth scene flow: Second formula: Among them, F forward represents the first scene flow, F T→T+Δt represents the third scene flow, F backward represents the second scene flow, F T+t→T+Δt represents the fourth scene flow, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

6. The method according to claim 3, characterized in that The obtaining of a third point cloud frame and a fourth point cloud frame according to the first point cloud frame, the second point cloud frame and the reference scene stream comprises: Mapping is performed based on the first point cloud frame and the third scene flow to obtain the third point cloud frame; Mapping is performed based on the second point cloud frame and the fourth scene flow to obtain the fourth point cloud frame.

7. The method according to claim 2, characterized in that: The step of processing the third point cloud frame and the fourth point cloud frame to obtain the basic frame includes: Sampling the third point cloud frame and the fourth point cloud frame respectively; The sampled third point cloud frame and the sampled fourth point cloud frame are fused to obtain the basic frame.

8. The method according to claim 7, characterized in that The number of sampling points of the third point cloud frame is determined according to the third formula: The third formula: The number of sampling points of the fourth point cloud frame is determined according to the third formula: The fourth formula: Among them, N(T) represents the number of sampling points of the third point cloud frame, N(T+t) represents the number of sampling points of the fourth point cloud frame, N represents the number of points of the first point cloud frame or the second point cloud frame, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

9. The method according to claim 1, characterized in that:The obtaining a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame, comprises: Obtaining a first sub-residual according to a first neighborhood relationship between the basic frame and the first point cloud frame; Obtaining a second sub-residual according to a second neighborhood relationship between the basic frame and the second point cloud frame; The first sub-residual and the second sub-residual are calculated to obtain the first residual.

10. The method according to claim 9, characterized in that The obtaining a first sub-residual according to a first neighborhood relationship between the basic frame and the first point cloud frame includes: Determining a first neighborhood point set of the basic frame in the first point cloud frame; Obtaining features of each point in the first neighborhood point set; According to the characteristics of each point, a first attention weight is obtained; The first sub-residual is obtained according to the first attention weight and the first neighborhood point set.

11. The method according to claim 9, characterized in that The obtaining a second sub-residual according to a second neighborhood relationship between the basic frame and the second point cloud frame comprises: Determining a second neighborhood point set of the basic frame in the second point cloud frame; Obtaining features of each point in the second neighborhood point set; According to the characteristics of each point, a second attention weight is obtained; The second sub-residual is obtained according to the second attention weight and the second neighborhood point set.

12. The method according to claim 9, characterized in that The calculating the first sub-residual and the second sub-residual to obtain the first residual includes: The first sub-residual and the second sub-residual are calculated using the following formula to obtain the first residual: Wherein, M represents the first residual, M1 represents the first sub-residual, M2 represents the second sub-residual, t represents the time interval between the first point cloud frame and the second point cloud frame, and Δt is a constant greater than 0 and less than t.

13. The method according to claim 1, characterized in that The step of processing the basic frame based on the first residual to obtain a target point cloud frame includes: The coordinates of each point in the basic frame are adjusted using the first residual to obtain the target point cloud frame.

14. A point cloud frame prediction device, characterized in that: include: A first acquisition module, used to obtain a basic frame according to the first point cloud frame and the second point cloud frame; A second acquisition module, configured to obtain a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame; A third acquisition module is used to process the basic frame based on the first residual to obtain a target point cloud frame.

15. A point cloud frame prediction device, characterized in that: include: processors and transceivers; Wherein, the processor is used for: Obtain a basic frame according to the first point cloud frame and the second point cloud frame; Obtaining a first residual according to a first neighborhood relationship between the basic frame and the first point cloud frame, and a second neighborhood relationship between the basic frame and the second point cloud frame; The basic frame is processed based on the first residual to obtain a target point cloud frame.

16. A communication device comprising: A memory, a processor, and a program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the point cloud frame prediction method as described in any one of claims 1 to 13.

17. A readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps in the point cloud frame prediction according to any one of claims 1 to 13 are implemented.