CN116681697B - Cobalt removal measuring method and device for diamond compact and electronic equipment - Google Patents

Cobalt removal measuring method and device for diamond compact and electronic equipment Download PDF

Info

Publication number
CN116681697B
CN116681697B CN202310936693.4A CN202310936693A CN116681697B CN 116681697 B CN116681697 B CN 116681697B CN 202310936693 A CN202310936693 A CN 202310936693A CN 116681697 B CN116681697 B CN 116681697B
Authority
CN
China
Prior art keywords
information
diamond
cobalt
region
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310936693.4A
Other languages
Chinese (zh)
Other versions
CN116681697A (en
Inventor
李晟
徐华安
杨雁清
周立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Unicomp Technology Co ltd
Original Assignee
Wuxi Unicomp Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Unicomp Technology Co ltd filed Critical Wuxi Unicomp Technology Co ltd
Priority to CN202310936693.4A priority Critical patent/CN116681697B/en
Publication of CN116681697A publication Critical patent/CN116681697A/en
Application granted granted Critical
Publication of CN116681697B publication Critical patent/CN116681697B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The embodiment of the invention discloses a cobalt removal measuring method and device of a diamond compact and electronic equipment, and relates to the technical field of image processing, wherein the method comprises the following steps: acquiring an image to be detected containing a diamond compact, and determining a target area in the image to be detected; determining outline information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the outline information to obtain a target image; determining matrix boundary information between a matrix region and a diamond region of the diamond compact in a target image and cobalt-free boundary information between the diamond region and a cobalt-free layer region; and determining a cobalt-removing measuring result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information. The method solves the problems that the current cobalt removal measurement and calculation needs to manually pull corresponding manual tools for measurement and has low measurement efficiency and accuracy, and realizes automatic and accurate cobalt removal depth measurement and calculation.

Description

Cobalt removal measuring method and device for diamond compact and electronic equipment
Technical Field
The invention relates to the technical field of image recognition, in particular to a cobalt removal measuring method and device for a diamond compact and electronic equipment.
Background
The polycrystalline diamond compact (polycrystalline diamond compact, PDC) is a composite superhard material with excellent performance, is formed by compositely sintering micron-sized diamond micro powder on a hard alloy matrix under the conditions of high temperature and high pressure by a sintering catalyst, not only retains the high hardness and wear resistance of diamond, but also has good toughness and machinability of the hard alloy, and is widely applied to the fields of oil gas exploration, mineral exploitation, geological drilling, shield machining, superhard material machining and the like. The sintering preparation process of the diamond compact PDC generally comprises the following steps: raw material preparation, batching, grinding, assembly, press synthesis, blank cleaning and inspection, processing, cobalt removal and finished product inspection. In the PDC cobalt removal process, chamfer cobalt removal depth plays a dominant role in PDC wear resistance and service life. Therefore, in the PDC production process, the cobalt removal depth of the PDC needs to be checked and calculated.
The prior common technical proposal is as follows: 1. XRay imaging the cobalt-free layer of diamond using an X-Ray apparatus (X-Ray apparatus); 2. and manually pulling a plurality of manual measuring and calculating tools, and measuring and calculating a plurality of cobalt removal depths of the diamond on the XRay image. The applicant has found that there are several significant limitations and disadvantages to the prior art solutions: 1. each diamond is measured and calculated for various cobalt removal depths, each diamond XRay image is measured by manually pulling a plurality of manual tools, so that the time and the labor are consumed, and the inspection efficiency is low; 2. the result of manual measurement has great randomness, and the accuracy, consistency and repeatability of the measurement result are influenced by the experience and knowledge of staff according to the difference of individuals; 3. under manual measurement, the diamond XRay image and measurement data in the production inspection process need manual auxiliary statistics and management, and inconvenience is brought to production data management.
Disclosure of Invention
The invention provides a cobalt removal measuring method and device for diamond composite sheets and electronic equipment, so as to realize automatic measurement and calculation of cobalt removal depths of different diamond composite sheets.
According to an aspect of the present invention, there is provided a cobalt-free measuring method of a diamond compact, including:
acquiring an image to be detected containing a diamond compact, and determining a target area in the image to be detected; wherein the target area includes: a substrate region, a diamond region, a cobalt-free layer region, and a diamond peripheral region;
determining contour information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the contour information to obtain a target image;
determining matrix boundary information between a matrix region and a diamond region of the diamond compact and cobalt-free boundary information between the diamond region and a cobalt-free layer region in the target image;
and determining a cobalt-removing measurement result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information.
According to another aspect of the present invention, there is provided a cobalt-free measuring apparatus of a diamond compact, comprising:
The image acquisition module is used for acquiring an image to be detected containing the diamond compact and determining a target area in the image to be detected; wherein the target area includes: a substrate region, a diamond region, a cobalt-free layer region, and a diamond peripheral region;
the pose correction module is used for determining the outline information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the outline information to obtain a target image;
the boundary determining module is used for determining matrix boundary information between a matrix region and a diamond region of the diamond composite sheet and cobalt-free boundary information between the diamond region and a cobalt-free layer region in the target image;
and determining a cobalt-removing measurement result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of cobalt removal measurement of a diamond compact according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to perform the cobalt-free measurement method of a diamond compact according to any of the embodiments of the present invention.
According to the technical scheme, an image to be detected containing the diamond compact is obtained, and a target area in the image to be detected is determined; determining outline information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the outline information to obtain a target image; determining matrix boundary information between a matrix region and a diamond region of the diamond compact in a target image and cobalt-free boundary information between the diamond region and a cobalt-free layer region; and determining a cobalt-removing measuring result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information. The method solves the problems that the existing cobalt-removing depth measurement of the diamond compact needs to be manually measured by a corresponding manual tool, so that the measurement efficiency and accuracy are low, realizes automatic cobalt-removing depth measurement of different types of diamond compact, and improves the measurement efficiency and accuracy.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for measuring cobalt removal of a diamond compact according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a cobalt-free measurement method of a diamond compact according to a second embodiment of the present invention.
Fig. 3 is an image of a diamond compact under X-rays.
FIG. 4 is a schematic representation of a measurement of the cobalt removal depth of PDC.
Fig. 5 is a schematic diagram of image normalization.
Fig. 6 is an XRay image of different definition.
Fig. 7 is a schematic diagram of various regions in an image.
FIG. 8 is a schematic illustration of the outer contour of a PDC.
FIG. 9 is a schematic illustration of a PDC matrix boundary profile.
FIG. 10 is a schematic illustration of decobalt boundary enhancement.
FIG. 11 is a schematic illustration of a decobalt demarcation profile.
FIG. 12 is a graph of PDC measurements.
Fig. 13 is a schematic structural diagram of a cobalt-removing measuring device for a diamond compact according to a third embodiment of the present invention.
Fig. 14 is a schematic structural diagram of an electronic device for implementing a cobalt-free measurement method of a diamond compact according to a fourth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a cobalt-removing measurement method for a diamond compact according to a first embodiment of the present invention, where the present embodiment may be suitable for an automatic measurement and calculation of cobalt-removing depths of different types of diamond compacts, the method may be performed by a cobalt-removing measurement device for a diamond compact, the cobalt-removing measurement device for a diamond compact may be implemented in a form of hardware and/or software, the cobalt-removing measurement device for a diamond compact may be configured in an electronic device, and the electronic device is a device with an image processing function. As shown in fig. 1, the method includes:
s110, acquiring an image to be detected containing the diamond compact, and determining a target area in the image to be detected.
In this embodiment, the image to be measured refers to an X-ray image, for example, when cobalt removal depth measurement is required for the diamond compact, the diamond compact is photographed by an X-ray imaging device, and the photographed X-ray image is used as the image to be measured; when cobalt removal depth measurement is required to be carried out on a plurality of diamond composite sheets, taking X-ray images corresponding to the diamond composite sheets as images to be measured, and processing the images to be measured according to a unified processing process; the target area refers to an image to be measured and is divided into areas, the target area comprises a matrix area, the matrix area corresponds to a matrix part of the diamond composite sheet, the diamond area corresponds to an image area of the diamond composite sheet, the cobalt-removing layer area corresponds to a cobalt-removing layer of the diamond composite sheet, and the diamond peripheral area refers to an image area of the periphery of the diamond composite sheet in the image to be measured.
On the basis of the technical scheme, the obtaining the image to be detected containing the diamond compact comprises the following steps: and acquiring an original image containing the diamond compact, and adjusting target display parameters in the original image to obtain the image to be detected.
In a preferred embodiment scenario, to improve the accuracy of the cobalt-free depth measurement of the diamond compact, an original image containing the diamond compact, i.e., an image captured by some X-ray imaging devices, may be acquired first; the image quality of the original image is adjusted to obtain an image with higher quality, and the image is used as an image to be measured, for example, the target display parameters of the original image are adjusted, and the target display parameters include but are not limited to brightness, resolution, gray scale and contrast.
It will be appreciated that the same type of diamond, on the same X-ray apparatus, will take corresponding X-ray images with the same jig, and as the use time increases, the intensity of the X-ray tube will gradually decay, and the corresponding X-ray images will gradually darken. In addition, different X-ray imaging devices and different projects edited by operators have differences in X-ray image brightness of the same type of diamond compact, namely, the X-ray image brightness is darker than that of a standard image brightness, and the X-ray image brightness is possibly brighter. The brightness of the original image is different, and the original image is dark or bright, so that the brightness parameter in the target display parameters of the original image can be adjusted, and the adjusted image is used as the image to be measured.
Specifically, the integral gray scale characteristic of the original image can be determined, the integral gray scale characteristic value of the original image is adjusted according to the standard brightness value, and the adjusted image is used as the image to be measured; the gray characteristic value of the original measured image can be understood as a gray mean value, a gray variance, a gray entropy and the like of pixel points in the original image, the gray characteristic value of the original image is used for representing the brightness of the original image, the larger the gray characteristic value is, the brighter the corresponding brightness of the original image is, and the brightness of the original image is adjusted to obtain the image to be measured with moderate brightness. That is, the brightness value of the original image is increased or decreased to be close to the standard brightness value, the standard brightness value is one brightness value determined by a developer according to experience or experiment, when the brightness value of the image is the standard brightness value, the cobalt-free depth measurement accuracy of the diamond compact in the image is higher, and the scheme of the embodiment can be compatible with the original images with different brightness.
S120, determining contour information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the contour information to obtain a target image.
In this embodiment, the profile information refers to some information related to the profile of the diamond compact in the image to be measured, for example, coordinate information of the profile of the diamond compact in the image to be measured; the target image is an image obtained by correcting the pose of the diamond compact in the image to be detected; in an embodiment scenario, the angle of the diamond compact in the image to be measured may be skewed, for example, when the operator shoots the image, the shooting angle of the X-ray imaging device is not calibrated, which causes that the angle of the diamond compact in the image is not a standard pose, or other reasons, and at this time, the pose of the diamond compact may be adjusted based on the contour information to obtain the target image.
In the present embodiment, only one of the cases where the angle of the diamond compact is skewed is exemplified, and the case where the angle is skewed is not particularly limited.
On the basis of the above technical solution, the determining, based on the target area, the profile information of the diamond compact in the image to be measured includes: and determining gray scale information of the diamond peripheral region, determining a gray scale threshold value based on the gray scale information of the diamond peripheral region, and determining contour information of the diamond compact in the image to be detected based on a segmentation algorithm and the gray scale threshold value.
In an embodiment scene, gray-scale analysis and contrast analysis can be performed on each target area in the image to be detected through gray-scale analysis; further, according to gray scale information of the peripheral area of the diamond, corresponding segmentation algorithm parameters are determined, and the boundary between the area where the diamond compact is located and the peripheral area in the image to be detected is determined through a segmentation extraction algorithm, namely, the outline of the diamond compact is determined. Illustratively, a gray threshold is determined based on gray scale information of the diamond peripheral region, and contour information of the diamond compact is extracted by a segmentation extraction algorithm.
On the basis of the above technical scheme, the performing pose correction on the diamond compact based on the contour information to obtain a target image includes: and determining the placement angle of the diamond compact in the image to be detected based on the contour information, and correcting the pose of the diamond compact in the image to be detected based on the placement angle and the standard angle to obtain the target image.
In this embodiment, exemplary, the straight lines on two sides of the outline of the diamond compact may be determined through the outline information, and the included angle between the two straight lines and the coordinate axis in the rectangular planar coordinate system may be determined as the above-mentioned placement angle, so that the placement angle may be adjusted to be consistent with the standard angle, the standard angle may be set to be 90 degrees with the included angle of the X-axis in the cartesian coordinate system, and the adjusted diamond compact is perpendicular to the X-axis, which is more beneficial to uniformly processing different diamond compact images and determining the corresponding cobalt-removing depth parameter. It should be further noted that, when there are a plurality of images to be measured, the method according to the embodiment can correct the angle parameters of the diamond compact, so that the accuracy of identification is improved, and the method can adapt to diamond compact with different placement angles.
And S130, determining matrix boundary information between a matrix region and a diamond region of the diamond compact and cobalt-free boundary information between the diamond region and a cobalt-free layer region in the target image.
In this embodiment, the diamond compact includes a matrix region, a diamond region, and a cobalt-free layer region in this order in the target image, the matrix boundary information refers to information of a boundary line between the matrix region and the diamond region, for example, positional information of the boundary line, and the cobalt-free boundary information refers to information of a boundary line between the diamond region and the cobalt-free layer region.
On the basis of the above technical solution, the determining the matrix boundary information between the matrix region and the diamond region of the diamond compact in the target image includes: acquiring gray scale information and contrast information of the matrix region and contrast information of the diamond region; determining an edge segmentation parameter based on the gray scale information and the contrast information of the matrix region and the contrast information of the diamond region; and determining matrix boundary information between the matrix region and the diamond region in the target image based on the edge segmentation parameters and an edge segmentation algorithm.
The matrix boundary information is information of a boundary line between a matrix region and the diamond region.
In this embodiment, gray-scale information, contrast information, and contrast information of the diamond region, which are obtained by pre-analysis, are obtained, for example, the gray-scale value, the contrast value, and the contrast value of the diamond region of the substrate region, and an edge segmentation parameter is further determined based on the gray-scale value, the contrast value, and the contrast value of the diamond region of the substrate region, and a boundary between the substrate region and the diamond region is extracted by segmentation through a segmentation algorithm; it will be appreciated that the grey values and contrast values are different between the substrate region and the diamond region, and therefore, it is possible to take as a boundary a position between the substrate region and the diamond region where the grey values vary greatly, and to identify the position of the boundary as substrate boundary information.
On the basis of the technical scheme, before the cobalt-free boundary information between the diamond region and the cobalt-free layer region is determined, the method further comprises the following steps: and determining the gray level of a target area in the image to be detected, and adjusting the contrast between the diamond area and the cobalt-free layer area based on the gray level value of the target area.
In this embodiment, in order to better identify the cobalt-free boundary between the diamond region and the cobalt-free layer, the image to be measured may be enhanced, for example, according to the gray value based on each target region, the gray value of the cobalt-free layer region, the contrast of the cobalt-free layer, and the gray level of the background in the image to be measured, the contrast between the diamond region and the cobalt-free layer region is enhanced by some general contrast enhancement algorithms, so that the cobalt-free boundary is easier to be identified.
On the basis of the above technical solution, the determining cobalt-free boundary information between the diamond region and the cobalt-free layer region of the diamond compact in the target image includes: and acquiring gray scale information and contrast information of the cobalt-removing layer region, and determining the cobalt-removing boundary information based on the gray scale information of the matrix region, the gray scale information of the cobalt-removing layer region and the contrast information of the cobalt-removing layer.
The cobalt-free boundary information is information of a boundary line between the diamond region and the cobalt-free layer region.
Specifically, gray-scale information and contrast information of a cobalt-free layer region are obtained and analyzed in advance, gray-scale information of a substrate region, gray-scale information of the cobalt-free layer region and contrast information of the cobalt-free layer are determined, corresponding segmentation parameters are determined, a boundary line between a diamond region and the cobalt-free layer region is obtained through segmentation according to the segmentation parameters through a plurality of general segmentation algorithms, and information of the boundary line is used as cobalt-free boundary information, for example, position information of the boundary line in a target image is used as cobalt-free boundary information.
And S140, determining a cobalt-removing measurement result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information.
In this embodiment, after the matrix boundary information, the cobalt-free boundary information, and the contour information are obtained, the positions of the contour and the boundary line of each region in the image are obtained, and thus the cobalt-free measurement result of the diamond compact, for example, the cobalt-free measurement depth of the diamond, can be calculated.
On the basis of the above embodiment, the measurement result includes at least one of a side decobalting depth, a side substrate depth, a chamfer decobalting depth, an upper decobalting depth, and a lower decobalting depth.
According to the technical scheme, an image to be detected containing the diamond compact is obtained, and a target area in the image to be detected is determined; determining outline information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the outline information to obtain a target image; determining matrix boundary information between a matrix region and a diamond region of the diamond compact in a target image and cobalt-free boundary information between the diamond region and a cobalt-free layer region; and determining a cobalt-removing measuring result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information. The method solves the problems that the existing cobalt-removing depth measurement of the diamond compact needs to be manually measured by a corresponding manual tool, so that the measurement efficiency and accuracy are low, realizes automatic cobalt-removing depth measurement of different types of diamond compact, and improves the measurement efficiency and accuracy.
Example two
Fig. 2 is a flowchart of a cobalt removal measurement method for a diamond compact according to a second embodiment of the present invention, and this embodiment is a preferred embodiment of the foregoing embodiments, and a specific implementation manner of the present embodiment may be described in detail. As shown in fig. 2, the method includes:
the embodiment of the invention provides a universal detection algorithm for diamond composite sheets based on XRay imaging, which can automatically finish the measurement of cobalt removal depths of a plurality of PDCs. As shown in fig. 3, a diamond compact imaging map under X-rays is shown.
In the production of PDC, to examine multiple model diamond compact, different models PDC have different diameters, heights, different materials, different measurement items. Different types of PDC, when XRay equipment is used for XRay imaging, different XRay engineering recipe parameters (voltage current and magnification) are required to be used; the cobalt-free layer of the XRay imaging of the diamond with different diameters and materials has different gray scales and contrast ratios; different types of PDC have different measurement items to be measured and calculated.
The universal detection algorithm of the diamond compact needs to be compatible with the measurement, calculation and inspection requirements of different diameters and heights, different materials, different engineering parameters, different cobalt-removal gray level contrast ratios and different measurement items.
Measurement items common to the cobalt removal depth of PDC: 1. the cobalt removal depth of the side edge; 2. the depth of the side substrate; 3. chamfering cobalt removal depth; 4. the cobalt is removed from the upper edge; 5. the upper edge has the lowest cobalt removal depth. As shown in fig. 4, a schematic diagram of a measurement item of PDC cobalt removal depth is shown, where b1 is a side cobalt removal depth, b2 is a side substrate-cobalt removal depth, b3 is a side substrate depth, a1 is a chamfer cobalt removal depth, a2 is an upper cobalt removal depth, a3 is an upper lowest cobalt removal depth, and a is a measurement position of a 2.
Image normalization
The image normalization is used for compatible depth measurement under the brightness of the same type of diamond and different XRay images. The same type of diamond, on the same XRAy equipment, the XRAy image is shot by the same jig, and as the service time increases, the light intensity of the XRAy light pipe is gradually attenuated, and the XRAy image of the diamond becomes gradually darker. In addition, different XRay equipment and different engineering personnel edit the XRay images of the same model of diamond with different brightness. Some will be darker and some may be lighter than the standard image brightness.
The method comprises the steps of normalizing images, analyzing the integral gray scale characteristics of diamond images under different brightness, uniformly converting the diamond images with different brightness into standard images with medium brightness, and carrying out depth measurement on the images to be measured, so that the compatibility and stability of an algorithm are improved, and the accuracy, consistency and repeatability of measured data under the condition of brightness change are improved. As shown in fig. 5, a schematic diagram of image normalization is shown.
Image gray scale analysis
The image gray level analysis is used for compatible depth measurement and calculation under different types of diamonds and different cobalt-removal gray level contrast ratios.
Different types of diamonds have different diameters, different process raw materials, different amplification factors and different voltage and current of XRay imaging, different gray scales of the jig, different contrast between the diamond and the jig, different definition of boundaries between the cobalt-removing layer and the diamond layer, and different algorithm parameters are needed.
And (3) analyzing the gray level/contrast of each region of the unknown type of diamond XRay image by image gray level analysis, and analyzing the gray level and contrast of a black matrix region, a jig background region, a diamond peripheral region and a cobalt-free layer region of the diamond XRay image, which are used as the selection basis of the parameters of the depth calculation algorithm. As shown in fig. 6, for XRay images of different definition, fig. 7 is a schematic representation of the various regions of the image.
Outer contour extraction
And extracting the outer contour, namely dynamically selecting segmentation algorithm parameters based on the gray level of the peripheral region of the diamond lime step analysis, and segmenting and extracting the outer contour of the diamond, wherein the outer contour is shown in fig. 8 and is a schematic diagram of the outer contour of the PDC.
Product grade posture correction
Correcting the product grade and pose, correcting the positions and angles of the diamonds according to straight lines on two sides of the outline of the diamonds, and calculating the diamonds under different placement angles.
Matrix boundary extraction
And extracting the matrix boundary, namely selecting edge segmentation parameters by using the matrix gray scale and the gray scale contrast of the matrix and the diamond, and segmenting and extracting side matrix boundary contours, wherein the side matrix boundary contours are shown in fig. 9 and are schematic diagrams of PDC matrix boundary contours.
Decobalt image enhancement
The cobalt-removing image enhancement is carried out, and the cobalt-removing layer and diamond demarcation contrast is enhanced according to the matrix gray level, the cobalt-removing layer contrast and the background gray level, so that the cobalt-removing layer and diamond demarcation contrast is compatible with depth measurement and calculation under different cobalt-removing demarcation definitions of different types of diamond XRay imaging, and the cobalt-removing demarcation enhancement is shown in fig. 10.
Decobalt boundary extraction
The cobalt-free boundary extraction is carried out, based on the matrix gray level, the cobalt-free layer gray level and the cobalt-free layer boundary contrast, the segmentation algorithm parameters are selected, and the cobalt-free layer boundary outline is segmented and extracted by using the enhanced cobalt-free boundary image, as shown in fig. 11, and is a schematic diagram of the cobalt-free boundary outline.
Cobalt removal depth measurement and determination
And (3) calculating cobalt removal depth, namely selecting measuring items to be calculated based on the extracted diamond outer contour, the matrix boundary contour and the cobalt removal boundary contour, and respectively calculating and judging each measuring item.
Resulting image rendering
Drawing a result image, namely selecting a measurement item and a display item according to a client, and labeling and displaying measurement result data, wherein the measurement result data is a PDC measurement result diagram as shown in FIG. 12.
According to the technical scheme, an image to be detected containing the diamond compact is obtained, and a target area in the image to be detected is determined; determining outline information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the outline information to obtain a target image; determining matrix boundary information between a matrix region and a diamond region of the diamond compact in a target image and cobalt-free boundary information between the diamond region and a cobalt-free layer region; and determining a cobalt-removing measuring result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information. The method solves the problems that the existing cobalt-removing depth measurement of the diamond compact needs to be manually measured by a corresponding manual tool, so that the measurement efficiency and accuracy are low, realizes automatic cobalt-removing depth measurement of different types of diamond compact, and improves the measurement efficiency and accuracy.
Example III
Fig. 13 is a schematic structural diagram of a cobalt-removing measuring device for a diamond compact according to a third embodiment of the present invention. As shown in fig. 13, the apparatus includes:
An image acquisition module 310, configured to acquire an image to be measured including a diamond compact, and determine a target area in the image to be measured; wherein the target area includes: a substrate region, a diamond region, a cobalt-free layer region, and a diamond peripheral region;
the pose correction module 320 is configured to determine contour information of the diamond compact in the image to be measured based on the target area, and correct pose of the diamond compact based on the contour information to obtain a target image;
a boundary determining module 330, configured to determine matrix boundary information between a matrix region and a diamond region of the diamond compact and cobalt-free boundary information between a diamond region and a cobalt-free layer region in the target image;
and a result determining module 340, configured to determine a cobalt-removal measurement result corresponding to the diamond compact according to the substrate boundary information, the cobalt-removal boundary information, and the profile information.
According to the technical scheme, an image to be detected containing the diamond compact is obtained, and a target area in the image to be detected is determined; determining outline information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the outline information to obtain a target image; determining matrix boundary information between a matrix region and a diamond region of the diamond compact in a target image and cobalt-free boundary information between the diamond region and a cobalt-free layer region; and determining a cobalt-removing measuring result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information. The method solves the problems that the existing cobalt-removing depth measurement of the diamond compact needs to be manually measured by a corresponding manual tool, so that the measurement efficiency and accuracy are low, realizes automatic cobalt-removing depth measurement of different types of diamond compact, and improves the measurement efficiency and accuracy.
Optionally, the pose correction module 320 includes:
the outline determining submodule is used for determining gray level information of the diamond peripheral area, determining a gray level threshold value based on the gray level information of the diamond peripheral area, and determining outline information of the diamond composite sheet in the image to be detected based on a segmentation algorithm and the gray level threshold value.
Optionally, the pose correction module 320 includes:
and the correction sub-module is used for determining the placement angle of the diamond composite sheet in the image to be detected based on the contour information, correcting the pose of the diamond composite sheet in the image to be detected based on the placement angle and the standard angle, and obtaining the target image.
Optionally, the image acquisition module 310 includes:
the image processing sub-module is used for acquiring an original image containing the diamond compact, and adjusting target display parameters in the original image to obtain the image to be detected;
wherein the target display parameters include at least one of brightness, resolution, gray scale, and contrast.
Optionally, the boundary determining module 330 is specifically configured to:
acquiring gray scale information and contrast information of the matrix region and contrast information of the diamond region;
Determining an edge segmentation parameter based on the gray scale information and the contrast information of the matrix region and the contrast information of the diamond region;
determining matrix boundary information between the matrix region and the diamond region in the target image based on the edge segmentation parameters and an edge segmentation algorithm;
the matrix boundary information is information of a boundary line between the matrix region and the diamond region.
Optionally, the boundary determining module 330 is further configured to:
acquiring gray scale information and contrast information of the cobalt-removing layer region, and determining cobalt-removing boundary information based on the gray scale information of the matrix region, the gray scale information of the cobalt-removing layer region and the contrast information of the cobalt-removing layer;
the cobalt-free boundary information is information of a boundary line between the diamond region and the cobalt-free layer region.
Optionally, the cobalt removal measuring device of the diamond compact further includes:
and the image enhancement module is used for determining the gray level of a target area in the image to be detected, and adjusting the contrast between the diamond area and the cobalt-free layer area based on the gray level value of the target area.
Optionally, the measurement includes at least one of a side decobalting depth, a side substrate depth, a chamfer decobalting depth, an upper decobalting depth, and a lower decobalting depth.
The cobalt-removing measuring device of the diamond compact provided by the embodiment of the invention can execute the cobalt-removing measuring method of the diamond compact provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example IV
Fig. 14 is a schematic structural diagram of an electronic device for implementing a cobalt-free measurement method of a diamond compact according to a fourth embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 14, the electronic device 10 includes at least one processor 11, and a memory such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the cobalt-free measurement method of the diamond compact.
In some embodiments, the cobalt-free measurement method of the diamond compact may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the cobalt-free measurement method of a diamond compact described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the cobalt-free measurement method of the diamond compact in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (7)

1. The cobalt removal measuring method of the diamond compact is characterized by comprising the following steps of:
acquiring an image to be detected containing a diamond compact, and determining a target area in the image to be detected; wherein the target area includes: a substrate region, a diamond region, a cobalt-free layer region, and a diamond peripheral region;
determining contour information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the contour information to obtain a target image;
Determining matrix boundary information between a matrix region and a diamond region of the diamond compact and cobalt-free boundary information between the diamond region and a cobalt-free layer region in the target image;
determining a cobalt-removing measurement result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information;
the step of correcting the pose of the diamond compact based on the contour information to obtain a target image comprises the following steps: determining a placement angle of the diamond compact in the image to be detected based on the contour information, and correcting the pose of the diamond compact in the image to be detected based on the placement angle and the standard angle to obtain the target image;
the determining matrix boundary information between a matrix region and a diamond region of the diamond compact in the target image includes: acquiring gray scale information and contrast information of the matrix region and contrast information of the diamond region; determining an edge segmentation parameter based on the gray scale information and the contrast information of the matrix region and the contrast information of the diamond region; determining matrix boundary information between the matrix region and the diamond region in the target image based on the edge segmentation parameters and an edge segmentation algorithm; wherein the matrix boundary information is information of a boundary line between the matrix region and the diamond region;
The determining cobalt-free boundary information between the diamond region and the cobalt-free layer region of the diamond compact in the target image includes: acquiring gray scale information and contrast information of the cobalt-removing layer region, and determining cobalt-removing boundary information based on the gray scale information of the matrix region, the gray scale information of the cobalt-removing layer region and the contrast information of the cobalt-removing layer;
the cobalt-free boundary information is information of a boundary line between the diamond region and the cobalt-free layer region.
2. The method of claim 1, wherein the determining profile information of the diamond compact in the image to be measured based on the target area comprises:
and determining gray scale information of the diamond peripheral region, determining a gray scale threshold value based on the gray scale information of the diamond peripheral region, and determining contour information of the diamond compact in the image to be detected based on a segmentation algorithm and the gray scale threshold value.
3. The method of claim 1, wherein the acquiring the image to be measured comprising the diamond compact comprises:
acquiring an original image containing a diamond compact, and adjusting target display parameters in the original image to obtain the image to be detected;
Wherein the target display parameters include at least one of brightness, resolution, gray scale, and contrast.
4. The method of claim 1, further comprising, prior to the determining the cobalt-free boundary information between the diamond region and the cobalt-free layer region:
and determining the gray level of a target area in the image to be detected, and adjusting the contrast between the diamond area and the cobalt-free layer area based on the gray level value of the target area.
5. The method of claim 1, wherein the measurement comprises at least one of a side decobalt depth, a side substrate depth, a chamfer decobalt depth, an upper decobalt depth, and a lower decobalt depth.
6. The cobalt-removing measuring device of the diamond compact is characterized by comprising:
the image acquisition module is used for acquiring an image to be detected containing the diamond compact and determining a target area in the image to be detected; wherein the target area includes: a substrate region, a diamond region, a cobalt-free layer region, and a diamond peripheral region;
the pose correction module is used for determining the outline information of the diamond compact in the image to be detected based on the target area, and correcting the pose of the diamond compact based on the outline information to obtain a target image;
The boundary determining module is used for determining matrix boundary information between a matrix region and a diamond region of the diamond composite sheet and cobalt-free boundary information between the diamond region and a cobalt-free layer region in the target image;
the result determining module is used for determining a cobalt-removing measuring result corresponding to the diamond compact according to the matrix boundary information, the cobalt-removing boundary information and the contour information;
the pose correction module includes: the correction sub-module is used for determining the placement angle of the diamond composite sheet in the image to be detected based on the contour information, correcting the pose of the diamond composite sheet in the image to be detected based on the placement angle and the standard angle, and obtaining the target image;
the boundary determining module is specifically configured to: acquiring gray scale information and contrast information of the matrix region and contrast information of the diamond region; determining an edge segmentation parameter based on the gray scale information and the contrast information of the matrix region and the contrast information of the diamond region; determining matrix boundary information between the matrix region and the diamond region in the target image based on the edge segmentation parameters and an edge segmentation algorithm; wherein the matrix boundary information is information of a boundary line between the matrix region and the diamond region;
The boundary determining module is further configured to: acquiring gray scale information and contrast information of the cobalt-removing layer region, and determining cobalt-removing boundary information based on the gray scale information of the matrix region, the gray scale information of the cobalt-removing layer region and the contrast information of the cobalt-removing layer; the cobalt-free boundary information is information of a boundary line between the diamond region and the cobalt-free layer region.
7. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program for execution by the at least one processor to enable the at least one processor to perform the method of cobalt-free measurement of a diamond compact of any one of claims 1-5.
CN202310936693.4A 2023-07-28 2023-07-28 Cobalt removal measuring method and device for diamond compact and electronic equipment Active CN116681697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310936693.4A CN116681697B (en) 2023-07-28 2023-07-28 Cobalt removal measuring method and device for diamond compact and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310936693.4A CN116681697B (en) 2023-07-28 2023-07-28 Cobalt removal measuring method and device for diamond compact and electronic equipment

Publications (2)

Publication Number Publication Date
CN116681697A CN116681697A (en) 2023-09-01
CN116681697B true CN116681697B (en) 2023-10-20

Family

ID=87791243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310936693.4A Active CN116681697B (en) 2023-07-28 2023-07-28 Cobalt removal measuring method and device for diamond compact and electronic equipment

Country Status (1)

Country Link
CN (1) CN116681697B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106691505A (en) * 2016-12-27 2017-05-24 深圳先进技术研究院 Method and device for processing uniformity and contrast of ultrasonic images
CN107169967A (en) * 2017-07-07 2017-09-15 哈尔滨理工大学 A kind of diamond saw blade crack detecting method based on image procossing
CN108663312A (en) * 2018-03-08 2018-10-16 苏州思珀利尔工业技术有限公司 The method for taking off cobalt depth is detected based on wire cutting
CN115908479A (en) * 2022-04-24 2023-04-04 华科精准(北京)医疗科技有限公司 Brain tissue drift correction method and surgical navigation system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106691505A (en) * 2016-12-27 2017-05-24 深圳先进技术研究院 Method and device for processing uniformity and contrast of ultrasonic images
CN107169967A (en) * 2017-07-07 2017-09-15 哈尔滨理工大学 A kind of diamond saw blade crack detecting method based on image procossing
CN108663312A (en) * 2018-03-08 2018-10-16 苏州思珀利尔工业技术有限公司 The method for taking off cobalt depth is detected based on wire cutting
CN115908479A (en) * 2022-04-24 2023-04-04 华科精准(北京)医疗科技有限公司 Brain tissue drift correction method and surgical navigation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"金属单点金刚石切削加工机理的研究";郑海冰;《中国优秀硕士论文电子期刊网》;第23-34页 *

Also Published As

Publication number Publication date
CN116681697A (en) 2023-09-01

Similar Documents

Publication Publication Date Title
CN110148130B (en) Method and device for detecting part defects
Yu et al. A machine vision method for measurement of machining tool wear
CN111833306B (en) Defect detection method and model training method for defect detection
CN111693534B (en) Surface defect detection method, model training method, device, equipment and medium
CN111383227A (en) Neural network-based tool wear type identification method and wear value determination method
CN111028229A (en) Metal or coating corrosion detection method based on image processing technology
CN117078672A (en) Intelligent detection method for mobile phone screen defects based on computer vision
CN113298776B (en) Method for detecting appearance defects of metal closed water pump impeller
CN115018835B (en) Automobile starter gear detection method
Zhang et al. Grain size automatic determination for 7050 al alloy based on a fuzzy logic method
CN108389184A (en) A kind of workpiece drilling number detection method based on machine vision
WO2024002187A1 (en) Defect detection method, defect detection device, and storage medium
CN111860176B (en) Non-metal inclusion full-view-field quantitative statistical distribution characterization method
CN116681697B (en) Cobalt removal measuring method and device for diamond compact and electronic equipment
CN115205163B (en) Method, device and equipment for processing identification image and storage medium
CN111986802A (en) Auxiliary judgment system and method for lung adenocarcinoma pathological differentiation grade
CN111815580A (en) Image edge identification method and small module gear module detection method
CN110930393A (en) Chip material pipe counting method, device and system based on machine vision
CN115457028A (en) Method and system for automatically segmenting and calibrating crack image of scanning electron microscope sample
CN108765381B (en) Hydraulic engineering crack extraction method and system and information processing terminal
CN113155247A (en) Object weighing method, state evaluation method, weighing system and state evaluation system
CN114298983A (en) Intelligent identification and measurement method for defects of anticorrosive layer
CN111241332B (en) Method for searching corresponding measurement program by automatically identifying workpiece
CN116934739A (en) Image processing method, device, equipment and storage medium
CN115908429B (en) Method and system for detecting grinding precision of foot soaking powder

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant