Memory, electron microscope particle geometric property determination method, equipment and device

Through the electron microscope particle geometric property measurement method, grayscale image information is generated, converted into a binary image, clustered to separate particle points, and the particle size and dispersion form of the catalytic material are calculated, which solves the problem of unstable analysis results in the existing technology and improves The accuracy and stability of the analysis are improved.

CN112697658BActive Publication Date: 2024-09-10CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911008893.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-23
Publication Date
2024-09-10
Estimated Expiration
2039-10-23

AI Technical Summary

Technical Problem

The particle size and dispersion morphology analysis methods of catalytic materials in the prior art involve a large amount of manual observation and screening work, resulting in unstable results and poor accuracy.

Method used

The particle geometric properties determination method through electron microscopy includes generating grayscale image information, establishing the relationship between image pixels and observation scale, converting it into a binary image, clustering and separating particle points, calculating particle geometric properties and nearest neighbor distance, and conducting frequency distribution analysis.

Benefits of technology

It reduces the manual workload, eliminates the instability of subjective judgment, and improves the measurement accuracy and stability of the particle size and dispersion morphological characteristics of catalytic materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112697658B
    Figure CN112697658B
Patent Text Reader

Abstract

The present invention discloses a method, equipment and device for measuring the geometric properties of particles in a memory and an electron microscope, wherein the method comprises: generating corresponding grayscale image information according to each particle image; establishing a corresponding relationship between image pixels and image observation scale according to the scale of the particle image and the grayscale matrix scale; converting the grayscale image into a binary image according to a preset grayscale image threshold, and generating a corresponding binary image matrix; obtaining the pixel position and pixel quantity information of each particle in the grayscale image by clustering the separated points in the binary image; obtaining the geometric properties of the particles in the grayscale image; performing frequency distribution calculation on the equivalent radius and NND of the obtained particle system to obtain the overall geometric information of the particle system observed by the electron microscope of the material. The present invention eliminates the instability of the judgment result caused by subjective judgment during manual screening, thereby improving the measurement accuracy and stability of the particle size and dispersion morphology of the catalytic material.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of catalyst materials, and in particular to a method, equipment and device for determining geometric properties of memory and electron microscope particles. Background Art

[0002] With the development of modern materials science, various new materials with specific functions have emerged one after another. Among them, the emergence of new catalytic materials has greatly improved the catalytic performance of related catalysts. For catalytic materials, various characterization methods are increasingly becoming an indispensable means for catalytic material research.

[0003] The catalytic performance of general catalytic materials is often closely related to their surface characteristics, particle size and dispersion morphology. Among the analysis and measurement methods for the above characteristics of catalytic materials, the electron microscopy method is the most intuitive and reliable. That is, through the comparison and analysis of the grayscale images obtained by the electron microscope, researchers can often effectively compare and analyze the characteristics of the particle size and dispersion morphology of the catalytic material, thus providing strong support for the research and development of new materials.

[0004] The inventors have found through research that the existing methods for measuring and analyzing the particle size and dispersion morphology of catalytic materials have at least the following defects:

[0005] First, in order to obtain the structural and distribution information of the catalytic material and make it representative, the imaging area involved in electron microscope imaging of the catalytic material may be relatively wide. Therefore, the number of photos corresponding to the image file may be relatively large, and the catalytic material information contained in each image is also very complicated. Therefore, a large amount of manual observation and screening work is required, and the workload is very huge. In addition, many "subjective" factors are often introduced during the manual screening process, resulting in large differences in the observation and analysis results of different images of the same sample or even the same image, thus affecting the measurement accuracy and stability of the particle size and dispersion morphology of the catalytic material.

[0006] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention

[0007] The purpose of the present invention is to improve the measurement accuracy and stability of characteristics such as the particle size and dispersion morphology of catalytic materials.

[0008] The present invention provides a method for measuring geometric properties of particles using an electron microscope, comprising the steps of:

[0009] S11, generating corresponding grayscale image information including grayscale images described by grayscale value matrix data according to each particle image obtained from the electron microscope;

[0010] S12, establishing a corresponding relationship between image pixels and image observation scale according to the scale of the particle image and the grayscale matrix scale;

[0011] S13, converting the grayscale image into a binary image according to a preset grayscale image threshold, and generating a corresponding binary image matrix;

[0012] S14, obtaining pixel position and pixel quantity information of each particle in the grayscale image by clustering the separated points in the binary image;

[0013] S15, obtaining geometric properties of particles in the grayscale image, including: calculating the center of gravity position, area and equivalent radius of each particle; calculating the nearest neighbor distance NND of the particle system according to the center of gravity position of each particle;

[0014] S16. Perform frequency distribution calculation on the equivalent radius and NND of the obtained particle system to obtain the overall geometric information of the particle system observed by the electron microscope.

[0015] In the present invention, the format of the particle image includes:

[0016] One of the BMP format, HDF format, PCX format, JPEG format and TIFF format, and any mixture thereof.

[0017] In the present invention, the grayscale image described by grayscale value matrix data includes:

[0018] Its data structure is a uint8 two-dimensional matrix with a data range of [0,255].

[0019] In the present invention, the grayscale image information includes:

[0020] The sizes of the two dimensions of the uint8 two-dimensional matrix and all grayscale data values ​​of the uint8 two-dimensional matrix.

[0021] In the present invention, the corresponding relationship between image pixels and image observation scale is established according to the scale of the particle image and the gray matrix scale, including:

[0022] S21, measuring the length and width dimensions a and b of the grayscale image.

[0023] S22, calculating the correspondence p between the image pixels of the grayscale image and the image observation scale, wherein the correspondence p represents the observation scale represented by each pixel in the particle image; the calculation formula includes formula (1) or formula (2):

[0024] P = R*a / m formula (1);

[0025] P = R*b / n formula (2);

[0026] Among them, R is the number of scales, and m and n are the number scales of the two scales of the gray value matrix.

[0027] In the present invention, the grayscale image is converted into a binary image according to a preset grayscale image threshold, and a corresponding binary image matrix is ​​generated, including:

[0028] S31, the preset grayscale image threshold is a uint8 data between 0 and 255;

[0029] S32, converting the grayscale image into a binary image, including: when the grayscale value of the grayscale value matrix of the grayscale image at a certain point is less than the grayscale image threshold, the matrix element at this point is set to 0, otherwise the matrix element at this point is set to 1.

[0030] In the present invention, the pixel position and pixel quantity information of each particle in the grayscale image is obtained by clustering the separated points in the binary image, including:

[0031] S41, assuming that the binary matrix of the binary image matrix is ​​M m,n .

[0032] S42, traversing the binary matrix M m,n For each element of , if its matrix element is equal to 1, then record the position coordinates [i, j] of the matrix element to generate the position matrix N p,2 ; Where p is the binary matrix M m,n The number of elements in which the matrix element is equal to 1;

[0033] S43, according to the binary matrix M m,n The corresponding relationship is based on the position matrix N p,2 For each row vector [i, j] of , the coordinates of the adjacent elements of the matrix element are recorded in sequence; the rules for determining the coordinates of the adjacent elements include:

[0034] 1. When i=1 and j=1, the coordinates of adjacent elements are {[1,2],[2,1],[2,2]};

[0035] 2. When i=m and j=1, the coordinates of adjacent elements are {[m-1,1],[m,2],[m-1,2]};

[0036] 3. When i=1 and j=n, the coordinates of adjacent elements are {[1,n-1],[2,n],[2,n-1]};

[0037] 4. When i=m and j=n, the coordinates of adjacent elements are {[m-1,n],[m,n-1],[m-1,n-1]};

[0038] 5. When i=1 and j≠1 and j≠n, the coordinates of adjacent elements are {[2,j-1],[2,j],[2,j+1],[1,j-1],[1,j+1]};

[0039] 6. When i = m and j ≠ 1 and j ≠ n, the coordinates of adjacent elements are {[m-1, j-1], [m-1, j], [m-1, j+1], [m, j-1], [m, j+1]};

[0040] 7. When j = 1 and i ≠ 1 and i ≠ m, the coordinates of adjacent elements are {[i-1, 2], [i, 2], [i+1, 2], [i-1, 1], [i+1, 1]};

[0041] 8. When j = n and i ≠ 1 and i ≠ m, the coordinates of adjacent elements are {[i-1, n-1], [i, n-1], [i+1, n-1], [i-1, n], [i+1, n]};

[0042] 9. When i and j belong to the other cases, the coordinates of adjacent elements are {[i-1,j-1],[i-1,j],[i-1,j+1],[i,j-1],[i,j+1],[i+1,j-1],[i+1,j],[i+1,j+1]};

[0043] S44, sequentially import the position matrix N p,2 The first row vector N(i,1) and N(i,2) of , find and record the coordinates of the adjacent elements of [N(i,1), N(i,2)]; at the same time, generate two sets, the first set is the position coordinate set PP of the point i , which is in the form of {{N(i,1),N(i,2)}}; the second set is the position coordinate set QQ of the adjacent elements of the point i ;

[0044] S45, import the position matrix N in sequence p,2 Each row vector N(i,1) and N(i,2) of the position matrix N is calculated and this step is performed until the position matrix N is completed. p,2 Bring in all row vectors in and update the system, and obtain the position and pixel quantity information of all particles in the grayscale image;

[0045] When the set {{N(i,1),N(i,2)}} and the existing set QQ i When all intersections of are empty sets, the corresponding sets PP are generated in sequence according to the method of step S44. i And QQ collection i ;

[0046] When the set {{N(i,1),N(i,2)}} and the existing set QQ i When all the intersections of have non-empty sets, all k sets QQ whose intersections with the set {{N(i,1),N(i,2)}} are non-empty j and Collection PP j Extract in sequence; extract all sets QQ j and PP j Perform calculations to generate a new position coordinate set NPP and a new adjacent element position coordinate set NQQ; use the generated set NPP and set NQQ to add the new position coordinate set PP and the new adjacent element position coordinate set QQ to the particle position and pixel information, and realize the original set QQ j and Collection PP j The operation rules of set NPP and set NQQ are shown in formula (3) and formula (4):

[0047]

[0048]

[0049] In the present invention, before obtaining the geometric properties of the particles in the grayscale image, the method further includes:

[0050] The position coordinates of all points of each particle contained in the set PP are extracted to obtain the corresponding horizontal coordinate {xn} and vertical coordinate {yn}, and the bounding volume of each particle is extracted, including:

[0051] S51. Sort all points in the particle. The principle of sorting is: first, sort all points from small to large according to the horizontal coordinate x; second, sort all points from small to large according to the vertical coordinate y under the same horizontal coordinate condition; finally, form a point sorting sequence {p1, p2, ..., pn} for all points, and define point O; the horizontal and vertical coordinates of point O are defined as shown in formula (5) and formula (6), including:

[0052]

[0053]

[0054] Where n is the number of particles contained in each particle;

[0055] S52, forming an initial set of upper bounding volumes Π up_set ={p1,p2};

[0056] S53, select point p3 from the set {p3, p4, ..., pn}, and define two vectors; the definition method is shown in formula (7) and formula (8), including:

[0057]

[0058]

[0059] The vector product of two vectors is calculated as shown in formula (9), including:

[0060]

[0061] If the scalar product Then the definition points p1, p2 and p3 form a right turn;

[0062] If p1, p2 and p3 form a right turn, add p3 to the set Π up_set Form a new set Π up_set ={p1, p2, p3};

[0063] If p1, p2 and p3 do not form a right turn, remove p2 from the set Π up_set Remove from the new set Π up_set ={p1,p3};

[0064] S54, perform step S53 on points P4 to Pn in sequence, and continuously update the set Π up_set , when all point operations are completed, the set of upper half bounding volumes Π is formed up_set ;

[0065] S55, forming an initial set Π of lower bounding volumes down_set ={p(n),p(n-1)};

[0066] S56. Select a point p(n-2) from the set {p(n-2), p(n-3), ..., p1} and define two vectors; the definition method is shown in formula (10) and formula (11), including:

[0067]

[0068]

[0069] The vector product of two vectors is calculated as shown in formula (12), including:

[0070]

[0071] If the scalar product Then the definition points p(n), p(n-1) and p(n-2) form a right turn;

[0072] If p(n), p(n-1) and p(n-2) form a right turn, then add p(n-2) to the set Π down_set Form a new set Π up_set ={p(n),p(n-1),p(n-2)};

[0073] If p(n), p(n-1) and p(n-2) do not form a right turn, remove p(n-1) from the set Π down_set Remove from the new set Π down_set ={p(n),p(n-2)};

[0074] S57, perform step S56 on points P(n-3) to P1 in sequence, and continuously update the set Π down_set , when all point operations are completed, the set of lower half enclosures Π is formed down_set ;

[0075] S58, set Π down_set Connect to collection Π up_set Later, a new set Π is formed set , the point corresponding to the set is the bounding volume corresponding to the particle;

[0076] S59, repeat the following steps until the NPP set and NQQ set of the point are updated:

[0077] All points in the NQQ set corresponding to each particle are judged. If the point is in the set Π corresponding to the particle set If the point is within the NQQ set, the point in the NQQ set is added to the NPP set of the point, and the point is deleted from the NQQ set; otherwise, the set to which the point belongs is not operated.

[0078] In another aspect of the present invention, there is also provided an electron microscope particle geometric property determination device, comprising:

[0079] A grayscale information generating unit, for generating corresponding grayscale image information including grayscale images described by grayscale value matrix data according to each particle image obtained from the electron microscope;

[0080] A corresponding unit is used to establish a corresponding relationship between image pixels and image observation scale according to the scale of the particle image and the gray matrix scale; the gray matrix scale is the size of two dimensions of the gray matrix; the scale is the ratio relationship between the microscopic scale of the particle image and the indicated length;

[0081] A matrix generating unit, used for converting the grayscale image into a binary image according to a preset grayscale image threshold value, and generating a corresponding binary image matrix;

[0082] A clustering unit, used for obtaining pixel position and pixel quantity information of each particle in the grayscale image by clustering the separated points in the binary image;

[0083] The property calculation unit is used to obtain the geometric properties of the particles in the grayscale image, including: calculating the center of gravity position of each particle according to the pixel position of each particle; calculating the area of ​​each particle according to the pixel position and pixel quantity information of each particle; calculating the equivalent radius of each particle according to the area of ​​each particle and the correspondence between the image pixel and the image observation scale; calculating the nearest neighbor distance NND of the particle system according to the center of gravity position of each particle;

[0084] The information statistics unit is used to perform frequency distribution calculation on the equivalent radius and NND of the obtained particle system to obtain the overall geometric information of the particle system observed by electron microscope.

[0085] In another aspect of the embodiment of the present invention, a memory is provided, comprising a software program, wherein the software program is suitable for a processor to execute the steps of the above-mentioned method for determining geometric properties of electron microscopy particles.

[0086] On the other hand, an embodiment of the present invention further provides an electron microscope particle geometric property measuring device, which includes a computer program stored in a memory, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the methods described in the above aspects and achieves the same technical effects.

[0087] Beneficial effects:

[0088] In the present invention, the particle image is grayed and binarized to generate a corresponding binary image matrix, and then the separated points in the binary image are clustered to obtain the pixel position and pixel quantity information of each particle in the gray image; then the center of gravity position, area, equivalent radius and nearest neighbor distance of each particle are calculated to obtain the geometric property data of each particle; finally, taking the scale into consideration, the frequency distribution of the equivalent radius and NND of the obtained particle system is calculated to obtain the overall geometric information of the particle system observed by electron microscopy of the material.

[0089] It can be seen from the above that by using the technical solution in the embodiment of the present invention, manual observation and screening can be replaced, which not only effectively reduces a large amount of manual workload, but also eliminates the instability of the judgment results caused by subjective judgment during manual screening through a unified algorithm, thereby improving the measurement accuracy and stability of characteristics such as the particle size and dispersion morphology of the catalytic material.

[0090] Furthermore, in an embodiment of the present invention, by clustering the separated points in the binary image and obtaining the pixel position and pixel quantity information of each particle in the grayscale image, the separation of all particles in the binary image is achieved, so that more accurate results can be obtained when the geometric properties of the particles are subsequently calculated, thereby further improving the measurement accuracy of characteristics such as the particle size and dispersion morphology of the catalytic material.

[0091] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, and to make the above and other purposes, technical features and advantages of the present invention easier to understand, one or more preferred embodiments are listed below and described in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0092] Figure 1 is a step diagram of the method for determining geometric properties of particles using an electron microscope according to the present invention;

[0093] Figure 2 is a schematic diagram of an original image of a particle of an electron microscope in the present invention;

[0094] Figure 3 is a schematic diagram of a binary image converted from a particle image in the present invention;

[0095] Figure 4 is a schematic diagram of an image obtained by clustering the separated clusters of a binary image in the present invention;

[0096] Figure 5 is a schematic diagram of an appearance extraction diagram of the 3754th particle in the present invention;

[0097] Figure 6 is a schematic diagram of the boundary inclusion extraction map of the 3754th particle in the present invention;

[0098] Figure 7 is a schematic diagram of the internal hole filling diagram of the 3754th particle in the present invention;

[0099] Figure 8 is a schematic diagram showing the center of gravity of each particle in the present invention;

[0100] Fig. 9is a schematic diagram of the particle equivalent radius distribution in the present invention;

[0101] Fig.10 is a schematic diagram of a nearest neighbor distance map of particles in the present invention;

[0102] Fig.11 It is a schematic diagram of the structure of the device for measuring geometric properties of particles using an electron microscope in the present invention;

[0103] Fig.12 It is a schematic diagram of the structure of the electron microscope particle geometric property measurement device described in the present invention. DETAILED DESCRIPTION

[0104] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.

[0105] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.

[0106] In this document, for the convenience of description, spatial relative terms such as "below", "below", "down", "above", "above", "upper", etc. may be used to describe the relationship between one element or feature and another element or feature in the accompanying drawings. It should be understood that the spatial relative terms are intended to include different orientations of the object in use or operation in addition to the orientation depicted in the figure. For example, if the object in the figure is turned over, the element described as being "below" or "below" other elements or features will be oriented "above" the element or feature. Therefore, the exemplary term "below" can include both below and above. Objects may also have other orientations (rotated 90 degrees or other orientations) and the spatial relative terms used in this document should be interpreted accordingly.

[0107] In this document, the terms "first", "second", etc. are used to distinguish two different elements or parts, and are not used to limit a specific position or relative relationship. In other words, in some embodiments, the terms "first", "second", etc. can also be interchangeable.

[0108] Embodiment 1

[0109] In order to improve the measurement accuracy and stability of the particle size and dispersion morphology of catalytic materials, such as Figure 1 As shown, in an embodiment of the present invention, a method for determining geometric properties of particles using an electron microscope is provided, comprising the steps of:

[0110] S11, generating corresponding grayscale image information including grayscale images described by grayscale value matrix data according to each particle image obtained from the electron microscope;

[0111] The catalyst used in petrochemical enterprises is taken as an example to illustrate the technical solution of the embodiment of the present invention; that is, the embodiment of the present invention can be used to analyze the surface features, particle size and dispersion morphology of the catalyst image to characterize and analyze the performance characteristics of the catalyst.

[0112] Specifically, after obtaining a particle image of the catalyst through an electron microscope, the particle image needs to be grayed out first, and gray image information corresponding to the particle image is generated, that is, the gray image information includes gray value matrix data. Figure 2 A schematic diagram of the original electron microscope particle image is given.

[0113] In practical applications, the format of the electron microscope or collected particle image can be one of the BMP format, HDF format, PCX format, JPEG format and TIFF format, or any combination thereof.

[0114] In the embodiment of the present invention, the data structure of the grayscale image described by the grayscale value matrix data may be a uint8 type two-dimensional matrix, and its data range is [0, 255]. The grayscale image information may specifically include the size of the two dimensions of the uint8 type two-dimensional matrix and all grayscale data value information of the matrix.

[0115] S12, establishing a correspondence between image pixels and image observation scale according to the scale of the particle image and the grayscale matrix scale; the grayscale matrix scale is the size of two dimensions of the grayscale matrix; the scale is the ratio between the microscopic scale of the particle image and the indicated length;

[0116] The specific methods of establishing the correspondence between image pixels and image observation scales may include:

[0117] The scale in the embodiment of the present invention is the ratio between the microscopic scale of the particle image and the indicated length. For example, when R is 1.5 um / cm, it means that every 1 cm of image length represents a microscopic scale of 1.5 um.

[0118] The gray matrix scale in the embodiment of the present invention refers to the sizes of two dimensions of the gray matrix; for example, it can be expressed as: the scale of the gray matrix is ​​mxn.

[0119] S21, when measuring the length and width dimensions a and b of the grayscale image.

[0120] S22, calculating the correspondence p between the image pixels of the grayscale image and the image observation scale, wherein the correspondence p represents the observation scale represented by each pixel in the particle image; the calculation formula includes Formula 1 or Formula 2:

[0121] P = R*a / m (Formula 1);

[0122] P = R*b / n (Formula 2);

[0123] Among them, R is the number of scales, m and n are the sizes of the two dimensions of the grayscale matrix respectively;

[0124] S13, converting the grayscale image into a binary image according to a preset grayscale image threshold, and generating a corresponding binary image matrix;

[0125] Figure 3 Given the basis Figure 2 Schematic diagram of the binary image obtained by converting the original image in . The scale of the grayscale matrix in this figure is 1024x692x3, and the corresponding relationship between the image pixels and the image observation scale is that the corresponding length of each pixel is 0.011um.

[0126] This step can be implemented through the following sub-steps:

[0127] S31, the preset grayscale image threshold is a uint8 data between 0 and 255;

[0128] The grayscale threshold of the electron microscope grayscale image is set to a uint8 data between 0 and 255, and its specific data is determined by the specific situation of the image.

[0129] S32, converting the grayscale image into a binary image, including: when the grayscale value of the grayscale value matrix of the grayscale image at a certain point is less than the grayscale image threshold, the matrix element at this point is set to 0, otherwise the matrix element at this point is set to 1.

[0130] The conversion principle of the corresponding grayscale image into a binary image in the embodiment of the present invention includes: when the grayscale data of the grayscale value matrix of the original grayscale image at a certain point is less than the preset grayscale image threshold, the matrix element at the point is taken as 0, otherwise the matrix element at the point is taken as 1.

[0131] S14, obtaining pixel position and pixel quantity information of each particle in the grayscale image by clustering the separated points in the binary image;

[0132] In the present invention, the pixel position and pixel quantity information of each particle in the grayscale image is obtained by clustering the separated points in the binary image, including:

[0133] S41, assuming that the binary matrix of the binary image matrix is ​​M m,n .

[0134] It is used to express the binary image matrix of the entire particle image including the particles and the background, where the matrix element 0 represents the background part of the particle image, and the matrix element 1 represents the particle part of the particle image.

[0135] S42, traversing the binary matrix M m,n For each element of , if its matrix element is equal to 1, then record the position coordinates [i, j] of the matrix element to generate the position matrix N p,2 ; Where p is the binary matrix M m,n The number of elements in which the matrix element is equal to 1;

[0136] By traversing, the part representing the particles in the binary image matrix can be selected and its position information in the particle image can be recorded.

[0137] S43, according to the binary matrix M m,n The corresponding relationship is based on the position matrix N p,2 For each row vector [i, j] of , the coordinates of the adjacent elements of the matrix element are recorded in sequence; the rules for determining the coordinates of the adjacent elements include:

[0138] 1. When i=1 and j=1, the coordinates of adjacent elements are {[1,2],[2,1],[2,2]};

[0139] 2. When i=m and j=1, the coordinates of adjacent elements are {[m-1,1],[m,2],[m-1,2]};

[0140] 3. When i=1 and j=n, the coordinates of adjacent elements are {[1,n-1],[2,n],[2,n-1]};

[0141] 4. When i=m and j=n, the coordinates of adjacent elements are {[m-1,n],[m,n-1],[m-1,n-1]};

[0142] 5. When i=1 and j≠1 and j≠n, the coordinates of adjacent elements are {[2,j-1],[2,j],[2,j+1],[1,j-1],[1,j+1]};

[0143] 6. When i = m and j ≠ 1 and j ≠ n, the coordinates of adjacent elements are {[m-1, j-1], [m-1, j], [m-1, j+1], [m, j-1], [m, j+1]};

[0144] 7. When j = 1 and i ≠ 1 and i ≠ m, the coordinates of adjacent elements are {[i-1, 2], [i, 2], [i+1, 2], [i-1, 1], [i+1, 1]};

[0145] 8. When j = n and i ≠ 1 and i ≠ m, the coordinates of adjacent elements are {[i-1, n-1], [i, n-1], [i+1, n-1], [i-1, n], [i+1, n]};

[0146] 9. When i and j belong to the other cases, the coordinates of adjacent elements are {[i-1,j-1],[i-1,j],[i-1,j+1],[i,j-1],[i,j+1],[i+1,j-1],[i+1,j],[i+1,j+1]};

[0147] In this step, the position information of each particle neighboring point can be given and recorded. The number of neighboring points corresponding to particle points at different positions is different, with a maximum of 8 and a minimum of 2.

[0148] S44, sequentially import the position matrix N p,2 The first row vector N(i,1) and N(i,2) of , find and record the coordinates of the adjacent elements of [N(i,1), N(i,2)]; at the same time, generate two sets, the first set is the position coordinate set PP of the point i , which is in the form of {{N(i,1),N(i,2)}}; the second set is the position coordinate set QQ of the adjacent elements of the point i ;

[0149] S45, import the position matrix N in sequence p,2 Each row vector N(i,1) and N(i,2) of the position matrix N is calculated and this step is performed until the position matrix N is completed. p,2 Bring in all row vectors in and update the system, and obtain the position and pixel quantity information of all particles in the grayscale image;

[0150] When the set {{N(i,1),N(i,2)}} and the existing set QQ i When all intersections of are empty sets, the corresponding sets PP are generated in sequence according to the method of step S44. i And QQ collection i ;

[0151] When the set {{N(i,1),N(i,2)}} and the existing set QQ i When all the intersections of have non-empty sets, all k sets QQ whose intersections with the set {{N(i,1),N(i,2)}} are non-empty j and Collection PP j Extract in sequence; extract all sets QQj and PP j Perform calculations to generate a new position coordinate set NPP and a new adjacent element position coordinate set NQQ; use the generated set NPP and set NQQ to add the new position coordinate set PP and the new adjacent element position coordinate set QQ to the particle position and pixel information, and realize the original set QQ j and Collection PP j The operation rules of set NPP and set NQQ are shown in formula (3) and formula (4):

[0152]

[0153]

[0154] Step S44 and step S45 in the embodiment of the present invention implement a clustering process based on the data obtained in step S42 and step S43, wherein step S44 is used to initialize the process, and step S45 performs the entire classification work until all non-adjacent particles are separated from each other.

[0155] In the embodiment of the present invention, in order to obtain more accurate results when subsequently calculating the geometric properties of the particles, the particle points missing in the binary image matrix due to various reasons can be filled by extracting the bounding volume of each particle. The method can be as shown in steps S51 to S59. Specifically:

[0156] The position coordinates of all points of each particle contained in the set PP are extracted to obtain the corresponding horizontal coordinate {xn} and vertical coordinate {yn}, and the bounding volume of each particle is extracted, including:

[0157] S51. Sort all points in the particle. The principle of sorting is: first, sort all points from small to large according to the horizontal coordinate x; second, sort all points from small to large according to the vertical coordinate y under the same horizontal coordinate condition; finally, form a point sorting sequence {p1, p2, ..., pn} for all points, and define point O; the horizontal and vertical coordinates of point O are defined as shown in formula (5) and formula (6), including:

[0158]

[0159]

[0160] Where n is the number of particles contained in each particle;

[0161] S52, forming an initial set of upper bounding volumes Π up_set ={p1,p2};

[0162] S53, select point p3 from the set {p3, p4, ..., pn}, and define two vectors; the definition method is shown in formula (7) and formula (8), including:

[0163]

[0164]

[0165] The vector product of two vectors is calculated as shown in formula (9), including:

[0166]

[0167] If the scalar product Then the definition points p1, p2 and p3 form a right turn;

[0168] If p1, p2 and p3 form a right turn, add p3 to the set Π up_set Form a new set Π up_set ={p1, p2, p3};

[0169] If p1, p2 and p3 do not form a right turn, remove p2 from the set Π up_set Remove from the new set Π up_set ={p1,p3};

[0170] S54, perform step S53 on points P4 to Pn in sequence, and continuously update the set Π up_set , when all point operations are completed, the set of upper half bounding volumes Π is formed up_set ;

[0171] S55, forming an initial set Π of lower bounding volumes down_set ={p(n),p(n-1)};

[0172] S56. Select a point p(n-2) from the set {p(n-2), p(n-3), ..., p1} and define two vectors; the definition method is shown in formula (10) and formula (11), including:

[0173]

[0174]

[0175] The vector product of two vectors is calculated as shown in formula (12), including:

[0176]

[0177] If the scalar product Then the definition points p(n), p(n-1) and p(n-2) form a right turn;

[0178] If p(n), p(n-1) and p(n-2) form a right turn, then add p(n-2) to the set Π down_set Form a new set Π up_set ={p(n),p(n-1),p(n-2)};

[0179] If p(n), p(n-1) and p(n-2) do not form a right turn, remove p(n-1) from the set Π down_set Remove from the new set Π down_set ={p(n),p(n-2)};

[0180] S57, perform step S56 on points P(n-3) to P1 in sequence, and continuously update the set Π down_set , when all point operations are completed, the set of lower half enclosures Π is formed down_set ;

[0181] S58, set Π down_set Connect to collection Π up_set Later, a new set Π is formed set , the point corresponding to the set is the bounding volume corresponding to the particle;

[0182] S59, repeat the following steps until the NPP set and NQQ set of the point are updated:

[0183] All points in the NQQ set corresponding to each particle are judged. If the point is in the set Π corresponding to the particle set If the point is within the NQQ set, the point in the NQQ set is added to the NPP set of the point, and the point is deleted from the NQQ set; otherwise, the set to which the point belongs is not operated.

[0184] Figure 4 Schematic diagram of an image obtained after clustering the grayscale image separation clusters in the embodiment of the present invention; in this embodiment, clustering calculation obtains a total of 6809 independent particles, and different particles are marked with different grayscales. Taking particle No. 3754 as an example, the position coordinates of its original point are as follows Figure 5 As shown, the boundary of its convex inclusion is Figure 6 However, due to some problems in the image acquisition process, there are holes inside the inclusion body. By implementing the above steps S51 to S59, a convex inclusion body with holes filled can be obtained as shown in FIG. Figure 7 shown.

[0185] S15, obtaining geometric properties of particles in the grayscale image, including: calculating the center of gravity position of each particle according to the pixel position of each particle; calculating the area of ​​each particle according to the pixel position and pixel quantity information of each particle; calculating the equivalent radius of each particle according to the area of ​​each particle and the correspondence between the image pixel and the image observation scale; calculating the nearest neighbor distance NND of the particle system according to the center of gravity position of each particle;

[0186] Since the particle structure obtained by the general electron microscope system is irregular, the particle shape may be quite different from the circle. The equivalent radius in the embodiment of the present invention refers to the corresponding radius obtained by calculating the area of ​​each particle as a circle using the circle area calculation formula to describe the size of the particle.

[0187] The particle system in the embodiment of the present invention is the nearest neighbor distance of the particle system contained in the entire particle image.

[0188] In the embodiment of the present invention, obtaining the geometric properties of particles in the grayscale image may specifically include:

[0189] 1) Collect the position coordinates of all pixels of each particle [N k,ix ,N k,iy ], where N k,ix ,N k,iy They represent the horizontal and vertical coordinates of the i-th pixel of the k-th particle respectively.

[0190] 2) The formulas for calculating the coordinates of the particle center of gravity are shown in equations (13) and (14):

[0191]

[0192]

[0193] Among them, G k,x and G k,y Represent the horizontal and vertical coordinates of the center of gravity of the kth particle. k Represents the number of pixels contained in this particle.

[0194] The area of ​​all particles is calculated based on the position and pixel number information of all particles, including:

[0195] 1) Calculate the observation area of ​​the entire image, and the calculation method is shown in formula 15:

[0196] S T =R 2 ab (15)

[0197] 2) Calculate the area of ​​each particle as shown in Formula 16:

[0198]

[0199] The equivalent radius of each particle is calculated based on the area of ​​each particle and the correspondence between image pixels and image observation scale, including:

[0200] 1) Calculate the equivalent radius of each particle as shown in Formula 17:

[0201]

[0202] The NND of the system is calculated based on the center of gravity position of each particle, including:

[0203] 1) Extract the center of gravity coordinates G of each particle k,x and G k,y ;

[0204] 2) Calculate the distance between the center of gravity of each particle and the center of gravity of all particles in the system except itself, and record it in the form of a vector;

[0205] 3) Sort the vectors generated in step 2) from small to large, and select the minimum value as the NND of the particle;

[0206] 4) Repeat steps 1)-3) to calculate the NND of each particle in turn;

[0207] S16. Perform frequency distribution calculation on the equivalent radius and NND of the obtained particle system to obtain the overall geometric information of the particle system observed by electron microscopy.

[0208] In this way, geometric information of a catalyst or molecular sieve particle system obtained by different preparation methods can be obtained, such as the particle size, particle size distribution and other geometric information of the catalyst and catalytic material; specifically, it may include:

[0209] 1) Collect electron microscope images of each particle under the same conditions, and calculate and obtain the number of particles, particle equivalent radius and NND of each particle system in each image in turn;

[0210] 2) Repeat the operation mentioned in 1) for a series of particle electron microscope images, and obtain frequency distribution statistical information about the equivalent radius of the series of particle electron microscope images and the NND of the particles.

[0211] Figure 8 This is a schematic diagram showing the center of gravity of each particle according to an embodiment of the present invention; Fig. 9 Schematic diagram of equivalent radius distribution of particles in an embodiment of the present invention; Fig.10 Schematic diagram of NDD of particles in an embodiment of the present invention.

[0212] In summary, in an embodiment of the present invention, the particle image is grayed and binarized to generate a corresponding binary image matrix, and then the separated points in the binary image are clustered to obtain the pixel position and pixel quantity information of each particle in the gray image; then, the center of gravity position, area, equivalent radius and nearest neighbor distance of each particle are calculated to obtain the geometric property data of each particle; finally, taking the scale into consideration, the frequency distribution of the equivalent radius and NND of the obtained particle system is calculated to obtain the overall geometric information of the particle system observed by electron microscopy of the material.

[0213] It can be seen from the above that by using the technical solution in the embodiment of the present invention, manual observation and screening can be replaced, which not only effectively reduces a large amount of manual workload, but also eliminates the instability of the judgment results caused by subjective judgment during manual screening through a unified algorithm, thereby improving the measurement accuracy and stability of characteristics such as the particle size and dispersion morphology of the catalytic material.

[0214] Furthermore, in an embodiment of the present invention, by clustering the separated points in the binary image and obtaining the pixel position and pixel quantity information of each particle in the grayscale image, the separation of all particles in the binary image is achieved, so that more accurate results can be obtained when the geometric properties of the particles are subsequently calculated, thereby further improving the measurement accuracy of characteristics such as the particle size and dispersion morphology of the catalytic material.

[0215] In order to demonstrate the effectiveness and stability of the algorithm involved in the present invention for the entire image processing process, the processing results of the embodiment of the present invention are compared with the manual processing processes performed by several different operators.

[0216] The original image, binary cluster image, particle size and nearest distance distribution image involved in the whole processing process are as follows: Fig.10 shown.

[0217] Table 1: Comparison of the effects of the manual search method and the method mentioned in the present invention:

[0218]

[0219] Table 2: Comparison of the effects of the manual search method and the method mentioned in the present invention

[0220] Manual search analysis Method of the present invention The number of particles in the system 870 870 Average particle size / um 0.052 0.049 Nearest neighbor distance / um 0.1528 0.1534 Completion time About 3 hours 5 seconds

[0221] Through the analysis of Table 2, it can be found that the technical solution in the embodiment of the present invention has an obvious advantage of fast processing speed compared with the manual method.

[0222] Embodiment 2

[0223] In another aspect of the embodiment of the present invention, a device for measuring geometric properties of particles using an electron microscope is also provided. Figure 2 The schematic diagram of the structure of the device for measuring the geometric properties of particles under an electron microscope provided by an embodiment of the present invention is shown. Figure 1 The device corresponding to the method for measuring the geometric properties of particles under an electron microscope in the first embodiment is implemented by means of a virtual device. Figure 1 The electron microscope particle geometric property determination method in the corresponding embodiment and each virtual module constituting the electron microscope particle geometric property determination device can be executed by an electronic device, such as a network device, a terminal device, or a server. Specifically, the electron microscope particle geometric property determination device in the embodiment of the present invention includes:

[0224] A grayscale information generating unit 01 is used to generate corresponding grayscale image information including grayscale images described by grayscale value matrix data according to each particle image obtained from an electron microscope;

[0225] The corresponding unit 02 is used to establish a corresponding relationship between image pixels and image observation scale according to the scale of the particle image and the gray matrix scale; the gray matrix scale is the size of two dimensions of the gray matrix; the scale is the ratio relationship between the microscopic scale of the particle image and the indicated length;

[0226] The matrix generating unit 03 is used to convert the grayscale image into a binary image according to a preset grayscale image threshold value, and generate a corresponding binary image matrix;

[0227] A clustering unit 04 is used to obtain pixel position and pixel quantity information of each particle in the grayscale image by clustering the separated points in the binary image;

[0228] The property calculation unit 05 is used to obtain the geometric properties of the particles in the grayscale image, including: calculating the center of gravity position of each particle according to the pixel position of each particle; calculating the area of ​​each particle according to the pixel position and pixel quantity information of each particle; calculating the equivalent radius of each particle according to the area of ​​each particle and the correspondence between the image pixel and the image observation scale; calculating the nearest neighbor distance NND of the particle system according to the center of gravity position of each particle;

[0229] The information statistics unit 06 is used to perform frequency distribution calculation on the equivalent radius and NND of the obtained particle system to obtain the overall geometric information of the particle system observed by the electron microscope.

[0230] Since the working principle and beneficial effects of the electron microscope particle geometric property determination device in the embodiment of the present invention have been Figure 1The corresponding electron microscope particle geometric property measurement method is also recorded and explained, so they can be cross-referenced and will not be repeated here.

[0231] Embodiment 3

[0232] In an embodiment of the present invention, a memory is further provided, wherein the memory includes a software program, and the software program is suitable for the processor to execute Figure 1 The corresponding steps in the method for determining the geometric properties of electron microscopy particles.

[0233] The embodiments of the present invention can be implemented by means of a software program, that is, by writing a program for implementing Figure 1 The corresponding software program (and instruction set) for each step in the method for determining the geometric properties of particles using an electron microscope is stored in a storage device, which is arranged in a computer device, so that the software program can be called by the processor of the computer device to achieve the purpose of the embodiment of the present invention.

[0234] Embodiment 4

[0235] In an embodiment of the present invention, an electron microscope particle geometric property measuring device is also provided. The memory included in the electron microscope particle geometric property measuring device includes a corresponding computer program product. When the program instructions included in the computer program product are executed by a computer, the computer can execute the electron microscope particle geometric property measuring method described in the above aspects and achieve the same technical effect.

[0236] Figure 3 FIG. 1 is a schematic diagram of the hardware structure of an electron microscope particle geometric property measuring device as an electronic device according to an embodiment of the present invention. Figure 3 As shown, the device includes one or more processors 610, a bus 630, and a memory 620. Taking one processor 610 as an example, the device may also include: an input device 640, and an output device 650.

[0237] The processor 610, the memory 620, the input device 640 and the output device 650 may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.

[0238] The memory 620 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 610 executes various functional applications and data processing of the electronic device by running the non-transitory software programs, instructions, and modules stored in the memory 620, that is, the processing method of the above method embodiment is implemented.

[0239] The memory 620 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data, etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 620 may optionally include a memory remotely arranged relative to the processor 610, and these remote memories may be connected to the processing device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0240] The input device 640 can receive input digital or character information and generate signal input. The output device 650 can include a display device such as a display screen.

[0241] The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform:

[0242] S11, generating corresponding grayscale image information including grayscale images described by grayscale value matrix data according to each particle image obtained from the electron microscope;

[0243] S12, establishing a correspondence between image pixels and image observation scale according to the scale of the particle image and the grayscale matrix scale; the grayscale matrix scale is the size of two dimensions of the grayscale matrix; the scale is the ratio between the microscopic scale of the particle image and the indicated length;

[0244] S13, converting the grayscale image into a binary image according to a preset grayscale image threshold, and generating a corresponding binary image matrix;

[0245] S14, obtaining pixel position and pixel quantity information of each particle in the grayscale image by clustering the separated points in the binary image;

[0246] S15, obtaining geometric properties of particles in the grayscale image, including: calculating the center of gravity position of each particle according to the pixel position of each particle; calculating the area of ​​each particle according to the pixel position and pixel quantity information of each particle; calculating the equivalent radius of each particle according to the area of ​​each particle and the correspondence between the image pixel and the image observation scale; calculating the nearest neighbor distance NND of the particle system according to the center of gravity position of each particle;

[0247] S16. Perform frequency distribution calculation on the equivalent radius and NND of the obtained particle system to obtain the overall geometric information of the particle system observed by electron microscopy.

[0248] The above product can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

[0249] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0250] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0251] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0252] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage device, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage device includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), ReRAM, MRAM, PCM, NAND Flash, NOR Flash, Memristor, disk or optical disk and other media that can store program codes.

[0253] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for measuring geometric properties of particles using an electron microscope, characterized in that: Includes steps: S11, generating corresponding grayscale image information including grayscale images described by grayscale value matrix data according to each particle image obtained from the electron microscope; S12, establishing a corresponding relationship between image pixels and image observation scale according to the scale of the particle image and the grayscale matrix scale; S13, converting the grayscale image into a binary image according to a preset grayscale image threshold, and generating a corresponding binary image matrix; S14, obtaining pixel position and pixel quantity information of each particle in the grayscale image by clustering the separated points in the binary image; S15, obtaining geometric properties of particles in the grayscale image, including: calculating the center of gravity position, area and equivalent radius of each particle; wherein the center of gravity position of each particle is calculated according to the pixel position of each particle; the area of ​​each particle is calculated according to the pixel position and pixel number information of each particle; the equivalent radius of each particle is calculated according to the area of ​​each particle and the correspondence between the image pixel and the image observation scale; The nearest neighbor distance NND of the particle system is calculated according to the center of gravity position of each particle, including: 1) Extract the center of gravity coordinates Gk,x and Gk,y of each particle; 2) Calculate the distance between the center of gravity of each particle and the center of gravity of all particles in the system except itself, and record it in the form of a vector; 3) Sort the vectors generated in step 2) from small to large, and select the minimum value as the NND of the particle; 4), repeat steps 1)-3) to calculate the NND of each particle in turn; S16. Perform frequency distribution calculation on the equivalent radius and NND of the obtained particle system to obtain the overall geometric information of the particle system observed by the electron microscope.

2. The method for measuring geometric properties of particles using an electron microscope according to claim 1, characterized in that: The formats of the particle images include: One of the BMP format, HDF format, PCX format, JPEG format and TIFF format, and any mixture thereof.

3. The method for measuring geometric properties of particles using an electron microscope according to claim 1, characterized in that: The grayscale image described by the grayscale value matrix data includes: Its data structure is a uint8 two-dimensional matrix with a data range of [0,255].

4. The method for measuring geometric properties of particles using an electron microscope according to claim 3, characterized in that: The grayscale image information includes: The sizes of the two dimensions of the uint8 two-dimensional matrix and all grayscale data values ​​of the uint8 two-dimensional matrix.

5. The method for measuring geometric properties of particles using an electron microscope according to claim 4, characterized in that: The establishing of a correspondence between image pixels and image observation scales according to the scale of the particle image and the grayscale matrix scale includes: S21, measuring the length and width dimensions a and b of the grayscale image; S22, calculating the correspondence p between the image pixels of the grayscale image and the image observation scale, wherein the correspondence p represents the observation scale represented by each pixel in the particle image; the calculation formula includes formula (1) or formula (2): P = R*a / m Formula (1); P = R*b / n Formula (2); Among them, R is the number of scales, and m and n are the sizes of the two dimensions of the gray value matrix respectively.

6. The method for measuring geometric properties of particles using an electron microscope according to claim 5, characterized in that: The step of converting the grayscale image into a binary image according to a preset grayscale image threshold and generating a corresponding binary image matrix comprises: S31, the preset grayscale image threshold is a uint8 data between 0 and 255; S32, converting the grayscale image into a binary image, including: when the grayscale value of the grayscale value matrix of the grayscale image at a certain point is less than the grayscale image threshold, the matrix element at this point is set to 0, otherwise the matrix element at this point is set to 1.

7. The method for measuring geometric properties of particles using an electron microscope according to claim 6, characterized in that: The step of clustering the separated points in the binary image to obtain the pixel position and pixel quantity information of each particle in the grayscale image includes: S41, assuming that the binary matrix of the binary image matrix is ​​M m,n ; S42, traversing the binary matrix M m,n For each element of , if its matrix element is equal to 1, then record the position coordinates [i, j] of the matrix element to generate the position matrix N p,2 ; Where p is the binary matrix M m,n The number of elements in which the matrix element is equal to 1; S43, according to the binary matrix M m,n The corresponding relationship is based on the position matrix N p,2 For each row vector [i, j] of , the coordinates of the adjacent elements of the matrix element are recorded in sequence; the rules for determining the coordinates of the adjacent elements include:

1. When i=1 and j=1, the coordinates of adjacent elements are {[1,2],[2,1],[2,2]}; 2. When i=m and j=1, the coordinates of adjacent elements are {[m-1,1],[m,2],[m-1,2]}; 3. When i=1 and j=n, the coordinates of adjacent elements are {[1,n-1],[2,n],[2,n-1]}; 4. When i=m and j=n, the coordinates of adjacent elements are {[m-1,n],[m,n-1],[m-1,n-1]}; 5. When i=1 and j≠1 and j≠n, the coordinates of adjacent elements are {[2,j-1],[2,j],[2,j+1],[1,j-1],[1,j+1]}; 6. When i = m and j ≠ 1 and j ≠ n, the coordinates of adjacent elements are {[m-1, j-1], [m-1, j], [m-1, j+1], [m, j-1], [m, j+1]}; 7. When j = 1 and i ≠ 1 and i ≠ m, the coordinates of adjacent elements are {[i-1, 2], [i, 2], [i+1, 2], [i-1, 1], [i+1, 1]}; 8. When j = n and i ≠ 1 and i ≠ m, the coordinates of adjacent elements are {[i-1, n-1], [i, n-1], [i+1, n-1], [i-1, n], [i+1, n]}; 9. When i and j belong to the other cases, the coordinates of adjacent elements are {[i-1,j-1],[i-1,j],[i-1,j+1],[i,j-1],[i,j+1],[i+1,j-1],[i+1,j],[i+1,j+1]}; S44, sequentially import the position matrix N p,2 Each row vector N(i,1) and N(i,2) of , find and record the coordinates of the adjacent elements of [N(i,1), N(i,2)]; at the same time, generate two sets, the first set is the position coordinate set PP of the point i , which is in the form of {{N(i,1),N(i,2)}}; the second set is the position coordinate set QQ of the adjacent elements of the point i ; S45, import the position matrix N in sequence p,2 Each row vector N(i,1) and N(i,2) of the position matrix N is calculated and this step is performed until the position matrix N is completed. p,2 Bring in all row vectors in and update the system, and obtain the position and pixel quantity information of all particles in the grayscale image; When the set {{N(i,1),N(i,2)}} and the existing set QQ i When all intersections of are empty sets, the corresponding sets PP are generated in sequence according to the method of step S44. i And QQ collection i ; When the set {{N(i,1),N(i,2)}} and the existing set QQ i When all the intersections of have non-empty sets, all k sets QQ whose intersections with the set {{N(i,1),N(i,2)}} are non-empty j and Collection PP j Extract in sequence; extract all sets QQ j and PP j Perform calculations to generate a new position coordinate set NPP and a new adjacent element position coordinate set NQQ; use the generated set NPP and set NQQ to add the new position coordinate set PP and the new adjacent element position coordinate set QQ to the particle position and pixel information, and realize the original set QQ j and Collection PP j The update of the set NPP and the set NQQ operation rules are shown in formula (3) and formula (4):

8. The method for measuring geometric properties of particles using an electron microscope according to claim 7, characterized in that: Before obtaining the geometric properties of the particles in the grayscale image, the method further includes: The position coordinates of all points of each particle contained in the set PP are extracted to obtain the corresponding horizontal coordinate {xn} and vertical coordinate {yn}, and the bounding volume of each particle is extracted, including: S51. Sort all points in the particle. The principle of sorting is: first, sort all points from small to large according to the horizontal coordinate x; second, sort all points from small to large according to the vertical coordinate y under the same horizontal coordinate condition; finally, form a point sorting sequence {p1, p2, ..., pn} for all points, and define point O; the horizontal and vertical coordinates of point O are defined as shown in formula (5) and formula (6), including: Where n is the number of particles contained in each particle; S52, forming an initial set of upper bounding volumes Π up_set ={p1,p2}; S53, select point p3 from the set {p3, p4, ..., pn}, and define two vectors; the definition method is shown in formula (7) and formula (8), including: The vector product of two vectors is calculated as shown in formula (9), including: If the scalar product Then the definition points p1, p2 and p3 form a right turn; If p1, p2 and p3 form a right turn, add p3 to the set Π up_set Form a new set Π up_set ={p1, p2, p3}; If p1, p2 and p3 do not form a right turn, remove p2 from the set Π up_set Remove from the new set Π up_set ={p1,p3}; S54, perform step S53 on points P4 to Pn in sequence, and continuously update the set Π up_set , when all point operations are completed, the set of upper half bounding volumes Π is formed up_set ; S55, forming an initial set Π of lower bounding volumes down_set ={p(n),p(n-1)}; S56. Select a point p(n-2) from the set {p(n-2), p(n-3), ..., p1} and define two vectors; the definition method is shown in formula (10) and formula (11), including: The vector product of two vectors is calculated as shown in formula (12), including: If the scalar product Then the definition points p(n), p(n-1) and p(n-2) form a right turn; If p(n), p(n-1) and p(n-2) form a right turn, then add p(n-2) to the set Π down_set Form a new set Π up_set ={p(n),p(n-1),p(n-2)}; If p(n), p(n-1) and p(n-2) do not form a right turn, remove p(n-1) from the set Π down_set Remove from the new set Π down_set ={p(n),p(n-2)}; S57, perform step S56 on points P(n-3) to P1 in sequence, and continuously update the set Π down_set , when all point operations are completed, the set of lower half enclosures Π is formed down_set ; S58, set Π down_set Connect to collection Π up_set Later, a new set Π is formed set , the point corresponding to the set is the bounding volume corresponding to the particle; S59, repeat the following steps until the NPP set and NQQ set of the point are updated: All points in the NQQ set corresponding to each particle are judged. If the point is in the set Π corresponding to the particle set If the point is within the NQQ set, the point in the NQQ set is added to the NPP set of the point, and the point is deleted from the NQQ set; otherwise, the set to which the point belongs is not operated.

9. An electron microscope particle geometric property measurement device, characterized in that: include: A grayscale information generating unit, for generating corresponding grayscale image information including grayscale images described by grayscale value matrix data according to each particle image obtained from the electron microscope; A corresponding unit, used to establish a corresponding relationship between image pixels and image observation scale according to the scale of the particle image and the gray matrix scale; The grayscale matrix scale is the size of the two dimensions of the grayscale matrix; the scale is the ratio between the microscopic scale of the particle image and the indicated length; A matrix generating unit, used for converting the grayscale image into a binary image according to a preset grayscale image threshold value, and generating a corresponding binary image matrix; A clustering unit, used for obtaining pixel position and pixel quantity information of each particle in the grayscale image by clustering the separated points in the binary image; The property calculation unit is used to obtain the geometric properties of the particles in the grayscale image, including: calculating the center of gravity position of each particle according to the pixel position of each particle; calculating the area of ​​each particle according to the pixel position and pixel quantity information of each particle; calculating the equivalent radius of each particle according to the area of ​​each particle and the correspondence between the image pixel and the image observation scale; calculating the nearest neighbor distance NND of the particle system according to the center of gravity position of each particle, including: 1) Extract the center of gravity coordinates Gk,x and Gk,y of each particle; 2) Calculate the distance between the center of gravity of each particle and the center of gravity of all particles in the system except itself, and record it in the form of a vector; 3) Sort the vectors generated in step 2) from small to large, and select the minimum value as the NND of the particle; 4), repeat steps 1)-3) to calculate the NND of each particle in turn; The information statistics unit is used to perform frequency distribution calculation on the equivalent radius and NND of the obtained particle system to obtain the overall geometric information of the particle system observed by the electron microscope.

10. A memory, characterized in that: The method comprises a software program, wherein the software program is suitable for executing the steps of the method for determining geometric properties of electron microscopy particles according to any one of claims 1 to 8 by a processor.

11. An electron microscope particle geometric property measurement device, characterized in that: comprising a bus, a processor and a memory as claimed in claim 10; The bus is used to connect the memory and the processor; The processor is configured to execute an instruction set in the memory.