Three-dimensional data characteristic value determination method and device, equipment and storage medium

By calculating the quantity and morphological dimension weight of three-dimensional data and determining the characteristic values, the problem of singleness in the calculation of three-dimensional data characteristic values ​​in the existing technology is solved, and the accuracy of perception and decision-making of robots and autonomous driving systems is improved.

CN118708935APending Publication Date: 2024-09-27NEUSOFT REACH AUTOMOBILE TECH (SHENYANG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410797203.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The existing three-dimensional data feature value calculation method is relatively simple and cannot fully capture the subtle differences and complex patterns of the data, which limits the perception capabilities and decision-making accuracy of robots, advanced assisted driving and autonomous driving systems.

Method used

By obtaining three-dimensional feature data, calculating the weight of the quantitative dimension and the morphological dimension, and combining the magnitude weight and the morphological weight, the three-dimensional data feature value is determined, taking into account both the quantitative characteristics of the data and its geometric composition volume, so as to reflect the data characteristics more comprehensively.

Benefits of technology

It improves the accuracy of eigenvalues ​​of three-dimensional data, enhances the perception capabilities and decision-making accuracy of robots, advanced assisted driving and autonomous driving systems, and avoids the loss of single-dimensional information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708935A
    Figure CN118708935A
Patent Text Reader

Abstract

The invention provides a three-dimensional data characteristic value determination method and device, equipment and a storage medium. When the method is executed, three-dimensional feature data are acquired firstly; respectively calculating the weight corresponding to each dimension of the three-dimensional feature data based on the three-dimensional feature data; the dimensions of the three-dimensional feature data at least comprise the number dimension and the form dimension, the weight corresponding to the number dimension is the magnitude weight, and the weight corresponding to the form dimension is the form weight; and finally, determining a three-dimensional data feature value according to the magnitude weight of the three-dimensional feature data and the form weight of the three-dimensional feature data. By calculating the weights of the multiple dimensions and determining the feature values according to the weights of the multiple dimensions, the accuracy of the feature values is ensured, and the features of the three-dimensional data can be reflected more truly. Therefore, the three-dimensional data can be more accurately understood and analyzed, and the perception ability and decision accuracy of the robot, the advanced auxiliary driving system and the automatic driving system are further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for determining a three-dimensional data feature value. Background Art

[0002] With the rapid development of robotics, advanced driver assistance systems (ADAS) and autonomous driving technologies, the performance requirements for sensor data processing and perception modules are also increasing. In these fields, robots or autonomous driving vehicles are usually equipped with one or more single or multiple types of sensors, such as lidar, millimeter wave radar, cameras, etc., to obtain information about the surrounding environment.

[0003] Taking autonomous vehicles as an example, the sensors installed on the vehicles can collect environmental data in real time. After preprocessing and characterization, these data are input into the perception module for further analysis and understanding. In the perception process, the original input data of the sensor ultimately determines its role and weight in the perception module in the form of different eigenvalues. These eigenvalues ​​not only reflect the essential characteristics of the sensor data, but also affect the perception module's cognition and judgment of the environment.

[0004] However, the existing eigenvalue calculation methods are often relatively simple or simple, and cannot fully present the rich feature expression of the data. For example, some methods simply set the eigenvalue by judging whether there is data in a certain grid (such as setting it to 1 if it exists and setting it to 0 if it does not exist), or perform simple summation or average operations on the data in the grid, and use these simple statistics to represent the eigenvalue of the grid. Although these methods are simple and easy to implement, they cannot fully capture the subtle differences and complex patterns in the data, thus limiting the performance and accuracy of the perception module.

[0005] Therefore, how to more accurately determine the characteristic values ​​of three-dimensional data and improve the perception ability and decision-making accuracy of robots, advanced driver assistance and autonomous driving systems is a technical problem that needs to be solved urgently. Summary of the invention

[0006] In view of this, the present application provides a method, device, equipment and storage medium for determining three-dimensional data feature values, aiming to more accurately determine the three-dimensional data feature values ​​and improve the perception ability and decision-making accuracy of robots, advanced driver assistance and autonomous driving systems.

[0007] In a first aspect, the present application provides a method for determining a feature value of three-dimensional data, characterized in that the method comprises:

[0008] Acquire three-dimensional feature data; the three-dimensional feature data is obtained by feature extraction from the three-dimensional data to be processed;

[0009] Based on the three-dimensional feature data, weights corresponding to the dimensions of the three-dimensional feature data are calculated respectively; the dimensions of the three-dimensional feature data include at least a quantity dimension and a morphological dimension, the weight corresponding to the quantity dimension is a magnitude weight, and the weight corresponding to the morphological dimension is a morphological weight; the magnitude weight represents the number of feature data retained within a unit resolution; the morphological weight represents the geometric composition volume of the feature data within a unit resolution;

[0010] The three-dimensional data feature value is determined according to the magnitude weight of the three-dimensional feature data and the morphological weight of the three-dimensional feature data.

[0011] Optionally, the acquiring three-dimensional feature data includes:

[0012] Acquire sampling scenes of original three-dimensional feature data; the sampling scenes include at least a first sampling scene and a second sampling scene;

[0013] When the sampling scene of the original three-dimensional feature data is a first sampling scene, in response to the density of the original three-dimensional feature data being less than a first preset density threshold, performing an upsampling operation to obtain the three-dimensional feature data; the first preset density threshold corresponds to the first sampling scene;

[0014] When the sampling scene of the original three-dimensional feature data is a second sampling scene, in response to the density of the original three-dimensional feature data being greater than a second preset density threshold, a downsampling operation is performed to obtain three-dimensional feature data; the second preset density threshold corresponds to the second sampling scene.

[0015] Optionally, the representation form of the three-dimensional feature data includes one or more of raw data, three-dimensional model, three-dimensional point cloud, voxel representation, depth image, triangular mesh, and RGB-D image.

[0016] Optionally, determining the three-dimensional data feature value according to the magnitude weight of the three-dimensional feature data and the morphology weight of the three-dimensional feature data includes:

[0017] Pre-setting a magnitude weight coefficient corresponding to the magnitude weight and a morphology weight coefficient corresponding to the morphology weight;

[0018] The sum of the product of the magnitude weight of the three-dimensional feature data and the magnitude weight coefficient and the product of the morphological weight of the three-dimensional feature data and the morphological weight coefficient is calculated to obtain the three-dimensional data feature value.

[0019] Optionally, when the dimension of the three-dimensional feature data is a quantity dimension, respectively calculating the weights corresponding to the dimensions of the three-dimensional feature data based on the three-dimensional feature data includes:

[0020] A unit resolution and a reference value of the amount of data within the unit resolution are defined; the unit resolution is a cubic area of ​​a preset size;

[0021] In each cubic area, count the number of feature points;

[0022] The ratio of the number of feature points in each cubic area to the data volume reference value is calculated to obtain the magnitude weight of the three-dimensional feature data.

[0023] Optionally, when the dimension of the three-dimensional feature data is a morphological dimension, the step of respectively calculating the weights corresponding to the dimensions of the three-dimensional feature data based on the three-dimensional feature data includes:

[0024] A unit resolution and a volume reference value within the unit resolution are defined; the unit resolution is a cubic area of ​​a preset size;

[0025] Dividing the three-dimensional data space into a plurality of cubic regions of the unit resolution;

[0026] Calculate the volume of the convex polyhedron enclosed by the characteristic points in each cubic area;

[0027] The ratio of the volume of the convex polyhedron surrounded by the feature points in each cubic region to the volume reference value is calculated to obtain the morphological weight of the three-dimensional feature data.

[0028] Optionally, the presetting of the magnitude weight coefficient corresponding to the magnitude weight and the morphology weight coefficient corresponding to the morphology weight includes:

[0029] Adjusting the magnitude weight coefficient corresponding to the magnitude weight and the morphological weight coefficient corresponding to the morphological weight according to the sampling type of the three-dimensional feature data; the sum of the magnitude weight coefficient corresponding to the magnitude weight and the morphological weight coefficient corresponding to the morphological weight is always 1;

[0030] When the sampling type of the three-dimensional feature data is upsampling, lowering the magnitude weight coefficient corresponding to the magnitude weight;

[0031] When the sampling type of the three-dimensional feature data is downsampling, the magnitude weight coefficient corresponding to the magnitude weight is increased.

[0032] In a second aspect, the present application provides a device for determining a three-dimensional data feature value, the device comprising:

[0033] An acquisition module, used for acquiring three-dimensional feature data; the three-dimensional feature data is obtained from the three-dimensional data to be processed by feature extraction;

[0034] A weight calculation module, for calculating the weights corresponding to the dimensions of the three-dimensional feature data based on the three-dimensional feature data; the dimensions of the three-dimensional feature data include at least a quantity dimension and a morphological dimension, the weight corresponding to the quantity dimension is a magnitude weight, and the weight corresponding to the morphological dimension is a morphological weight; the magnitude weight represents the number of feature data retained within a unit resolution; the morphological weight represents the geometric composition volume of the feature data within a unit resolution;

[0035] The feature value determination module is used to determine the feature value of the three-dimensional data according to the magnitude weight of the three-dimensional feature data and the morphological weight of the three-dimensional feature data.

[0036] In a third aspect, the present application provides a device comprising a memory and a processor, wherein the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes the method for determining three-dimensional data feature values ​​introduced in any embodiment of the first aspect.

[0037] In a fourth aspect, the present application provides a computer storage medium having codes stored therein. When the codes are executed, a device executing the codes implements the method for determining feature values ​​of three-dimensional data described in any one of the embodiments of the first aspect.

[0038] The present application provides a method for determining the characteristic value of three-dimensional data. When executing the method, three-dimensional feature data is first obtained; the three-dimensional feature data is obtained from the three-dimensional data to be processed through feature extraction; then the weights corresponding to each dimension of the three-dimensional feature data are calculated based on the three-dimensional feature data; the dimensions of the three-dimensional feature data include at least the quantity dimension and the morphological dimension, the weight corresponding to the quantity dimension is the magnitude weight, and the weight corresponding to the morphological dimension is the morphological weight; the magnitude weight represents the number of feature data retained within the unit resolution; the morphological weight represents the geometric composition volume of the feature data within the unit resolution; finally, the characteristic value of the three-dimensional data is determined according to the magnitude weight of the three-dimensional feature data and the morphological weight of the three-dimensional feature data. In this way, by considering the two dimensions of the quantity and morphology of the data at the same time, the characteristics of the three-dimensional data can be more comprehensively reflected, avoiding the information loss that may be caused by focusing on a single dimension. At the same time, by calculating the weights of each dimension and determining the characteristic value according to the weight, the accuracy of the characteristic value can be ensured, so that it can more truly reflect the characteristics of the three-dimensional data. In this way, the three-dimensional data can be understood and analyzed more accurately, thereby improving the perception ability and decision accuracy of robots, advanced driver assistance and autonomous driving systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A flowchart of a method for determining a three-dimensional data feature value provided in an embodiment of the present application;

[0041] Figure 2 A flowchart of a possible implementation method of step S1 provided in an embodiment of the present application;

[0042] Figure 3 A schematic diagram of a convex polyhedron provided in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of determining a characteristic value of three-dimensional data provided in an embodiment of the present application;

[0044] Figure 5 A schematic diagram of a device for determining a three-dimensional data feature value provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] As mentioned above, the raw input data of the sensor ultimately determines its role and weight in the perception module in the form of different eigenvalues. These eigenvalues ​​not only reflect the essential characteristics of the sensor data, but also affect the perception module's cognition and judgment of the environment. For example, in current autonomous driving and advanced driver assistance systems, three-dimensional data eigenvalues ​​play a vital role. Especially when processing 3D lidar point cloud data or 4D millimeter wave radar point cloud data, three-dimensional eigenvalues ​​can more accurately describe key information such as the shape, position and speed of the target object. In addition, in the (2D-3D) image pixel data after perspective conversion, the three-dimensional eigenvalues ​​can also help the system better understand the depth and spatial relationship in the image. However, the existing eigenvalue calculation methods are often relatively simple or simple, and cannot fully capture the subtle differences and complex patterns in the data, thereby limiting the performance and accuracy of the perception module.

[0046] In view of this, the present application provides a method for determining a characteristic value of three-dimensional data. When executing the method, first obtain three-dimensional feature data; the three-dimensional feature data is obtained from the three-dimensional data to be processed through feature extraction; then, based on the three-dimensional feature data, the weights corresponding to each dimension of the three-dimensional feature data are calculated respectively; the dimensions of the three-dimensional feature data include at least a quantity dimension and a morphological dimension, the weight corresponding to the quantity dimension is a magnitude weight, and the weight corresponding to the morphological dimension is a morphological weight; the magnitude weight represents the number of feature data retained within a unit resolution; the morphological weight represents the geometric composition volume of the feature data within a unit resolution; finally, determine the characteristic value of the three-dimensional data according to the magnitude weight of the three-dimensional feature data and the morphological weight of the three-dimensional feature data.

[0047] In this way, by considering both the quantity and form of data, the characteristics of three-dimensional data can be more comprehensively reflected, avoiding the information loss that may be caused by focusing on a single dimension. At the same time, by calculating the weight of each dimension and determining the eigenvalue based on the weight, the accuracy of the eigenvalue can be ensured, so that it can more truly reflect the characteristics of three-dimensional data. In this way, the eigenvalues ​​of three-dimensional data can be calculated and represented more accurately, thereby improving the perception ability and decision-making accuracy of robots, advanced driver assistance and autonomous driving systems.

[0048] It should be noted that the embodiments of the present application do not limit the execution subject of determining the three-dimensional data feature value. For example, the method of the embodiments of the present application can be applied to data processing devices such as terminal devices or servers. Among them, the terminal device can be a smart phone, a computer, a personal digital assistant (PDA) or a tablet computer. The server can be an independent server, a cluster server or a cloud server.

[0049] In order to be able to understand the characteristics and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, in order to simplify the drawings, well-known structures and devices can be simplified for display. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0050] Figure 1 A flowchart of a method for determining a three-dimensional data feature value provided in an embodiment of the present application. Figure 1 As shown, the method for determining the characteristic value of three-dimensional data provided in the embodiment of the present application may include:

[0051] S1, obtaining three-dimensional feature data.

[0052] In an embodiment of the present application, these three-dimensional data to be processed can come from various types of sensors, such as cameras, millimeter-wave radars, etc. Specifically, the acquisition of three-dimensional feature data in this embodiment is not limited to a specific type of sensor, but is capable of processing three-dimensional data from a variety of sensors. This includes cameras, millimeter-wave radars, etc., each of which has its unique advantages and applicable scenarios. Since the three-dimensional data in this embodiment comes from a variety of sensors, data fusion can be easily achieved. For example, the image information obtained by the camera and the distance and speed information obtained by the millimeter-wave radar can be combined to obtain more comprehensive and accurate three-dimensional data.

[0053] For example, suppose that in an autonomous driving system, it is necessary to obtain three-dimensional environmental information around the vehicle. Through the method described in this application, a camera and a millimeter-wave radar can be used to obtain this data. The camera can provide high-resolution image information, while the millimeter-wave radar can provide accurate distance and speed information. The data of these two sensors can be fused and processed by the method in this application to obtain more comprehensive and accurate three-dimensional environmental information. In this embodiment, data information of the two sensors can be obtained at the same time, so different models of cameras and millimeter-wave radars can be flexibly selected to balance performance and cost.

[0054] In an optional embodiment, since the three-dimensional data to be processed can come from various types of sensors, the representation form of the three-dimensional feature data includes one or more of raw data, three-dimensional model, three-dimensional point cloud, voxel representation, depth image, triangular mesh, and RGB-D image.

[0055] Specifically, in 3D data processing, raw data is usually a set of 3D data directly acquired by scanning equipment or other sensors, such as 3D coordinate points, voxel values, etc. A 3D model is the result of processing, reconstructing or simplifying the raw data, which can be a surface model (representing only the outer contour of the object) or a volume model (representing the complete volume of the object). A 3D point cloud is a data set composed of a large number of 3D coordinate points, which is often used to represent the surface shape of an object or the structure of a scene. Voxel representation: A voxel is a cubic unit in 3D space, similar to a pixel in a 2D image. Voxel representation divides the 3D space into a regular cubic grid and uses voxel values ​​to represent the volume or properties of an object. A depth image is a 2D image that contains scene depth information, which records the distance from the observation point to each point in the scene. Depth images are often combined with RGB images to form RGB-D images. A triangle mesh is a 3D model that uses triangular patches to represent the surface of an object. Each triangle is defined by three vertices and corresponding texture coordinates, normals and other attributes. An RGB-D image is an image that contains both RGB color information and depth information. The RGB part records the color of the pixel, while the D part (depth) records the distance from the pixel to the observer.

[0056] It should be noted that although camera data, i.e. pixel values, and 2D LiDAR, i.e. xy coordinate values, are two-dimensional data, they can be converted into three-dimensional data. Among them, the camera captures a two-dimensional image composed of pixels. Each pixel has one or more color channel values ​​(such as RGB) to represent the color and brightness of the point. Although this is two-dimensional data, it can be converted into three-dimensional data by combining depth information (such as through RGB-D cameras) or subsequent processing (such as stereo vision). 2D LiDAR (xy coordinate values): 2D LiDAR scans on a two-dimensional plane, usually a horizontal plane. It emits a laser beam and measures the time from the laser beam being emitted to being reflected back, thereby calculating the distance and angle between the target object and the LiDAR. These distance and angle values ​​can be converted into (x, y) coordinates on the plane, indicating the position of the target object in the LiDAR coordinate system. Although this is two-dimensional data, it is obtained from a real three-dimensional environment and can be used in combination with other three-dimensional data.

[0057] In summary, the method for obtaining three-dimensional feature data in this embodiment can be adapted to a variety of sensors. Therefore, in practical applications, a cost-effective sensor combination can be selected as needed to reduce hardware costs. Moreover, due to its wide applicability, the development process can be greatly simplified, reducing the workload of separate development and testing for different sensors, thereby improving development efficiency.

[0058] The three-dimensional data to be processed usually contains a lot of detailed information, but not all of the information is useful for a specific task or application. Feature extraction can convert the complex information in the original data into a more concise, easier to understand and process feature representation. Through feature extraction, key information related to the task can be selectively retained, while redundant or irrelevant information can be removed to achieve data dimensionality reduction. Therefore, in this embodiment, the three-dimensional feature data is obtained from the three-dimensional data to be processed through feature extraction.

[0059] In an optional embodiment, the sampling scenario and density of the original three-dimensional feature data are considered, and upsampling or downsampling operations are performed accordingly to obtain three-dimensional feature data suitable for subsequent processing. For example, in autonomous driving or advanced driver assistance systems (ADAS), data density (or data density) is an important concept that describes the amount of data collected per unit space or time. Different driving scenarios may require data of different densities for effective decision-making and planning. When there are more road participants, dense feature data is needed to more accurately perceive the surrounding environment and make more accurate decisions. When there are fewer road participants, too much data may increase the processing burden without significantly affecting the decision, so it is necessary to reduce the data points to reduce the density of the data to reduce the processing burden of the system.

[0060] Therefore, Figure 2 A flowchart of a possible implementation method of step S1 provided in an embodiment of the present application.

[0061] Combination Figure 2 As shown, the acquisition of three-dimensional feature data provided in the embodiment of the present application may include:

[0062] S11, obtaining a sampling scene of original three-dimensional feature data.

[0063] The sampling scene includes at least a first sampling scene and a second sampling scene. For example, taking autonomous driving as an example, the vehicle travels in different scenes, such as a driving scene (first sampling scene) and a parking scene (second sampling scene). It should be noted that the above-mentioned autonomous driving scenes are only exemplary. According to the actual application of the determination of the three-dimensional data feature values, the scenes can be various, such as outdoor environments (such as urban roads, highways, mountainous areas, etc.), indoor environments (such as warehouses, offices, homes, etc.), or specific industrial environments (such as production lines, mining areas, etc.).

[0064] S12, when the sampling scene of the original three-dimensional feature data is the first sampling scene, in response to the density of the original three-dimensional feature data being less than a first preset density threshold, performing an upsampling operation to obtain three-dimensional feature data.

[0065] Density is usually used to describe the density between three-dimensional data points. The higher the density, the denser the data points; the lower the density, the sparser the data points.

[0066] For different sampling scenarios, different density levels are required to meet the needs of subsequent processing. Therefore, a corresponding density threshold is set for each sampling scenario. For example, in a scenario that requires high-precision detection, a higher density threshold may be required; while in a scenario that does not require high precision, a lower density may be acceptable. Therefore, when the sampling scenario of the original three-dimensional feature data is the first sampling scenario, the first preset density threshold corresponds to the first sampling scenario.

[0067] When the density of the original three-dimensional feature data is less than the first preset density threshold of the corresponding sampling scene, an upsampling operation is performed. The purpose of upsampling is to increase the number of data points and make the data denser, thereby possibly improving the accuracy and robustness of subsequent processing (such as classification, recognition, etc.).

[0068] Take the case of an autonomous vehicle in a driving scenario. At this time, the road conditions are relatively complex, such as city streets and highways. There are many participants on the road (such as vehicles, pedestrians, bicycles, etc.), and there are many interactions and potential conflicts between these participants. In order to accurately capture the dynamics and interactions of these road participants, the system requires dense raw data, that is, a large amount of data collected per unit space or time. In this way, the system can perceive the surrounding environment more accurately and make more accurate decisions.

[0069] Therefore, when the density of the original data is less than a preset threshold (that is, the data is too sparse), the system may perform upsampling operations to make up for the incomplete feature extraction caused by data sparsity, so that the system can understand the surrounding environment more comprehensively.

[0070] S13, when the sampling scene of the original three-dimensional feature data is the second sampling scene, in response to the density of the original three-dimensional feature data being greater than a second preset density threshold, performing a downsampling operation to obtain three-dimensional feature data.

[0071] The second preset density threshold corresponds to the second sampling scene. Similarly, when the density of the original three-dimensional feature data is greater than the second preset density threshold corresponding to the sampling scene, a downsampling operation is performed. The purpose of downsampling is to reduce the number of data points and reduce the density of the data, thereby possibly reducing the amount of calculation and improving the processing speed.

[0072] Take the parking scene as an example. At this time, the road conditions are relatively simple, such as parking lots, roadside parking, etc. There are relatively few road participants, mainly vehicles and possible pedestrians. These scenes are usually relatively static, without complex traffic flows and interactions. Because the parking scene is relatively simple, the system usually does not require dense raw data to make decisions. Too much data may increase the processing burden without significantly affecting the decision. Therefore, when the density of the raw data is greater than a preset threshold (that is, the data is too dense), a downsampling operation is performed to reduce the density of the data by reducing the data points, reducing the processing burden of the system, while maintaining enough information to make effective decisions.

[0073] In summary, this embodiment uses adaptive sampling to dynamically adjust the data processing strategy according to different sampling scenarios and data densities, and has high flexibility. Through a reasonable sampling strategy, it optimizes the allocation and use of computing resources and avoids unnecessary waste.

[0074] S2, calculating the weights corresponding to the dimensions of the three-dimensional feature data based on the three-dimensional feature data.

[0075] In this embodiment, the three-dimensional feature data usually includes multiple dimensions or attributes, which may describe different aspects of the feature data, such as size, shape, position, direction, etc. Each dimension may have a different impact on subsequent analysis, processing or decision-making. Calculating the weights corresponding to each dimension based on the three-dimensional feature data can accurately capture the importance of the feature, reveal subtle differences in the data, and obtain more accurate feature values.

[0076] Specifically, in this embodiment, the dimensions of the three-dimensional feature data include at least a quantity dimension and a morphological dimension. The weight corresponding to the quantity dimension is a magnitude weight, and the weight corresponding to the morphological dimension is a morphological weight.

[0077] The magnitude weight indicates the number of feature data within a unit resolution. Specifically, the magnitude weight is calculated by dividing the 3D data into cubes (or voxels) of multiple unit resolutions and counting the number of statistics in each voxel. This number can be any indicator that can quantify the amount of data, such as the number of data points, density, intensity, etc.

[0078] Morphological weight represents the geometric composition volume of feature data within a unit resolution. This is achieved by calculating geometric properties such as volume, surface area, and shape complexity of voxels. Morphological weight can reflect the spatial distribution and geometric characteristics of data.

[0079] In an optional embodiment, when the dimension of the three-dimensional feature data is a quantity dimension, the weights corresponding to each dimension of the three-dimensional feature data are calculated based on the three-dimensional feature data, including: defining a unit resolution and a data volume baseline value within the unit resolution; the unit resolution is a cube area of ​​a preset size; in each cube area, counting the number of feature points; calculating the ratio of the number of feature points in each cube area to the data volume baseline value to obtain the magnitude weight of the three-dimensional feature data.

[0080] Specifically, first determine the specific size or dimensions of a unit resolution. This unit resolution can be a fixed-size cube (voxel) in three-dimensional space, or it can be an area of ​​other shapes, depending on the characteristics of the data and processing requirements. This size determines the local data range considered when calculating the magnitude weight. Then, based on the defined unit resolution size, the entire three-dimensional data space is divided into several small, non-overlapping areas, each of which is called a unit resolution area or voxel. These voxels can be of equal size or adaptively divided according to the characteristics of the data.

[0081] In each unit resolution area, count the number of data points with specific characteristics (such as color, shape, intensity, etc.). These points are called feature points, and they represent certain characteristics or attributes of the data in the area. In order to quantify the amount of data retained in each unit resolution area, it is necessary to set a benchmark number of points or thresholds. This benchmark number of points can be fixed or adaptively adjusted according to the overall distribution of the data or specific needs. It is used to compare with the number of feature points in each area to evaluate the magnitude weight of the area.

[0082] For each unit resolution area, the number of feature points is compared with the number of reference points to obtain a relative magnitude weight value. This weight value can be a simple ratio (such as the number of feature points / the number of reference points) or a more complex function or model to more accurately reflect the amount of data held in the area. In this embodiment, the calculation formula for the magnitude weight is as follows:

[0083]

[0084] Among them, Quantity count Indicates the number of feature points within a unit resolution, Quantity sector Indicates the reference value of the data volume within a unit resolution.

[0085] Furthermore, according to specific application requirements, the magnitude weights of all unit resolution areas can be aggregated, averaged, weighted, etc. to obtain a global or comprehensive magnitude weight value. This global magnitude weight can reflect the magnitude characteristics or trends of the entire 3D data set.

[0086] In an optional embodiment, when the dimension of the three-dimensional feature data is a morphological dimension, the weights corresponding to each dimension of the three-dimensional feature data are calculated based on the three-dimensional feature data, including: defining a unit resolution and a volume reference value within the unit resolution; the unit resolution is a cube area of ​​a preset size; dividing the three-dimensional data space into multiple cube areas of unit resolution; calculating the volume of the convex polyhedron enclosed by the feature points in each cube area; calculating the ratio of the volume of the convex polyhedron enclosed by the feature points in each cube area to the volume reference value, and obtaining the morphological weight of the three-dimensional feature data.

[0087] Specifically, first, determine a unit resolution, usually you can define a cubic area with a fixed side length (such as 1 cm, 1 mm, etc.). Next, define a volume reference value, which can be the expected average volume or a standard volume value within the unit resolution. This reference value is used for comparison in subsequent weight calculations. Divide the entire three-dimensional data space (for example, a three-dimensional image or point cloud data) into multiple small cubic areas (or called voxels, volume elements) according to the size of the unit resolution.

[0088] In each cubic region, identify all feature points (these points may represent the surface, edge or other important information of the object). Use these feature points to construct a convex polyhedron. A convex polyhedron is a polyhedron whose all internal angles are less than 180 degrees. It can contain all feature points and does not exceed the boundary of the cubic region. Figure 3 A schematic diagram of a convex polyhedron provided in an embodiment of the present application. The volume of the convex polyhedron is calculated using a method for calculating the volume of a convex polyhedron (such as a decomposition method, a determinant method, etc.). For each cubic region, the ratio of the volume of the convex polyhedron surrounded by its internal feature points to the volume reference value defined above is calculated. This ratio can be used as the morphological weight of the region. In this embodiment, the calculation formula for the morphological weight is as follows:

[0089]

[0090] Among them, Volume convex_polyhedron Represents the volume of the convex polyhedron surrounded by feature points within unit resolution, Volume sector Indicates the volume reference value within the unit resolution.

[0091] S3, determining a three-dimensional data feature value according to a magnitude weight of the three-dimensional feature data and a morphological weight of the three-dimensional feature data.

[0092] In this embodiment, the magnitude weight and the morphology weight are regarded as two independent dimensions. Different weight coefficients can be assigned to these two dimensions according to specific application scenarios and requirements. The magnitude weight and the morphology weight are weighted and combined according to their respective weight coefficients to obtain the eigenvalue of each voxel or grid unit. Specifically, the magnitude weight and the morphology weight are aggregated (such as summing, averaging, etc.) to obtain the eigenvalue of the entire three-dimensional data. This eigenvalue will comprehensively reflect the information on the quantity of data retained and the geometric composition volume in the three-dimensional data.

[0093] In an optional embodiment, determining the three-dimensional data feature value based on the magnitude weight of the three-dimensional feature data and the morphological weight of the three-dimensional feature data includes: presetting a magnitude weight coefficient corresponding to the magnitude weight and a morphological weight coefficient corresponding to the morphological weight; calculating the sum of the product of the magnitude weight of the three-dimensional feature data and the magnitude weight coefficient and the product of the morphological weight of the three-dimensional feature data and the morphological weight coefficient to obtain the three-dimensional data feature value.

[0094] In this embodiment, the three-dimensional data characteristic value is calculated by the following formula:

[0095]

[0096] Among them, H() is the function for calculating the eigenvalue, FeatureVlaue sector It is the eigenvalue of three-dimensional data within the unit resolution. Sector3DRepresentation represents the dimensions considered when calculating the eigenvalue, namely the quantity dimension Quantity and the shape dimension Volume. WeightList is the weight coefficient of the quantity dimension and the shape dimension when calculating the eigenvalue. quantity Indicates the magnitude weight coefficient corresponding to the magnitude weight, Weight volume Indicates the morphological weight coefficient corresponding to the morphological weight.

[0097] Figure 4 A schematic diagram of determining a characteristic value of three-dimensional data provided by an embodiment of the present application. Figure 4As shown, gray represents the size corresponding to the unit resolution, the points within the unit resolution represent the three-dimensional feature data of the unit resolution, the number of feature points within the unit resolution is 25, the reference value of the data volume within the unit resolution is 50, the volume of the convex polyhedron enclosed by the feature points within the unit resolution is 0.04, and the reference value of the volume within the unit resolution is 0.06 (the length, width and height of the unit resolution are 0.5, 0.4 and 0.3 respectively). Substituting the above data into the three-dimensional data eigenvalue formula, the three-dimensional feature data eigenvalue is calculated to be 0.58.

[0098] In an optional embodiment, the importance of magnitude and morphology of three-dimensional feature data may be different under different sampling types. For example, when upsampling, more attention may be paid to the morphology of the data to maintain its details; while when downsampling, more attention may be paid to the magnitude of the data to retain key information. Magnitude weight and morphology weight are complementary, and the sum of their weight coefficients is always 1, ensuring a balance between the two. Adjusting the weight coefficients of the two according to different sampling types helps to achieve better results in the data processing process.

[0099] Therefore, pre-setting the magnitude weight coefficient corresponding to the magnitude weight and the morphological weight coefficient corresponding to the morphological weight may include: adjusting the magnitude weight coefficient corresponding to the magnitude weight and the morphological weight coefficient corresponding to the morphological weight according to the sampling type of the three-dimensional feature data; the sum of the magnitude weight coefficient corresponding to the magnitude weight and the morphological weight coefficient corresponding to the morphological weight is always 1; when the sampling type of the three-dimensional feature data is upsampling, lowering the magnitude weight coefficient corresponding to the magnitude weight; when the sampling type of the three-dimensional feature data is downsampling, increasing the magnitude weight coefficient corresponding to the magnitude weight.

[0100] In this embodiment, by adjusting the coefficients of the magnitude weight and the morphology weight, the three-dimensional feature data can better retain key information and details during the sampling process, thereby improving the effect of subsequent processing. Lowering the magnitude weight coefficient during upsampling, for example, adjusting 0.5 to 0.4, helps to maintain the morphology and details of the data and avoid introducing too much noise or distortion during the amplification process. Increasing the magnitude weight coefficient during downsampling, for example, adjusting 0.5 to 0.6, helps to retain the key information and main features of the data and reduce the information loss that may be caused when reducing the amount of data. The weight coefficient is flexibly adjusted according to the specific sampling type and needs to adapt to different application scenarios and data characteristics.

[0101] In the above embodiment, by considering the two dimensions of data quantity and form at the same time, the characteristics of three-dimensional data can be more comprehensively reflected, avoiding the information loss that may be caused by focusing on a single dimension. At the same time, by calculating the weight of each dimension and determining the eigenvalue according to the weight, the accuracy of the eigenvalue can be ensured, so that it can more truly reflect the characteristics of three-dimensional data. In this way, three-dimensional data can be understood and analyzed more accurately, thereby improving the perception ability and decision accuracy of robots, advanced driver assistance and autonomous driving systems.

[0102] The above are some specific implementations of the method for determining the characteristic value of three-dimensional data provided by the embodiment of the present application. Based on this, the present application also provides a corresponding device. The device provided by the embodiment of the present application will be introduced from the perspective of functional modularization.

[0103] See also Figure 5 The structure diagram of the device 500 for determining a eigenvalue of three-dimensional data is shown, and the device 500 includes an acquisition module 510, a weight calculation module 520 and a eigenvalue determination module 530.

[0104] An acquisition module 510 is used to acquire three-dimensional feature data; the three-dimensional feature data is obtained from the three-dimensional data to be processed by feature extraction;

[0105] The weight calculation module 520 is used to calculate the weights corresponding to the dimensions of the three-dimensional feature data based on the three-dimensional feature data; the dimensions of the three-dimensional feature data include at least a quantity dimension and a morphological dimension, the weight corresponding to the quantity dimension is a magnitude weight, and the weight corresponding to the morphological dimension is a morphological weight; the magnitude weight represents the number of feature data retained within a unit resolution; the morphological weight represents the geometric composition volume of the feature data within a unit resolution;

[0106] The feature value determination module 530 is used to determine the feature value of the three-dimensional data according to the magnitude weight of the three-dimensional feature data and the morphological weight of the three-dimensional feature data.

[0107] Optionally, the obtaining device 510 is specifically used for:

[0108] Acquire sampling scenes of original three-dimensional feature data; the sampling scenes include at least a first sampling scene and a second sampling scene;

[0109] When the sampling scene of the original three-dimensional feature data is a first sampling scene, in response to the density of the original three-dimensional feature data being less than a first preset density threshold, performing an upsampling operation to obtain the three-dimensional feature data; the first preset density threshold corresponds to the first sampling scene;

[0110] When the sampling scene of the original three-dimensional feature data is a second sampling scene, in response to the density of the original three-dimensional feature data being greater than a second preset density threshold, a downsampling operation is performed to obtain three-dimensional feature data; the second preset density threshold corresponds to the second sampling scene.

[0111] Optionally, the feature value determination module is specifically used to:

[0112] Pre-setting a magnitude weight coefficient corresponding to the magnitude weight and a morphology weight coefficient corresponding to the morphology weight;

[0113] The sum of the product of the magnitude weight of the three-dimensional feature data and the magnitude weight coefficient and the product of the morphological weight of the three-dimensional feature data and the morphological weight coefficient is calculated to obtain the three-dimensional data feature value.

[0114] Optionally, when the dimension of the three-dimensional feature data is a quantity dimension, the weight calculation module is specifically used to:

[0115] A unit resolution and a reference value of the amount of data within the unit resolution are defined; the unit resolution is a cubic area of ​​a preset size;

[0116] In each cubic area, count the number of feature points;

[0117] The ratio of the number of feature points in each cubic area to the data volume reference value is calculated to obtain the magnitude weight of the three-dimensional feature data.

[0118] Optionally, when the dimension of the three-dimensional feature data is a morphological dimension, the weight calculation module is specifically used to:

[0119] A unit resolution and a volume reference value within the unit resolution are defined; the unit resolution is a cubic area of ​​a preset size;

[0120] Dividing the three-dimensional data space into a plurality of cubic regions of the unit resolution;

[0121] Calculate the volume of the convex polyhedron enclosed by the characteristic points in each cubic area;

[0122] The ratio of the volume of the convex polyhedron surrounded by the feature points in each cubic region to the volume reference value is calculated to obtain the morphological weight of the three-dimensional feature data.

[0123] Optionally, the feature value determination module is specifically used to:

[0124] Adjusting the magnitude weight coefficient corresponding to the magnitude weight and the morphological weight coefficient corresponding to the morphological weight according to the sampling type of the three-dimensional feature data; the sum of the magnitude weight coefficient corresponding to the magnitude weight and the morphological weight coefficient corresponding to the morphological weight is always 1;

[0125] When the sampling type of the three-dimensional feature data is upsampling, lowering the magnitude weight coefficient corresponding to the magnitude weight;

[0126] When the sampling type of the three-dimensional feature data is downsampling, the magnitude weight coefficient corresponding to the magnitude weight is increased.

[0127] The embodiments of the present application also provide corresponding devices and computer storage media for implementing the solutions provided by the embodiments of the present application.

[0128] The device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes the three-dimensional data feature value determination method described in any embodiment of the present application.

[0129] The computer storage medium stores codes, and when the codes are executed, a device executing the codes implements the method for determining a three-dimensional data feature value as described in any embodiment of the present application.

[0130] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.

[0131] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.

[0132] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0133] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A method for determining a characteristic value of three-dimensional data, characterized in that: The method comprises: Acquire three-dimensional feature data; the three-dimensional feature data is obtained by feature extraction from the three-dimensional data to be processed; Based on the three-dimensional feature data, weights corresponding to the dimensions of the three-dimensional feature data are calculated respectively; the dimensions of the three-dimensional feature data include at least a quantity dimension and a morphological dimension, the weight corresponding to the quantity dimension is a magnitude weight, and the weight corresponding to the morphological dimension is a morphological weight; the magnitude weight represents the number of feature data retained within a unit resolution; the morphological weight represents the geometric composition volume of the feature data within a unit resolution; The three-dimensional data feature value is determined according to the magnitude weight of the three-dimensional feature data and the morphological weight of the three-dimensional feature data.

2. The method for determining a three-dimensional data feature value according to claim 1, characterized in that: The obtaining of three-dimensional feature data comprises: Acquire sampling scenes of original three-dimensional feature data; the sampling scenes include at least a first sampling scene and a second sampling scene; When the sampling scene of the original three-dimensional feature data is a first sampling scene, in response to the density of the original three-dimensional feature data being less than a first preset density threshold, performing an upsampling operation to obtain the three-dimensional feature data; the first preset density threshold corresponds to the first sampling scene; When the sampling scene of the original three-dimensional feature data is a second sampling scene, in response to the density of the original three-dimensional feature data being greater than a second preset density threshold, a downsampling operation is performed to obtain three-dimensional feature data; the second preset density threshold corresponds to the second sampling scene.

3. The method for determining a three-dimensional data feature value according to claim 1, characterized in that: The representation form of the three-dimensional feature data includes one or more of original data, three-dimensional model, three-dimensional point cloud, voxel representation, depth image, triangle mesh, and RGB-D image.

4. The method for determining a three-dimensional data feature value according to claim 1, characterized in that: The determining of the three-dimensional data feature value according to the magnitude weight of the three-dimensional feature data and the morphological weight of the three-dimensional feature data comprises: Pre-setting a magnitude weight coefficient corresponding to the magnitude weight and a morphology weight coefficient corresponding to the morphology weight; The sum of the product of the magnitude weight of the three-dimensional feature data and the magnitude weight coefficient and the product of the morphological weight of the three-dimensional feature data and the morphological weight coefficient is calculated to obtain the three-dimensional data feature value.

5. The method for determining a three-dimensional data feature value according to claim 1, characterized in that: When the dimension of the three-dimensional feature data is a quantity dimension, the step of respectively calculating the weights corresponding to the dimensions of the three-dimensional feature data based on the three-dimensional feature data includes: A unit resolution and a reference value of the amount of data within the unit resolution are defined; the unit resolution is a cubic area of ​​a preset size; In each cubic area, count the number of feature points; The ratio of the number of feature points in each cubic area to the data volume reference value is calculated to obtain the magnitude weight of the three-dimensional feature data.

6. The method for determining a three-dimensional data feature value according to claim 1, characterized in that: When the dimension of the three-dimensional feature data is a morphological dimension, the step of respectively calculating the weights corresponding to the dimensions of the three-dimensional feature data based on the three-dimensional feature data includes: A unit resolution and a volume reference value within the unit resolution are defined; the unit resolution is a cubic area of ​​a preset size; Dividing the three-dimensional data space into a plurality of cubic regions of the unit resolution; Calculate the volume of the convex polyhedron enclosed by the characteristic points in each cubic area; The ratio of the volume of the convex polyhedron surrounded by the feature points in each cubic region to the volume reference value is calculated to obtain the morphological weight of the three-dimensional feature data.

7. The method for determining a three-dimensional data feature value according to claim 4, characterized in that: The pre-set magnitude weight coefficient corresponding to the magnitude weight and the pre-set morphology weight coefficient corresponding to the morphology weight include: Adjusting the magnitude weight coefficient corresponding to the magnitude weight and the morphological weight coefficient corresponding to the morphological weight according to the sampling type of the three-dimensional feature data; the sum of the magnitude weight coefficient corresponding to the magnitude weight and the morphological weight coefficient corresponding to the morphological weight is always 1; When the sampling type of the three-dimensional feature data is upsampling, lowering the magnitude weight coefficient corresponding to the magnitude weight; When the sampling type of the three-dimensional feature data is downsampling, the magnitude weight coefficient corresponding to the magnitude weight is increased.

8. A device for determining a characteristic value of three-dimensional data, characterized in that: The device comprises: An acquisition module, used for acquiring three-dimensional feature data; the three-dimensional feature data is obtained from the three-dimensional data to be processed by feature extraction; A weight calculation module, for calculating the weights corresponding to the dimensions of the three-dimensional feature data based on the three-dimensional feature data; the dimensions of the three-dimensional feature data include at least a quantity dimension and a morphological dimension, the weight corresponding to the quantity dimension is a magnitude weight, and the weight corresponding to the morphological dimension is a morphological weight; the magnitude weight represents the number of feature data retained within a unit resolution; the morphological weight represents the geometric composition volume of the feature data within a unit resolution; The feature value determination module is used to determine the feature value of the three-dimensional data according to the magnitude weight of the three-dimensional feature data and the morphological weight of the three-dimensional feature data.

9. A device, comprising a memory and a processor, wherein the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes, so that the device executes the method for determining a three-dimensional data feature value according to any one of claims 1 to 7.

10. A computer storage medium, wherein a code is stored in the computer storage medium. When the code is executed, a device executing the code implements the method for determining a three-dimensional data feature value according to any one of claims 1 to 7.