Model construction method and device based on point cloud data, equipment and storage medium
By using a point cloud data-based method, the latitudinal and longitudinal section point cloud data are fitted with the characteristics of the rotating body, and feature points are extracted to construct a model. This solves the accuracy problem caused by the non-uniformity of point cloud data, and realizes accurate reconstruction of the internal cavity and automated steelmaking support.
Patent Information
- Application Number
- CN202311074124.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-24
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-08-24
AI Technical Summary
In existing technologies, the non-uniformity of point cloud data leads to reduced model construction accuracy, and the failure to accurately utilize the rotational characteristics of the internal cavity results in significant errors.
By acquiring the internal cavity point cloud data, data extraction is performed based on preset height differences and central angles to obtain latitudinal and longitudinal cross-sectional point cloud datasets. Circular curves and U-curves are fitted, the radius and curvature change rate are calculated, the sidewall and bottom wall regions are divided, feature points are extracted, surface patches are constructed, and an internal cavity model is generated.
It improves the accuracy of model construction, accurately reproduces the actual shape of the internal cavity, and supports erosion detection and automated steelmaking processes.
Smart Images

Figure CN117095124B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of point cloud data processing, and in particular to methods, apparatus, devices and storage media for model building based on point cloud data. Background Technology
[0002] Blast furnaces and hot blast stoves in the ironmaking industry, and converters and electric furnaces in the steelmaking industry are all major production equipment. These devices all have the characteristics of rotating convex spaces, with a frustum or spherical bottom surface and a very thick refractory protective layer embedded inside. During long-term continuous production, the refractory layer is eroded to form an irregular spatial curved surface. When the erosion reaches a certain extent, it will lead to production accidents. In addition, equipment such as converters or electric furnaces need to know the precise shape of the internal cavity in real time to support the automated steelmaking process.
[0003] However, in terms of existing point cloud data generation and coordinate system calibration, due to measurement operation factors, point cloud data cannot achieve full coverage, resulting in uneven local point cloud data. This causes noisy point clouds to affect the accuracy of model construction. On the other hand, the detection process fails to accurately utilize the rotational characteristics of the internal cavity to accurately restore the internal cavity, which can easily cause errors in application. Summary of the Invention
[0004] The purpose of this invention is to provide a model building method, apparatus, device, and storage medium based on point cloud data, so as to solve the problem that the non-uniformity of existing local point cloud data affects the accuracy of model building, and that the internal cavity cannot be accurately restored by utilizing the rotational characteristics of the internal cavity.
[0005] The method for building a model based on point cloud data provided by this invention includes: acquiring internal cavity point cloud data; extracting data from the internal cavity point cloud data according to a preset height difference to obtain multiple latitudinal cross-sectional point cloud datasets at the same height, and obtaining multiple latitudinal cross-sectional circular curves based on each of the latitudinal cross-sectional point cloud datasets; extracting data from the internal cavity point cloud data according to a preset central angle to obtain multiple meridional cross-sectional point cloud datasets with the same central angle, and obtaining multiple meridional U-shaped curves based on each of the meridional cross-sectional point cloud datasets; determining the rate of change of the radius of the circular curves based on each of the latitudinal cross-sectional circular curves, determining the rate of change of the curvature of the meridional U-shaped curves based on each of the meridional U-shaped curves, and performing model construction on the internal cavity based on the rate of change of the radius of the circular curves and the rate of change of the curvature of the meridional U-shaped curves. The system is divided into sidewall and bottomwall regions. Within the sidewall regions, curve fitting is performed on the latitudinal cross-sectional circular curves based on the internal cavity point cloud data to obtain multiple closed curves at different heights. Sidewall feature points are extracted within each closed curve at a preset central angle to obtain multiple sidewall feature points. A unit mesh is constructed for the lowest-height closed curve among the different height closed curves to obtain multiple lowest-height closed curve mesh nodes. Vertical mapping is performed on each node in the unit mesh towards a meridional U-shaped curve to obtain multiple bottomwall feature points. Sidewall region surface patches and bottomwall region surface patches are constructed based on the sidewall feature points and bottomwall feature points, respectively. The current internal cavity model is generated based on the sidewall region surface patches and the bottomwall region surface patches.
[0006] In one embodiment of the present invention, before obtaining the coordinate parameters of the internal cavity point cloud data, the model construction method based on point cloud data further includes: obtaining point cloud data and an internal cavity physical coordinate system; constructing a point cloud coordinate system based on the point cloud data and aligning the point cloud coordinate system and the internal cavity physical coordinate system; and performing a three-dimensional coordinate transformation on the point cloud data in the point cloud coordinate system based on the aligned internal cavity physical coordinate system to obtain the coordinate parameters of the internal cavity point cloud data.
[0007] In one embodiment of the present invention, obtaining multiple latitudinal cross-sectional circular curves based on each of the latitudinal cross-sectional point cloud datasets includes: acquiring a latitudinal fitted point cloud dataset for each of the latitudinal cross-sectional point cloud datasets, wherein the latitudinal fitted point cloud dataset includes a point cloud dataset within a height range of the latitudinal cross-sectional point cloud datasets plus a preset fitted value height range, and a point cloud dataset within a height range of the latitudinal cross-sectional point cloud datasets minus a preset fitted value height; and performing clustering and circular fitting on each of the latitudinal fitted point cloud datasets to obtain multiple latitudinal cross-sectional circular curves.
[0008] In one embodiment of the present invention, obtaining multiple meridional U-shaped curves based on each meridional cross-section point cloud dataset includes: acquiring a meridional fitted point cloud dataset for each meridional cross-section point cloud dataset, wherein the meridional fitted point cloud dataset includes a point cloud dataset within a range of angles within which the central angle of the meridional cross-section point cloud dataset is increased by a preset fitted angle value, and a point cloud dataset within a range of angles within which the central angle of the meridional cross-section point cloud dataset is decreased by a preset fitted angle value; and performing clustering U-shaped fitting on each meridional cross-section point cloud dataset based on each meridional fitted point cloud dataset to obtain multiple meridional cross-section circular curves.
[0009] In one embodiment of the present invention, generating the current internal cavity model based on the sidewall region surface patch and the bottom wall region surface patch includes: determining the closed curve with the lowest height in the sidewall region surface patch as the sidewall connection curve, and determining the outermost curve in the bottom wall region surface patch as the bottom wall connection curve; extracting connection points from the sidewall connection curve and the bottom wall connection curve according to a preset connection point angle to obtain multiple connection points; aligning the connection points of the sidewall connection curve and the connection points of the bottom wall connection curve based on the central angle angle of each connection point, and connecting the aligned connection points of the sidewall connection curve and the connection points of the bottom wall connection curve to obtain the current internal cavity model.
[0010] In one embodiment of the present invention, after obtaining the current cavity model, the model construction method based on point cloud data further includes: obtaining the cavity design model; comparing the side wall feature points and bottom wall feature points of the current cavity model and the cavity design model; if there are inconsistent parameters of the side wall feature points or bottom wall feature points, the side wall feature points or bottom wall feature points with inconsistent parameters are identified as abnormal feature points, and the abnormal feature points are marked to detect anomalies in the cavity.
[0011] In one embodiment of the present invention, after curve fitting of each of the latitudinal cross-sectional circular curves in the sidewall region based on the internal cavity point cloud data, the model construction method based on point cloud data further includes: if there is missing point cloud data in the latitudinal cross-sectional circular curve, obtaining the range of the central angle where the missing point cloud data is located; determining the meridional U-shaped curve within the range of the central angle where the missing point cloud data is located, and compensating the latitudinal cross-sectional circular curve based on the meridional U-shaped curve within the range of the central angle where the missing point cloud data is located to obtain a closed curve.
[0012] In one embodiment of the present invention, the method of obtaining multiple bottom wall feature points by vertically mapping each node in the unit grid to the meridional U-shaped curve includes: vertically mapping each node in the unit grid to the meridional U-shaped curve based on the unit radius and center angle of each node to obtain multiple mapping points to be processed, and calculating the three-dimensional coordinates of each mapping point to obtain multiple bottom wall feature points.
[0013] This invention also provides a model building device based on point cloud data. The model building based on point cloud data includes: a point cloud data extraction and initialization module for acquiring internal cavity point cloud data; a latitude and longitude slice point cloud clustering module for extracting data from the internal cavity point cloud data according to a preset height difference to obtain multiple latitude cross-sectional point cloud datasets at the same height, and obtaining multiple latitude cross-sectional circular curves based on each of the latitude cross-sectional point cloud datasets; extracting data from the internal cavity point cloud data according to a preset central angle to obtain multiple longitude cross-sectional point cloud datasets at the same central angle, and obtaining multiple longitude U-shaped curves based on each of the longitude cross-sectional point cloud datasets; and a sidewall and bottomwall division module for determining the radius change rate of the circular curves based on each of the latitude cross-sectional circular curves, determining the curvature change rate of the longitude U-shaped curves based on each of the longitude U-shaped curves, and determining the curvature change rate of the longitude U-shaped curves based on the radius change rate of the circular curves and the longitude U-shaped curves. The U-curve curvature change rate divides the cavity into sidewall and bottom wall regions. A sidewall surface patch generation module is used to perform curve fitting on the latitudinal cross-sectional circular curves in the sidewall regions based on the cavity point cloud data, obtaining multiple closed curves at different heights. Sidewall feature points are extracted within each closed curve at a preset central angle, resulting in multiple sidewall feature points. A bottom wall surface patch generation module is used to construct a unit mesh for the lowest-height closed curve among the closed curves at different heights, obtaining multiple lowest-height closed curve mesh nodes. Vertical mapping is performed on each node in the unit mesh towards a meridional U-shaped curve, resulting in multiple bottom wall feature points. An cavity stitching module is used to construct sidewall region surface patches based on the sidewall feature points, construct bottom wall region surface patches based on the bottom wall feature points, and generate the current cavity model based on the sidewall and bottom wall region surface patches.
[0014] This invention also provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the point cloud data-based model building method as described in any of the above embodiments.
[0015] This invention also provides a computer-readable storage medium storing computer-readable instructions, which, when executed by a computer's processor, cause the computer to perform the point cloud data-based model building method as described in any of the above embodiments.
[0016] The model construction method, apparatus, device, and storage medium based on point cloud data in this embodiment of the invention determine multiple latitudinal cross-sectional circular curves and meridional U-shaped curves after acquiring internal cavity point cloud data. Based on each latitudinal cross-sectional circular curve and meridional U-shaped curve, the radius change rate of the circular curve and the curvature change rate of the meridional U-shaped curve are determined respectively. The side wall region and bottom wall region are obtained according to the radius change rate of the circular curve and the curvature change rate of the meridional U-shaped curve. After extracting the feature points of the side wall and bottom wall, surface patches of the side wall region and surface patches of the bottom wall region are constructed, and the current internal cavity model is generated. This method obtains multiple latitudinal cross-sectional circular curves and meridional U-shaped curves by fitting the point cloud data and utilizing the properties of the body of revolution. The model is constructed by extracting feature points based on the latitudinal cross-sectional circular curves and meridional U-shaped curves. The curve extraction of feature points based on the fitted data avoids the impact of unevenness of local point cloud data on the accuracy of model construction, and accurately restores the actual internal cavity model.
[0017] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0019] Figure 1 This is a schematic diagram illustrating an exemplary system architecture as shown in an exemplary embodiment of this application;
[0020] Figure 2 This is a flowchart illustrating a model construction method based on point cloud data, as shown in an exemplary embodiment of this application;
[0021] Figure 3 This is a flowchart illustrating a specific model construction method based on point cloud data, as shown in an exemplary embodiment of this application.
[0022] Figure 4 This is a schematic diagram illustrating a specific planar structured unit mesh construction and mapping, as shown in an exemplary embodiment of this application.
[0023] Figure 5-A This is a schematic diagram illustrating the furnace cavity construction result under a specific point cloud set, as shown in an exemplary embodiment of this application;
[0024] Figure 5-B This is a schematic diagram illustrating a specific furnace cavity construction result, as shown in an exemplary embodiment of this application;
[0025] Figure 6 This is a schematic diagram of a model building apparatus based on point cloud data, illustrating an exemplary embodiment of this application;
[0026] Figure 7 This is a schematic diagram of the structure of a computer system for an electronic device, as illustrated in an exemplary embodiment of this application. Detailed Implementation
[0027] The embodiments of the present invention will be described below with reference to the accompanying drawings and specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention and not for limiting the scope of protection of the present invention.
[0028] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the illustrations only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the shape, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0029] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the invention. However, it will be apparent to those skilled in the art that embodiments of the invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the invention.
[0030] The term "and / or" used in this application describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the related objects before and after it are in an "or" relationship.
[0031] First, it's important to clarify that a solid of revolution is a three-dimensional object composed solely of surfaces of revolution or a combination of surfaces of revolution and a plane. Imagine two points at either end of an object, with a line connecting these points passing through the object. Using this line as the center of rotation, each part of the object will maintain the same shape when it reaches a fixed position. Its key characteristic is that a solid of revolution is obtained by rotating along a coaxial axis. Based on this coaxial condition, and by setting a coaxial central angle, feature points can be extracted uniformly from the solid of revolution, resulting in an accurate model.
[0032] A point cloud is a dataset where each point represents a set of X, Y, Z geometric coordinates and an intensity value, which is recorded based on the reflectivity of the object's surface to indicate the strength of the returned signal. When these points are combined, they form a point cloud, a collection of data points in space representing 3D shapes or objects. Data for generating point clouds can be acquired in various ways, including total stations, ground and airborne laser scanners, drones, mobile mapping systems, snapshot images, video captured from handheld devices, smartphones, and CAD programs that generate surface and structural models. The point cloud-based 3D reconstruction process typically includes point cloud data preprocessing, segmentation, meshing, and mesh rendering.
[0033] Cluster fitting is an unsupervised learning method used to divide a set of data points into different categories or groups. Its goal is to assign data points to categories with similar characteristics, maximizing the similarity between data points within the same category and minimizing the similarity between different categories. The cluster fitting process typically involves selecting an appropriate distance metric to calculate the similarity between data points; selecting a suitable clustering algorithm, such as k-means or hierarchical clustering; initializing cluster centers or the number of categories; iteratively updating the cluster centers or adjusting the categories until convergence is achieved; and finally, assigning data points to different categories based on the final clustering results.
[0034] This application also provides the following benefits: selecting point cloud datasets within a preset fitting height range by increasing or decreasing the height of the latitudinal cross-section point cloud dataset for clustering and circular fitting can reduce the missing fitting data caused by uneven point cloud data, thus reducing the accuracy of model construction; the aforementioned preset latitudinal fitting point cloud dataset and preset fitting angle range can be specifically set according to the application requirements of the actual implementation process of this solution, improving the fitting accuracy of latitudinal cross-section circular curves and meridional U-shaped curves, which is more in line with the requirements of actual engineering applications; based on the original internal cavity rotation characteristics, the surface reconstruction of the local area is completed from a global perspective, and the surface of the local area is connected and stitched at a preset angle, which more accurately constructs the actual shape of the furnace cavity, supporting the erosion detection process and automated steelmaking and other process engineering.
[0035] Figure 1 This is a schematic diagram illustrating an exemplary system architecture as shown in an exemplary embodiment of this application.
[0036] Reference Figure 1As shown, the system architecture may include an inner cavity 101 and a computer device 102. The computer device 102 may be at least one of a microcomputer, an embedded computer, or a network computer. After acquiring the inner cavity point cloud data of the inner cavity 101, the computer device 102 extracts data from the inner cavity point cloud data according to a preset height difference, obtaining multiple latitudinal cross-sectional point cloud datasets at the same height. Based on each latitudinal cross-sectional point cloud dataset, it obtains multiple latitudinal cross-sectional circular curves. Based on a preset central angle, it extracts data from the inner cavity point cloud data, obtaining multiple meridional cross-sectional point cloud datasets with the same central angle. Based on each meridional cross-sectional point cloud dataset, it obtains multiple meridional U-shaped curves. Based on each latitudinal cross-sectional circular curve, it determines the rate of change of the circular curve radius; based on each meridional U-shaped curve, it determines the rate of change of the meridional U-shaped curve curvature; and based on the circular... The inner cavity is divided by the curve radius change rate to obtain the side wall region and the bottom wall region. In the side wall region, the circular curves of each latitudinal section are fitted with curves based on the inner cavity point cloud data to obtain multiple closed curves at different heights. In each closed curve at different heights, side wall feature points are extracted based on a preset central angle to obtain multiple side wall feature points. A unit mesh is constructed for the closed curve with the lowest height among the closed curves at different heights to obtain multiple lowest closed curve mesh nodes. Vertical mapping is performed on each node in the unit mesh to the meridional U-shaped curve to obtain multiple bottom wall feature points. Side wall region surface patches are constructed based on each side wall feature point, and bottom wall region surface patches are constructed based on each bottom wall feature point. The current inner cavity model is generated based on the side wall region surface patches and the bottom wall region surface patches.
[0037] In a schematic manner, after acquiring the point cloud data of the inner cavity 101, the computer device 102 determines multiple latitudinal cross-sectional circular curves and meridional U-shaped curves. Based on each latitudinal cross-sectional circular curve and meridional U-shaped curve, the rate of change of the radius of the circular curve and the rate of change of the curvature of the meridional U-shaped curve are determined respectively. The side wall region and the bottom wall region are obtained according to the rate of change of the radius of the circular curve. Feature points of the side wall and the bottom wall are extracted respectively. Based on the feature points, surface patches of the side wall region and surface patches of the bottom wall region are constructed, and the current inner cavity model is generated. This method obtains multiple latitudinal cross-sectional circular curves and meridional U-shaped curves by fitting the point cloud data and utilizing the properties of the body of revolution. The model is constructed based on the feature points extracted from the latitudinal cross-sectional circular curves and meridional U-shaped curves. The feature point extraction based on the curves of the fitted data avoids the impact of the unevenness of the local point cloud data on the accuracy of the model construction and accurately restores the actual model of the inner cavity.
[0038] Figure 2 This is a flowchart illustrating an exemplary embodiment of a method for building a model based on point cloud data. This method can be executed using a computing processing device, which may be... Figure 1 The computer device 102 shown is illustrated. (Refer to...) Figure 2As shown in the flowchart, the method for building a model based on point cloud data includes at least steps S210 to S270, which are described in detail below:
[0039] In step S210, the point cloud data of the cavity is acquired.
[0040] In one embodiment of this application, before obtaining the coordinate parameters of the internal cavity point cloud data, the method further includes obtaining initial point cloud data and an internal cavity physical coordinate system, constructing a point cloud coordinate system based on the initial point cloud data, aligning the point cloud coordinate system and the internal cavity physical coordinate system, and performing a three-dimensional coordinate transformation on the point cloud data in the point cloud coordinate system based on the aligned internal cavity physical coordinate system to obtain the internal cavity point cloud data.
[0041] In one embodiment of this application, after aligning the point cloud coordinate system and the internal cavity object coordinate system, the initial point cloud data containment box size is obtained. Based on the initial point cloud data containment box size, the subsequent preset height difference and preset central angle are set, which can make more accurate values based on the object size and improve the accuracy of subsequent model construction.
[0042] In one embodiment of this application, the aforementioned initial point cloud data can be acquired in various ways, including total stations, ground and airborne laser scanners, drones, mobile mapping systems, snapshot images, videos acquired from handheld devices, as well as measurement and transfer devices that can acquire point cloud data, such as smartphones and CAD programs that generate surface and structural models. The method of acquiring the aforementioned initial point cloud data is not limited here.
[0043] In step S220, the internal cavity point cloud data is extracted according to the preset height difference to obtain multiple latitudinal cross-sectional point cloud datasets at the same height, and multiple latitudinal cross-sectional circular curves are obtained based on each latitudinal cross-sectional point cloud dataset.
[0044] In one embodiment of this application, a latitudinal fitted point cloud dataset is obtained for each latitudinal cross-section point cloud dataset. Based on each latitudinal fitted point cloud dataset, a clustering-based circular fitting is performed on each latitudinal cross-section point cloud dataset to obtain multiple latitudinal cross-section circular curves. The latitudinal fitted point cloud dataset includes point cloud datasets within a height range that increases from the height of the latitudinal cross-section point cloud dataset by a preset fitting value, and point cloud datasets within a height range that decreases from the height of the latitudinal cross-section point cloud dataset by a preset fitting value.
[0045] In one embodiment of this application, clustering circle fitting is a method for fitting circular data based on clustering fitting. Clustering fitting assigns data points to categories with similar characteristics, maximizing the similarity between data points within the same category and minimizing the similarity between different categories. The clustering fitting process typically includes selecting an appropriate distance metric to calculate the similarity between data points; selecting a suitable clustering algorithm, such as k-means or hierarchical clustering; initializing cluster centers or the number of categories, and iteratively updating the cluster centers or adjusting the categories until convergence is reached; and assigning data points to different categories based on the final clustering results. In this embodiment, selecting a point cloud dataset with height increases and decreases within a preset fitting height range for clustering circle fitting can reduce the inaccuracy of the fitted data caused by uneven point cloud data, thus reducing the accuracy of model construction.
[0046] In one embodiment of this application, the preset fitting value height range can be selected as point cloud data within 0.1m in some specific embodiments of this application. That is, all point cloud data within a 0.2m range with the height of the latitudinal section point cloud dataset as the midpoint are used for clustering circle fitting. It should be noted that the above fitting value height range is only an exemplary example. In the implementation of this solution, the specific fitting value height range can be determined based on the size of the modeling cavity and the modeling accuracy requirements. Here, the fitting value height range is not specifically limited.
[0047] In step S230, the internal cavity point cloud data is extracted according to the preset central angle to obtain multiple meridional cross-sectional point cloud datasets with the same central angle, and multiple meridional U-shaped curves are obtained based on each meridional cross-sectional point cloud dataset.
[0048] In one embodiment of this application, a meridional fitted point cloud dataset is obtained for each meridional cross-section point cloud dataset. The meridional fitted point cloud dataset includes a point cloud dataset within the range of the central angle of the circle containing the meridional cross-section point cloud dataset plus a preset fitted angle value, and a point cloud dataset within the range of the central angle of the circle containing the meridional cross-section point cloud dataset minus a preset fitted angle value. Based on each meridional fitted point cloud dataset, a clustering class U-fit is performed on each meridional cross-section point cloud dataset to obtain multiple meridional cross-section circular curves.
[0049] In one embodiment of this application, the preset central angle can be selected as 15 degrees in some specific embodiments of this application, and the preset fitting angle range can be a central angle range of plus or minus 3 degrees. That is, the point cloud dataset is obtained within a 6-degree central angle range where the central angle of each meridional section point cloud dataset is the middle angle, and is used to perform clustering U-type fitting on each meridional section point cloud dataset. It should be noted that the above-mentioned meridional fitting point cloud dataset is only an exemplary example. In the implementation of this solution, the specific meridional fitting point cloud dataset can be determined based on the size of the modeling cavity and the modeling accuracy requirements. There is no specific limitation on the meridional fitting point cloud dataset here.
[0050] It should be noted that the preset latitudinal fitting point cloud dataset and preset fitting angle range can be specifically set according to the application requirements of the actual implementation process of this solution, so as to improve the fitting accuracy of the latitudinal cross-sectional circular curve and the meridional U-shaped curve, and better meet the requirements of actual engineering applications.
[0051] In step S240, the radius change rate of the circular curve is determined based on the circular curves of each latitudinal section, the curvature change rate of the U-shaped curve in the meridional direction is determined based on the U-shaped curve in the meridional direction, and the inner cavity is divided according to the radius change rate of the circular curve and the curvature change rate of the U-shaped curve in the meridional direction to obtain the side wall region and the bottom wall region.
[0052] In one embodiment of this application, the curvature change rate of each meridional U-shaped curve is determined based on each meridional U-shaped curve, and the curvature change rate of each meridional U-shaped curve is weighted and averaged to obtain the curvature change rate of the meridional U-shaped curve as a function of height.
[0053] In step S250, curve fitting is performed on the circular curves of each latitudinal section in the sidewall region based on the internal cavity point cloud data to obtain multiple closed curves at different heights. Sidewall feature points are extracted within each closed curve at different heights based on a preset central angle to obtain multiple sidewall feature points.
[0054] In one embodiment of this application, after curve fitting of each latitudinal cross-sectional circular curve in the sidewall region based on the internal cavity point cloud data, if there is missing point cloud data in the latitudinal cross-sectional circular curve, the range of the central angle where the missing point cloud data is located is obtained, the meridional U-shaped curve within the range of the central angle where the missing point cloud data is located is determined, and the latitudinal cross-sectional circular curve is compensated based on the meridional U-shaped curve within the range of the central angle where the missing point cloud data is located to obtain a closed curve.
[0055] In one embodiment of this application, the curve fitting described above is a local fitting, including methods such as non-uniform rational B-spline curve fitting and polynomial curve fitting for specific data fitting. No specific fitting method is limited here. Non-uniform rational B-spline curves (NURBS), also known as non-uniform rational splines, are a commonly used mathematical model in computer graphics for generating and representing curves and surfaces. Their characteristics include perspective invariance, accurate representation of quadratic surfaces such as spheres, and more degrees of freedom for shape control. Polynomial curve fitting refers to fitting a polynomial to describe data features from the original data. It is widely used and researched in data mining, machine learning, and data analysis. Polynomial curve fitting relies on a polynomial function to fit the original data, generally using Gaussian least squares or nonlinear least squares.
[0056] In step S260, a unit mesh is constructed for the closed curve with the lowest height among the closed curves of different heights, resulting in multiple lowest closed curve mesh nodes. Based on the vertical mapping of each node in the unit mesh to the meridional U-shaped curve, multiple bottom wall feature points are obtained.
[0057] In one embodiment of this application, the cell grid can be a triangular grid or a quadrilateral grid. The specific cell grid division can be based on the accuracy requirements during the implementation of the scheme. The specific cell grid division is not described here.
[0058] In one embodiment of this application, a vertical mapping is performed based on the unit radius and center angle of each node in the unit mesh to a U-shaped curve in the meridional direction, resulting in multiple mapping points to be processed, and the three-dimensional coordinates of each mapping point are calculated to obtain multiple bottom wall feature points.
[0059] In step S270, a sidewall region surface patch is constructed based on each sidewall feature point, a bottom wall region surface patch is constructed based on each bottom wall feature point, and the current internal cavity model is generated based on the sidewall region surface patch and the bottom wall region surface patch.
[0060] In one embodiment of this application, the closed curve with the lowest height in the sidewall region surface patch is determined as the sidewall connection curve, and the outermost curve in the bottom wall region surface patch is determined as the bottom wall connection curve. Connection points are extracted from the sidewall connection curve and the bottom wall connection curve according to a preset connection point angle to obtain multiple connection points. The connection points of the sidewall connection curve and the connection points of the bottom wall connection curve are aligned based on the central angle of each connection point, and the aligned connection points of the sidewall connection curve and the connection points of the bottom wall connection curve are connected to obtain the current internal cavity model.
[0061] In an embodiment of the present application, after the current inner cavity model is obtained, an inner cavity design model is acquired, and sidewall feature points and bottom wall feature points of the current inner cavity model and the inner cavity design model are compared.
[0062] In an embodiment of the present application, if there is inconsistency in parameters of the sidewall feature points or the bottom wall feature points, the sidewall feature points or the bottom wall feature points with inconsistent parameters are determined as abnormal feature points, and the abnormal feature points are labeled to perform abnormality detection on the inner cavity.
[0063] Please refer to Figure 3 , Figure 3 which is a flowchart of a specific model construction method based on point cloud data illustrated in an exemplary embodiment of the present application. As shown in Figure 3 , in a specific embodiment of the present application, the specific process of the model construction method based on point cloud data at least includes S10 to S90, which are specifically described as follows:
[0064] In step S10, point cloud data is acquired, a point cloud coordinate system and an object coordinate system are aligned, and point cloud model information is initialized.
[0065] In a specific embodiment of the present application, point cloud data of a quantity set of 50000 is extracted, the point cloud coordinate system is aligned with a furnace body coordinate system to obtain bounding box dimensions, where the length x satisfies -5.1 m < x < 5.0 m, the width y satisfies -4.9 m < y < 5.1 m, and the height z satisfies -3.5 m < z < 6.5 m. It should be noted that, in this specific embodiment, the positive and negative values refer to distance calibration in the coordinate system, and the coordinate system is established with the center point of the inner cavity as the origin. In some other implementation environments, other positions of the inner cavity may also be used as the origin to construct the coordinate system, and the specific establishment position of the coordinate system is not limited herein.
[0066] In a specific embodiment of the present application, after the point cloud coordinate system is aligned with the furnace body coordinate system to obtain the bounding box dimensions, 19 uniform latitudinal slices are set with a height increment of 0.5 m, and 12 longitudinal slices are set with a central angle increment of 15°.
[0067] It should be noted that the point cloud data is consistent with the inner cavity point cloud data in the above embodiments, and the furnace body coordinate system is consistent with the inner cavity object coordinate system in the above embodiments.
[0068] In step S20, latitudinal slicing is performed to cluster local point clouds of circular-like cross-sections, fit and construct circular curves on different horizontal planes, and obtain circle centers and radii.
[0069] In a specific embodiment of the present application, latitudinal slicing is performed, point cloud clustering is conducted within a range of 0.1 m above and below the horizontal plane of each slice height, a circular-like cross-section curve equation is fitted to obtain its circle center and radius, and a radius value curve varying with height is obtained.
[0070] In this case, the point cloud clustering within 0.1m above and below the horizontal plane of each slice height is consistent with the clustering of point cloud datasets of each latitudinal section based on the fitted point cloud datasets of each latitudinal direction in the above embodiment.
[0071] Step S30: Slice the meridional section, cluster the local point cloud of the U-shaped section, and fit and construct meridional U-shaped curves with different central angles to obtain discrete curvature.
[0072] In one specific embodiment of this application, meridional slicing is performed, and point cloud clustering is performed within a ±3° range in each circumferential slice plane. The corresponding meridional U-shaped curve is fitted and constructed, and the curvature value curve as a function of height is obtained by weighted averaging.
[0073] Step S40: Divide the sidewalls and bottomwalls of the furnace cavity according to the curvature gradient and radius gradient.
[0074] In one specific embodiment of this application, the horizontal plane with a height value of -3.1m is used as the interface between the sidewall and the bottom wall according to the curvature gradient and the radius gradient. The part above the height value of -3.1m is constructed as a curved surface according to the sidewall, and the part below the height value of -3.1m is constructed as a curved surface according to the bottom wall. The closed curve constructed with the height value of -3.1m is set as the common closed curve of the sidewall and the bottom wall.
[0075] The division between the sidewall and the bottom wall based on the curvature gradient and radius gradient, with the horizontal plane at a height of -3.1m as the boundary, means that the rate of change of the curvature gradient and the radius gradient changes abruptly at a coordinate height of -3.1m. This proves that at this height, the sidewall no longer extends downwards, and the radius of the bottom wall begins to shrink, which is the boundary between the sidewall and the bottom wall.
[0076] It should be noted that the curvature gradient mentioned above is consistent with the rate of change of curvature of the meridional U-shaped curve in the above embodiment, and the radius gradient is consistent with the rate of change of radius of the circular curve in the above embodiment.
[0077] Step S50: Fit the latitudinal slice point cloud data or obtain two-dimensional closed curves at different horizontal heights through U-shaped cross-section curve compensation fitting.
[0078] In one specific embodiment of this application, latitudinal slice point cloud data is fitted to obtain two-dimensional closed curves at different horizontal heights, resulting in a total of 20 two-dimensional closed curves at different horizontal heights.
[0079] In one specific embodiment of this application, when local point cloud data of a cross section is partially missing, a U-shaped cross section curve can be activated for compensation.
[0080] Step S60: Extract sidewall feature points based on two-dimensional closed curves on different horizontal planes and a unified meridional center angle to construct a local spatial surface patch of the sidewall.
[0081] In one specific embodiment of this application, 24 sidewall feature points are taken for each two-dimensional closed curve to construct a local spatial surface patch of the sidewall, for a total of 456 sidewall feature points.
[0082] Step S70: Generate a planar structured cell mesh based on the two-dimensional closed curved surface with the lowest vertical height.
[0083] In one specific embodiment of this application, such as Figure 4 As shown, Figure 4 This is an exemplary embodiment of the present application illustrating a specific planar structured unit mesh construction and mapping diagram. A total of 32 planar structured unit meshes are generated for the surface with a common closed curve as the boundary at a height of -3.1m. The planar structured unit meshes can be triangular meshes and quadrilateral meshes.
[0084] Step S80: Based on the unit radius and center angle of the planar mesh node, perform vertical mapping to the meridional U-shaped curve of the corresponding cluster, solve for its corresponding three-dimensional coordinates, and construct the local spatial surface patch of the bottom wall.
[0085] In one specific embodiment of this application, such as Figure 4 As shown, the unit radius R and center angle θ of the planar mesh node P are vertically mapped to the meridional U-shaped curve of the corresponding cluster, and the corresponding three-dimensional coordinates P' are solved to construct the local spatial surface patch of the bottom wall.
[0086] In step S90, the lowest vertical curve of the two-dimensional closed curve cluster is the target of the outer unit circle of the bottom wall. With the center angle of the circle being consistent, the bottom wall and the side wall are stitched together, thereby constructing the inner cavity of the furnace body.
[0087] In one specific embodiment of this application, the common closed curve is the mapping target of the outer unit circle of the bottom wall, and the center angle of the circle is consistent (interval of 15 degrees). Based on this, the bottom wall and the side wall are stitched together, thereby constructing the inner cavity of the furnace body.
[0088] In one specific embodiment of this application, such as Figure 5-A and Figure 5-B As shown in a specific embodiment of this application, Figure 5-A This is a schematic diagram illustrating the furnace cavity construction result under a specific point cloud set, as shown in an exemplary embodiment of this application. Figure 5-B This is a schematic diagram illustrating a specific furnace cavity construction result, as shown in an exemplary embodiment of this application. The bottom and side walls can be stitched together based on a common closed curve to obtain... Figure 5-B The furnace cavity model, after mapping with the point cloud set, can be obtained Figure 5-AThe specific point cloud set is used to construct the furnace cavity. The spatial surface patches are non-uniform rational B-spline surfaces or polynomial surfaces, ensuring C0 continuity or higher between surfaces. Based on the original cavity's rotational characteristics, the surface reconstruction of local areas is completed from a global perspective, and the surfaces of these local areas are connected and stitched at preset angles, accurately constructing the actual shape of the furnace cavity and supporting processes such as erosion detection and automated steelmaking.
[0089] This invention discloses a model construction method, apparatus, device, and storage medium based on point cloud data. The method acquires point cloud data of an internal cavity and determines multiple latitudinal cross-sectional circular curves and meridional U-shaped curves. Based on each latitudinal cross-sectional circular curve and meridional U-shaped curve, it determines the rate of change of the radius of the circular curves and the rate of change of the curvature of the meridional U-shaped curves. Based on the rate of change of the radius of the circular curves, it obtains the sidewall and bottom wall regions, extracts feature points from the sidewalls and bottom walls respectively, constructs surface patches for the sidewall and bottom wall regions based on these feature points, and generates the current internal cavity model. This method fits the point cloud data, utilizes the properties of a body of revolution to obtain multiple latitudinal cross-sectional circular curves and meridional U-shaped curves, and constructs a model based on the feature points extracted from the latitudinal cross-sectional circular curves and meridional U-shaped curves. Extracting feature points based on the curves of the fitted data avoids the impact of unevenness in local point cloud data on model construction. The accuracy is affected, and the actual model of the inner cavity is restored more accurately. The beneficial effects that this application can also provide include: selecting point cloud datasets within the preset fitting value height range of the latitudinal cross-section point cloud dataset for clustering and circular fitting can reduce the missing fitting data caused by uneven point cloud data, which would reduce the accuracy of model construction; the above-mentioned preset latitudinal fitting point cloud dataset and preset fitting value angle range can be specifically set according to the application requirements of the actual implementation process of this solution, improving the fitting accuracy of the latitudinal cross-section circular curve and the longitudinal U-shaped curve, which is more in line with the requirements of actual engineering applications; based on the original inner cavity rotation characteristics, the surface reconstruction of the local area is completed from the global perspective, and the surface of the local area is connected and stitched at the preset angle, which more accurately constructs the actual shape of the furnace inner cavity, supporting the erosion detection process and automated steelmaking and other process engineering.
[0090] The following describes an apparatus embodiment of this application, which can be used to execute the point cloud data-based model construction method in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the above embodiments of the point cloud data-based model construction method of this application.
[0091] Figure 6 This is a schematic diagram illustrating a model building apparatus based on point cloud data, as shown in an exemplary embodiment of this application. The apparatus can be applied to... Figure 2The implementation environment shown is specifically configured in computer device 102. This device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which this device is applicable.
[0092] like Figure 6 As shown, the exemplary model building device based on point cloud data includes: a point cloud data extraction and initialization module 601, a latitude and longitude slice point cloud clustering module 602, a side wall and bottom wall division module 603, a side wall curved surface patch generation module 604, a bottom wall curved surface patch generation module 605, and an inner cavity splicing module 606.
[0093] The module includes: a point cloud data extraction and initialization module 601, used to acquire point cloud data of the internal cavity; a latitude and longitude slice point cloud clustering module 602, used to extract point cloud data of the internal cavity according to a preset height difference, to obtain multiple latitude section point cloud datasets at the same height, and to obtain multiple latitude section circular curves based on each latitude section point cloud dataset; to extract point cloud data of the internal cavity according to a preset central angle, to obtain multiple longitude section point cloud datasets with the same central angle, and to obtain multiple longitude U-shaped curves based on each longitude section point cloud dataset; and a sidewall and bottomwall division module 603, used to determine the radius change rate of the circular curves based on each latitude section circular curve, determine the curvature change rate of the longitude U-shaped curves based on each longitude U-shaped curve, and divide the internal cavity according to the radius change rate of the circular curves and the curvature change rate of the longitude U-shaped curves to obtain the sidewalls. The system comprises: a region and a bottom wall region; a side wall surface patch generation module 604, used to perform curve fitting on the circular curves of each latitudinal section in the side wall region based on the internal cavity point cloud data, to obtain multiple closed curves at different heights, and to extract side wall feature points within each closed curve at different heights based on a preset central angle, to obtain multiple side wall feature points; a bottom wall surface patch generation module 605, used to construct a unit mesh for the closed curve with the lowest height among the closed curves at different heights, to obtain multiple lowest closed curve mesh nodes, and to perform vertical mapping on each node in the unit mesh to a U-shaped curve in the meridional direction, to obtain multiple bottom wall feature points; and an internal cavity splicing module 606, used to construct side wall region surface patches based on each side wall feature point, construct bottom wall region surface patches based on each bottom wall feature point, and generate the current internal cavity model based on the side wall region surface patches and the bottom wall region surface patches.
[0094] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device enables the point cloud data-based model building method provided in the above embodiments.
[0095] Figure 7This is a schematic diagram illustrating the structure of a computer system for an electronic device, as shown in an exemplary embodiment of this application. It should be noted that... Figure 7 The computer system 700 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0096] like Figure 7 As shown, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on a program stored in Read-Only Memory (ROM) 702 or a program loaded from storage into Random Access Memory (RAM) 703. The RAM 703 also stores various programs and data required for system operation. The CPU 701, ROM 702, and RAM 703 are interconnected via a bus. An Input / Output (I / O) interface 705 is also connected to the bus 704.
[0097] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface 705 as needed. A removable medium 711, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 710 as needed so that computer programs read from it can be installed into the storage section 708 as needed.
[0098] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 709, and / or installed from removable medium 711. When the computer program is executed by central processing unit (CPU) 701, it performs various functions defined in the system of this application.
[0099] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0100] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0101] In the corresponding figures of the above embodiments, connecting lines can represent the connection relationship between various components, indicating more constitutive signal paths and / or one or more ends of some lines having arrows to indicate the main information flow direction. Connecting lines are an identifier and are not a limitation on the scheme itself, but rather the use of these lines in combination with one or more exemplary embodiments helps to more easily connect circuits or logic units. Any signal represented (determined by design requirements or preferences) can actually include one or more signals that can be transmitted in any direction and can be implemented in any suitable type of signal scheme.
[0102] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0103] Another aspect of this application provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method as described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not assembled into the electronic device.
[0104] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0105] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.
[0106] It should be noted that this application can be used in a wide range of general-purpose or special-purpose computing system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.
[0107] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0108] It should be understood that the above content is only a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be the scope of protection claimed in the claims.
Claims
1. A method for model construction based on point cloud data, characterized in that, The model construction method based on point cloud data includes: Acquire internal cavity point cloud data; Data extraction is performed on the internal cavity point cloud data according to a preset height difference to obtain multiple latitudinal cross-sectional point cloud datasets at the same height, and multiple latitudinal cross-sectional circular curves are obtained based on each of the latitudinal cross-sectional point cloud datasets; wherein, latitudinal fitting point cloud datasets are obtained for each of the latitudinal cross-sectional point cloud datasets, the latitudinal fitting point cloud datasets include point cloud datasets within a range of height from the latitudinal cross-sectional point cloud dataset to the preset fitting height range, and point cloud datasets within a range of height from the latitudinal cross-sectional point cloud dataset to the preset fitting height range; clustering and circular fitting are performed on each of the latitudinal fitting point cloud datasets based on each of the latitudinal fitting point cloud datasets to obtain multiple latitudinal cross-sectional circular curves; Data extraction is performed on the internal cavity point cloud data according to a preset central angle to obtain multiple meridional cross-sectional point cloud datasets with the same central angle, and multiple meridional U-shaped curves are obtained based on each meridional cross-sectional point cloud dataset; wherein, a meridional fitted point cloud dataset is obtained for each meridional cross-sectional point cloud dataset, the meridional fitted point cloud dataset includes point cloud datasets within the range of the meridional cross-sectional point cloud dataset with the central angle increased by a preset fitted angle, and point cloud datasets within the range of the meridional cross-sectional point cloud dataset with the central angle decreased by a preset fitted angle; clustering U-shaped fitting is performed on each meridional cross-sectional point cloud dataset based on each meridional fitted point cloud dataset to obtain multiple meridional cross-sectional circular curves; The radius change rate of the circular curve is determined based on the circular curves of each latitudinal section, and the curvature change rate of the U-shaped curve is determined based on the U-shaped curves of each meridional section. The inner cavity is then divided according to the radius change rate of the circular curve and the curvature change rate of the U-shaped curve to obtain the side wall region and the bottom wall region. In the sidewall region, the circular curves of each latitudinal section are fitted based on the internal cavity point cloud data to obtain multiple closed curves at different heights. In each closed curve at different heights, sidewall feature points are extracted based on a preset central angle to obtain multiple sidewall feature points. The fitting of the above curves is all local fitting, and the fitting methods include non-uniform rational B-spline curve fitting and polynomial curve fitting. A unit mesh is constructed for the closed curve with the lowest height among the closed curves of different heights, resulting in multiple lowest closed curve mesh nodes. Based on the vertical mapping of each node in the unit mesh to the meridional U-shaped curve, multiple bottom wall feature points are obtained. A sidewall region surface patch is constructed based on each of the sidewall feature points, a bottom wall region surface patch is constructed based on each of the bottom wall feature points, and the current internal cavity model is generated based on the sidewall region surface patch and the bottom wall region surface patch. 2.The method of claim 1, wherein, Before acquiring the cavity point cloud data, the model construction method based on the point cloud data further includes: Acquire initial point cloud data and the internal cavity coordinate system; A point cloud coordinate system is constructed based on the initial point cloud data, and the point cloud coordinate system is aligned with the internal cavity object coordinate system; Based on the aligned internal cavity physical coordinate system, a three-dimensional coordinate transformation is performed on the point cloud data in the point cloud coordinate system to obtain the internal cavity point cloud data. 3.The method of claim 1, wherein, Generating the current cavity model based on the sidewall region surface patch and the bottom wall region surface patch includes: The closed curve with the lowest height in the sidewall region surface patch is determined as the sidewall connection curve, and the outermost curve in the bottom wall region surface patch is determined as the bottom wall connection curve. The connection points of the sidewall connection curve and the bottom wall connection curve are extracted according to the preset connection point angle to obtain multiple connection points; Align the connection points of the sidewall connection curves with the connection points of the bottom wall connection curves based on the central angle of each connection point, and then connect the aligned connection points of the sidewall connection curves with the connection points of the bottom wall connection curves to obtain the current internal cavity model.
4. The model construction method based on point cloud data according to claim 3, characterized in that, After obtaining the current cavity model, the model construction method based on point cloud data further includes: Obtain the internal cavity design model; The current cavity model and the cavity design model are compared by comparing the side wall feature points and bottom wall feature points; If there are inconsistent parameters of sidewall feature points or bottom wall feature points, the sidewall feature points or bottom wall feature points with inconsistent parameters are identified as abnormal feature points and marked to detect anomalies in the cavity.
5. The model construction method based on point cloud data according to any one of claims 1-4, characterized in that, After fitting the circular curves of each latitudinal section in the sidewall region to the point cloud data of the cavity, the model construction method based on the point cloud data further includes: If there are missing point cloud data in the latitudinal cross-sectional circular curve, then obtain the range of the central angle where the missing point cloud data is located; The meridional U-shaped curve within the central angle range of the missing point cloud data is determined, and the latitudinal cross-sectional circular curve is compensated based on the meridional U-shaped curve within the central angle range of the missing point cloud data to obtain a closed curve.
6. The model construction method based on point cloud data according to any one of claims 1-4, characterized in that, Based on the vertical mapping of each node in the unit mesh to the meridional U-shaped curve, multiple bottom wall feature points are obtained, including: Vertical mapping is performed based on the unit radius and center angle of each node in the unit mesh to a U-shaped curve in the meridional direction, resulting in multiple mapping points to be processed. The three-dimensional coordinates of each mapping point are then calculated to obtain multiple bottom wall feature points.
7. A model construction apparatus based on point cloud data, characterized by comprising: The model construction based on point cloud data includes: The point cloud data extraction and initialization module is used to acquire point cloud data of the internal cavity; The latitude and longitude slicing point cloud clustering module is used to extract data from the internal cavity point cloud data according to a preset height difference, obtaining multiple latitude cross-sectional point cloud datasets at the same height, and obtaining multiple latitude cross-sectional circular curves based on each of the latitude cross-sectional point cloud datasets; wherein, the latitude fitting point cloud datasets of each of the latitude cross-sectional point cloud datasets are obtained, the latitude fitting point cloud datasets include point cloud datasets within a range of height from the latitude of the latitude cross-sectional point cloud datasets to the preset fitting height, and point cloud datasets within a range of height from the latitude of the latitude cross-sectional point cloud datasets to the preset fitting height; based on each of the latitude fitting point cloud datasets, clustering and circular fitting are performed on each of the latitude cross-sectional point cloud datasets to obtain multiple latitude cross-sectional circular curves. The process involves: extracting data from the internal cavity point cloud data based on a preset central angle to obtain multiple meridional cross-sectional point cloud datasets with the same central angle; and obtaining multiple meridional U-shaped curves based on each meridional cross-sectional point cloud dataset. Specifically, a meridional fitted point cloud dataset is obtained for each meridional cross-sectional point cloud dataset. This fitted point cloud dataset includes point cloud datasets within a range where the central angle of the meridional cross-sectional point cloud dataset is increased by a preset fitted angle, and point cloud datasets within a range where the central angle of the meridional cross-sectional point cloud dataset is decreased by a preset fitted angle. Based on each meridional fitted point cloud dataset, clustering and U-shaped fitting are performed on each meridional cross-sectional point cloud dataset to obtain multiple meridional cross-sectional circular curves. The sidewall and bottomwall division module is used to determine the radius change rate of the circular curve based on the circular curve of each latitudinal section, determine the curvature change rate of the U-shaped curve based on each U-shaped curve of the meridional section, and divide the inner cavity according to the radius change rate of the circular curve and the curvature change rate of the U-shaped curve to obtain the sidewall region and the bottomwall region. The sidewall curved surface patch generation module is used to perform curve fitting on the circular curves of each latitudinal section in the sidewall region based on the internal cavity point cloud data to obtain multiple closed curves at different heights. Within each closed curve at different heights, sidewall feature points are extracted based on a preset central angle to obtain multiple sidewall feature points. The above curve fitting is all local fitting, and the fitting methods include non-uniform rational B-spline curve fitting and polynomial curve fitting. The bottom wall surface patch generation module is used to construct a unit mesh for the closed curve with the lowest height among the closed curves of different heights, obtain multiple lowest closed curve mesh nodes, and perform vertical mapping based on the meridional U-shaped curves of each node in the unit mesh to obtain multiple bottom wall feature points. The inner cavity splicing module is used to construct side wall region surface patches based on the side wall feature points, construct bottom wall region surface patches based on the bottom wall feature points, and generate the current inner cavity model based on the side wall region surface patches and the bottom wall region surface patches.
8. An electronic device, comprising: include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the model building method based on point cloud data as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, It stores computer-readable instructions that, when executed by the computer's processor, cause the computer to perform the model building method based on point cloud data as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Large vertical storage tank structure deformation online detection and applicability evaluation system and method
CN110264507A
Apparatus for anatomic three-dimensional scanning and automated three-dimensional cast and splint design
WO2021202433A1
