Visual three-dimensional equipment database establishment method and system

By combining data preprocessing and feature extraction with deep learning algorithms and autoencoders, and using PostgreSQL database and R-tree index, the problem of low efficiency in 3D equipment data storage and indexing is solved, and efficient data retrieval and analysis are achieved.

CN118535754APending Publication Date: 2024-08-23大唐株洲发电有限责任公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410516673.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively store and manage complex three-dimensional equipment data, resulting in low retrieval and analysis efficiency.

Method used

Data preprocessing, feature extraction, autoencoder models and PostgreSQL database combined with R-tree indexing are used to clean, encode and index three-dimensional data to achieve rapid retrieval and analysis.

Benefits of technology

Key features are extracted through deep learning algorithms and autoencoders and converted into computer-processable formats, which improves data representation capabilities and retrieval accuracy, and enables rapid retrieval and analysis of three-dimensional data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535754A
    Figure CN118535754A
Patent Text Reader

Abstract

The invention discloses a method and a system for establishing a visual three-dimensional equipment database. The method comprises the following steps of: 1, cleaning and de-noising geometric features and textural features of original three-dimensional data; 2, extracting features from the original three-dimensional data; 3, encoding the extracted features, and converting the extracted features into a format which can be processed by a computer; step 4, storing the encoded feature vectors; and 5, carrying out space segmentation and index construction on the geometric data to support space query and range search. In conclusion, the problems of three-dimensional data storage and indexing can be effectively solved, reliable technical support is provided for establishment of a visual three-dimensional equipment database, a user can conveniently store, manage and retrieve three-dimensional equipment data, and further analysis and application are carried out on the basis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional equipment, and in particular to a method and system for establishing a visualized three-dimensional equipment database. Background Art

[0002] The Visual 3D Equipment Database is a system for storing and managing data related to 3D equipment. These equipment may include 3D printers, scanners, CAD software, etc. The database is designed to help users effectively manage their equipment resources and provide necessary information to support their workflow. However, 3D data is usually complex and contains a lot of geometric and texture information. Therefore, it is necessary to select the appropriate database type and storage engine to store and index 3D data for fast retrieval and analysis. Summary of the invention

[0003] In order to solve the above problems, the present invention provides a method and system for establishing a visualized three-dimensional equipment database.

[0004] To achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0005] In one aspect, the present invention discloses a method for establishing a visualized three-dimensional equipment database, comprising the following steps:

[0006] Step 1: Clean and denoise the geometric features and texture features of the original 3D data;

[0007] Step 2: Extract features from the original 3D data;

[0008] Step 3: Encode the extracted features and convert them into a computer-processable format;

[0009] Step 4: Store the encoded feature vector;

[0010] Step 5: Perform spatial segmentation and index building on the geometric data to support spatial query and range search.

[0011] Further: Step 1 comprises:

[0012] Represent the original three-dimensional data in a matrix form M, where each row or column represents a data point;

[0013] The matrix M is decomposed using the following formula to obtain the low-rank matrix L and the sparse matrix S:

[0014]

[0015] Where M is the original data matrix, L is the low-rank matrix, S is the sparse matrix, ‖·‖ *represents the nuclear norm of the matrix, ‖·‖1 represents the L1 norm of the matrix, and λ is the regularization parameter;

[0016] By adjusting the value of the regularization parameter λ, the number of non-zero elements in the sparse matrix S is controlled to filter out outliers and noise;

[0017] The data L after removing the outliers and noise is used as the cleaned three-dimensional data.

[0018] Further: Step 2 includes:

[0019] Represent the cleaned and denoised 3D data in the form of point clouds;

[0020] The following formula is used to extract features from point cloud data:

[0021]

[0022] Among them, x i represents the i-th point in the point cloud data, f is the local feature extraction function, h is the global feature extraction function, and g is the classification function;

[0023] Extract features from the local area near each point;

[0024] The local features of all points are combined to obtain the global feature representation;

[0025] The extracted features are classified through the classification function g, or the features are directly used for subsequent retrieval tasks.

[0026] Further: Step 3 comprises:

[0027] The extracted geometric features and texture features are used as input data x to build an autoencoder model, which is expressed as:

[0028]

[0029] Among them, x i is the input data, f θ is the encoder, g θ is the decoder, θ is the model parameter;

[0030] Train the autoencoder model to learn the low-dimensional representation of features by minimizing the reconstruction error, that is, by adjusting the model parameters so that the input data after passing through the encoder and decoder is as close as possible to the original data;

[0031] After the training is completed, the encoder part is used to encode the input data to obtain a low-dimensional feature representation z;

[0032] The obtained feature representation z is represented as a vector as the feature information for storage and indexing.

[0033] Further: Step 4 includes:

[0034] Install and configure the PostGIS extension in the PostgreSQL database to support storage and query of geometric data;

[0035] Create a database table to store the encoded feature vector data. The table should include at least two fields: one for storing the unique identifier of the data and the other for storing the feature vector data.

[0036] Insert the encoded feature vector data into the database table.

[0037] Further: Step 5 comprises:

[0038] In the table storing the encoded feature vector data, create an R-tree index for the geometric data field;

[0039] For each piece of geometric data, calculate its enclosing rectangle, that is, the minimum rectangular area enclosed by it;

[0040] Insert the enclosing rectangles of all geometric data into the R-tree as leaf nodes, and recursively construct branch nodes of the R-tree as needed;

[0041] Through the R-tree index, fast spatial query and range search of geometric data can be achieved.

[0042] On the other hand, the present invention discloses a system for establishing a visualized three-dimensional equipment database, comprising:

[0043] Data cleaning and denoising module: cleans and denoises the geometric features and texture features of the original 3D data;

[0044] Feature extraction module: extract features from original 3D data;

[0045] Feature encoding module: encodes the extracted features and converts them into a format that can be processed by computers;

[0046] Storage engine module: stores the encoded feature vector;

[0047] Index structure building module: spatial segmentation and index construction of geometric data to support spatial query and range search.

[0048] Compared with the prior art, the present invention has the following technical advances:

[0049] The present invention comprehensively utilizes multiple steps such as data preprocessing, feature extraction, selection of appropriate database types and storage engines, and establishment of index structures, and comprehensively considers all aspects of three-dimensional data storage and indexing. By using a deep learning algorithm for feature extraction and using an autoencoder for feature encoding, the most critical feature information in the data can be obtained and converted into a computer-processable format. The present invention selects a Postgre SQL database in conjunction with a Post GIS extension and combines an R-tree index to establish an efficient index structure, thereby achieving rapid retrieval and analysis of three-dimensional data. The present invention extracts and encodes features of three-dimensional data using a deep learning algorithm and an autoencoder, and can obtain more accurate and detailed feature representations, thereby improving the data representation capability and retrieval accuracy.

[0050] In summary, the present invention can effectively solve the problem of three-dimensional data storage and indexing, and provide reliable technical support for the establishment of a visual three-dimensional device database, so that users can conveniently store, manage and retrieve three-dimensional device data, and conduct further analysis and application on this basis. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0052] In the attached picture:

[0053] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0054] The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0055] like Figure 1 As shown, the present invention discloses a method for establishing a visualized three-dimensional equipment database, comprising the following steps:

[0056] Step 1: Clean and denoise the geometric and texture features of the original 3D data.

[0057] a. Represent the original three-dimensional data in matrix form M, where each row or column represents a data point.

[0058] b. Use the following formula to decompose the matrix M to obtain the low-rank matrix L and the sparse matrix S:

[0059]

[0060] Where M is the original data matrix, L is the low-rank matrix, S is the sparse matrix, ‖·‖ * represents the nuclear norm of the matrix, ‖·‖1 represents the L1 norm of the matrix, and λ is the regularization parameter.

[0061] c. By adjusting the value of the regularization parameter λ, the number of non-zero elements in the sparse matrix S is controlled to filter out outliers and noise.

[0062] d. The data L after removing outliers and noise is used as the cleaned three-dimensional data.

[0063] The above formula can effectively identify and remove outliers and noise in high-dimensional data, and has strong robustness. By controlling the regularization parameter λ, the denoising degree of the algorithm can be flexibly adjusted to adapt to situations with different data quality and noise levels.

[0064] Step 2: Extract features from the original 3D data.

[0065] a. Represent the cleaned and denoised 3D data as a point cloud, which is a collection of 3D points.

[0066] b. Use the following method to extract features from point cloud data, including local features and global features:

[0067]

[0068] Among them, x i represents the i-th point in the point cloud data, f is the local feature extraction function, h is the global feature extraction function, and g is the classification function.

[0069] c. Local feature extraction: Feature extraction is performed on the local area near each point. In this embodiment, the local convolution method can be used to achieve this.

[0070] d. Global feature extraction: The local features of all points are integrated to obtain a global feature representation. In this embodiment, this can be achieved using methods such as maximum pooling or average pooling.

[0071] e. Finally, the extracted features are classified through the classification function g, or the features are directly used for subsequent retrieval tasks.

[0072] The above formula can directly process point cloud data without converting it into other representation forms, which simplifies the data processing process. Through end-to-end training, it can learn the local and global features in point cloud data and has strong representation and generalization capabilities.

[0073] Through the above-mentioned deep learning-based point cloud feature extraction algorithm, key features, including geometric features and texture features, can be extracted from the cleaned and denoised three-dimensional data for subsequent storage, indexing and retrieval tasks.

[0074] Step 3: Encode the extracted features and convert them into a computer-processable format.

[0075] a. Take the extracted geometric features and texture features as input data x and build an autoencoder model. The autoencoder model is expressed as:

[0076]

[0077] Among them, x i is the input data, f θ is the encoder, g θ is the decoder and θ is the model parameters.

[0078] b. Train the autoencoder model to learn the low-dimensional representation of features by minimizing the reconstruction error, that is, by adjusting the model parameters θ so that the input data is as close to the original data as possible after passing through the encoder and decoder.

[0079] c. After training is completed, use the encoder part f θ Encode the input data to obtain a low-dimensional feature representation z.

[0080] d. The obtained feature representation z is represented as a vector as the feature information for storage and indexing.

[0081] The above steps can learn an abstract representation of the input data with strong representation and generalization capabilities. By mapping the input data to a low-dimensional coding space, the feature dimension is compressed and the representation is densified, which is convenient for subsequent storage and processing.

[0082] Through the above-mentioned deep learning-based autoencoder algorithm, the extracted geometric features and texture features can be encoded and converted into computer-processable vector representations, which facilitates subsequent storage, indexing, and retrieval tasks.

[0083] Step 4: Store the encoded feature vector.

[0084] In view of the storage requirements of high-dimensional data, a storage engine that supports high-dimensional data storage and indexing is selected. In this embodiment, the Postgre SQL database is used in conjunction with the Post GIS extension.

[0085] a. Install and configure the PostGIS extension in the selected relational database to support storage and query of geometric data.

[0086] b. Create a database table to store the encoded feature vector data. The table should contain at least two fields: one for storing the unique identifier of the data (such as an ID field) and the other for storing the feature vector data (such as a vector field).

[0087] c. Insert the encoded feature vector data into the database table, ensuring that each feature vector is associated with its corresponding data identifier.

[0088] d. Design appropriate index structures to optimize the retrieval performance of feature vectors as needed. For example, create a B-tree index or GiST index on the vector field to speed up range queries or similarity searches on feature vectors.

[0089] Through the above steps, we selected a relational database and a storage engine that supports high-dimensional data to store the encoded feature vector data, providing a reliable data storage foundation for subsequent retrieval and analysis tasks.

[0090] Step 5: Perform spatial segmentation and index building on the geometric data to support spatial query and range search.

[0091] a. In the table storing the encoded feature vector data, create an R-tree index for the geometric data fields (such as points, lines, and surfaces).

[0092] b. For each piece of geometric data, calculate its bounding rectangle (Minimum Bounding Rectangle, MBR), that is, the minimum rectangular area enclosed by it.

[0093] c. Insert the MBRs of all geometric data into the R-tree as leaf nodes, and recursively construct branch nodes of the R-tree as needed.

[0094] d. R-tree indexing enables fast spatial query and range search of geometric data, such as querying all geometric objects within a certain range or finding other geometric objects that intersect with a given geometric object.

[0095] The above steps can efficiently support the indexing and query operations of multidimensional spatial data with good query performance. By indexing the MBR of geometric data, data objects that may intersect with the query conditions can be quickly filtered out, thereby improving query efficiency.

[0096] In summary, this embodiment uses the PostgreSQL database in conjunction with the PostGIS extension to establish an R-tree index-based spatial index structure to support fast spatial query and range search of stored three-dimensional data.

[0097] Example 2

[0098] Data cleaning and denoising module: cleans and denoises the geometric features and texture features of the original 3D data;

[0099] Feature extraction module: extract features from original 3D data;

[0100] Feature encoding module: encodes the extracted features and converts them into a format that can be processed by computers;

[0101] Storage engine module: stores the encoded feature vector;

[0102] Index structure building module: spatial segmentation and index construction of geometric data to support spatial query and range search.

[0103] Embodiment 2 is used to implement the corresponding functions in embodiment 1.

[0104] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein with equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of protection of the claims of the present invention.

Claims

1. A method for establishing a visual three-dimensional equipment database, characterized in that: The steps include: Step 1: Clean and denoise the geometric features and texture features of the original 3D data; Step 2: Extract features from the original 3D data; Step 3: Encode the extracted features and convert them into a computer-processable format; Step 4: Store the encoded feature vector; Step 5: Perform spatial segmentation and index building on the geometric data to support spatial query and range search.

2. The method for establishing a visualized three-dimensional equipment database according to claim 1, characterized in that: The step 1 comprises: Represent the original three-dimensional data in a matrix form M, where each row or column represents a data point; The matrix M is decomposed using the following formula to obtain the low-rank matrix L and the sparse matrix S: Where M is the original data matrix, L is the low-rank matrix, S is the sparse matrix, ‖·‖ * represents the nuclear norm of the matrix, ‖·‖1 represents the L1 norm of the matrix, and λ is the regularization parameter; By adjusting the value of the regularization parameter λ, the number of non-zero elements in the sparse matrix S is controlled to filter out outliers and noise; The data L after removing the outliers and noise is used as the cleaned three-dimensional data.

3. A method for establishing a visual three-dimensional equipment database according to claim 2, characterized in that: The step 2 comprises: Represent the cleaned and denoised 3D data in the form of point clouds; The following formula is used to extract features from point cloud data: Among them, x i represents the i-th point in the point cloud data, f is the local feature extraction function, h is the global feature extraction function, and g is the classification function; Extract features from the local area near each point; The local features of all points are combined to obtain the global feature representation; The extracted features are classified through the classification function g, or the features are directly used for subsequent retrieval tasks.

4. A method for establishing a visual three-dimensional equipment database according to claim 3, characterized in that: The step 3 comprises: The extracted geometric features and texture features are used as input data x to build an autoencoder model, which is expressed as: Among them, x i is the input data, f θ is the encoder, g θ is the decoder, θ is the model parameter; Train the autoencoder model to learn the low-dimensional representation of features by minimizing the reconstruction error, that is, by adjusting the model parameters so that the input data after passing through the encoder and decoder is as close as possible to the original data; After the training is completed, the encoder part is used to encode the input data to obtain a low-dimensional feature representation z; The obtained feature representation z is represented as a vector as the feature information for storage and indexing.

5. A method for establishing a visual three-dimensional equipment database according to claim 4, characterized in that: The step 4 comprises: Install and configure the PostGIS extension in the PostgreSQL database to support storage and query of geometric data; Create a database table to store the encoded feature vector data. The table should include at least two fields: one for storing the unique identifier of the data and the other for storing the feature vector data. Insert the encoded feature vector data into the database table.

6. A method for establishing a visualized three-dimensional equipment database according to claim 5, characterized in that: The step 5 comprises: In the table storing the encoded feature vector data, create an R-tree index for the geometric data field; For each piece of geometric data, calculate its enclosing rectangle, that is, the minimum rectangular area enclosed by it; Insert the enclosing rectangles of all geometric data into the R-tree as leaf nodes, and recursively construct branch nodes of the R-tree as needed; Through the R-tree index, fast spatial query and range search of geometric data can be achieved.

7. A visual three-dimensional equipment database establishment system, characterized in that: include: Data cleaning and denoising module: cleans and denoises the geometric features and texture features of the original 3D data; Feature extraction module: extract features from original 3D data; Feature encoding module: encodes the extracted features and converts them into a format that can be processed by computers; Storage engine module: stores the encoded feature vector; Index structure building module: spatial segmentation and index construction of geometric data to support spatial query and range search.

Citation Information

Patent Citations

  • Model retrieval method, device and equipment based on three-dimensional model features and medium

    CN117609538A

  • Digital media recognition apparatus and methods

    US20040133927A1