Atlas evaluation method and device, terminal equipment and computer storage medium
By calculating the target rotation matrix and projection quantity of the VR headset, the problem of the SLAM algorithm's inability to detect map quality is solved, ensuring accurate tracking of the VR headset in different poses.
Patent Information
- Application Number
- CN202311431621.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-10-31
AI Technical Summary
The SLAM algorithm cannot detect map quality in VR headsets, resulting in inaccurate tracking.
By acquiring an initial map set, calculating the target rotation matrix, generating the target map set, and determining the map set evaluation result based on the number of projections, the quality of the map set is ensured.
It enables quality evaluation of VR headset atlases, ensuring the accuracy of tracking under different poses.
Smart Images

Figure CN117392099B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of virtual reality technology, and in particular to a method, apparatus, terminal device, and computer-readable storage medium for evaluating atlases. Background Technology
[0002] With the continuous development of virtual reality technology, SLAM (Simultaneous Localization and Mapping) algorithm has become the main algorithm used to track VR headsets.
[0003] However, since the quality of the atlases built by VR headsets during operation is difficult to control, and the SLAM algorithm in related technologies cannot detect the quality of the atlases during operation, the SLAM algorithm is prone to failing to accurately track VR headsets due to low atlas quality.
[0004] Therefore, how to enable SLAM algorithms to detect the quality of map atlases has become a technical problem that urgently needs to be solved in the industry. Summary of the Invention
[0005] The main objective of this application is to provide a method, apparatus, terminal device, and computer-readable storage medium for evaluating atlases, aiming to evaluate the atlases created by VR headsets to determine the quality of the atlases, thereby ensuring the accuracy of tracking VR headsets.
[0006] To achieve the above objectives, this application provides a method for evaluating map atlases, the method comprising the following steps:
[0007] Obtain the initial map set established by the virtual reality headset, and detect the initial map set to obtain the target rotation matrix;
[0008] A target map set is generated based on the target rotation matrix and the initial map set, and the initial pose coordinates of the virtual reality headset are determined based on the target map set;
[0009] The target map atlas is divided into regions based on the initial pose coordinates and the target map atlas, and the number of projections contained within the target map atlas is determined.
[0010] The evaluation result of the map set corresponding to the target map set is determined based on the number of projections.
[0011] Further, the step of detecting the initial map set to obtain the target rotation matrix includes:
[0012] The initial map set is detected to extract multiple keyframe data, and a dense target point cloud is established based on the multiple keyframe data.
[0013] The target dense point cloud is processed to generate multiple first sub-point clouds, and the target ground point cloud is determined from the multiple first sub-point clouds;
[0014] The target included angle value is calculated based on the target ground point set, and the target rotation matrix is calculated based on the target included angle value.
[0015] Furthermore, the step of establishing a dense cluster of target points based on multiple keyframe data includes:
[0016] The keyframe poses and keyframe images contained in each of the multiple keyframe data are obtained, and the target depth information is calculated based on each keyframe pose and each keyframe image.
[0017] A dense point cloud of the target is established based on the target depth information and multiple map feature points contained in the multiple keyframe data.
[0018] Further, the step of determining the target ground point set in multiple first sub-point sets includes:
[0019] Determine the number of feature points corresponding to each of the multiple first sub-point clouds, and filter multiple second sub-point clouds based on the number of feature points of each first sub-point cloud;
[0020] Obtain the normal vectors corresponding to each of the multiple second sub-point clouds, and determine the target ground point cloud based on each of the normal vectors in the multiple second sub-point clouds.
[0021] Further, the step of calculating the target included angle value based on the target ground point set includes:
[0022] Determine the preset target reference plane;
[0023] The target angle value is calculated based on the target normal vector corresponding to the target ground point cloud and the target reference plane.
[0024] Further, the step of determining the map set evaluation result corresponding to the target map set based on the number of projections includes:
[0025] Obtain a preset azimuth division rule, and determine multiple azimuth regions contained in the equatorial plane of the target atlas division area based on the azimuth division rule;
[0026] Based on the number of projections, the number of target projections corresponding to each of the multiple azimuth regions is determined, and the map set evaluation result corresponding to the target map set is determined according to the number of target projections.
[0027] Further, the step of determining the map set evaluation result corresponding to the target map set based on the number of each target projection includes:
[0028] A preset projection number threshold is obtained, and the number of each target projection is compared with the projection number threshold to obtain multiple comparison results;
[0029] Determine whether there are any abnormal comparison results among the multiple comparison results, wherein the abnormal comparison result is that the number of target projections is less than the projection number threshold;
[0030] If it is determined that multiple comparison results contain the abnormal comparison results, then the evaluation result of the map set corresponding to the target map set is determined to be that the target map set needs to be optimized.
[0031] If it is determined that none of the multiple comparison results contain the abnormal comparison results, then the evaluation result of the map set corresponding to the target map set is determined to be that the target map set does not need to be optimized.
[0032] Furthermore, to achieve the above objectives, this application also provides an evaluation device for map atlases, the device comprising:
[0033] The map atlas calibration module is used to acquire the initial map atlas established by the virtual reality headset and to detect the initial map atlas to obtain the target rotation matrix.
[0034] The pose calculation module is used to generate a target map set based on the target rotation matrix and the initial map set, and to determine the initial pose coordinates of the virtual reality headset based on the target map set;
[0035] The quantity calculation module is used to generate a target map set division region based on the initial pose coordinates and the target map set, and to determine the number of projections contained in the target map set division region;
[0036] The result generation module is used to determine the map set evaluation result corresponding to the target map set based on the number of projections.
[0037] In addition, to achieve the above objectives, this application also provides a terminal device, the terminal device comprising: a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the computer program, when executed by the processor, implements the steps of the map atlas evaluation method as described above.
[0038] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the atlas evaluation method described above.
[0039] The map atlas evaluation method, apparatus, terminal device, and computer-readable storage medium provided in this application embodiment acquire an initial map atlas established by a virtual reality headset and detect the initial map atlas to obtain a target rotation matrix; generate a target map atlas based on the target rotation matrix and the initial map atlas, and determine the initial pose coordinates of the virtual reality headset according to the target map atlas; generate a target map atlas partitioned region according to the initial pose coordinates and the target map atlas, and determine the number of projections contained in the target map atlas partitioned region; and determine the map atlas evaluation result corresponding to the target map atlas based on the number of projections.
[0040] In this embodiment, the terminal device first reads the virtual reality headset to obtain the initial map set established by the virtual reality headset, and detects the initial map set to obtain a target rotation matrix. Then, the terminal device rotates the initial map set based on the target rotation matrix to generate a target map set corresponding to a preset reference plane. The terminal device then determines the initial pose coordinates of the virtual reality headset based on the target map set. Next, the terminal device constructs a target map set division region based on the initial pose coordinates and the target map set, and identifies multiple map points within the target map set division region, thereby determining the target projections generated by the multiple map points within the target map set division region. The terminal device then reads the number of target projections generated within the target map set division region. Finally, the terminal device determines the map set evaluation result corresponding to the target map set based on the number of projections.
[0041] Thus, this application detects the initial map set established by the VR headset to determine the angle value between the initial map set and the preset reference plane, and obtains a rotation matrix based on the angle value. Based on the rotation matrix, the initial map set is rotated to generate a target map set corresponding to the reference plane, thereby determining the initial pose coordinates of the VR headset in the target map set. Based on the initial pose coordinates and the target map set, a target map set division region is constructed, and a map set evaluation result corresponding to the target map set is generated through the target map set division region. This solves the technical problem in related technologies where the SLAM algorithm cannot detect the quality of the map set, which leads to the SLAM algorithm being unable to accurately track the VR headset due to the low quality of the map set. It achieves the technical effect of enabling the terminal device to evaluate the map set established by the VR headset, thereby determining the quality of the map set and ensuring that the terminal device can guarantee the accuracy of tracking the VR headset when the user wears the VR headset in different poses. Attached Figure Description
[0042] Figure 1 This is a schematic diagram of the structure of the terminal device in the hardware operating environment involved in the embodiments of this application;
[0043] Figure 2 This is a flowchart illustrating the first embodiment of the evaluation method for the atlas of this application;
[0044] Figure 3 This is a schematic diagram of a scenario involved in an embodiment of the evaluation method for the map atlas of this application;
[0045] Figure 4 This is a schematic diagram of the sloping target map atlas region division involved in an embodiment of the map atlas evaluation method of this application;
[0046] Figure 5 This is a schematic diagram illustrating the division of a standard target map atlas into regions, based on an embodiment of the map atlas evaluation method of this application.
[0047] Figure 6 This is a flowchart illustrating a preferred embodiment of the evaluation method for the atlas of this application.
[0048] Figure 7 This is a schematic diagram of the ground detection process involved in an embodiment of the evaluation method for the atlas of this application;
[0049] Figure 8 This is a schematic diagram of the azimuth region involved in one embodiment of the evaluation method for the atlas of this application;
[0050] Figure 9 This is a schematic diagram of the functional modules involved in an embodiment of the evaluation device for the atlas of this application.
[0051] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0052] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0053] Reference Figure 1 , Figure 1 This is a schematic diagram of the terminal device structure of the hardware operating environment involved in the embodiments of this application.
[0054] It should be noted that the terminal device in this application embodiment can be a terminal device that executes the evaluation method of the map atlas of this application. Specifically, the terminal device can be a mobile terminal, data storage control terminal, PC, or other terminal device that is configured on a VR head-mounted device with multiple image acquisition devices and integrates SLAM algorithm.
[0055] like Figure 1 As shown, the terminal device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0056] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the terminal device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0057] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and a map atlas evaluation program.
[0058] exist Figure 1 In the terminal device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the terminal device of this application can be set in the terminal device, and the terminal device calls the evaluation program of the map atlas stored in the memory 1005 through the processor 1001 and executes the following embodiments.
[0059] Based on the aforementioned terminal devices, the overall concept of the evaluation method for the atlas of this application is provided.
[0060] Because the quality of the atlases built by VR headsets during operation is difficult to control, and the SLAM algorithm in related technologies cannot detect the quality of the atlases during operation, the SLAM algorithm is prone to failing to accurately track VR headsets due to low atlas quality.
[0061] To address the aforementioned issues, this application proposes a method for evaluating map atlases. The method includes the following steps: acquiring an initial map atlas created by a virtual reality headset and detecting the initial map atlas to obtain a target rotation matrix; generating a target map atlas based on the target rotation matrix and the initial map atlas, and determining the initial pose coordinates of the virtual reality headset based on the target map atlas; generating a target map atlas partitioned region based on the initial pose coordinates and the target map atlas, and determining the number of projections contained within the target map atlas partitioned region; and determining the map atlas evaluation result corresponding to the target map atlas based on the number of projections.
[0062] Thus, this application detects the initial map set established by the VR headset to determine the angle value between the initial map set and the preset reference plane, and obtains a rotation matrix based on the angle value. Based on the rotation matrix, the initial map set is rotated to generate a target map set corresponding to the reference plane, thereby determining the initial pose coordinates of the VR headset in the target map set. Based on the initial pose coordinates and the target map set, a target map set division region is constructed, and a map set evaluation result corresponding to the target map set is generated through the target map set division region. This solves the technical problem in related technologies where the SLAM algorithm cannot detect the quality of the map set, which leads to the SLAM algorithm being unable to accurately track the VR headset due to the low quality of the map set. It achieves the technical effect of enabling the terminal device to evaluate the map set established by the VR headset, thereby determining the quality of the map set and ensuring that the terminal device can guarantee the accuracy of tracking the VR headset when the user wears the VR headset in different poses.
[0063] Based on the overall concept of the terminal device and the evaluation method of the map atlas of this application described above, various embodiments of the evaluation method of the map atlas of this application are further proposed.
[0064] Please refer to Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the evaluation method for the atlas of this application.
[0065] It should be understood that although the logical order is shown in the flowchart, in some cases the evaluation method of this application's atlas may of course be performed in a different order than that shown or described here.
[0066] like Figure 2 As shown, in this embodiment, the evaluation method for the map atlas of this application may include the following steps:
[0067] Step S10: Obtain the initial map set established by the virtual reality headset, and detect the initial map set to obtain the target rotation matrix;
[0068] In this embodiment, when the terminal device needs to evaluate the atlas established by the virtual reality headset, the terminal device first reads the virtual reality headset to obtain the initial atlas established by the virtual reality headset. The terminal device then detects the initial atlas to calculate the target rotation matrix between the initial atlas and the preset reference plane.
[0069] For example, the terminal device first determines the reference plane in the user's room as a plane parallel to the ceiling and perpendicular to the walls of the room. In this case, please refer to... Figure 4 , Figure 4 This is a schematic diagram illustrating the division of a tilted target map atlas into regions, as described in one embodiment of the evaluation method for the map atlas of this application. Figure 4 As shown, when a user wears a VR headset, due to different wearing postures, the VR headset may not be aligned with the wall horizontally or perpendicular to the ground vertically. In this case, the reference plane used by the VR headset to build the initial atlas will have a target angle value θ with the reference plane in the room. Therefore, if the terminal device needs to evaluate the atlas built by the VR headset, it needs to first read the VR headset to obtain the initial atlas built by the VR headset. The terminal device then inputs the initial atlas into its configured SLAM module, which calls the SLAM algorithm to detect the initial atlas to determine the target rotation matrix corresponding to the target angle value θ.
[0070] It should be noted that in this embodiment and another embodiment, please refer to Figure 3 , Figure 3 This is a schematic diagram of a scenario involved in an embodiment of the evaluation method for the map atlas of this application, such as... Figure 3 As shown, when a user wears a VR headset in Figure 3 When moving within the space, the VR headset can use its multiple configured visual sensors to capture images of the surrounding environment, and then build an initial map set based on these images.
[0071] Furthermore, in a feasible embodiment, the step of "detecting the initial map set to obtain the target rotation matrix" in step S10 above may specifically include:
[0072] Step S101: Detect the initial map set to extract multiple keyframe data, and establish a dense target point cloud based on the multiple keyframe data;
[0073] In this embodiment, after acquiring the initial map set established by the virtual reality headset, the terminal device reads the initial map set to obtain the keyframe data contained in the initial map set, and establishes a target dense point cloud based on all map feature points contained in each keyframe data.
[0074] Step S102: Process the target dense point cloud to generate multiple first sub-point clouds, and determine the target ground point cloud in the multiple first sub-point clouds;
[0075] In this embodiment, the terminal device processes the established target dense point cloud to remove noise contained in the target dense point cloud, and segments the target dense point cloud to generate multiple first sub-point clouds. The terminal device then filters the multiple first sub-point clouds to determine the target ground point cloud that can represent the floor of the user's room from the multiple first sub-point clouds.
[0076] Step S103: Calculate the target included angle value based on the target ground point set, and calculate the target rotation matrix based on the target included angle value;
[0077] In this embodiment, the terminal device calculates the target angle value formed between the target ground point cloud and the reference plane in the room, and then converts the target angle value into a target rotation matrix.
[0078] For example, please refer to Figure 7 , Figure 7 This is a schematic diagram of the ground detection process involved in an embodiment of the evaluation method for the map atlas of this application, as shown below. Figure 7As shown, after the terminal device inputs the initial map set data into the SLAM module, the SLAM module reads the initial map set to obtain the keyframe data contained in the initial map set. The SLAM module then determines all the map feature points contained in each of the multiple keyframe data, and constructs a target dense point cloud based on all the map feature points contained in the multiple keyframe data. Then, the SLAM module performs a denoising operation on the target dense point cloud and divides the denoised target dense point cloud to generate multiple first sub-point cloud sets. The SLAM module then filters the multiple first sub-point cloud sets to select the target ground point cloud set that can represent the ground of the user's room. Finally, the SLAM module calculates the target angle value θ formed between the room ground represented by the target ground point cloud set and the preset reference plane, and converts the target angle value θ into a three-dimensional rotation matrix.
[0079] It should be noted that, in this embodiment and another embodiment, during the process of establishing the initial map set, whenever the VR headset acquires a current frame image, the VR headset will determine whether its configured LocalMapping thread is in a busy state. If it is determined that the LocalMapping thread is not in a busy state, the VR headset will further determine the number of map feature points contained in the current frame image. If the VR headset determines that the number of map feature points is greater than or equal to a preset feature point threshold, it will determine the current frame image as key frame data and add the key frame data to the established map set to form the aforementioned initial map set.
[0080] Furthermore, in a feasible embodiment, the step of "establishing a dense target point cloud based on multiple keyframe data" in step S101 above may specifically include:
[0081] Step S1011: Obtain the keyframe pose and keyframe image contained in each of the multiple keyframe data, and calculate the target depth information based on each keyframe pose and each keyframe image;
[0082] In this embodiment, after reading multiple keyframe data, the terminal device determines the keyframe pose of the virtual reality headset contained in each keyframe data and the keyframe image corresponding to each keyframe data. The terminal device then generates target depth information corresponding to the multiple keyframe data based on each keyframe pose and each keyframe image.
[0083] Step S1012: Establish a dense point cloud of the target based on the target depth information and multiple map feature points contained in the multiple key frame data;
[0084] In this embodiment, the terminal device reads multiple keyframe data to obtain all map feature points contained in each of the multiple keyframe images, and then the terminal device establishes a dense point cloud of the target based on the target depth information and all map feature points contained in the multiple keyframe data.
[0085] For example, such as Figure 7 As shown, after reading multiple keyframe data, the SLAM module first acquires the keyframe images contained in each keyframe data set, and the keyframe poses of the VR headset in each keyframe image. The SLAM module then calculates based on the keyframe poses and keyframe images to generate target depth information corresponding to the keyframe data. Finally, the SLAM module reads the multiple keyframe images to acquire all map feature points contained in each keyframe image. The SLAM module then constructs a dense point cloud of the target composed of multiple map feature points containing depth information based on all map feature points contained in the multiple keyframe images and the target depth information.
[0086] Furthermore, in a feasible embodiment, the step of "determining the target ground point set in multiple first sub-point cloud sets" in step S102 above may specifically include:
[0087] Step S1021: Determine the number of feature points corresponding to each of the multiple first sub-point clouds, and filter multiple second sub-point clouds from the multiple first sub-point clouds based on the number of feature points.
[0088] In this embodiment, after the terminal device divides the target dense point cloud into multiple first sub-point cloud sets, the terminal device reads each of the multiple first sub-point cloud sets to determine the number of feature points contained in each of the multiple first sub-point cloud sets. The terminal device then filters the multiple first sub-point cloud sets based on the number of each feature point to determine multiple second sub-point cloud sets with a larger number of feature points among the multiple first sub-point cloud sets.
[0089] Step S1022: Obtain the normal vectors corresponding to each of the multiple second sub-point clouds, and determine the target ground point cloud based on each normal vector in the multiple second sub-point clouds;
[0090] In this embodiment, the terminal device reads multiple second sub-point clouds to determine the normal vectors corresponding to each of the multiple second sub-point clouds. The terminal device then filters the multiple second sub-point clouds again based on each normal vector to determine the target ground point cloud that can represent the ground of the room where the user is located from the multiple second sub-point clouds.
[0091] For example, such as Figure 7As shown, after dividing the dense point cloud of the target into multiple first sub-point clouds, the SLAM module reads each of the multiple first sub-point clouds to determine the number of feature points contained in each of the multiple first sub-point clouds. At the same time, the SLAM module obtains the target point count threshold preset by the technician and compares the number of feature points corresponding to each of the multiple first sub-point clouds with the target point count threshold to determine multiple second sub-point clouds in which the number of feature points is greater than or equal to the target point count threshold. Then, the SLAM module reads the multiple second sub-point clouds to determine the normal vectors corresponding to each of the multiple second sub-point clouds, and calculates the discrete value corresponding to each of the multiple second sub-point clouds through each normal vector. The SLAM module then determines whether each second sub-point cloud is planar based on each discrete value, thereby determining the target ground point cloud that can represent the floor of the room where the VR headset is located in each second sub-point cloud.
[0092] Furthermore, in a feasible embodiment, the step of "calculating the target included angle value based on the target ground point set" in step S103 above may specifically include:
[0093] Step S1031: Determine the preset target reference plane;
[0094] In this embodiment, after the terminal device filters out the cluster of target ground points, it first determines the target reference plane preset by the technician that corresponds to the room where the virtual reality headset is located.
[0095] Step S1032: Calculate the target angle value based on the target normal vector corresponding to the target ground point cloud and the target reference plane;
[0096] In this embodiment, the terminal device obtains the target normal vector corresponding to the target ground point cloud and compares the target normal vector with the target reference plane to determine the target angle value formed between the target normal vector and the target reference plane.
[0097] For example, such as Figure 7 As shown, after filtering the target ground point cloud, the SLAM module first determines the target reference plane (0,0,1) preset by the technician and corresponding to the room where the VR headset is located. Then, the SLAM module reads the target ground point cloud to obtain the target normal vector corresponding to the target ground point cloud. The SLAM module then compares the target normal vector with the target reference plane (0,0,1) to determine the target angle value θ formed between the target normal vector and the target reference plane (0,0,1).
[0098] It should be noted that, in this embodiment, the target reference plane (0,0,1) is a reference plane parallel to the room floor, determined by the technician in a three-dimensional coordinate system constructed with the center point of the room where the VR headset is located as the origin and parallel to the room floor, room walls and room ceiling. It is understood that the specific coordinates of the target reference plane can be modified by the technician according to their own needs, and this application does not limit this.
[0099] Step S20: Generate a target map set based on the target rotation matrix and the initial map set, and determine the initial pose coordinates of the virtual reality headset based on the target map set;
[0100] In this embodiment, the terminal device rotates the initial map set generated by the virtual reality headset based on the calculated target rotation matrix, thereby generating a target map set corresponding to the preset reference plane. The terminal device then detects the virtual reality headset according to the target map set to determine the initial pose coordinates of the virtual reality headset.
[0101] For example, after calculating the target rotation matrix corresponding to the target angle value θ, the SLAM module rotates the initial map set generated by the VR headset based on the target rotation matrix to rotate the initial map set by the target angle value θ, thereby generating a target map set corresponding to the target reference plane preset by the technician. The SLAM module then identifies multiple image feature points contained in the target map set through its configured ORB algorithm, and determines the feature description values corresponding to each of the multiple image feature points through the target map set. The SLAM module then calls the preset PNP algorithm to perform nonlinear optimization solution on the multiple feature description values, thereby calculating the pose coordinates of the VR headset in the target map set. The SLAM module then determines the pose coordinates of the VR headset in the target map set as the initial pose coordinates of the VR headset.
[0102] Step S30: Generate a target map set partition region based on the initial pose coordinates and the target map set, and determine the number of projections contained in the target map set partition region;
[0103] In this embodiment, the terminal device uses the determined initial pose coordinates as the target space center, and constructs a target map atlas division region based on the target space center and the acquired target map atlas. The terminal device then identifies the target map atlas division region to determine the multiple map points contained within the target map atlas division region, and identifies the equatorial plane within the target map atlas division region to determine the target projection formed on the equatorial plane by the target vectors formed between the multiple feature points and the target space center. The terminal device then determines the number of projections in the equatorial plane based on each of the target projections.
[0104] For example, please refer to Figure 5 , Figure 5 This is a schematic diagram illustrating the division of a standard target map atlas into regions, based on an embodiment of the map atlas evaluation method of this application. Figure 5As shown, the SLAM module first uses the initial pose coordinates of the VR headset as the center of the target space, and determines the ceiling of the room above the VR headset based on the acquired target map. The SLAM module then determines the North Pole, which is located above the center of the target space and intersects with the ceiling. Simultaneously, the SLAM module determines the floor of the room below the VR headset based on the acquired target map, and then determines the South Pole, which is located below the center of the target space and intersects with the floor. Next, the SLAM module determines the walls of the room surrounding the VR headset based on the target map. Based on the acquired North and South Poles, the SLAM module constructs an equatorial plane perpendicular to the meridians connecting the North and South Poles at a 90° angle, intersecting each of the walls of the room surrounding the VR headset. A spherical space is generated based on the North and South Poles and the equatorial plane. After generating the equatorial plane, the SLAM module reads the terminal device to obtain the pre-set area division rules of the technicians, and determines the target interval to be 30° according to these rules. The SLAM module uses the equatorial plane as a reference and divides the spherical space into four regions at 30° intervals, one towards the North Pole and the other towards the South Pole. These regions are: R1 (0°-30°), R2 (30°-60°), R3 (60°-90°), R4 (90°-120°), R5 (120°-150°), and R6 (150°-180°). The SLAM module then integrates these multiple target regions (R1 to R6) to generate... The target atlas is divided into regions. The SLAM module identifies these regions and uses the ORB algorithm to identify multiple map points within them. These map points are then connected to the target space center to form multiple target vectors. These target vectors are then projected onto the equatorial plane. The SLAM module then detects the equatorial plane to determine the target projections formed by each target vector on it. Finally, the SLAM module determines the number of projections within the equatorial plane based on each target projection.
[0105] Step S40: Determine the map set evaluation result corresponding to the target map set based on the number of projections;
[0106] In this embodiment, the terminal device divides the equatorial plane into multiple azimuth regions and determines the target projection quantity corresponding to each of the multiple azimuth regions based on the multiple azimuth regions and the number of projections. The terminal device then determines the map set evaluation result corresponding to the target map set based on the number of target projections and inputs the map set evaluation result to the virtual reality headset. The virtual reality headset displays the map set evaluation result to the user wearing the virtual reality headset through its own configured display device, so that the user can save the target map set or optimize the target map set based on the map set evaluation result.
[0107] Furthermore, in a feasible embodiment, step S40 above may specifically include:
[0108] Step S401: Obtain the preset azimuth division rules, and determine the multiple azimuth regions contained in the equatorial plane of the target atlas division area based on the azimuth division rules;
[0109] In this embodiment, after determining the number of projections contained in the equatorial plane, the terminal device obtains the azimuth division rules preset by the technicians, and divides the equatorial plane based on the azimuth division rules to divide multiple azimuth regions within the equatorial plane.
[0110] Step S402: Determine the number of target projections corresponding to each of the multiple azimuth regions based on the number of projections, and determine the map set evaluation result corresponding to the target map set according to the number of target projections;
[0111] In this embodiment, the terminal device determines the number of target projections corresponding to each of the multiple azimuth regions based on the number of projections and the location information of each of the multiple target projections. The terminal device then determines the map set evaluation result corresponding to the target map set based on the number of each target projection.
[0112] For example, please refer to Figure 8 , Figure 8 This is a schematic diagram of the azimuth region involved in an embodiment of the evaluation method for the atlas of this application. After determining the number of projections contained in the equatorial plane, the SLAM module reads the terminal device to obtain the azimuth division rules preset by the technician, and divides the equatorial plane based on the azimuth division rules to divide the equatorial plane into areas such as... Figure 8 The diagram shows azimuth regions 1, 2, 3, and 4. Then, the SLAM module determines the number of target projections corresponding to each of the azimuth regions 1, 2, 3, and 4 based on the number of projections and the position information corresponding to each of the multiple target projections. Based on the number of each target projection, the SLAM module determines the map set evaluation result corresponding to the target map set.
[0113] Furthermore, in a feasible embodiment, the step of "determining the map set evaluation result corresponding to the target map set based on the number of each target projection" in step S402 above may specifically include:
[0114] Step S4021: Obtain a preset projection number threshold, and compare the number of each target projection with the projection number threshold to obtain multiple comparison results;
[0115] In this embodiment, while acquiring the number of multiple target projections, the terminal device also acquires a projection number threshold preset by the technician, and compares the number of multiple target projections with the projection number threshold to obtain multiple comparison results.
[0116] Step S4022: Determine whether there are any abnormal comparison results among the multiple comparison results, wherein the abnormal comparison result is that the number of target projections is less than the projection number threshold;
[0117] In this embodiment, the terminal device reads each comparison result and determines whether there are any abnormal comparison results among the multiple comparison results, where the number of target projections is less than the projection number threshold.
[0118] Step S4023: If it is determined that multiple comparison results contain the abnormal comparison results, then the map set evaluation result corresponding to the target map set is determined to be that the target map set needs to be optimized;
[0119] In this embodiment, if the terminal device determines that there are abnormal comparison results among multiple comparison results, it determines that the target map set contains fewer map points, and the terminal device then determines that the map set evaluation result is that the target map set needs to be optimized.
[0120] Step S4024: If it is determined that the abnormal comparison result is not included among the multiple comparison results, then the evaluation result of the map set corresponding to the target map set is determined to be that the target map set does not need to be optimized;
[0121] In this embodiment, if the terminal device determines that there are no abnormal comparison results among multiple comparison results, it determines that the number of map points contained in the target map set is sufficient and the quality of the map points contained in the target map set is high. The terminal device then determines that the map set evaluation result corresponding to the target map set is that the target map set does not need to be optimized.
[0122] For example, while acquiring the number of target projections corresponding to azimuth regions 1 to 4, the SLAM module reads the terminal device to obtain a projection number threshold preset by the technician. The SLAM module then compares the number of target projections corresponding to each of azimuth regions 1 to 4 with this projection number threshold to determine the relationship between the number of target projections and the threshold, thereby generating four comparison results. The SLAM module then reads the four comparison results sequentially and determines whether any of the four comparison results contain an abnormal comparison result where the number of target projections is less than the projection number threshold. If the SLAM module determines that the four comparison results contain such an abnormal comparison result... SLAM determines that the target atlas contains insufficient map points, thus determining that the atlas evaluation result requires optimization. Conversely, if the SLAM module determines that the abnormal comparison result is not included among the four comparison results, SLAM determines that the target atlas contains sufficient map points, thus determining that the atlas evaluation result does not require optimization. Finally, SLAM inputs the generated atlas evaluation result into the VR headset, which, based on its configured display module, displays the atlas evaluation result to the user wearing the VR headset, allowing the user to save the target atlas or optimize it based on the evaluation result.
[0123] In this embodiment, when the terminal device needs to evaluate the atlas created by the virtual reality headset, the terminal device first reads the virtual reality headset to obtain the initial atlas created by the virtual reality headset. The terminal device then detects the initial atlas to calculate the target rotation matrix between the initial atlas and a preset reference plane. Next, the terminal device rotates the initial atlas generated by the virtual reality headset based on the calculated target rotation matrix, thereby generating a target atlas corresponding to the preset reference plane. The terminal device then detects the virtual reality headset according to the target atlas to determine the initial pose coordinates of the virtual reality headset. Subsequently, the terminal device uses the determined initial pose coordinates as the target space center and constructs a target atlas region based on the target space center and the obtained target atlas. The terminal device then identifies the target atlas region. The system identifies multiple map points within the target map atlas's defined area and identifies the equatorial plane within that area. It then determines the target projections formed by the target vectors between each feature point and the target spatial center on the equatorial plane. The terminal device further determines the number of projections within the equatorial plane based on these projections. Finally, the terminal device divides the equatorial plane into multiple azimuth regions and determines the number of target projections corresponding to each azimuth region based on these regions and the number of projections. The terminal device then determines the map atlas evaluation result based on the number of target projections and inputs this evaluation result into a virtual reality headset. The headset then displays the evaluation result to the user wearing the headset via its own display device, allowing the user to save or optimize the target map atlas based on the evaluation result.
[0124] Thus, this application detects the initial map set established by the VR headset to determine the angle value between the initial map set and the preset reference plane, and obtains a rotation matrix based on the angle value. Based on the rotation matrix, the initial map set is rotated to generate a target map set corresponding to the reference plane, thereby determining the initial pose coordinates of the VR headset in the target map set. Based on the initial pose coordinates and the target map set, a target map set division region is constructed, and a map set evaluation result corresponding to the target map set is generated through the target map set division region. This solves the technical problem in related technologies where the SLAM algorithm cannot detect the quality of the map set, which leads to the SLAM algorithm being unable to accurately track the VR headset due to the low quality of the map set. It achieves the technical effect of enabling the terminal device to evaluate the map set established by the VR headset, thereby determining the quality of the map set and ensuring that the terminal device can guarantee the accuracy of tracking the VR headset when the user wears the VR headset in different poses.
[0125] Based on the first embodiment of the evaluation method for the atlas of this application described above, a second embodiment of the evaluation method for the atlas of this application is hereby proposed.
[0126] Furthermore, in a feasible embodiment, after step S4023 above, the evaluation method for the atlas of this application may further include the following steps:
[0127] Step A10: Based on the anomaly comparison results, determine the target azimuth region in multiple azimuth regions, and determine the point optimization region in multiple target regions within the target map atlas division area according to the target azimuth region;
[0128] In this embodiment, when the terminal device determines that the evaluation result of the target map set indicates that the target map set needs optimization, the terminal device determines the target azimuth region in the equatorial plane where the number of map points is less than the projection number threshold based on the map evaluation result. At the same time, the terminal device reads the multiple target projections contained in the target azimuth region, and thus determines the point optimization area that needs to be supplemented with map points in the multiple target regions contained in the target map set division area based on the map points corresponding to each of the multiple target projections and the target azimuth region.
[0129] Step A20: Generate optimization prompt information based on the optimized location area, and output the optimization prompt information to the virtual reality headset, so that the virtual reality headset can collect target map points within the optimized location area;
[0130] In this embodiment, the terminal device generates optimization prompt information based on the optimized location area and outputs the optimization prompt information to the virtual reality headset. The virtual reality headset then displays the optimization prompt information to the user through its own configured display module, thereby allowing the user to change the pose of the virtual reality headset based on the optimization prompt information to align with the optimized location area indicated by the optimization prompt information, and to collect target map points that are not recorded in the target map atlas through the optimized location area.
[0131] Step A30: Optimize the target map set based on the target map points to obtain an optimized map set;
[0132] In this embodiment, the virtual reality headset optimizes the target map set based on the acquired target map points to generate an optimized map set, and stores the optimized map set for positioning and tracking.
[0133] For example, when the SLAM module determines that the target atlas needs optimization, it identifies target azimuth regions with fewer target projections than a threshold number within azimuth regions 1 to 4 on the equatorial plane, based on the atlas evaluation result. Simultaneously, based on the map points corresponding to each target projection within these target azimuth regions, the SLAM module determines point optimization regions R1 to R6 within the target regions defined by the target atlas. n The SLAM module then optimizes the region R based on this point. n An optimization prompt message is generated and input into the VR headset. The VR headset then displays this message to the user based on its configured display device, allowing the user to adjust the VR headset accordingly. This enables the VR headset to capture the optimized area R at the specified location. n For target map points that are not recorded in the target map set, the VR headset then optimizes its own target map set based on these target map points to obtain an optimized map set, and saves the optimized map set so that the SLAM module can use the optimized map set to track the VR headset's own pose coordinates.
[0134] Thus, even when a user wears the VR headset at different angles, the terminal device can determine the area of point optimization that needs to be supplemented with map points based on a preset reference plane when it needs to optimize the target atlas. It can then generate optimization information corresponding to the optimization area and guide the user to rotate the virtual reality headset to change their posture. This optimization information will then be used to identify the target map points in the optimization area that are not recorded in the atlas, thereby completing the optimization of the target atlas.
[0135] Based on the first and / or second embodiments of the evaluation method for the atlas of this application described above, a preferred embodiment of the evaluation method for the atlas of this application is proposed herein.
[0136] When a user wears a VR headset and changes its pose to any angle, if the terminal device directly generates a value based on the real-time pose of the VR headset, such as... Figure 4 When the target map atlas is divided into regions to determine the optimization areas where map points need to be added, and optimization prompts are generated based on these optimization areas, users may not accurately understand the content contained in the prompts. (For example, in the case shown in Figure 4, when the optimization prompt is "Map points need to be added to the area directly in front," the user may not understand whether the area directly in front refers to the horizontal area of their current room or the area under their current pose.) Figure 4 (The regions corresponding to target regions R3 and R4);
[0137] Further, please refer to Figure 6 , Figure 6 This is a flowchart illustrating a preferred embodiment of the evaluation method for the map atlas of this application, as shown below. Figure 6 As shown, in this embodiment, when a user wears a VR headset at any angle, if the terminal device needs to evaluate the initial map set established by the VR headset, it first reads the VR headset to obtain the initial map set established by the VR headset, and inputs the initial map set into its configured SLAM module. The SLAM module performs ground detection operations to identify the initial map set, extract multiple keyframe data contained in the initial map set, and identify the keyframe poses and keyframe images contained in each of the multiple keyframe data. The SLAM module then calculates the target depth information based on each keyframe pose and each keyframe image, and establishes a target dense point cloud based on the target depth information and all map feature points contained in the multiple keyframe images. The SLAM module then performs a ground detection operation on the target dense point cloud. The dense point cloud is denoised and divided into multiple first sub-point cloud sets. SLAM then filters these first sub-point cloud sets using plane normal vectors and point counts to select target ground sub-point cloud sets that contain a sufficient number of feature points and can represent the floor of the room where the VR headset is located. The SLAM module then determines the target normal vector corresponding to the target ground sub-point cloud set and calculates the target angle value θ between the target normal vector and the reference plane (0, 0, 1) selected with the room where the VR headset is located. The SLAM module then converts the target angle value θ into a three-dimensional rotation matrix and performs a map rotation operation to modify the initial map set created by the VR headset based on the three-dimensional rotation matrix to generate the target map set.
[0138] Next, the SLAM module executes the map evaluation process, thereby determining the initial pose coordinates of the VR headset within the target map set based on the target map set and the preset normal SLAM tracking strategy. The SLAM module then constructs a sphere with these initial pose coordinates as the center, as shown below. Figure 5 The target atlas is defined as a region consisting of target annular regions R1 to R6, parallel to the equatorial plane and the floor of the room where the VR headset is located. The SLAM module reads this target atlas region and identifies multiple map points within it using a preset ORB algorithm. Based on these map points, the SLAM module determines the number of map points in each of the target annular regions R1 to R6, and calculates the target vectors formed between each map point and the target spatial center point of the target atlas region. The SLAM module then projects these target vectors onto the equatorial plane of the target atlas region. The equatorial plane is divided into azimuth regions 1 to azimuth regions 4. The SLAM module then reads the number of target projections formed by the target vector projection in each of the azimuth regions 1 to azimuth regions 4, and compares each number of target projections with a preset projection number threshold to obtain multiple comparison results. When the SLAM module determines that the number of target projections is greater than or equal to the projection number threshold, it determines that the evaluation result of the target map set is that the target map set does not need to be optimized. The SLAM module then controls the VR headset to save the target map set and ends the evaluation operation of the target map set.
[0139] If the SLAM module determines that multiple comparison results are not all greater than or equal to the target projection number threshold, it determines that the map set evaluation result corresponding to the target map set needs optimization. The SLAM module then determines the target azimuth region lacking map points in azimuth region 1 to azimuth region 4 based on this evaluation result. Furthermore, based on the position information of the map points corresponding to multiple target projections within this target azimuth region, it determines the point optimization region R that needs to supplement map points in target annular region R1 to target annular region R6. n And optimize region R based on this point. n An optimization prompt message is generated, and the SLAM module then inputs this message into the VR headset. The VR headset, based on its configured display device, continuously displays the optimization prompt message to the user wearing the headset, guiding the user to change the VR headset's pose, thereby enabling the VR headset to identify the optimized area R. nIt includes target map points that are not recorded in the target map set, collects each of these target map points to optimize the target map set, and then performs a save operation on the optimized target map set.
[0140] In this way, even when users wear VR headsets at different angles, the terminal device can rotate the map atlas generated by the VR headset based on a preset reference plane. When the map atlas needs to be optimized, it generates optimization prompts based on the reference plane, thus accurately guiding users to adjust the pose of the VR headset according to the optimization prompts to optimize the map atlas. This avoids the situation where users may not be able to accurately understand the optimization information when there is no reference plane.
[0141] Furthermore, to achieve the above objectives, this application also provides an evaluation device for map atlases, please refer to... Figure 9 , Figure 9 This is a schematic diagram of the functional modules involved in an embodiment of the evaluation device for the map atlas of this application, as shown below. Figure 9 As shown, the device includes:
[0142] The map atlas calibration module 10 is used to acquire the initial map atlas established by the virtual reality head-mount device and to detect the initial map atlas to obtain the target rotation matrix.
[0143] Pose calculation module 20 is used to generate a target map set based on the target rotation matrix and the initial map set, and to determine the initial pose coordinates of the virtual reality headset based on the target map set;
[0144] The quantity calculation module 30 is used to generate a target map set division region based on the initial pose coordinates and the target map set, and to determine the number of projections contained in the target map set division region;
[0145] The result generation module 40 is used to determine the map set evaluation result corresponding to the target map set based on the number of projections.
[0146] Furthermore, the atlas calibration module 10 includes:
[0147] A point cloud building unit is used to detect the initial map set to extract multiple key frame data, and to build a target dense point cloud set based on the multiple key frame data.
[0148] A point cloud filtering unit is used to process the target dense point cloud set to generate multiple first sub-point cloud sets, and to determine the target ground point cloud set among the multiple first sub-point cloud sets;
[0149] The matrix calculation unit is used to calculate the target included angle value based on the target ground point set, and to calculate the target rotation matrix based on the target included angle value.
[0150] Furthermore, the point cloud building unit includes:
[0151] The information extraction subunit is used to acquire the key frame pose and key frame image contained in each of the multiple key frame data, and to calculate the target depth information based on each key frame pose and each key frame image.
[0152] The dense point cloud establishment subunit is used to establish a dense point cloud of the target based on the target depth information and multiple map feature points contained in the multiple key frame data.
[0153] Furthermore, the point cloud filtering unit includes:
[0154] The first filtering subunit is used to determine the number of feature points corresponding to each of the multiple first sub-point clouds, and to filter multiple second sub-point clouds based on the number of feature points.
[0155] The second filtering subunit is used to obtain the normal vectors corresponding to each of the multiple second sub-point clouds, and to determine the target ground point cloud based on each of the normal vectors in the multiple second sub-point clouds.
[0156] Furthermore, the matrix calculation unit includes:
[0157] The reference plane acquisition sub-unit is used to determine the preset target reference plane;
[0158] The included angle calculation subunit is used to calculate the included angle value of the target based on the target normal vector corresponding to the target ground point cloud and the target reference plane.
[0159] Furthermore, the result generation module 40 includes:
[0160] A plane division unit is used to obtain a preset azimuth division rule and determine multiple azimuth regions contained in the equatorial plane of the target atlas division area based on the azimuth division rule.
[0161] A plane recognition unit is used to determine the number of target projections corresponding to each of the multiple azimuth regions based on the number of projections, and to determine the map set evaluation result corresponding to the target map set based on the number of target projections.
[0162] Furthermore, the planar recognition unit includes:
[0163] The quantity comparison subunit is used to obtain a preset projection quantity threshold and compare the quantity of each target projection with the projection quantity threshold to obtain multiple comparison results.
[0164] The result detection subunit is used to determine whether there are any abnormal comparison results among the multiple comparison results, wherein the abnormal comparison result is that the number of target projections is less than the projection number threshold.
[0165] The first generation subunit is used to determine that the map set evaluation result corresponding to the target map set needs to be optimized if it is determined that the abnormal comparison result is included in multiple comparison results.
[0166] The second generation subunit is used to determine that the evaluation result of the target map set is that the target map set does not need to be optimized if it is determined that the abnormal comparison result is not included among the multiple comparison results.
[0167] In addition, this application also provides a terminal device having a computer program that can run on a processor, wherein when the terminal device executes the computer program, it implements the steps of the atlas evaluation method as described in any of the above embodiments.
[0168] The specific embodiments of the terminal device in this application are basically the same as the embodiments of the evaluation method of the above-mentioned map atlas, and will not be described in detail here.
[0169] In addition, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the atlas evaluation method as described in any of the above embodiments.
[0170] The specific embodiments of the computer-readable storage medium of this invention are basically the same as the embodiments of the evaluation method of the above-mentioned atlas, and will not be described in detail here.
[0171] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0172] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0173] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0174] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. An atlas evaluation method, characterized by, The evaluation method for the atlas includes the following steps: Obtain the initial map set created by the virtual reality headset; The initial map set is detected to extract multiple keyframe data, and a dense target point cloud is established based on the multiple keyframe data. The target dense point cloud is processed to generate multiple first sub-point clouds, and the target ground point cloud is determined from the multiple first sub-point clouds; The target included angle value is calculated based on the target ground point set, and the target rotation matrix is calculated based on the target included angle value; A target map set is generated based on the target rotation matrix and the initial map set, and the initial pose coordinates of the virtual reality headset are determined based on the target map set; The target map atlas is divided into regions based on the initial pose coordinates and the target map atlas, and the number of projections contained within the target map atlas is determined. Obtain a preset azimuth division rule, and determine multiple azimuth regions contained in the equatorial plane of the target atlas division area based on the azimuth division rule; The number of target projections corresponding to each of the multiple azimuth regions is determined based on the number of projections. A preset projection number threshold is obtained, and the number of each target projection is compared with the projection number threshold to obtain multiple comparison results; Determine whether there are any abnormal comparison results among the multiple comparison results, wherein the abnormal comparison result is that the number of target projections is less than the projection number threshold; If it is determined that multiple comparison results contain the abnormal comparison results, then the evaluation result of the map set corresponding to the target map set is determined to be that the target map set needs to be optimized. If it is determined that none of the multiple comparison results contain the abnormal comparison results, then the evaluation result of the map set corresponding to the target map set is determined to be that the target map set does not need to be optimized.
2. The method of evaluating an atlas according to claim 1, wherein The step of establishing a dense cluster of target points based on multiple keyframe data includes: The keyframe poses and keyframe images contained in each of the multiple keyframe data are obtained, and the target depth information is calculated based on each keyframe pose and each keyframe image. A dense point cloud of the target is established based on the target depth information and multiple map feature points contained in the multiple keyframe data.
3. The method of evaluating an atlas according to claim 1, wherein The step of determining the target ground point cloud set in multiple first sub-point cloud sets includes: Determine the number of feature points corresponding to each of the multiple first sub-point clouds, and filter multiple second sub-point clouds based on the number of feature points of each first sub-point cloud; Obtain the normal vectors corresponding to each of the multiple second sub-point clouds, and determine the target ground point cloud based on each of the normal vectors in the multiple second sub-point clouds.
4. The method of evaluating an atlas according to claim 1, wherein The step of calculating the target included angle value based on the target ground point set includes: Determine the preset target reference plane; The target angle value is calculated based on the target normal vector corresponding to the target ground point cloud and the target reference plane.
5. An atlas evaluation apparatus characterized by comprising: The device includes: A map atlas calibration module is used to acquire an initial map atlas established by a virtual reality headset; to detect the initial map atlas to extract multiple keyframe data, and to establish a target dense point cloud based on the multiple keyframe data; to process the target dense point cloud to generate multiple first sub-point clouds, and to determine a target ground point cloud in the multiple first sub-point clouds; to calculate the target included angle value based on the target ground point cloud, and to calculate the target rotation matrix based on the target included angle value; The pose calculation module is used to generate a target map set based on the target rotation matrix and the initial map set, and to determine the initial pose coordinates of the virtual reality headset based on the target map set; The quantity calculation module is used to generate a target map set division region based on the initial pose coordinates and the target map set, and to determine the number of projections contained in the target map set division region; The result generation module is used to obtain a preset azimuth division rule, and determine multiple azimuth regions contained in the equatorial plane of the target map atlas division area based on the azimuth division rule; determine the number of target projections corresponding to each of the multiple azimuth regions based on the number of projections; obtain a preset projection number threshold, and compare each of the target projection numbers with the projection number threshold to obtain multiple comparison results; determine whether the multiple comparison results contain abnormal comparison results, wherein the abnormal comparison result is that the number of target projections is less than the projection number threshold; if it is determined that the multiple comparison results contain the abnormal comparison result, then the map atlas evaluation result corresponding to the target map atlas is determined to be that the target map atlas needs optimization; if it is determined that the multiple comparison results do not contain the abnormal comparison result, then the map atlas evaluation result corresponding to the target map atlas is determined to be that the target map atlas does not need optimization.
6. A terminal device, characterized in that, The terminal device includes: a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the computer program, when executed by the processor, implements the steps of the atlas evaluation method as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the evaluation method for the atlas as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Point cloud map initialization method and device
CN113129369A
High-precision map generation method and device, equipment and storage medium
CN113326769A
