Point cloud data rendering method based on partition and detail level

By using partition-level and detailed rendering methods in point cloud rendering to identify and process singular chunks, the problem of difficult to balance rendering effect and speed in the existing technology is solved, and efficient and accurate rendering effects are achieved.

CN119478177BActive Publication Date: 2025-03-14HANG ZHOU MINDFLOW TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510073877.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-03-14
Estimated Expiration
2045-01-17

AI Technical Summary

Technical Problem

When the camera field of view depth, camera angle range, and distance between the rendered object and the camera field of view center is fixed, it is difficult for the prior art to effectively balance the rendering effect and rendering speed, especially when the camera rotates, the rendering object type changes, or the scene changes, it is difficult to take into account both the rendering accuracy and speed.

Method used

The point cloud data rendering method based on partition and detail levels is adopted, and point cloud data rendering is performed by monitoring and extracting the singular chunks of the latter frame in two consecutive frames in real time, and point cloud data rendering is performed using the first strategy and the second strategy respectively. This method matches the rendering based blocks from the database by matching the unique block number and point cloud offset similarity similarity of block binding, and directly applies its rendering scheme to avoid using complex deep learning models.

Benefits of technology

It realizes the fast rendering of partition details under the constraints of fixed camera field of view depth, camera angle range, and the distance between the rendered object and the camera field of view center, which improves rendering speed and accuracy, balances the rendering effect and rendering speed, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119478177B_ABST
    Figure CN119478177B_ABST
Patent Text Reader

Abstract

The point cloud data rendering method based on partition and detail level provided by the present invention layers, partitions and blocks the point cloud data, and then relies on the point cloud data generated in the previous frame and the next frame to identify the singular blocks of the type "point cloud is newly added but the point cloud position is not offset" and / or "point cloud is not newly added but the point cloud position is offset" from each block of the next frame, and then adopts different strategies to render the point cloud data for the two different types of singular blocks. The technical core of the two strategies is that, based on the unique block number bound to the block, a rendering basis block with block similarity to the singular block is matched from the database through block parameter changes or point cloud offset similarity matching methods, and then the singular block is directly rendered with the rendering scheme of the rendering basis block, without the need for a complex deep learning model, thereby ensuring the rendering speed of the partition details under the conditional constraint scenario of the present application and improving the rendering effect of the details.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a point cloud data rendering method based on partitioning and detail level. Background Art

[0002] The point cloud rendering effect is related to many factors such as the camera's depth of field, camera angle, the distance between the rendering object and the camera's field of view center, the type of rendering object, the scene in which the rendering object is located, etc. Generally speaking, the closer the distance between the rendering object and the camera's field of view center, the smaller the camera's angle range, the shallower the camera's field of view depth, and the higher the rendering accuracy requirements for the rendering object. When the camera's field of view depth, camera angle range, and the distance between the rendering object and the camera's field of view center are fixed, the type of rendering object or the scene in which the rendering object is located changes, or the camera rotates, the rendering accuracy requirements for the rendering object usually also change.

[0003] In some large-scale online games, online modeling and other application scenarios that require real-time rendering of large amounts of data, in order to balance the rendering effect and rendering speed, in the prior art, these factors that affect the rendering effect, as well as the data of the rendering object and rendering scene are usually input into the pre-trained deep learning model. The model performs a series of data analysis through the built-in algorithm and outputs a rendering solution. However, this solution considers too many factors that affect the rendering effect and the amount of data processing is too large. Although the rendering effect is ensured to a certain extent, the rendering speed is sacrificed. In actual applications, the overall rendering process has a poor rendering effect on the details. Summary of the invention

[0004] The present invention provides a point cloud data rendering method based on partitioning and detail level with the purpose of balancing rendering effect and rendering speed and improving user experience in application scenarios where the camera rotation, the type of rendering object changes, or the scene in which the rendering object is located changes under the condition that the camera field of view depth, the camera angle range, and the distance between the rendering object and the center of the camera field of view are fixed.

[0005] To achieve this object, the present invention adopts the following technical solutions:

[0006] A method for rendering point cloud data based on partition and detail level is provided, comprising the steps of:

[0007] S1, real-time monitoring and extraction of the singular blocks of the latter frame relative to the former frame in two consecutive frames;

[0008] S2, for the singular block of type "the point cloud is newly added but the point cloud position is not offset", the first strategy is used to render the point cloud data; for the singular block of type "the point cloud is not newly added but the point cloud position is offset", the second strategy is used to render the point cloud data.

[0009] Preferably, when the camera field of view depth, camera angle range, and the distance between the rendering object and the center of the camera field of view are fixed, steps S1-S2 are performed under the scene constraints of the camera rotating, and / or the type of the rendering object changing, and / or the scene in which the rendering object is located changing.

[0010] Preferably, the blocks generated in the previous frame and the blocks generated in the next frame are numbered in the same manner. In step S1, the method for identifying the singular blocks comprises the steps of:

[0011] A1, acquiring a second block having the same number as the first block generated in the subsequent frame from the block set generated in the previous frame, and then further acquiring adjacent blocks that are in the same layer as the first block and are adjacent to the first block at the top, bottom, left, right, upper left, lower left, upper right, and lower right;

[0012] A2, determining whether the point cloud formed in the second block is offset to at least one of the adjacent blocks;

[0013] If yes, extract the adjacent block that generates the offset, and then determine whether the first block is the singular block according to the offset singular block identification strategy;

[0014] If not, go to step A3;

[0015] A3, determining whether the number of newly added point clouds of the first block compared with the second block exceeds a first threshold, and if so, determining that the first block is the singular block.

[0016] Preferably, in step A2, the method for judging whether the first block is the singular block according to the offset singular block identification strategy is:

[0017] Determine whether the number of the adjacent blocks that generate the offset is greater than a preset second threshold, and if so, determine that the first block is the singular block;

[0018] and / or determining whether a ratio of the number of first point clouds offset in each of the adjacent blocks to the number of second point clouds not offset in the second block is greater than a preset third threshold, and if so, determining that the first block is the singular block;

[0019] And / or determine whether the offset of at least one point cloud in at least one of the adjacent blocks is greater than a preset offset threshold; if so, determine that the first block is the singular block.

[0020] Preferably, in step S2, the method for rendering point cloud data using the first strategy comprises the following steps:

[0021] B1, in the layer where the first block determined to be a singular block is located, extract the blocks arranged adjacent to each other at the upper, lower, left, right, upper left, lower left, upper right, and lower right positions of the first block to form a same-layer block combination with the first block, and in the adjacent layers adjacent to the same-layer block combination, extract the adjacent-layer block combination that overlaps with the same-layer block combination in terms of hierarchical depth;

[0022] B2, using the parameter changes of each block in the same-layer block combination and the adjacent-layer block combination generated in the same subsequent frame as the screening condition, screening out a candidate set from the database;

[0023] B3, selecting from the candidate set a historical block set having the maximum point cloud change similarity with the block set consisting of the same-layer block combination and the adjacent-layer block combination, and then performing block expansion on the historical block set to obtain an expanded set, wherein each block in the block set has an expanded block with the same number in the expanded set;

[0024] B4, from the expanded blocks in the expanded set having the same block number as the first block, further identify a second rendering basis point cloud that has a spatial position corresponding to the newly added point cloud in the first block and has the same point cloud type, and then assign the historical rendering method of the second rendering basis point cloud to the newly added point cloud corresponding to the position.

[0025] Preferably, in step B2, the method for screening out the candidate set comprises the steps of:

[0026] B21, identifying the changed blocks in the same-layer block combination and the adjacent-layer block combination generated in the same subsequent frame, including newly added point cloud blocks, and / or disappeared point cloud blocks, and / or blocks where point clouds are added and disappeared simultaneously, and then obtaining the change parameters of each of the changed blocks, including the spatial coordinates and point cloud type of the newly added point cloud and / or the disappeared point cloud in the changed block, the number of the changed block, and the number of the block where the newly added point cloud and / or the disappeared point cloud landed in the previous frame, and the spatial coordinates of the landing point in the landing block;

[0027] B22, using the change parameter of the change block as a matching condition, matching a second historical block having point cloud change similarity with the change block from the same historical frame in the database, wherein the second historical block and the change block having point cloud change similarity have the same level; each of the second historical blocks at the same level constitutes a historical block combination at the same level, or constitutes a historical block combination at an adjacent level that is adjacent to the historical block combination at the same level;

[0028] B23, adding the historical block set associated with the historical frame consisting of the same-layer historical block combination and the adjacent-layer historical block combination generated in the same historical frame into the candidate set.

[0029] Preferably, in step S2, the method for rendering point cloud data using the second strategy comprises the steps of:

[0030] C1, extracting rendering reference blocks from the layer where the first block determined as a singular block is located and the adjacent layers adjacent to the layer where the first block is located, and obtaining a unique block number corresponding to each of the rendering reference blocks;

[0031] C2, identifying each offset point cloud in each of the extracted rendering reference blocks, and obtaining offset parameters of each offset point cloud, including: the coordinate position of the offset point cloud after being offset to the rendering reference block, the distance from the initial coordinate position in the previous frame, and the offset point cloud type;

[0032] C3, for each of the rendering reference blocks at the same level, using the offset parameter as a matching condition, matching the first historical blocks respectively corresponding to the point cloud offset similarity in the same historical layer of the same historical frame from the database, and then obtaining the first block numbers respectively corresponding to each of the matched first historical blocks, and obtaining the second block numbers respectively corresponding to each of the rendering reference blocks having the point cloud offset similarity with each of the first historical blocks;

[0033] C4, determining whether the first block number of the first historical block having a point cloud offset similarity relationship is the same as the second block number of the rendering reference block,

[0034] If yes, extract the first historical block having the same block number as the first block from the historical frame as the rendering basis block, and then proceed to step C5;

[0035] If not, it is determined that the rendering basis block cannot be extracted from the historical frame;

[0036] C5, for each remaining point cloud that has not undergone positional offset in the first block, identify a first rendering basis point cloud of the same type and having a spatial position corresponding relationship with each of the remaining point clouds from the rendering basis block, and then assign the rendering method of the first rendering basis point cloud to the remaining point cloud corresponding to the position.

[0037] Preferably, the same three-dimensional spatial coordinate system is divided into 8 spatial quadrants, the hierarchical partitioned blocks constructed for the same frame of point cloud data are distributed in the 8 spatial quadrants, and steps S1-S2 are executed in parallel for the point cloud data in each spatial quadrant.

[0038] Preferably, the method for stratifying the camera field of view is:

[0039] Let the camera's field of view depth be Axis orientation Axis, depth of field, point cloud The maximum coordinate value in the axis direction is recorded as , the minimum value is recorded as , if the depth of field is divided into layer, then the thickness of each layer for , point cloud exist The axis coordinates are labeled , then the point cloud Layer ;

[0040] The method for partitioning the camera field of view is as follows: point cloud exist The angle between the horizontal plane formed by the axis and the center direction of the camera's horizontal viewing angle , Representing point clouds exist The coordinates in the axis direction; the horizontal viewing angle width of the camera is , then When the axis is the center direction of the camera's horizontal viewing angle, the camera's horizontal viewing angle range is ; If Divide into partitions, the angle range of each partition , then the point cloud The partition .

[0041] Preferably, the point cloud data is divided into eight spatial quadrants by the same three-dimensional spatial coordinate system, and each hierarchical-partitioned spatial volume in each of the spatial quadrants is divided into The division method is:

[0042] In the hierarchical-partitioned space, the point cloud is axis, axis, The coordinate ranges of the axis directions are , , , then each block in the hierarchical-partitioned space is The length in the axial direction is ,exist The width in the axial direction is ,exist The height in the axial direction is ;

[0043] The spatial coordinates are Point Cloud The unique spatial position index of the block that falls into is expressed as .

[0044] The present invention has the following beneficial effects:

[0045] 1. The point cloud data rendering method based on partition and detail level provided in the present application layers, partitions and blocks the point cloud data, and then relies on the point cloud data generated in the previous frame and the next frame to identify the singular blocks of the type "point cloud is newly added but the point cloud position is not offset" and / or "point cloud is not newly added but the point cloud position is offset" from each block of the next frame, and then adopts different strategies to render the point cloud data for the two different types of singular blocks. The technical core of the two strategies is that, based on the unique block number bound to the block, through the block parameter change or the point cloud offset similarity matching method, the rendering basis block with block similarity to the singular block is matched from the database, and then the singular block is directly rendered with the rendering scheme of the rendering basis block, without the need for a complex deep learning model, thereby ensuring the rendering speed of the partition details under the conditional constraint scenario of the present application and improving the rendering effect of the details.

[0046] 2. Different singular block identification methods are provided for blocks where point clouds are added and / or disappear, and for blocks where point clouds are offset. In each block divided by the layered-partitioned-block method provided in the present application, singular blocks as point cloud recognition objects can be quickly identified in the front and rear frames, and areas that need to be rendered in detail in the rear frames are found. The system subsequently focuses on rendering these detail areas, balancing the speed and accuracy of re-rendering in real-time rendering scenarios when the rendering requirements change due to camera rotation, changes in the type of rendering object, or changes in the scene in which the rendering object is located, under the constraints of fixed camera field of view depth, camera angle range, and fixed distance between the rendering object and the camera field of view center.

[0047] 3. A layered-partitioned-blocked method is provided for the constraint condition of "camera field of view depth, camera angle range, and fixed distance between the rendering object and the center of the camera field of view". Under this method, it is possible to identify singular blocks of the type "point cloud is added but the point cloud position is not offset", and it is also possible to identify singular blocks of the type "point cloud is not added but the point cloud position is offset". This makes it possible to balance the rendering accuracy and rendering speed of the detail area in the real-time rendering scene under the above constraints.

[0048] 4. Through the provided layering-partitioning-blocking method, through the frame number constraints of the previous and next frames, and the judgment of whether to shift to the adjacent block in step A2, the recognition of the rendering object for the next frame as the basis for judging whether the details need to be rendered each time is limited to each adjacent block, which greatly reduces the amount of data for judging the singular blocks, which is conducive to improving the subsequent rendering speed of the singular blocks.

[0049] 5. For different singular blocks of type "newly added point cloud but not shifted point cloud position" and type "not newly added point cloud but shifted point cloud position", the first strategy and the second strategy are used to render point cloud data respectively. In the first strategy, the screening conditions of the candidate set in step B2 are limited to the parameter changes of each block in the same layer block combination and adjacent layer block combination of the associated subsequent frame, which narrows the search range of the rendering basis block (expanded block) for the singular block of type "newly added point cloud but not shifted point cloud position", instead of searching for the rendering basis block within the point cloud space range constructed by the overall historical frame, which greatly reduces the rendering time using the first strategy. And with the set change parameters as the search feature, the expanded block as the basis for rendering the singular block can be quickly found. In the second strategy, the search range of the rendering reference block is expanded from the same layer as the layer where the first block is located in the historical frame to the adjacent layer, so as to prevent the problem of poor rendering effect of the first block due to excessive number of point clouds offset to adjacent layers when rendering the point cloud of a singular block of type "no new point cloud is added but the point cloud position is offset", without considering the impact of the point clouds offset to adjacent layers on the rendering effect of the remaining point clouds in the first block that have not been offset.

[0050] 6. The first strategy and the second strategy used for point cloud rendering of different types of singular blocks have complementary rendering effects. The first strategy is to perform point cloud rendering on singular blocks of type "newly added point cloud but not offset point cloud position", and the second strategy is to perform point cloud rendering on singular blocks of type "not newly added point cloud but offset point cloud position". When the point cloud in a block is offset to other blocks, new point clouds are added to other blocks. At this time, the first strategy is used to render the point clouds of other blocks, while the second strategy is used to render the point cloud of this block, that is, the point cloud that disappears from the block (the point cloud offset to other blocks) is rendered in supplementary manner using the first strategy. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0052] Figure 1 is a diagram of implementation steps of a point cloud data rendering method based on partitioning and detail level provided in an embodiment of the present invention;

[0053] Figure 2 It is a schematic diagram of numbering the blocks in the cube layer by layer from left to right and from top to bottom. DETAILED DESCRIPTION

[0054] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.

[0055] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on this patent; in order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product; for those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.

[0056] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "inner", "outer", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as a limitation on this patent. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.

[0057] In the description of the present invention, unless otherwise clearly specified and limited, if the term "connection" or the like appears to indicate the connection relationship between components, the term should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two components or the interaction relationship between two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0058] First of all, it should be noted that the point cloud data rendering method based on partitioning and detail level provided in this embodiment is applied in the case where the camera field of view depth, camera angle range, and the distance between the rendering object and the center of the camera field of view are fixed, and the camera rotates, and / or the type of the rendering object changes, and / or the scene in which the rendering object is located changes. The meaning of the camera field of view depth and camera angle range will be specifically explained in the subsequent method of layering, partitioning, and blocking point cloud data, and will not be explained here. The fixed distance between the rendering object and the center of the camera field of view means that the camera beam emission point is the center of the camera field of view, and the rendering object is the focus point of the camera, that is, the distance between the camera focus point and the camera beam emission point is fixed. Camera rotation includes left and right rotation or up and down rotation or spherical rotation of the camera; the change of the type of the rendering object means that the focus object of the camera in the previous frame is assumed to be object O1, and the focus object in the next frame is assumed to be O2, or part of it is O1, which means that the type of the rendering object has changed, or the type of the object specified to be rendered in the previous frame and the next frame has changed. The scene where the rendering object is located changes, for example, the rendering object O1 is in the grass in the previous frame and enters the river in the next frame, and the scene types where the rendering object O1 is located in the previous frame and the next frame change.

[0059] The point cloud data rendering method based on partition and detail level provided in this embodiment is as follows: Figure 1 As shown, the steps include:

[0060] S1, real-time monitoring and extraction of the singular blocks of the latter frame relative to the former frame in two consecutive frames;

[0061] S2: For singular blocks of type "point cloud is added but point cloud position is not offset", the first strategy is used to render point cloud data; for singular blocks of type "point cloud is not added but point cloud position is offset", the second strategy is used to render point cloud data.

[0062] "Newly added point clouds but unchanged point cloud positions" in a block means: for example, the point cloud data generated in the previous frame is divided into several cubic blocks in three-dimensional space, and in one of the blocks, there are three point clouds, p1, p2, and p3, whose positions in the block are assumed to be c1, c2, and c3 respectively. In the next frame, assuming that in the same block, there are four point clouds, p1, p2, p3, and p4, and the positions of the three point clouds p1, p2, and p3 in the previous and next frames remain unchanged, or the position change amplitude is less than the preset change amplitude threshold, then it is determined that "newly added point clouds but unchanged point cloud positions" have occurred in the block.

[0063] "No new point cloud is added but the point cloud position is offset" in the block means: for example, the point cloud p1 in the above-mentioned block is offset to other blocks in the subsequent frame, and the latter's position change amplitude is greater than or equal to the preset change amplitude threshold, and no new point cloud is added to the block in the subsequent frame, then it is determined that "no new point cloud is added but the point cloud position is offset" occurs in the block in the subsequent frame.

[0064] The method for identifying the singular blocks of the subsequent frame relative to the previous frame in step S1 is described below:

[0065] In this embodiment, the blocks generated in the previous frame and the blocks generated in the next frame are numbered in the same way. For example, 16 regular cubes (blocks) of exactly the same shape and size are arranged in close proximity in "4 rows and 4 columns" to form a cubic matrix unit. Such 4 identical cubic matrix units are overlapped and arranged up and down to form a cube formed by 64 regular cubes. Each regular cube in the cube is numbered layer by layer from left to right and from top to bottom to obtain a unique number corresponding to each regular cube. Figure 2 As shown in , in the cube matrix unit facing the cube, each regular cube is numbered 1, 2, ..., 16 from left to right and from top to bottom. In another cube matrix unit adjacent to the cube matrix unit, each regular cube is numbered 17, 18, ..., 32 from left to right and from top to bottom.

[0066] After first stratifying, then partitioning, and then blocking the point cloud data in three-dimensional space, a method for identifying singular blocks of a subsequent frame relative to a previous frame comprises the following steps:

[0067] A1, obtain a second block having the same number as the first block generated in the next frame from the block set generated in the previous frame, and then further obtain adjacent blocks that are in the same layer as the first block and are adjacent to the first block above, below, left, right, upper left, lower left, upper right, and lower right;

[0068] For example, suppose Figure 2 The block 6 in is the first block generated in the subsequent frame that needs to be judged as a singular block. The unique number of the first block is "number 6". Then, from the previous frame continuous with the subsequent frame, the block numbered "6" is obtained as the second block. Then obtain Figure 2 The adjacent blocks that are in the same layer and adjacent to block 6 include block 1, block 2, block 3, block 5, block 7, block 9, block 10, and block 11.

[0069] A2, determining whether the point cloud formed in the second block is offset to at least one adjacent block,

[0070] If yes, extract the adjacent blocks that cause the offset, and then determine whether the first block is a singular block according to the offset singular block identification strategy;

[0071] If not, go to step A3;

[0072] The method for determining whether the point cloud formed in the second block is offset to the adjacent block is an existing method. For example, the type of each point cloud in the second block can be firstly identified. For example, for a face model, each key point constituting the face has a corresponding unique key point type. Then, when the same point cloud that appears in the second block in the previous frame is identified in the adjacent block generated in the subsequent frame, it is determined that the point cloud has offset to the adjacent block.

[0073] When step A2 judges "if no" and turns to step A3, it means that the system's judgment on whether the first block is a singular block turns to the judgment process of whether the first block is a singular block of the type "point cloud is added but the point cloud position is not offset". When step A2 judges "if yes", it means that the system's judgment on whether the first block is a singular block turns to the judgment process of whether the first block is a singular block of the type "point cloud is not added but the point cloud position is offset".

[0074] In step A3, the method for determining whether the first block is a singular block of the type "point cloud is not added but point cloud position is offset" is:

[0075] It is determined whether the number of newly added point clouds of the first block compared with the second block exceeds a first threshold. If so, the first block is determined to be a singular block.

[0076] In step A2, the method for determining whether the first block is a singular block according to the offset singular block identification strategy is:

[0077] Determine whether the number of adjacent blocks that produce offsets is greater than a preset second threshold value, and if so, determine that the first block is a singular block; and / or determine whether the ratio of the number of first point clouds offset in each adjacent block to the number of second point clouds that are not offset in the second block is greater than a preset third threshold value, and if so, determine that the first block is a singular block; and / or determine whether the offset of at least one point cloud offset in at least one adjacent block is greater than a preset offset threshold value, and if so, determine that the first block is a singular block.

[0078] For example, point clouds p1, p2, p3, p4, and p5 are formed in the second block of the previous frame, where only point cloud p1 is offset to Figure 2In the adjacent block numbered "2" shown, assuming that the second threshold is set to "2", the number of adjacent blocks that produce offsets is "1", and the condition of being greater than the preset second threshold is not met, so the first block is determined not to be a singular block. When the offset singular block identification strategy is set to: at least one of the three judgment conditions is met, that is, when the first block is determined to be a singular block, it is necessary to continue to judge whether the ratio of the number of first point clouds offset in each adjacent block to the number of second point clouds that have not been offset in the second block is greater than the preset third threshold. Continuing with the above example, only point cloud p1 is offset in the adjacent block numbered "2", then the number of first point clouds is "1", and the number of second point clouds that have not been offset in the second block is "4", then the ratio of the two is one-fourth. Assuming that the third threshold is set to one-third, the judgment condition is not met, and it is necessary to continue to judge whether the offset of at least one point cloud offset in at least one adjacent block is greater than the preset offset threshold. Assuming that the judgment condition is met, the first block is also determined to be a singular block.

[0079] Through steps A1-A3, after finding the singular blocks of the type of "point cloud added but point cloud position not offset" and / or the type of "point cloud not added but point cloud position offset" of the latter frame relative to the previous frame in two consecutive frames, this embodiment uses two different strategies in step S2 to render point cloud data for different types of singular blocks.

[0080] In step S2, the method of rendering point cloud data for singular blocks of type "newly added point cloud but no point cloud position shift" using the first strategy includes the following steps:

[0081] B1, in the layer where the first block determined as a singular block is located, extract the blocks arranged adjacent to the first block at the upper, lower, left, right, upper left, lower left, upper right, and lower right positions to form a same-layer block combination with the first block, and in the adjacent layer adjacent to the same-layer block combination, extract the adjacent layer block combination that overlaps with the same-layer block combination in terms of hierarchical depth;

[0082] For example, suppose Figure 2 The first block numbered "6" in the is determined to be a singular block of the type "newly added point cloud but not offset point cloud position". After the point cloud data is layered, partitioned, and blocked in the three-dimensional space in this embodiment, the level where the block No. 6 is located is assumed to be the first level, and 8 blocks arranged at the top, bottom, left, right, upper left, lower left, upper right, and lower right positions of the block No. 6 are extracted, that is, Figure 2The blocks 1, 2, 3, 5, 7, 9, 10, and 11 in the image are combined with block 6 to form a block combination on the same layer. In the adjacent layer adjacent to the block combination on the same layer, that is, in the second layer where the layers are sequentially deepened along the depth direction of the visual field, the adjacent layer block combination that overlaps with the block combination on the same layer in terms of layer depth is extracted, that is, the adjacent layer block combination that overlaps with the block combination on the same layer in terms of layer depth is extracted. Figure 2 Blocks No. 17, No. 18, No. 19, No. 21, No. 22, No. 23, No. 25, No. 26, and No. 27 in the structure constitute an adjacent layer block combination that overlaps in level depth with the same layer block combination consisting of block No. 1, No. 2, No. 3, No. 5, No. 6, No. 7, No. 9, No. 10, and No. 11. It should be noted here that when the same layer block combination is at the second level, the adjacent layer block combination includes two combinations at the first level and the third level.

[0083] B2, using the parameter changes of each block in the same layer block combination and the adjacent layer block combination generated in the same subsequent frame as the screening condition, screening out the candidate set from the database, the specific method includes the steps of:

[0084] B21, identify the changed blocks in the same layer block combination and adjacent layer block combination generated in the same subsequent frame, including newly added blocks of point cloud, and / or disappeared blocks of point cloud, and / or blocks where point cloud is added and disappeared at the same time, and then obtain the change parameters of each changed block, including the spatial coordinates and point cloud type of the newly added point cloud and / or disappeared point cloud in the changed block. The point cloud type is used to represent the key point features of the rendered object or the key point features of the rendered scene where the rendered object is located. For example, a certain point cloud is assumed to be the zygomatic key point in the key point of the human face. The zygomatic key point falls on block a in the previous frame and on block b in the subsequent frame. The zygomatic key point is added to block b, and the zygomatic key point disappears in block a. Then the spatial coordinates and point cloud type of the zygomatic key point in block b are obtained, and the point cloud type is "zygomatic key point".

[0085] B22, using the change parameter of the change block as a matching condition, matching a second historical block having point cloud change similarity with the change block from the same historical frame in the database, the second historical block and the change block having point cloud change similarity have the same level; each second historical block at the same level constitutes a historical block combination at the same level or an adjacent historical block adjacent to the historical block combination at the same level;

[0086] For example, assume that the change blocks identified in step B21 from the same-layer block combination generated in the same post-frame and the adjacent-layer block combination hierarchically adjacent to the same-layer block combination include change blocks BH1, BH2, BH3, BH4, and BH5, where change blocks BH1 and BH2 are blocks in the same-layer block combination, and BH3, BH4, and BH5 are blocks in the adjacent-layer block combination. Also assume that point cloud p1 is added to change block BH1, point cloud p2 disappears from change block BH2, point cloud p3 is added to change block BH3, point cloud p4 is added to change block BH4 but point cloud p5 disappears, and point cloud p6 disappears from change block BH5.

[0087] Assume that the second historical block LSFK1 generated in a certain historical frame has point cloud change similarity with the change block BH1, that is, a historical point cloud lsp1 in the second historical block LSFK1 has point cloud change similarity with the newly added point cloud p1 in the change block BH1. The point cloud change similarity is calculated by the following method:

[0088] The newly added point cloud p1 has corresponding spatial coordinates in the change block BH1, and the change block BH1 has a unique block number. In the front frame that constitutes two consecutive frames with the rear frame, the newly added point cloud p1 may appear in a block in the front frame, or may not appear in the front frame. If it appears in a block in the front frame, the number of the previous frame block and the spatial coordinates of the newly added point cloud p1 in the previous frame block are obtained. If it does not appear in the previous frame, the original change parameters of the newly added point cloud p1 in the previous frame are set to "0". The spatial coordinates of the newly added point cloud p1 in the change block BH1, the type of point cloud p1, the number of the change block BH1, the spatial coordinates of the newly added point cloud p1 in the previous frame block, and the number of the previous frame block constitute the change parameters of the newly added point cloud p1 after it lands on the change block BH1.

[0089] The change parameters bound to each change point cloud in the change block BH1 are matched with the change parameters bound to each change point cloud in the second historical block LSFK1 in terms of parameter similarity (i.e., point cloud change similarity). If the parameter similarities of all change point clouds in the two blocks are matched successfully, it is determined that the change block BH1 has point cloud change similarity with the second historical block LSFK1.

[0090] The point cloud change similarity between the newly added point cloud p1 and the historical point cloud lsp1 is: when the first spatial coordinate of the newly added point cloud p1 in the change block BH1 is the same as the second spatial coordinate of the historical point cloud lsp1 in the second historical block LSFK1, or the coordinate deviation distance (i.e., the straight-line distance of the first spatial coordinate deviating from the second spatial coordinate) is less than the preset distance threshold, and the newly added point cloud p1 and the historical point cloud lsp1 are of the same type (for example, both are cheekbone key points in the face), and the change block BH1 and the second historical block LSFK1 have the same number, and the spatial coordinate of the newly added point cloud p1 in the previous frame block is the same as the spatial coordinate of the historical point cloud lsp1 in the historical previous frame block in the historical previous frame that constitutes two consecutive frames with the second historical block LSFK1, or the coordinate distance is less than the preset distance threshold, and the previous frame block and the historical previous frame block have the same number, it is determined that the newly added point cloud p1 and the historical point cloud lsp1 have point cloud change similarity.

[0091] The principle of the method for performing point cloud change similarity matching on the disappeared blocks where point clouds disappear, and on the blocks where point clouds are added and disappeared at the same time, is the same as that for the newly added blocks of point clouds, and will not be repeated here.

[0092] After finding the corresponding second historical blocks having point cloud change similarity with each change block identified in step B21 from the same historical frame, the second historical blocks generated at the same level of the same historical frame constitute a same-layer historical block combination, or constitute an adjacent-layer historical block combination adjacent to the same-layer historical block combination.

[0093] Continuing with the above example, it is assumed that, through step B22, the corresponding second historical blocks with point cloud change similarity found for the change blocks BH1-BH5 are LSFK1-LSFK5, and the second historical blocks LSFK1-LSFK2 are at the same level, then the second historical blocks LSFK1 and LSFK2 constitute a same-level historical block combination. The second historical blocks LSFK3-LSFK5 are at the same level, then the second historical blocks LSFK3-LSFK5 constitute an adjacent layer historical block combination adjacent to the same layer historical block combination.

[0094] Then proceed to step:

[0095] B23, adding the historical block set associated with the historical frame consisting of the same-layer historical block combination and the adjacent-layer historical block combination generated in the same historical frame to the candidate set.

[0096] After step B2, after the candidate set is screened out from the database, in step S2, the method of rendering point cloud data using the first strategy proceeds to step:

[0097] B3, select from the candidate set the historical block set that has the maximum point cloud change similarity with the block set composed of the same layer block combination and the adjacent layer block combination, and then expand the selected historical block set by blocks to obtain an expanded set. Each block in the block set has an expanded block with the same number in the expanded set.

[0098] The method of selecting the historical block set with the maximum point cloud change similarity with the block set from the candidate set is briefly described as follows:

[0099] In step B22, a method for matching a second historical block having point cloud change similarity with a change block from a database has been given. When calculating the point cloud change similarity between a block set and a historical block set, in this embodiment, the number of block pairs consisting of a change block and a second historical block having a point cloud change similarity in the block set and the historical block set is counted as the point cloud change similarity between the block set and the historical block set.

[0100] After screening out the historical block set with the maximum point cloud change similarity, the method of expanding the historical block set into blocks to obtain the expanded set is as follows: each block in the block set has an expanded block with the same number in the expanded set. That is, the expanded set has the same spatial matrix form as the spatial matrix presented by the block set composed of the same-layer block combination and the adjacent-layer block combination. It should be explained here that each second historical block in the historical block set obtained by calculating the point cloud change similarity is a changed block, and the block set includes changed blocks and / or unchanged blocks. Therefore, it is necessary to expand the historical block set here to ensure that the expanded block (rendering based on the block) with the same block number as the first block can be extracted in step B4.

[0101] It should also be noted that if the candidate set screened out after step B2 is an "empty set", it means that the point cloud data rendering using the first strategy has failed, and the user is prompted to perform manual rendering or use other algorithms for rendering, such as using a conventional deep learning model for rendering.

[0102] B4, from the expanded blocks in the expanded set that have the same block number as the first block determined to be of the type "newly added point cloud but the point cloud position has not been offset", further identify the second rendering basis point cloud that has a spatial position corresponding relationship with the newly added point cloud in the first block (the spatial position is the same or the offset distance is less than a preset distance threshold) and the same point cloud type, and then assign the historical rendering method of the second rendering basis point cloud to the newly added point cloud corresponding to the position.

[0103] In step S2, the method of rendering point cloud data for the singular blocks of the type "point cloud is not newly added but the point cloud position is offset" by using the second strategy includes the following steps:

[0104] C1, in the layer where the first block whose singularity type is determined to be "no new point cloud is added but the point cloud position is offset" is located and the adjacent layers adjacent to the layer where the first block is located, extract the rendering reference blocks, and obtain the unique block number corresponding to each rendering reference block; the rendering reference blocks in the same layer as the first block include: blocks adjacent to the top, bottom, left, right, upper left, lower left, upper right, and lower right of the first block; the rendering reference blocks in the adjacent layers of the first block include: each rendering reference block in the same layer as the first block and the first block together constitute a same-layer block combination, and in the adjacent layers adjacent to the same-layer block combination, extract the adjacent layer block combination that overlaps with the same-layer block combination in terms of hierarchical depth;

[0105] C2, identifying each offset point cloud in each extracted rendering reference block, and obtaining the offset parameters of each offset point cloud, including: the coordinate position of the offset point cloud after being offset to the rendering reference block, the offset point cloud type, and the distance from the initial coordinate position in the previous frame;

[0106] How to identify the offset point cloud from the blocks has been explained in the first strategy mentioned above and will not be repeated here.

[0107] C3, for each rendering reference block at the same level, using the offset parameter as a matching condition, matching the first historical blocks respectively corresponding to the point cloud offset similarity in the same historical layer of the same historical frame from the database, and then obtaining the first block numbers respectively corresponding to the matched first historical blocks, and obtaining the second block numbers respectively corresponding to the rendering reference blocks respectively corresponding to the point cloud offset similarity with each first historical block;

[0108] The method for calculating the point cloud offset similarity between the rendering reference block and the first historical block is briefly described as follows by taking an example:

[0109] Assume that the rendering reference blocks at the same level as the first block judged as the singularity type of "no new point cloud is added but the point cloud position is offset" and adjacent to the first block include XRCZFK1-XRCZFK8. A certain historical layer of a certain historical frame includes 9 first historical blocks DYLSFK1-DYLSFK9, and DYLSFK1-DYLSFK5 and DYLSFK7-DYLSFK9 are respectively set at the top, bottom, left, right, upper left, lower left, upper right, and lower right positions of DYLSFK6. Assume that there are two offset point clouds in the rendering reference block XRCZFK1, which are respectively recorded as XRCZFK1-p1 and XRCZFK1-p2, and there are also two offset point clouds in the first historical block DYLSFK1, which are respectively recorded as DYLSFK1-p1 and DYLSFK1-p2. Assume that XRCZFK1-p1 is of the same type as DYLSFK1-p1, and the coordinate position of XRCZFK1-p1 in the rendering reference block XRCZFK1 corresponds to the coordinate position of DYLSFK1-p1 in the first historical block DYLSFK1 (they have the same coordinate position in the same three-dimensional space coordinate system, or the deviation of the coordinate positions of the two is less than a preset deviation threshold), and the distance between the coordinate position of XRCZFK1-p1 in XRCZFK1 and the coordinate position of XRCZFK1-p1 in the previous frame (defined as the first distance) is the same as D If the absolute value of the difference between the coordinate position of YLSFK1-p1 in the first historical block DYLSFK1 and the distance (defined as the second distance) between the coordinate position of DYLSFK1-p1 in the historical previous frame that constitutes two consecutive frames with the historical frame is less than the preset absolute value threshold of the difference, it is determined that XRCZFK1-p1 and DYLSFK1-p1 have point cloud offset similarity, and when XRCZFK1-p1 and DYLSFK1-p1 also have point cloud offset similarity, it is determined that the rendering reference block XRCZFK1 and the first historical block DYLSFK1 have point cloud offset similarity.

[0110] Then, if the first historical blocks DYLSFK2-DYLSFK5 and DYLSFK7-DYLSFK9 that generate point cloud offsets in the same layer of the same historical frame as the first historical block DYLSFK1 are matched to the corresponding rendering reference blocks in XRCZFK2-XRCZFK8 through point cloud offset similarity matching, the unique block numbers corresponding to the first historical blocks that generate point cloud offsets are obtained. For example, assuming that DYLSFK1, DYLSFK2, DYLSFK5, and DYLSFK8 generate point cloud offsets, the first block numbers corresponding to DYLSFK1, DYLSFK2, DYLSFK5, and DYLSFK8 are obtained. For example, the first block numbers corresponding to DYLSFK1, DYLSFK2, DYLSFK5, and DYLSFK8 are "1", "2", "5", and "8", respectively. Assuming that the rendering reference blocks that have point cloud offset similarity with DYLSFK1, DYLSFK2, DYLSFK5, and DYLSFK8 are XRCZFK1, XRCZFK3, XRCZFK7, and XRCZFK5, respectively, the second block numbers corresponding to XRCZFK1, XRCZFK3, XRCZFK7, and XRCZFK5 are further obtained, and they are assumed to be "1", "2", "5", and "8" respectively.

[0111] It should be noted here that in step C3, if for each rendering reference block at the same level, it is impossible to find the first historical blocks corresponding to each rendering reference block having point cloud offset similarity in a certain historical layer of a certain historical frame in the database, then the second strategy is determined to have failed, and the manual rendering process is entered or the conventional point cloud rendering process is performed using a deep learning model.

[0112] C4, determining whether the first block number of the first historical block having a point cloud offset similarity relationship is the same as the second block number of the rendering reference block,

[0113] If yes, extract the first historical block having the same block number as the first block in the historical frame as the rendering basis block, and then proceed to step C5;

[0114] If not, it is determined that no rendering basis block can be extracted from the historical frame;

[0115] For example, the first blocks corresponding to DYLSFK1, DYLSFK2, DYLSFK5, and DYLSFK8 are numbered "1", "2", "5", and "8", respectively. Assuming that the second blocks corresponding to XRCZFK1, XRCZFK3, XRCZFK7, and XRCZFK5, which have point cloud offset similarity relationships with DYLSFK1, DYLSFK2, DYLSFK5, and DYLSFK8, are numbered "1", "2", "8", and "5", respectively, it is determined that the rendering basis block cannot be extracted in the historical frame.

[0116] Under the "if" judgment condition of step C4, an example of a method for extracting a first historical block having the same block number as the first block from the historical frame is as follows: assuming that the block number of the first block is "6", and the block number of DYLSFK6 at the same level as DYLSFK1, DYLSFK2, DYLSFK5, and DYLSFK8 is also "6", then DYLSFK6 is extracted from the historical frame as the rendering basis block.

[0117] After extracting the rendering basis block for the first block, the second strategy proceeds to step:

[0118] C5, for each remaining point cloud that has not undergone positional offset in the first block, identify a first rendering basis point cloud of the same type and having a spatial position correspondence with each remaining point cloud from the rendering basis block, and then assign the rendering method of the first rendering basis point cloud to the remaining point cloud corresponding to the position.

[0119] For example, assuming that the remaining point clouds in the first block that have not undergone positional offset include SYDY-p1, then the rendering basis point cloud DYXRYJDY-p1 (defined as the first rendering basis point cloud) that has a spatial positional correspondence or the same type as SYDY-p1 is identified from the rendering basis block. The meaning of SYDY-p1 and DYXRYJDY-p1 having a spatial positional relationship has been explained in the above content and will not be repeated. The same point cloud type means that, for example, SYDY-p1 and DYXRYJDY-p1 both represent cheekbone key points in the face, which indicates that the point cloud types of the two are the same.

[0120] The following describes a method for layering, partitioning, and dividing point cloud data formed in a three-dimensional space in a point cloud data rendering method based on partitioning and detail level provided in this embodiment.

[0121] The method to layer the camera field of view is:

[0122] Let the camera's field of view depth be Axis orientation Axis, depth of field, point cloud The maximum coordinate value in the axis direction is recorded as , the minimum value is recorded as , if the depth of field is divided into layer, then the thickness of each layer for , point cloud exist The axis coordinates are labeled , then the point cloud Layer ;

[0123] The method of partitioning the camera field of view is: point cloud exist The angle between the horizontal plane formed by the axis and the center direction of the camera's horizontal viewing angle , Representing point clouds exist The coordinates in the axis direction; the horizontal viewing angle width of the camera is , then When the axis is the center direction of the camera's horizontal viewing angle, the camera's horizontal viewing angle range is ; If Divide into partitions, the angle range of each partition , then the point cloud The partition .

[0124] The method of dividing the camera field of view into blocks is:

[0125] The point cloud data is divided into 8 spatial quadrants through the same 3D spatial coordinate system, and each layered-partitioned spatial volume in each spatial quadrant is divided into The division method is:

[0126] In the hierarchical-partitioned space volume, the point cloud is axis, axis, The coordinate ranges of the axis directions are , , , then each block in the layered-partitioned space is The length in the axial direction is ,exist The width in the axial direction is ,exist The height in the axial direction is ;

[0127] The spatial coordinates are Point Cloud The unique spatial position index of the block that falls into is expressed as .

[0128] In order to further increase the rendering speed of point cloud data by the point cloud data rendering method based on partitioning and detail level provided in this embodiment, it is more preferred that the hierarchical partition blocks constructed for the same frame of point cloud data are distributed in 8 spatial quadrants divided by the same three-dimensional spatial coordinate system, and steps S1-S2 are executed in parallel for the point cloud data in each spatial quadrant.

[0129] In summary, the point cloud data rendering method based on partition and detail level provided by the present application layers, partitions and blocks the point cloud data, and then relies on the point cloud data generated in the previous frame and the next frame to identify the singular blocks of the type "point cloud is newly added but the point cloud position is not offset" and / or "point cloud is not newly added but the point cloud position is offset" from each block of the next frame, and then adopts different strategies to render the point cloud data for the two different types of singular blocks. The technical core of the two strategies is that, based on the unique block number bound to the block, through the block parameter change or the point cloud offset similarity matching method, the rendering basis block with block similarity to the singular block is matched from the database, and then the singular block is directly rendered with the rendering scheme of the rendering basis block, without the need for a complex deep learning model, thereby ensuring the rendering speed of the partition details under the conditional constraint scenario of the present application and improving the rendering effect of the details.

[0130] It should be noted that the above specific implementations are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art should understand that various modifications, equivalent substitutions, changes, etc. can be made to the present invention. However, as long as these changes do not deviate from the spirit of the present invention, they should be within the scope of protection of the present invention. In addition, some terms used in the specification and claims of this application are not restrictive, but are only for the convenience of description.

Claims

1. A point cloud data rendering method based on partitioning and detail level, characterized in that: Includes steps: S1, real-time monitoring and extraction of the singular blocks of the latter frame relative to the former frame in two consecutive frames; S2, for the singular block of type "point cloud is added but point cloud position is not offset", the first strategy is used to render the point cloud data; for the singular block of type "point cloud is not added but point cloud position is offset", the second strategy is used to render the point cloud data; The blocks generated in the previous frame and the blocks generated in the next frame are numbered in the same manner. In step S1, the method for identifying the singular blocks comprises the steps of: A1, acquiring a second block having the same number as the first block generated in the subsequent frame from the block set generated in the previous frame, and then further acquiring adjacent blocks that are in the same layer as the first block and are adjacent to the first block at the top, bottom, left, right, upper left, lower left, upper right, and lower right; A2, determining whether the point cloud formed in the second block is offset to at least one of the adjacent blocks; If yes, extract the adjacent block that generates the offset, and then determine whether the first block is the singular block according to the offset singular block identification strategy; If not, go to step A3; A3, determining whether the number of newly added point clouds of the first block compared with the second block exceeds a first threshold, and if so, determining that the first block is the singular block; In step S2, the method for rendering point cloud data using the first strategy includes the following steps: B1, in the layer where the first block determined to be a singular block is located, extract the blocks arranged adjacent to each other at the upper, lower, left, right, upper left, lower left, upper right, and lower right positions of the first block to form a same-layer block combination with the first block, and in the adjacent layers adjacent to the same-layer block combination, extract the adjacent-layer block combination that overlaps with the same-layer block combination in terms of hierarchical depth; B2, using the parameter change of each block in the same-layer block combination and the adjacent-layer block combination generated in the same subsequent frame as a screening condition, screening out a candidate set from the database; B3, selecting from the candidate set a historical block set having the maximum point cloud change similarity with the block set consisting of the same-layer block combination and the adjacent-layer block combination, and then performing block expansion on the historical block set to obtain an expanded set, wherein each block in the block set has an expanded block with the same number in the expanded set; B4, further identifying, from the expanded blocks in the expanded set having the same block number as the first block, a second rendering basis point cloud having a spatial position corresponding relationship with the newly added point cloud in the first block and having the same point cloud type, and then assigning a historical rendering method for the second rendering basis point cloud to the newly added point corresponding to the position; In step S2, the method for rendering point cloud data using the second strategy includes the following steps: C1, extracting rendering reference blocks from the layer where the first block determined as a singular block is located and the adjacent layers adjacent to the layer where the first block is located, and obtaining a unique block number corresponding to each of the rendering reference blocks; C2, identifying each offset point cloud in each of the extracted rendering reference blocks, and obtaining offset parameters of each offset point cloud, including: the coordinate position of the offset point cloud after being offset to the rendering reference block, the distance from the initial coordinate position in the previous frame, and the offset point cloud type; C3, for each of the rendering reference blocks at the same level, using the offset parameter as a matching condition, matching the first historical blocks respectively corresponding to the point cloud offset similarity in the same historical layer of the same historical frame from the database, and then obtaining the first block numbers respectively corresponding to each of the matched first historical blocks, and obtaining the second block numbers respectively corresponding to each of the rendering reference blocks having the point cloud offset similarity with each of the first historical blocks; C4, determining whether the first block number of the first historical block having a point cloud offset similarity relationship is the same as the second block number of the rendering reference block, If yes, extract the first historical block having the same block number as the first block from the historical frame as the rendering basis block, and then proceed to step C5; If not, it is determined that the rendering basis block cannot be extracted from the historical frame; C5, for each remaining point cloud that has not undergone positional offset in the first block, identify a first rendering basis point cloud of the same type and having a spatial position corresponding relationship with each of the remaining point clouds from the rendering basis block, and then assign the rendering method of the first rendering basis point cloud to the remaining point cloud corresponding to the position.

2. The point cloud data rendering method based on partitioning and detail level according to claim 1, characterized in that: When the camera field of view depth, camera angle range, and the distance between the rendering object and the center of the camera field of view are fixed, steps S1-S2 are performed under the scene constraints of the camera rotating, and / or the type of the rendering object changing, and / or the scene in which the rendering object is located changing.

3. The point cloud data rendering method based on partitioning and detail level according to claim 1, characterized in that: In step A2, the method for determining whether the first block is the singular block according to the offset singular block identification strategy is: Determine whether the number of the adjacent blocks that generate the offset is greater than a preset second threshold, and if so, determine that the first block is the singular block; and / or determining whether a ratio of the number of first point clouds offset in each of the adjacent blocks to the number of second point clouds not offset in the second block is greater than a preset third threshold, and if so, determining that the first block is the singular block; And / or determine whether the offset of at least one point cloud in at least one of the adjacent blocks is greater than a preset offset threshold; if so, determine that the first block is the singular block.

4. The point cloud data rendering method based on partitioning and detail level according to claim 1, characterized in that: In step B2, the method for screening out the candidate set includes the steps of: B21, identifying the changed blocks in the same-layer block combination and the adjacent-layer block combination generated in the same subsequent frame, including newly added point cloud blocks, and / or disappeared point cloud blocks, and / or blocks where point clouds are added and disappeared simultaneously, and then obtaining the change parameters of each of the changed blocks, including the spatial coordinates and point cloud type of the newly added point cloud and / or the disappeared point cloud in the changed block, the number of the changed block, and the number of the block where the newly added point cloud and / or the disappeared point cloud landed in the previous frame, and the spatial coordinates of the landing point in the landing block; B22, using the change parameter of the change block as a matching condition, matching a second historical block having point cloud change similarity with the change block from the same historical frame in the database, wherein the second historical block has the same level as the change block having point cloud change similarity; The second historical blocks at the same level constitute a historical block combination at the same level, or constitute a historical block combination at an adjacent level that is adjacent to the historical block combination at the same level; B23, adding the historical block set associated with the historical frame consisting of the same-layer historical block combination and the adjacent-layer historical block combination generated in the same historical frame into the candidate set.

5. The point cloud data rendering method based on partitioning and detail level according to any one of claims 1 to 4, characterized in that: The same three-dimensional spatial coordinate system is divided into 8 spatial quadrants, and the hierarchical partition blocks constructed for the same frame of point cloud data are distributed in the 8 spatial quadrants. Steps S1-S2 are executed in parallel for the point cloud data in each spatial quadrant.

6. The point cloud data rendering method based on partitioning and detail level according to claim 1, characterized in that: The method to layer the camera field of view is: Let the camera's field of view depth be Axis orientation Axis, depth of field, point cloud The maximum coordinate value in the axis direction is recorded as , the minimum value is recorded as , if the depth of field is divided into layer, then the thickness of each layer for , point cloud exist The axis coordinates are labeled , then the point cloud Layer ; The method for partitioning the camera field of view is as follows: point cloud exist The angle between the horizontal plane formed by the axis and the center direction of the camera's horizontal viewing angle , Representing point clouds exist The coordinates in the axis direction; the horizontal viewing angle width of the camera is , then When the axis is the center direction of the camera's horizontal viewing angle, the camera's horizontal viewing angle range is ; If Divide into partitions, the angle range of each partition , then the point cloud The partition .

7. The point cloud data rendering method based on partitioning and detail level according to claim 6, characterized in that: The point cloud data is divided into 8 spatial quadrants through the same 3D spatial coordinate system, and each hierarchical-partitioned spatial volume in each of the spatial quadrants is divided into The division method is: In the hierarchical-partitioned space, the point cloud is axis, axis, The coordinate ranges of the axis directions are , , , then each block in the hierarchical-partitioned space is The length in the axial direction is ,exist The width in the axial direction is ,exist The height in the axial direction is ; The spatial coordinates are Point Cloud The unique spatial position index of the block that falls into is expressed as .

Citation Information

Patent Citations

  • Writing brush shape correction method based on touch screen

    CN111831162A

  • Method for rendering 2d and 3D data within a 3D virtual environment

    US20190362546A1