A titanium metal segmentation method and system using image processing

By constructing a cutting model of titanium metal and mapping the cutting peripheral surface, collecting and comparing cutting information in real time, the problem of difficulty in cutting accuracy and automated control of titanium metal is solved, and a higher precision and intelligent cutting process is achieved.

CN119359738BActive Publication Date: 2025-03-28SHENZHEN ELEMENTPLUS MATERIAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411922742.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-03-28
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

The high thermal conductivity of titanium metal leads to rapid accumulation of heat, which easily causes thermal deformation and tool wear, affecting cutting accuracy. In addition, traditional cutting processes rely on operating experience and are difficult to achieve high-precision automation and intelligent control.

Method used

By constructing a cutting model of titanium metal, mapping the cutting peripheral surface, planning the cutting information, collecting cutting information in real time and mapping it to the cutting peripheral surface, comparing the difference index between the real-time cutting characteristics and the planned cutting characteristics, and stopping the cutting if the preset conditions are not met.

Benefits of technology

It realizes a more accurate understanding of the difference between real-time cutting information and planned cutting information, and through the comparison of spatial information and the second connection, the accuracy and automation control capabilities of titanium metal cutting are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119359738B_ABST
    Figure CN119359738B_ABST
Patent Text Reader

Abstract

The present invention discloses a titanium metal segmentation method and system for image processing, which relates to the field of metal cutting technology, constructs a cutting model of a titanium metal body, maps a cutting surface based on the cutting model; plans cutting information of the titanium metal body, wherein the cutting information includes a cutting position and a cutting shape, maps the cutting information on the cutting surface to obtain cutting features; cuts the titanium metal body based on the cutting information, collects real-time cutting information during the cutting process, maps the real-time cutting information to the cutting surface to obtain real-time cutting features; compares the real-time cutting features with the cutting features to obtain a difference index, and stops segmenting the titanium metal body when the difference index does not meet a preset condition. The present invention can better understand the cutting situation of the titanium metal body more accurately through spatial information and a second connection line, and ensure the cutting accuracy of the titanium metal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of metal cutting, and in particular to an image processing method and system for segmenting titanium metal. Background Art

[0002] Titanium is known for its high strength, low density and good corrosion resistance, but these characteristics also make it difficult to cut. The reasons that affect the cutting accuracy of titanium are: the high thermal conductivity of titanium is low, which leads to rapid heat accumulation during the cutting process, which easily causes thermal deformation and tool wear, thus affecting the cutting accuracy; and the traditional cutting process often relies on the experience and skill level of the operator, and it is difficult to achieve high-precision automation and intelligent control; small operational errors or environmental changes during the cutting process may cause fluctuations in cutting accuracy; there are many factors that affect the cutting accuracy during the cutting of titanium, so it is difficult to understand the cutting situation of titanium through image acquisition and processing during the cutting of titanium, and it is impossible to ensure the cutting accuracy of titanium in real time. Summary of the invention

[0003] The purpose of the present invention is to provide a titanium metal segmentation method and system for image processing to solve the shortcomings of the background technology.

[0004] In order to achieve the above object, the present invention provides the following technical solution: a titanium metal segmentation method using image processing, comprising the following steps:

[0005] Construct a cutting model of the titanium metal body, and map the cutting surface based on the cutting model;

[0006] Planning cutting information of the titanium metal body, wherein the cutting information includes a cutting position and a cutting shape, and mapping the cutting information on a cutting surface to obtain cutting features;

[0007] Cut the titanium metal body based on the cutting information, collect real-time cutting information during the cutting process, and map the real-time cutting information onto the cutting surface to obtain real-time cutting features;

[0008] The real-time cutting feature is compared with the cutting feature to obtain a difference index, and when the difference index does not meet a preset condition, the segmentation of the titanium metal body is stopped.

[0009] In a preferred embodiment, the step of mapping the cutting surface based on the cutting model includes:

[0010] Collect multi-directional images of titanium metal and construct a three-dimensional model of titanium metal, and mark the orientation of the three-dimensional model of titanium metal as a cutting model;

[0011] Obtaining the center point of the cutting model, obtaining the edge point of the cutting model farthest from the center point of the cutting model, and connecting the center point of the cutting model and the edge point of the cutting model farthest from the center point of the cutting model to obtain an initial construction line;

[0012] A target construction line is obtained by adding a preset distance to the initial construction line, and a circle is constructed with the length of the target construction line as the radius and the center point of the cutting model as the center;

[0013] Project the cutting model onto the circle to obtain the cutting surface.

[0014] In a preferred embodiment, the step of mapping the cutting model onto a circle to obtain a cutting circumference includes:

[0015] Perform image mapping on the circle corresponding to the cutting model to obtain a mapping figure;

[0016] The mapped graphics are laid flat on the circular surface, features of the graphics on the circular surface are extracted, and points are connected between the features of the extracted graphics on the circular surface and the features corresponding to the cutting model;

[0017] The circle formed by connecting the features of the figure on the circular surface with the features corresponding to the cutting model is used as the cutting surface.

[0018] In a preferred embodiment, the step of mapping the cutting information onto the cutting surface to obtain cutting features comprises:

[0019] Planning a cutting position and a cutting shape of the titanium metal body as cutting information;

[0020] The cutting information is constructed in the cutting model, the cutting information is mapped onto the cutting surface based on the cutting model, and the cutting features between the cutting surface and the cutting model are established based on the cutting information.

[0021] In a preferred embodiment, the step of establishing cutting features between the cutting surface and the cutting model based on the cutting information includes:

[0022] Constructing cutting information on the cutting model, mapping the cutting information on the cutting surface based on the cutting model and fusing the graphics on the cutting surface;

[0023] Acquire the position information of the cutting information in the graphics on the cutting surface, wherein the position information includes the shape of the cutting information in the graphics on the cutting surface and the positional relationship between the shape and the features of the graphics;

[0024] A line connecting the cutting information on the cutting surface and the cutting information on the cutting model is used as a first line, and a line connecting the features of the figure on the circular surface after point connection and the features corresponding to the cutting model is used as a second line;

[0025] Spatial information between the first link and the second link is established, and the spatial information and the first link are used as cutting features.

[0026] In a preferred embodiment, the step of cutting the titanium metal body based on the cutting information, collecting the real-time cutting information during the cutting process, and mapping the real-time cutting information onto the cutting surface to obtain the real-time cutting features includes:

[0027] Cut the titanium metal body according to the planned cutting information, and obtain the actual cutting position and the actual cutting shape in the cut titanium metal body as real-time cutting information;

[0028] The real-time cutting information is constructed on the cutting model in real time and mapped onto the cutting surface, and a line is connected between the real-time cutting information on the cutting surface and the real-time cutting information on the cutting model as a real-time first line;

[0029] The spatial information between the real-time first link and the second link is obtained, and the spatial information and the second link are used as real-time cutting features.

[0030] In a preferred embodiment, the step of comparing the real-time cutting feature with the cutting feature to obtain a difference index, and stopping the segmentation of the titanium metal body when the difference index does not meet a preset condition, comprises:

[0031] Acquire difference data between the real-time first connection line and the first connection line, wherein the difference data includes distance difference data and angle difference data;

[0032] Acquire spatial difference data between the spatial information between the real-time first connection line and the second connection line and the spatial information between the first connection line and the second connection line, wherein the spatial difference data is the number of logarithms of the real-time first connection line and the second connection line where the position distance and the position angle trend between the real-time first connection line and the second connection line are inconsistent with the position distance and the position angle trend between the first connection line and the second connection line;

[0033] Calculate a difference index based on the difference data and the spatial difference data;

[0034] When the difference index does not meet a preset condition, the segmentation of the titanium metal body is stopped.

[0035] The present invention also provides an image processing titanium metal segmentation system, comprising:

[0036] A construction module, used for constructing a cutting model of a titanium metal body and mapping a cutting surface based on the cutting model;

[0037] A planning module, connected to the building module, is used to plan the cutting information of the titanium metal body, wherein the cutting information includes a cutting position and a cutting shape, and the cutting information is mapped on a cutting surface to obtain a cutting feature;

[0038] A cutting module, connected to the planning module, is used to cut the titanium metal body based on the cutting information, collect real-time cutting information during the cutting process, and map the real-time cutting information onto the cutting surface to obtain real-time cutting features;

[0039] The comparison module is connected to the cutting module and is used to compare the real-time cutting feature with the cutting feature to obtain a difference index, and stop segmenting the titanium metal body when the difference index does not meet a preset condition.

[0040] In the above technical solution, the technical effects and advantages provided by the present invention are:

[0041] In order to more accurately understand whether there is a difference between the real-time cutting information and the planned cutting information, the present invention maps the real-time cutting information on the cutting model to the cutting surface. The spatial information between the cutting surface and the cutting model and the second connecting line are used as real-time cutting features. The spatial information and the second connecting line can be used to more accurately understand the cutting situation of the titanium metal body and ensure the cutting accuracy of the titanium metal. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0043] Figure 1 The present invention is a flow chart of the method.

[0044] Figure 2 It is a system block diagram of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] Example 1, please refer to Figure 1 As shown, the titanium metal segmentation method of image processing described in this embodiment includes the following steps:

[0047] S1. construct a cutting model of the titanium metal body, and map the cutting surface based on the cutting model;

[0048] S2. Planning cutting information of the titanium metal body, wherein the cutting information includes a cutting position and a cutting shape, and mapping the cutting information on a cutting surface to obtain cutting features;

[0049] S3, cutting the titanium metal body based on the cutting information, collecting real-time cutting information during the cutting process, and mapping the real-time cutting information onto the cutting surface to obtain real-time cutting features;

[0050] S4, comparing the real-time cutting feature with the cutting feature to obtain a difference index, and stopping segmentation of the titanium metal body when the difference index does not meet a preset condition;

[0051] As described in the above steps S1-S4, titanium is well-known for its high strength, low density and good corrosion resistance, but these characteristics also make it more difficult to cut. The reasons that affect the cutting accuracy of titanium are: the high thermal conductivity of titanium is low, which leads to rapid heat accumulation during the cutting process, which easily causes thermal deformation and tool wear, thus affecting the accuracy of cutting; and the traditional cutting process often relies on the experience and skill level of the operator, and it is difficult to achieve high-precision automation and intelligent control; minor operating errors or environmental changes during the cutting process may cause fluctuations in cutting accuracy; there are many factors that affect the cutting accuracy in the process of cutting titanium, so it is difficult to understand the cutting situation of titanium through image acquisition and processing during the cutting process of titanium, and it is impossible to ensure the cutting accuracy of titanium in real time. In order to more accurately understand whether there is a difference between the real-time cutting information and the planned cutting information in this application, the real-time cutting information on the cutting model is mapped to the cutting surface, and the spatial information between the cutting surface and the cutting model and the second connecting line are used as real-time cutting features, which can better understand the cutting situation of the titanium body more accurately through the spatial information and the second connecting line, and ensure the cutting accuracy of titanium.

[0052] In one embodiment, the step S1 of mapping the cutting surface based on the cutting model comprises:

[0053] S11, collecting multi-directional images of titanium metal and constructing a three-dimensional model of titanium metal, and marking the directional position of the three-dimensional model of titanium metal as a cutting model;

[0054] S12, obtaining the center point of the cutting model, obtaining the edge point of the cutting model farthest from the center point of the cutting model, and connecting the center point of the cutting model and the edge point of the cutting model farthest from the center point of the cutting model to obtain an initial construction line;

[0055] S13, adding a preset distance to the initial construction line to obtain a target construction line, and constructing a circle with the length of the target construction line as the radius and the center point of the cutting model as the center;

[0056] S14, mapping the cutting model onto a circle to obtain a cutting surface;

[0057] As described in the above steps S11-S14, titanium is a gray metal with a melting point of up to 1670°C and a density of 4.506g / cm³. It has the advantages of both steel and aluminum, high strength and light texture. Pure titanium has good plasticity. In the process of using titanium metal, it needs to be segmented and used, so that titanium metal can be used in combination with other metals. Among them, titanium alloy is an alloy composed of titanium and other elements. For example, Ti6Al-4V (also known as grade 5 titanium) is one of the most widely used titanium alloys. Before segmenting titanium metal, it is necessary to understand the volume and shape information of titanium metal. Here, in order to facilitate subsequent cutting, it is necessary to collect multi-directional images of titanium metal and construct a three-dimensional model of titanium metal. The three-dimensional model of titanium metal is marked with orientation as a cutting model. The collection of multi-directional images can determine a collection site. Multiple cameras are set around the collection site. The multiple cameras can collect multi-directional images of titanium metal. Then, key feature points (such as edges, corners, texture features, etc.) are extracted from the multi-directional images. These feature points are crucial for subsequent matching and modeling. Commonly used feature extraction algorithms include SIFT (Scale Invariant Feature Transform), SURF (Speeded Robust Features), etc., which match feature points in different images to find their corresponding relationships in three-dimensional space. This step usually involves comparison and matching algorithms of feature descriptors, such as FLANN (Fast Nearest Neighbor Search Library) or BFMatcher (Brute Force Matcher), etc., using two or more cameras to shoot the same scene from different angles, and estimate the three-dimensional position of objects in the scene by comparing the differences in feature points in these images; based on the principle of stereo vision, the coordinates of these points in three-dimensional space are calculated using triangular geometric relationships through the position information of feature points in different images; based on the three-dimensional point cloud data obtained by matching and measuring, a three-dimensional model of the object is constructed. This can be achieved through a variety of methods, such as point cloud fusion, meshing (such as Delaunay triangulation), surface reconstruction, etc.; the initially constructed three-dimensional model is optimized to improve its accuracy and realism. The optimization process may include steps such as removing noise points, smoothing surfaces, filling holes, etc. to construct a three-dimensional model of titanium metal.

[0058] Then, the titanium metal 3D model is marked with an orientation as a cutting model, where the orientation mark is the orientation coordinate corresponding to the titanium metal 3D model construction; then, the center point of the cutting model is obtained, the cutting model edge point farthest from the center point of the cutting model is obtained, the center point of the cutting model and the cutting model edge point farthest from the center point of the cutting model are connected to obtain an initial construction line, and a preset distance is added to the initial construction line to obtain a target construction line, and a circle is constructed with the length of the target construction line as a radius and the center point of the cutting model as the center. The circle is a sphere covering the outside of the titanium metal 3D model, and the circle does not contact the titanium metal 3D model. The titanium metal 3D model is suspended inside the circle. Then, the cutting model is mapped on the circle to obtain a cutting circumference, which can better perform all-round image segmentation analysis on the titanium metal 3D model;

[0059] In one embodiment, the step S14 of mapping the cutting model onto a circle to obtain a cutting circumference includes:

[0060] S141, performing image mapping on the circle corresponding to the cutting model to obtain a mapping graph;

[0061] S142, laying the mapped graphics on the circular surface, extracting features of the graphics on the circular surface, and connecting the features of the extracted graphics on the circular surface with the features corresponding to the cutting model;

[0062] S143, establishing a circle connecting the features of the graphic on the circular surface with the features corresponding to the cutting model as the cutting surface;

[0063] As described in the above steps S141-S143, the cutting model is located inside the circle. In order to perform image analysis on the cutting model when it is cut, the image of the position of the cutting model facing the circle is mapped in advance to obtain a mapping graphic. The mapping graphic is flattened on the circular surface. For example, a cutting model is a square block, wherein the mapping surface is a surface of the square block, named surface A. Then, when surface A faces the circle, the graphic of surface A is mapped on the circular surface as a mapping graphic, which is equivalent to shooting an image with the corresponding position facing the circle of the cutting model. The situation of the outer surface of the cutting model can be fully understood through the circle. Based on the corner detection algorithm, the mapping graphics on the circle are respectively feature extracted. The corner detection algorithm observes the image through a local small window of the image. When the window moves in any direction, if the image If the grayscale of the image changes significantly, the point is considered to be a corner point. The feature extraction here is that the turning point of the figure on the circular surface is the corner. The turning point is the corner point on the figure, and a vertex is formed by connecting multiple lines. Then, the features of the figure on the circular surface extracted are connected with the features corresponding to the cutting model. The features of the figure on the circular surface can find corresponding features in the cutting model. Therefore, the extracted feature is regarded as a point, and the features of the figure on the circular surface are connected with the features corresponding to the cutting model based on points as point connection. The circle after the point connection between the features of the figure on the circular surface and the features corresponding to the cutting model is used as the cutting surface. After the point connection, multiple connecting lines will be formed between the cutting model and the circle. The circle after the point connection is used as the cutting surface. The cutting surface is the figure mapped on the circle by the cutting model recorded on the circle;

[0064] In one embodiment, the step S2 of mapping the cutting information onto the cutting surface to obtain cutting features includes:

[0065] S21, planning a cutting position and a cutting shape of the titanium metal body as cutting information;

[0066] S22, constructing the cutting information in the cutting model, mapping the cutting information on the cutting surface based on the cutting model, and establishing cutting features between the cutting surface and the cutting model based on the cutting information;

[0067] As described in the above steps S21 and S22, before cutting the titanium metal body, it is necessary to plan the cutting position and cutting shape of the titanium metal body as cutting information. The cutting position is the part to be cut on the titanium metal body, and the cutting shape is the shape of the cutting at the position of the cutting part, such as vertical cutting, inclined cutting, inclined angle, or cutting of other arc shapes. After planning the cutting information, the cutting information is constructed in the cutting model, and the cutting information is simulated in the cutting model, so that the cutting model presents the cutting information, and then the cutting information is mapped on the cutting circumference, so the graphics of the cutting information are also presented on the graphics of the cutting circumference. Since the cutting model between the unconstructed cutting information is mapped first, here after the cutting information is also mapped on the cutting circumference, it is necessary to merge the cutting information with the graphics on the cutting circumference, which can facilitate the subsequent cutting analysis of the titanium metal body through the cutting circumference, and ensure the accuracy of the subsequent cutting of the titanium metal body;

[0068] In one embodiment, the step S22 of establishing cutting features between the cutting surface and the cutting model based on the cutting information includes:

[0069] S221, constructing cutting information on a cutting model, mapping the cutting information on a cutting surface based on the cutting model, and fusing graphics on the cutting surface;

[0070] S222, obtaining position information of the cutting information in the graphics on the cutting surface, wherein the position information includes the shape of the cutting information in the graphics on the cutting surface and the positional relationship between the cutting information and the features of the graphics;

[0071] S223, connecting the cutting information on the cutting surface with the cutting information on the cutting model as a first connecting line, and connecting the features of the figure on the circular surface after point connection with the features corresponding to the cutting model as a second connecting line;

[0072] S224, establishing spatial information between the first connecting line and the second connecting line, and using the spatial information and the first connecting line as cutting features;

[0073] As described in the above steps S221-S224, the cutting information is constructed and reflected on the cutting model. After the cutting information is constructed, the cutting model maps the cutting information on the cutting surface. The mapping is consistent with the operation of mapping the cutting model on a circle. The cutting shape of the cutting information is mapped on the circle according to the cutting position. Then, the cutting information mapped on the cutting surface is merged with the graphics on the cutting surface to complete the fusion of the cutting information and the graphics of the cutting model on the cutting surface. Then, the shape of the cutting information in the graphics on the cutting surface and the positional relationship with the features of the graphics are obtained as position information. The positional relationship between the cutting information and the features of the graphics on the cutting surface is the position angle and distance. The cutting information on the cutting surface and the cutting information on the cutting model are connected by lines. The corresponding relationship between the cutting information on the cutting surface and the cutting information on the cutting model is the mapping of the cutting information on the cutting model. The correspondence between the cutting information on the cutting surface, for example, the positions of the turning points of the cutting shape of the cutting information on the cutting model or the two end positions of the cutting line are mapped to the positions on the cutting information on the cutting surface, and a line is connected here as the first line, and the line between the features of the figure on the circular surface after the points are connected and the features corresponding to the cutting model is used as the second line, so that there are multiple first lines and multiple second lines between the cutting model and the cutting surface, and then the spatial information between the first lines and the second lines is established, wherein the spatial information is the positional relationship between the multiple first lines and the multiple second lines, including the positional distance and positional angle direction of the lines between the multiple first lines and the multiple second lines, and the spatial information and the first lines are used as cutting features, and the cutting features are used for the subsequent accuracy verification of the cutting image of the titanium metal body, and the accuracy of the cutting of the titanium metal body can be guaranteed by collecting and processing the image;

[0074] In one embodiment, the step S3 of cutting the titanium metal body based on the cutting information, collecting the real-time cutting information during the cutting process, and mapping the real-time cutting information onto the cutting surface to obtain the real-time cutting features includes:

[0075] S31, cutting the titanium metal body according to the planned cutting information, and obtaining the actual cutting position and the actual cutting shape in the cut titanium metal body as real-time cutting information;

[0076] S32, constructing the real-time cutting information on the cutting model in real time and mapping it to the cutting surface, and connecting the real-time cutting information on the cutting surface with the real-time cutting information on the cutting model as a real-time first connection;

[0077] S33, obtaining real-time spatial information between the first connecting line and the second connecting line, and using the spatial information and the second connecting line as real-time cutting features;

[0078] As described in the above steps S31-S33, after constructing the cutting model and cutting surface corresponding to the planned standard cutting information, the planned standard cutting information is used to cut the actual titanium metal body through the cutting information in the internal part above step S3, and the actual cutting position and the actual cutting shape of the titanium metal body cut according to the cutting information are collected in real time during the cutting process as real-time cutting information. Here, the real-time cutting information is understood through image collection, and then in order to understand whether there is a difference between the real-time cutting information and the planned standard cutting information, the real-time cutting information needs to be constructed on the cutting model (the construction here is to construct the image of the titanium metal body of the collected real-time cutting information on the cutting model). The real-time cutting information and the planned cutting information are distinguished on the cutting model. In order to more accurately understand the difference between the real-time cutting information and the planned standard cutting information Whether there is a difference between the cutting information, the real-time cutting information on the cutting model is mapped to the cutting surface. The mapping operation here is the same as the way the planned cutting information is mapped on the cutting surface. Here, it is necessary to re-acquire the real-time cutting information on the cutting surface and the real-time cutting information on the cutting model to connect them as the real-time first connection line. There are multiple real-time first connections, and the second connection line does not need to be acquired and directly adopted. The spatial information between the real-time first connection line and the second connection line is acquired. The spatial information is the positional relationship between the multiple real-time first connections and the multiple second connections, including the position distance and position angle direction of the lines between the multiple real-time first connections and the multiple second connections. The spatial information and the second connection line are used as real-time cutting features, which can better understand the cutting situation of the titanium metal body more accurately through the spatial information and the second connection line, and have better judgment;

[0079] In one embodiment, the step S4 of comparing the real-time cutting feature with the cutting feature to obtain a difference index and stopping the segmentation of the titanium metal body when the difference index does not meet a preset condition comprises:

[0080] S41, obtaining difference data between the real-time first connection line and the first connection line, wherein the difference data includes distance difference data and angle difference data;

[0081] S42, obtaining spatial difference data between the spatial information between the real-time first connection line and the second connection line and the spatial information between the first connection line and the second connection line, wherein the spatial difference data is the number of logarithms of the real-time first connection line and the second connection line where the position distance and the position angle trend between the real-time first connection line and the second connection line are inconsistent with the position distance and the position angle trend between the first connection line and the second connection line;

[0082] S43, calculating a difference index based on the difference data and the spatial difference data, wherein the calculation formula of the difference index is:

[0083] ,in, is the difference index, is the average value of the difference data between the multiple real-time first connections and the multiple first connections, is the evaluation coefficient of difference data, is the logarithm of the spatial difference data. It should be noted that and The larger the value, The larger the value is, the greater the difference between the planned cutting information and the cutting information during the cutting of the titanium metal body is;

[0084] S44, stopping segmentation of the titanium metal body when the difference index does not meet a preset condition;

[0085] As described in the above steps S41-S44, when understanding whether there is a difference between the actual cutting information and the planned cutting information through image processing, two aspects of information collection are performed. One is to obtain the difference data between the real-time first connection line and the first connection line, wherein the difference data includes distance difference data and angle difference data; the second is to obtain the spatial difference data between the spatial information between the real-time first connection line and the second connection line and the spatial information between the first connection line and the second connection line, wherein the spatial difference data is the real-time first connection line where the position distance and the position angle direction between the real-time first connection line and the second connection line are inconsistent with the position distance and the position angle direction between the first connection line and the second connection line. The logarithm of the real-time first connection line and the second connection line, the spatial position between the real-time first connection line and the second connection line are collected in pairs, so when there is a difference in spatial information, the real-time first connection line and the second connection line must appear in pairs, so the spatial difference data here represents the logarithm of the real-time first connection line and the second connection line whose position distance and position angle trend are inconsistent with the position distance and position angle trend between the first connection line and the second connection line, which can better analyze the accuracy of titanium metal body cutting, and can better cut the titanium metal body by comparing and analyzing the cutting features established after image processing with the real-time cutting features, thereby ensuring the accuracy of cutting the titanium metal body.

[0086] Example 2, please refer to Figure 2 As shown, the titanium metal segmentation system of the present embodiment includes:

[0087] A construction module, used for constructing a cutting model of a titanium metal body and mapping a cutting surface based on the cutting model;

[0088] A planning module, connected to the building module, is used to plan the cutting information of the titanium metal body, wherein the cutting information includes a cutting position and a cutting shape, and the cutting information is mapped on a cutting surface to obtain a cutting feature;

[0089] A cutting module, connected to the planning module, is used to cut the titanium metal body based on the cutting information, collect real-time cutting information during the cutting process, and map the real-time cutting information onto the cutting surface to obtain real-time cutting features;

[0090] The comparison module is connected to the cutting module and is used to compare the real-time cutting feature with the cutting feature to obtain a difference index, and stop segmenting the titanium metal body when the difference index does not meet a preset condition.

[0091] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A titanium metal segmentation method based on image processing, characterized in that: The following steps are involved: Construct a cutting model of the titanium metal body, and map the cutting surface based on the cutting model; Planning cutting information of the titanium metal body, wherein the cutting information includes a cutting position and a cutting shape, and mapping the cutting information on a cutting surface to obtain cutting features; Cut the titanium metal body based on the cutting information, collect real-time cutting information during the cutting process, and map the real-time cutting information onto the cutting surface to obtain real-time cutting features; The real-time cutting feature is compared with the cutting feature to obtain a difference index, and when the difference index does not meet a preset condition, segmentation of the titanium metal body is stopped; The step of mapping the cutting surface based on the cutting model comprises: Collect multi-directional images of titanium metal and construct a three-dimensional model of titanium metal, and mark the orientation of the three-dimensional model of titanium metal as a cutting model; Obtaining the center point of the cutting model, obtaining the edge point of the cutting model farthest from the center point of the cutting model, and connecting the center point of the cutting model and the edge point of the cutting model farthest from the center point of the cutting model to obtain an initial construction line; A target construction line is obtained by adding a preset distance to the initial construction line, and a circle is constructed with the length of the target construction line as the radius and the center point of the cutting model as the center; Map the cutting model onto the circle to obtain the cutting circumference; The step of mapping the cutting model onto a circle to obtain a cutting circumference comprises: Perform image mapping on the circle corresponding to the cutting model to obtain a mapping figure; The mapped graphics are laid flat on the circular surface, features of the graphics on the circular surface are extracted, and points are connected between the features of the extracted graphics on the circular surface and the features corresponding to the cutting model; The circle after establishing point connections between the features of the figure on the circular surface and the features corresponding to the cutting model is used as the cutting circumference; The step of mapping the cutting information onto the cutting surface to obtain cutting features comprises: Planning a cutting position and a cutting shape of the titanium metal body as cutting information; The cutting information is constructed in the cutting model, the cutting information is mapped onto the cutting surface based on the cutting model, and the cutting features between the cutting surface and the cutting model are established based on the cutting information.

2. The titanium metal segmentation method according to claim 1, characterized in that: The step of establishing cutting features between the cutting surface and the cutting model based on the cutting information comprises: Constructing cutting information on the cutting model, mapping the cutting information on the cutting surface based on the cutting model and fusing the graphics on the cutting surface; Acquire the position information of the cutting information in the graphics on the cutting surface, wherein the position information includes the shape of the cutting information in the graphics on the cutting surface and the positional relationship between the cutting information and the features of the graphics; A line connecting the cutting information on the cutting surface and the cutting information on the cutting model is used as a first line, and a line connecting the features of the figure on the circular surface after point connection and the features corresponding to the cutting model is used as a second line; Spatial information between the first link and the second link is established, and the spatial information and the first link are used as cutting features.

3. The titanium metal segmentation method according to claim 1, characterized in that: The step of cutting the titanium metal body based on the cutting information, collecting the real-time cutting information during the cutting process, and mapping the real-time cutting information onto the cutting surface to obtain the real-time cutting features includes: Cut the titanium metal body according to the planned cutting information, and obtain the actual cutting position and the actual cutting shape in the cut titanium metal body as real-time cutting information; The real-time cutting information is constructed on the cutting model in real time and mapped onto the cutting surface, and a line is connected between the real-time cutting information on the cutting surface and the real-time cutting information on the cutting model as a real-time first line; The spatial information between the real-time first link and the second link is obtained, and the spatial information and the second link are used as real-time cutting features.

4. The titanium metal segmentation method according to claim 1, characterized in that: The step of comparing the real-time cutting feature with the cutting feature to obtain a difference index, and stopping the segmentation of the titanium metal body when the difference index does not meet a preset condition, comprises: Acquire difference data between the real-time first connection line and the first connection line, wherein the difference data includes distance difference data and angle difference data; Acquire spatial difference data between the spatial information between the real-time first connection line and the second connection line and the spatial information between the first connection line and the second connection line, wherein the spatial difference data is the number of logarithms of the real-time first connection line and the second connection line where the position distance and the position angle trend between the real-time first connection line and the second connection line are inconsistent with the position distance and the position angle trend between the first connection line and the second connection line; Calculate a difference index based on the difference data and the spatial difference data; When the difference index does not meet a preset condition, the segmentation of the titanium metal body is stopped.

5. An image processing titanium metal segmentation system, used to implement an image processing titanium metal segmentation method according to any one of claims 1 to 4, characterized in that: include: A construction module, used for constructing a cutting model of a titanium metal body and mapping a cutting surface based on the cutting model; A planning module, connected to the building module, is used to plan the cutting information of the titanium metal body, wherein the cutting information includes a cutting position and a cutting shape, and the cutting information is mapped on a cutting surface to obtain a cutting feature; A cutting module, connected to the planning module, is used to cut the titanium metal body based on the cutting information, collect real-time cutting information during the cutting process, and map the real-time cutting information onto the cutting surface to obtain real-time cutting features; A comparison module, connected to the cutting module, for comparing the real-time cutting feature with the cutting feature to obtain a difference index, and stopping the segmentation of the titanium metal body when the difference index does not meet a preset condition; The building blocks include: Collect multi-directional images of titanium metal and construct a three-dimensional model of titanium metal, and mark the orientation of the three-dimensional model of titanium metal as a cutting model; Obtaining the center point of the cutting model, obtaining the edge point of the cutting model farthest from the center point of the cutting model, and connecting the center point of the cutting model and the edge point of the cutting model farthest from the center point of the cutting model to obtain an initial construction line; A target construction line is obtained by adding a preset distance to the initial construction line, and a circle is constructed with the length of the target construction line as the radius and the center point of the cutting model as the center; Map the cutting model onto the circle to obtain the cutting circumference; The step of mapping the cutting model onto a circle to obtain a cutting circumference comprises: Perform image mapping on the circle corresponding to the cutting model to obtain a mapping figure; The mapped graphics are laid flat on the circular surface, features of the graphics on the circular surface are extracted, and points are connected between the features of the extracted graphics on the circular surface and the features corresponding to the cutting model; The circle after establishing point connections between the features of the figure on the circular surface and the features corresponding to the cutting model is used as the cutting circumference; The planning module comprises: Planning a cutting position and a cutting shape of the titanium metal body as cutting information; The cutting information is constructed in the cutting model, the cutting information is mapped onto the cutting surface based on the cutting model, and the cutting features between the cutting surface and the cutting model are established based on the cutting information.

Citation Information

Patent Citations

  • Three-dimensional model cutting process display method and device for three-dimensional object and electronic equipment

    CN110322539A

  • Titanium metal segmentation method and system for image processing

    CN117893553A