Three-dimensional model construction method, device and equipment for automobile parts and storage medium
By performing outlier filtering and filtering processing on the 3D point cloud data of automobile parts, the types of parts are identified and the target model is constructed, which solves the problem of noise and abnormal points affecting the accuracy of 3D model construction and achieves higher accuracy of model construction. degree and processing efficiency.
Patent Information
- Application Number
- CN202410618191.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-09-06
AI Technical Summary
In the automobile manufacturing industry, when obtaining three-dimensional models of automobile parts, noise and abnormal points caused by measurement equipment and environmental interference affect the accuracy and reliability of the three-dimensional model construction, resulting in insufficient model construction accuracy.
By performing point cloud outlier filtering on the initial 3D point cloud data, the target filtering method is determined and filtered, the component types are identified, and the target 3D model is finally constructed.
It improves the accuracy of 3D model construction of auto parts, effectively removes noise and abnormal points, and improves the speed and accuracy of data processing.
Smart Images

Figure CN118608685A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, equipment and storage medium for building a three-dimensional model of an automobile component. Background Art
[0002] In the automotive manufacturing industry, quickly and accurately building 3D models of automotive parts is crucial for product design, manufacturing and quality control. However, due to factors such as measurement equipment and environmental interference, the process of obtaining the point cloud data of the measured object often contains a lot of noise and abnormal points, which affects the accuracy and reliability of subsequent 3D model construction. Therefore, how to effectively process the point cloud data of automotive parts and improve the accuracy of 3D model construction of automotive parts has become a problem that needs to be solved urgently. Summary of the invention
[0003] The present invention provides a method, device, equipment and storage medium for constructing a three-dimensional model of an automobile part, so as to improve the accuracy of constructing the three-dimensional model of the automobile part.
[0004] According to one aspect of the present invention, a method for constructing a three-dimensional model of an automobile component is provided, the method comprising:
[0005] Obtain the initial three-dimensional point cloud data of the tested automotive parts;
[0006] Performing point cloud outlier filtering processing on the initial three-dimensional point cloud data to obtain reference three-dimensional point cloud data;
[0007] Determining a target point cloud filtering method according to data features of the initial three-dimensional point cloud data, and filtering the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data;
[0008] Performing point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the tested automotive component;
[0009] According to the candidate three-dimensional point cloud data and based on the type of component, a target three-dimensional model of the tested automobile component is constructed.
[0010] According to another aspect of the present invention, there is provided a device for constructing a three-dimensional model of an automobile component, the device comprising:
[0011] An initial point cloud data acquisition module is used to acquire initial three-dimensional point cloud data of the tested automobile parts;
[0012] A point cloud data filtering processing module is used to perform point cloud outlier filtering processing on the initial three-dimensional point cloud data to obtain reference three-dimensional point cloud data;
[0013] A point cloud data filtering processing module, used to determine a target point cloud filtering method according to data features of the initial three-dimensional point cloud data, and filter the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data;
[0014] A point cloud data feature recognition module, used to perform point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the tested automotive component;
[0015] The target three-dimensional model generation module is used to construct a target three-dimensional model of the tested automobile component based on the candidate three-dimensional point cloud data and the component type.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for constructing a three-dimensional model of an automobile part described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the method for constructing a three-dimensional model of an automobile part described in any embodiment of the present invention when executed by a processor.
[0021] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the three-dimensional model construction method provided by any embodiment of the present invention.
[0022] The technical solution of the embodiment of the present invention obtains reference three-dimensional point cloud data by filtering outliers on the initial three-dimensional point cloud data; determines the target point cloud filtering method based on the data characteristics of the initial three-dimensional point cloud data, and filters the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data; performs point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the automotive part under test; and constructs a target three-dimensional model of the automotive part under test based on the candidate three-dimensional point cloud data and the type of part. The above technical solution achieves effective and accurate filtering of point cloud data by selecting a suitable filtering method based on the data characteristics of the point cloud data; improves the accuracy of constructing the three-dimensional model of automotive parts by identifying the type of parts and constructing the target three-dimensional model of parts based on the type of parts and three-dimensional point cloud data.
[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 is a flow chart of a method for constructing a three-dimensional model of an automobile component according to a first embodiment of the present invention;
[0026] Figure 2 is a flow chart of a method for constructing a three-dimensional model of an automobile component according to a second embodiment of the present invention;
[0027] Figure 3 is a schematic structural diagram of a three-dimensional model building device for automobile parts provided in accordance with a third embodiment of the present invention;
[0028] Figure 4 It is a structural schematic diagram of an electronic device for implementing the method for constructing a three-dimensional model of an automobile component according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] Figure 1 This is a flowchart of a method for constructing a three-dimensional model of an automobile part provided in the first embodiment of the present invention. This embodiment is applicable to the case of constructing a three-dimensional model of automobile parts in the automobile field. The method can be executed by a three-dimensional model construction device for automobile parts. The three-dimensional model construction device for automobile parts can be implemented in the form of hardware and / or software. The three-dimensional model construction device for automobile parts can be configured in an electronic device. Figure 1 As shown, the method includes:
[0033] S110, obtaining initial three-dimensional point cloud data of the tested automobile parts.
[0034] Exemplarily, a 3D (three-dimensional) scanning device can be used to scan the three-dimensional point cloud data of the tested automobile parts, and the initial three-dimensional point cloud data obtained by the scan can be sent to a cloud server or other server for subsequent point cloud data processing. Among them, the 3D scanning device can be a 3D scanner. Specifically, the tested automobile parts are fully scanned by the 3D scanning device to ensure that all necessary angles and details are covered. For large or complex tested automobile parts, scanning can be performed from multiple angles and directions to completely cover the parts, thereby realizing comprehensive collection of point cloud data of the parts.
[0035] The 3D scanning equipment may be selected specifically according to the size, shape, complexity and precision requirements of the automotive parts being tested.
[0036] S120 , performing point cloud outlier filtering processing on the initial three-dimensional point cloud data to obtain reference three-dimensional point cloud data.
[0037] Exemplarily, outlier filtering of the initial three-dimensional point cloud data can be achieved based on a pre-set outlier filtering method for point cloud data. The outlier filtering method can be determined by relevant technicians based on actual experience or experimental values. For example, the outlier filtering method can be a statistical parameter method, a percentile method, a K-nearest neighbor method, a model fitting method, a curvature method, etc.
[0038] S130, determining a target point cloud filtering method according to data features of the initial three-dimensional point cloud data, and filtering the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data.
[0039] The data feature of the initial three-dimensional point cloud data may be a noise feature of the point cloud data, and specifically may be a feature of the distribution of outlier points in the noise data.
[0040] For example, according to the distribution of noise outliers in the initial three-dimensional point cloud data, when the distribution of noise outliers is relatively random and there are no significant outliers, a point cloud filtering method suitable for smoothing data and blurring edges or details can be selected, for example, Gaussian filtering can be selected. When the distribution of noise outliers is relatively clustered or there is sharp noise, a point cloud filtering method suitable for retaining more edges or details can be selected, for example, a median filtering method or a bilateral filtering method can be selected.
[0041] In an optional embodiment, a target point cloud filtering method is determined according to data characteristics of the initial three-dimensional point cloud data, and based on the target point cloud filtering method, the reference three-dimensional point cloud data is filtered to obtain candidate three-dimensional point cloud data, including: determining the noise outlier distribution type of the initial three-dimensional point cloud data; if the noise outlier distribution type is a random distribution type, determining the distance weight value of each coordinate point in the reference point cloud data within a preset neighborhood; according to the distance weight value of each coordinate point in the reference three-dimensional point cloud data, updating the coordinate value of each coordinate point in the reference three-dimensional point cloud data to obtain candidate three-dimensional point cloud data.
[0042] Exemplarily, for any coordinate point in the reference point cloud data, the distance between each adjacent coordinate point within a preset neighborhood range centered on the coordinate point and the coordinate point is determined, and the distance weight value is determined according to the distance. Specifically, the weight of the adjacent coordinate point that is closer to the coordinate point may be higher, and the weight of the adjacent coordinate point that is farther away may be lower. A weighted average is performed based on the weight values of each adjacent coordinate point, and the position of the coordinate point is replaced with the coordinate position after the weighted average is determined. The point cloud data after the coordinate point is replaced is determined as the candidate three-dimensional point cloud data.
[0043] Optionally, if the distribution type of the noise outlier points is a distribution clustering type, the point cloud features of the initial three-dimensional point cloud data are determined, and the sliding window is determined based on the point cloud features; based on the sliding window, the median value of each coordinate point in the reference three-dimensional point cloud data is determined; based on the median value of each coordinate point in each reference three-dimensional point cloud data, the coordinate value of each coordinate point in the reference three-dimensional point cloud data is updated to obtain candidate three-dimensional point cloud data.
[0044] The point cloud features may include the data volume of the point cloud data and the part shape presented by the point cloud data; and the window size of the sliding window may be determined according to the point cloud features.
[0045] Exemplarily, for any coordinate point in the reference three-dimensional point cloud data, the coordinate point is used as the center point of the sliding window, and the position of all the point cloud data in the sliding window is sorted to obtain a median, and the position of the coordinate point is updated to the coordinate point position of the median to obtain candidate three-dimensional point cloud data. Optionally, in the process of traversing and iterating each coordinate point based on the sliding window, the size or shape of the sliding window can be adjusted as needed to adapt to automobile parts of different shapes and sizes, thereby eliminating the influence of noise.
[0046] Since the point cloud data collected by 3D scanning equipment is large and dense, during the processing, too dense point cloud data will occupy a large amount of computer memory, resulting in a low data processing speed. Therefore, removing the noise of the point cloud data and preprocessing the data can improve the data processing speed without affecting the accuracy of the point cloud data, and eliminate the influence of factors such as the environment, measurement device accuracy and operator experience.
[0047] By selecting different filtering methods according to the distribution characteristics of noise outliers in the initial three-dimensional point cloud data, targeted filtering of the point cloud data is achieved, improving filtering accuracy and efficiency. At the same time, the noise influence caused by external factors such as the environment and measuring devices is eliminated, thereby improving the processing accuracy of point cloud data.
[0048] S140, performing point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the automotive part being tested.
[0049] It should be noted that, since different automobile parts have different shapes, sizes and complexities, the type of the automobile part under test can be determined by the features of the point cloud data of the automobile part under test. Specifically, the type of the part can be determined by determining the connected area of the point cloud data.
[0050] In an optional embodiment, point cloud feature recognition is performed on candidate three-dimensional point cloud data to determine the type of the automotive component being tested, including: performing point cloud feature recognition on the candidate three-dimensional point cloud data to determine at least one connected area; and determining the type of the automotive component being tested based on the area shape, area and position of each connected area.
[0051] For example, in the candidate three-dimensional point cloud data, for any coordinate point, the neighboring coordinate points within a preset range are determined, and the distance between the coordinate point and each neighboring coordinate point is calculated. If the distance is less than a threshold, the coordinate point is considered to be connected to the corresponding neighboring coordinate point; if the distance is not less than the threshold, the coordinate point is considered to be disconnected from the corresponding neighboring coordinate point. Based on this method, at least one connected area can be determined.
[0052] According to the regional shape, regional area and regional position of each connected region, based on each component model in the pre-built standard model library of automobile parts, the component type of the tested automobile parts is determined. Among them, the standard model library of automobile parts stores multiple standard models of automobile parts, which can be pre-built by relevant technical personnel. Specifically, according to the regional shape, regional area and regional position of each connected region, the similarity can be compared with each component model, and the component type of the component model with the highest similarity that reaches a preset threshold is determined as the component type of the tested automobile parts.
[0053] S150: construct a target three-dimensional model of the automobile part to be tested based on the candidate three-dimensional point cloud data and the type of parts.
[0054] For example, according to the type of parts, a standard automobile parts model corresponding to the type of parts is selected; according to the standard automobile parts model, the candidate 3D point cloud data is registered to obtain more accurate candidate 3D point cloud data. Based on the registered candidate 3D point cloud data, a target 3D model of the automobile parts under test is constructed.
[0055] The technical solution of the embodiment of the present invention obtains reference three-dimensional point cloud data by filtering outliers on the initial three-dimensional point cloud data; determines the target point cloud filtering method based on the data characteristics of the initial three-dimensional point cloud data, and filters the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data; performs point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the automotive part under test; and constructs a target three-dimensional model of the automotive part under test based on the candidate three-dimensional point cloud data and the type of part. The above technical solution achieves effective and accurate filtering of point cloud data by selecting a suitable filtering method based on the data characteristics of the point cloud data; improves the accuracy of constructing the three-dimensional model of automotive parts by identifying the type of parts and constructing the target three-dimensional model of parts based on the type of parts and three-dimensional point cloud data.
[0056] Embodiment 2
[0057] Figure 2 This is a flow chart of a method for constructing a three-dimensional model of an automobile component provided in Embodiment 2 of the present invention. This embodiment is optimized and improved on the basis of the above-mentioned technical solutions.
[0058] Furthermore, the step of "filtering outliers on the initial three-dimensional point cloud data to obtain reference three-dimensional point cloud data" is refined into "determining adjacent coordinate points corresponding to each coordinate point in the initial three-dimensional point cloud data; determining local density values corresponding to each coordinate point based on the coordinate point distance between each coordinate point and its corresponding adjacent coordinate point; filtering outliers on the initial three-dimensional point cloud data based on the local density values corresponding to each coordinate point to obtain reference three-dimensional point cloud data." to improve the method of generating reference three-dimensional point cloud data.
[0059] Before the step of "building a target three-dimensional model of the automobile part under test based on the candidate three-dimensional point cloud data and the type of parts", add the step of "determining the shape features of the reference automobile parts according to the type of parts; performing feature recognition on the candidate three-dimensional point cloud data to determine the target shape features of the automobile parts under test; and updating the candidate three-dimensional point cloud data according to the feature similarity between the target shape features and the reference automobile parts shape features." to improve the method of updating the candidate three-dimensional point cloud data.
[0060] The step "building a target 3D model of the tested automotive parts based on the candidate 3D point cloud data and the types of parts" is refined into "determining the target automotive parts model based on the types of parts; using the target automotive parts model to perform point cloud registration on the candidate 3D point cloud data to obtain the target 3D point cloud data; building a target 3D model of the tested automotive parts based on the target 3D point cloud data."
[0061] It should be noted that for the parts not described in detail in the embodiments of the present invention, reference can be made to the descriptions of other embodiments. Figure 2 As shown, the method comprises the following specific steps:
[0062] S201, obtaining initial three-dimensional point cloud data of the automobile parts to be tested.
[0063] S202: Determine adjacent coordinate points corresponding to each coordinate point in the initial three-dimensional point cloud data.
[0064] For any coordinate point, its adjacent coordinate point may be a coordinate point that is adjacent or proximate to the coordinate point. The specific determination method may be to sequentially traverse the coordinate points in the surrounding range of the coordinate point to obtain the adjacent coordinate point.
[0065] S203 , determining the local density value corresponding to each coordinate point according to the coordinate point distance between each coordinate point and its corresponding adjacent coordinate point.
[0066] Exemplarily, for any coordinate point, the coordinate point distances between the coordinate point and its adjacent coordinate points are determined, and the average distance between the distances of each coordinate point is determined; the distance coordinate value is the local density value of the coordinate point.
[0067] S204 , performing point cloud outlier filtering processing on the initial three-dimensional point cloud data according to the local density values corresponding to each coordinate point, to obtain reference three-dimensional point cloud data.
[0068] If the local density value of a coordinate point is lower than a preset density threshold, the coordinate point is determined to be an abnormal coordinate point, and the coordinate point is removed or eliminated to obtain reference three-dimensional point cloud data.
[0069] S205 . Determine a target point cloud filtering method according to data features of the initial three-dimensional point cloud data, and perform filtering processing on the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data.
[0070] S206: Perform point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the automotive part being tested.
[0071] S207: Determine the shape features of reference automobile parts according to the types of parts.
[0072] Exemplarily, the target automobile part model of the automobile object part under test can be determined according to the part type, so that the shape and other features of the model can be extracted. Specifically, features such as automobile part edges, corners, holes and plane areas can be extracted, and this feature can be determined as a reference automobile part shape feature.
[0073] S208: Perform feature recognition on the candidate three-dimensional point cloud data to determine the target shape features of the measured automobile parts.
[0074] Exemplarily, feature recognition is performed on the candidate 3D point cloud data. Specifically, the geometric properties of the candidate 3D point cloud data, such as distance, angle, and curvature, as well as statistical properties, such as density, variance, and covariance, and topological properties, such as connectivity and adjacency, can be calculated to perform feature recognition of the candidate 3D point cloud data. The identified features are used as target shape features of the automotive parts being tested.
[0075] S209: updating the candidate three-dimensional point cloud data according to the feature similarity between the target shape feature and the reference automobile component shape feature.
[0076] If the feature similarity between the target shape feature and the reference automobile part shape feature is low, the reference automobile part shape feature is used to update the point cloud position of the candidate 3D point cloud data; if the feature similarity between the target shape feature and the reference automobile part shape feature is high, there is no need to update the candidate 3D point cloud data to update the point cloud position. Optionally, the 3D point cloud data of the local position can be updated according to the local feature similarity.
[0077] S210: Determine a target automobile component model according to the component type.
[0078] Specifically, according to the type of the component, a target automobile component model matching the component type is selected from at least one candidate automobile component model.
[0079] S211. Using the target automobile parts model, perform point cloud registration on the candidate three-dimensional point cloud data to obtain target three-dimensional point cloud data.
[0080] Exemplarily, the transformation matrix between the candidate 3D point cloud data and the target automobile part model is calculated to align the two as much as possible; the candidate 3D point cloud data is transformed according to the transformation matrix, and the above steps are repeated until the preset number of iterations is reached or the convergence condition is met. In each iteration, the closest point pairs between the point cloud data and the model are calculated, and the optimal transformation matrix is calculated based on these closest point pairs to align the point cloud data with the model as much as possible. Through multiple iterations and continuous optimization of the transformation matrix, accurate registration between the candidate 3D point cloud data and the target automobile part model can be finally achieved.
[0081] S212. Construct a target three-dimensional model of the automobile component under test according to the target three-dimensional point cloud data.
[0082] For example, a target 3D model of the tested automobile parts is constructed based on the registered target 3D point cloud data; based on the registered target 3D point cloud data, a target 3D model of the tested automobile parts is constructed through surface reconstruction algorithms such as Poisson reconstruction, Delaunay triangulation, etc. This model can be used for subsequent design analysis, manufacturing, etc.
[0083] Optionally, you can also conduct a quality assessment on the constructed target 3D model to ensure the accuracy and integrity of the model; conduct a quality assessment on the constructed 3D model, including the model's geometric accuracy, surface quality, and topological structure, to ensure the accuracy and integrity of the model. If problems are found, they can be corrected and optimized to improve the quality of data extraction.
[0084] The technical solution of this embodiment determines the adjacent coordinate points corresponding to each coordinate point in the initial three-dimensional point cloud data, determines the local density value corresponding to each coordinate point according to the coordinate point distance between each coordinate point and its corresponding adjacent coordinate point, performs point cloud outlier filtering processing on the initial three-dimensional point cloud data according to the local density value corresponding to each coordinate point, obtains reference three-dimensional point cloud data, performs point cloud outlier processing on the three-dimensional point cloud data, obtains processed three-dimensional point cloud data, and can significantly improve data quality and accuracy, and reduce the amount of information for further processing. According to the type of parts, determine the shape features of the reference automobile parts, perform feature recognition on the candidate three-dimensional point cloud data, determine the target shape features of the automobile parts to be tested, update the candidate three-dimensional point cloud data according to the feature similarity between the target shape features and the reference automobile parts shape features, further realize the data calibration of the candidate three-dimensional point cloud data, and improve the accuracy of the candidate three-dimensional point cloud data. According to the type of parts, determine the target automobile parts model, use the target automobile parts model, perform point cloud registration on the candidate three-dimensional point cloud data, obtain the target three-dimensional point cloud data, and construct the target three-dimensional model of the automobile parts to be tested according to the target three-dimensional point cloud data. The accuracy of constructing the target three-dimensional model of the tested automotive parts is improved by aligning the model and point cloud data.
[0085] Embodiment 3
[0086] Figure 3 The schematic diagram of the structure of a three-dimensional model building device for automobile parts provided in the third embodiment of the present invention. The three-dimensional model building device for automobile parts provided in the embodiment of the present invention can be applied to the situation of building three-dimensional models of automobile parts in the automobile field. The three-dimensional model building device for automobile parts can be implemented in the form of hardware and / or software, such as Figure 3As shown, the device specifically includes: an initial point cloud data acquisition module 301, a point cloud data filtering processing module 302, a point cloud data filtering processing module 303, a point cloud data feature recognition module 304 and a target three-dimensional model generation module 305. Among them,
[0087] The initial point cloud data acquisition module 301 is used to acquire the initial three-dimensional point cloud data of the tested automobile parts;
[0088] The point cloud data filtering processing module 302 is used to perform point cloud outlier filtering processing on the initial three-dimensional point cloud data to obtain reference three-dimensional point cloud data;
[0089] The point cloud data filtering processing module 303 is used to determine a target point cloud filtering method according to the data characteristics of the initial three-dimensional point cloud data, and perform filtering processing on the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data;
[0090] A point cloud data feature recognition module 304 is used to perform point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the tested automobile part;
[0091] The target three-dimensional model generation module 305 is used to construct a target three-dimensional model of the tested automobile component based on the candidate three-dimensional point cloud data and the component type.
[0092] The technical solution of the embodiment of the present invention obtains reference three-dimensional point cloud data by filtering outliers on the initial three-dimensional point cloud data; determines the target point cloud filtering method based on the data characteristics of the initial three-dimensional point cloud data, and filters the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data; performs point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the automotive part under test; and constructs a target three-dimensional model of the automotive part under test based on the candidate three-dimensional point cloud data and the type of part. The above technical solution achieves effective and accurate filtering of point cloud data by selecting a suitable filtering method based on the data characteristics of the point cloud data; improves the accuracy of constructing the three-dimensional model of automotive parts by identifying the type of parts and constructing the target three-dimensional model of parts based on the type of parts and three-dimensional point cloud data.
[0093] Optionally, the point cloud data filtering processing module 302 includes:
[0094] An adjacent coordinate point determination unit, used to determine adjacent coordinate points corresponding to each coordinate point in the initial three-dimensional point cloud data;
[0095] A local density value determining unit, used to determine the local density value corresponding to each of the coordinate points according to the coordinate point distance between each of the coordinate points and its corresponding adjacent coordinate point;
[0096] The outlier filtering unit is used to perform point cloud outlier filtering processing on the initial three-dimensional point cloud data according to the local density values corresponding to each of the coordinate points to obtain reference three-dimensional point cloud data.
[0097] Optionally, the point cloud data filtering processing module 303 includes:
[0098] An outlier distribution type determination unit, used to determine the noise outlier distribution type of the initial three-dimensional point cloud data;
[0099] a distance weight value determining unit, configured to determine a distance weight value of each coordinate point in the reference point cloud data within a preset neighborhood if the noise outlier distribution type is a random distribution type;
[0100] The first point cloud data updating processing unit is used to update the coordinate value of each coordinate point in the reference three-dimensional point cloud data according to the distance weight value of each coordinate point in the reference three-dimensional point cloud data to obtain candidate three-dimensional point cloud data.
[0101] Optionally, the point cloud data filtering processing module 303 further includes:
[0102] A sliding window determination unit, configured to determine point cloud features of the initial three-dimensional point cloud data if the noise outlier distribution type is a distribution cluster type, and determine a sliding window according to the point cloud features;
[0103] A median determination unit, configured to determine the median of each coordinate point in the reference three-dimensional point cloud data based on the sliding window;
[0104] The second point cloud data updating unit is used to update the coordinate value of each coordinate point in the reference three-dimensional point cloud data according to the median value of each coordinate point in the reference three-dimensional point cloud data to obtain candidate three-dimensional point cloud data.
[0105] Optionally, the point cloud data feature recognition module 304 includes:
[0106] A connected region determining unit, configured to perform point cloud feature recognition on the candidate three-dimensional point cloud data to determine at least one connected region;
[0107] The component type determination unit is used to determine the component type of the tested automobile component according to the region shape, region area and region position of each of the connected regions.
[0108] Optionally, the target three-dimensional model generating module 305 includes:
[0109] A target component model determination unit, used to determine a target automobile component model according to the component type;
[0110] A point cloud registration unit, configured to perform point cloud registration on the candidate three-dimensional point cloud data using the target automobile component model to obtain target three-dimensional point cloud data;
[0111] The target three-dimensional model generating unit is used to construct the target three-dimensional model of the tested automobile component according to the target three-dimensional point cloud data.
[0112] Optionally, the device further comprises:
[0113] A reference component feature determination module, used to determine the reference automobile component shape feature according to the component type;
[0114] A target shape feature determination module is used to perform feature recognition on the candidate three-dimensional point cloud data to determine the target shape feature of the tested automobile part;
[0115] The candidate point cloud data updating module is used to update the candidate three-dimensional point cloud data according to the feature similarity between the target shape feature and the reference automobile part shape feature.
[0116] The three-dimensional model building device for automobile parts provided in the embodiment of the present invention can execute the three-dimensional model building method for automobile parts provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0117] Embodiment 4
[0118] Figure 4 A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0119] like Figure 4As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0120] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0121] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a method for constructing a three-dimensional model of automotive parts.
[0122] In some embodiments, the method for constructing a three-dimensional model of an automobile part can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the method for constructing a three-dimensional model of an automobile part described above can be executed. Alternatively, in other embodiments, the processor 41 can be configured to execute the method for constructing a three-dimensional model of an automobile part by any other appropriate means (e.g., by means of firmware).
[0123] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0124] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0125] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0126] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0127] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0128] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0129] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0130] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for constructing a three-dimensional model of an automobile part, characterized in that: include: Obtain the initial three-dimensional point cloud data of the tested automotive parts; Performing point cloud outlier filtering processing on the initial three-dimensional point cloud data to obtain reference three-dimensional point cloud data; Determining a target point cloud filtering method according to data features of the initial three-dimensional point cloud data, and filtering the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data; Performing point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the tested automotive component; According to the candidate three-dimensional point cloud data and based on the type of component, a target three-dimensional model of the tested automobile component is constructed.
2. The method according to claim 1, characterized in that The performing point cloud outlier filtering processing on the initial three-dimensional point cloud data to obtain reference three-dimensional point cloud data includes: Determine adjacent coordinate points corresponding to each coordinate point in the initial three-dimensional point cloud data; Determine the local density value corresponding to each of the coordinate points according to the coordinate point distance between each of the coordinate points and its corresponding adjacent coordinate point; According to the local density values respectively corresponding to the coordinate points, the initial three-dimensional point cloud data is subjected to point cloud outlier filtering processing to obtain reference three-dimensional point cloud data.
3. The method according to claim 1, characterized in that The step of determining a target point cloud filtering method according to the data features of the initial three-dimensional point cloud data, and filtering the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data includes: Determining a noise outlier distribution type of the initial three-dimensional point cloud data; If the noise outlier distribution type is a random distribution type, determining a distance weight value of each coordinate point in the reference point cloud data within a preset neighborhood; According to the distance weight value of each coordinate point in the reference three-dimensional point cloud data, the coordinate value of each coordinate point in the reference three-dimensional point cloud data is updated to obtain candidate three-dimensional point cloud data.
4. The method according to claim 3, characterized in that The method further comprises: If the noise outlier distribution type is a distribution cluster type, determining point cloud features of the initial three-dimensional point cloud data, and determining a sliding window according to the point cloud features; Based on the sliding window, determining the median value of each coordinate point in the reference three-dimensional point cloud data; According to the median value of each coordinate point in each reference three-dimensional point cloud data, the coordinate value of each coordinate point in the reference three-dimensional point cloud data is updated to obtain candidate three-dimensional point cloud data.
5. The method according to claim 1, characterized in that The step of performing point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the tested automobile part comprises: Performing point cloud feature recognition on the candidate three-dimensional point cloud data to determine at least one connected area; The type of the tested automobile component is determined according to the region shape, region area and region position of each of the connected regions.
6. The method according to claim 1, characterized in that The step of constructing a target three-dimensional model of the tested automobile component based on the candidate three-dimensional point cloud data and the component type includes: Determining a target automobile component model according to the component type; Using the target automobile component model, performing point cloud registration on the candidate three-dimensional point cloud data to obtain target three-dimensional point cloud data; A target three-dimensional model of the tested automobile component is constructed according to the target three-dimensional point cloud data.
7. The method according to claim 1, characterized in that Before constructing the target three-dimensional model of the tested automobile component based on the candidate three-dimensional point cloud data and the component type, the method further includes: Determining the shape characteristics of a reference automobile component according to the type of component; Performing feature recognition on the candidate three-dimensional point cloud data to determine the target shape features of the measured automotive parts; The candidate three-dimensional point cloud data is updated according to the feature similarity between the target shape feature and the reference automobile part shape feature.
8. A three-dimensional model building device for automobile parts, characterized in that: include: An initial point cloud data acquisition module is used to acquire initial three-dimensional point cloud data of the tested automobile parts; A point cloud data filtering processing module is used to perform point cloud outlier filtering processing on the initial three-dimensional point cloud data to obtain reference three-dimensional point cloud data; A point cloud data filtering processing module is used to determine a target point cloud filtering method according to data features of the initial three-dimensional point cloud data, and to filter the reference three-dimensional point cloud data based on the target point cloud filtering method to obtain candidate three-dimensional point cloud data; A point cloud data feature recognition module, used to perform point cloud feature recognition on the candidate three-dimensional point cloud data to determine the type of the tested automotive component; The target three-dimensional model generation module is used to construct a target three-dimensional model of the tested automobile component based on the candidate three-dimensional point cloud data and the component type.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for constructing a three-dimensional model of an automobile part according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the three-dimensional model building method of automobile parts according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Cited By
Automobile part profile detection method, device and system
CN119131034A
Equipment monitoring visualization system based on digital twinborn technology
CN119225238A
Equipment monitoring visualization system based on digital twinning technology
CN119225238B
AI-based tooling design method and device
CN120633055A
