Method, device and storage medium for measuring target area based on scanning electron microscope image
By calculating edge straight lines and reference lines in scanning electron microscope images and combining the gradient maximum, the problem of low measurement accuracy of key dimensions in semiconductor manufacturing is solved, and accurate measurement of line widths of different heights is achieved, improving the stability of measurement and anti-interference.
Patent Information
- Application Number
- CN202410672842.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-05-28
AI Technical Summary
The prior art has problems with low accuracy, instability and noise influence in key dimension measurements in semiconductor manufacturing, especially the threshold method and linear approximation method of scanning electron microscope images cannot accurately measure line widths at different heights.
By obtaining the grayscale curve chart in the scanning electron microscope image, calculating the edge line and the high and low reference line, combining the gradient maximum value, calculating the edge point positions within different height thresholds, realizing the measurement of the line widths of different thresholds in the target area, and passing through the area Block division improves accuracy.
It improves measurement accuracy and stability, reduces noise sensitivity, enhances anti-interference, and realizes accurate measurement of line widths of different heights.
Smart Images

Figure CN118565396B_ABST
Abstract
Description
Technical Field
[0001] The present application generally relates to the field of scanning electron microscope measurement technology for critical dimension measurement. More specifically, the present application relates to a method, device and computer-readable storage medium for measuring a target area based on a scanning electron microscope image. Background Art
[0002] With the rapid development of the semiconductor industry, the size of components is getting smaller and smaller, and the design density of integrated circuits on chips is becoming higher and higher. Therefore, the critical dimension (Critical Dimension, "CD"), as a key parameter in the field of semiconductor manufacturing (including multiple indicators such as accuracy, repeatability, reproducibility, stability, etc.), is also becoming more and more demanding.
[0003] At present, there is a method of calibrating the line distance measuring instrument by using a line distance standard film, and then using the instrument to characterize the line measurement dimension characteristics. However, the use of standard films will introduce uncertainties such as calibration, sample uniformity and repeatability. In addition, there is also a method of obtaining a wafer image through a scanning electron microscope (SEM), and then obtaining the edge position through a threshold ("threshold") or linear approximation fitting ("linear approximation") algorithm. Among them, the aforementioned threshold method directly uses the one-dimensional grayscale curve graph of the SEM image, and determines the edge position by setting a threshold between the highest value and the lowest value. However, since the imaging of the SEM image is related to many factors, the image quality is unstable, and there will be a certain amount of noise. Only the zero-order information of the one-dimensional grayscale curve graph is used, and the derivative information of the curve waveform is not used, resulting in the obtained edge position being inaccurate and unstable. The aforementioned linear approximation method uses the intersection of the straight line with the maximum slope and the baseline ("baseline") as the position of the edge point (for example Figure 2 However, this method cannot calculate line widths of different heights, that is, line widths of different thresholds.
[0004] In view of this, there is an urgent need to provide a solution for measuring the target area based on the scanning electron microscope image, so as to improve the measurement accuracy and realize the width measurement of different height thresholds. Summary of the invention
[0005] In order to at least solve one or more of the technical problems mentioned above, the present application proposes solutions for measuring a target area based on a scanning electron microscope image in multiple aspects.
[0006] In a first aspect, the present application provides a method for measuring a target area based on a scanning electron microscope image, comprising: acquiring a scanning electron microscope image and determining a target area to be measured on the scanning electron microscope image, wherein the target area comprises a left area and a right area; determining a grayscale curve graph within the target area based on the scanning electron microscope image within the target area; calculating edge straight lines and high baselines and low baselines corresponding to the left area and the right area respectively according to the grayscale curve graph; calculating left edge point positions and right edge point positions within different height thresholds based on the corresponding edge straight lines and the high baselines and the low baselines; and determining a width within a corresponding height threshold of the target area according to the left edge point positions and the right edge point positions, so as to measure the target area.
[0007] In one embodiment, determining the grayscale curve graph in the target area based on the scanning electron microscope image in the target area includes: calculating the grayscale mean of all pixels in each column in the scanning electron microscope image in the target area to determine the grayscale curve graph in the target area.
[0008] In another embodiment, respectively calculating the edge straight lines and the high baseline and the low baseline corresponding to the left area and the right area according to the grayscale curve graph includes: determining the gradient maximum values corresponding to the left area and the right area according to the grayscale curve graph; and calculating the edge straight lines and the high baseline and the low baseline corresponding to the left area and the right area based on the corresponding gradient maximum values.
[0009] In another embodiment, determining the gradient maximum values corresponding to the left area and the right area respectively according to the grayscale curve graph includes: differentiating the grayscale curve graph using a predetermined filter kernel to obtain a differential signal; and determining the gradient maximum values corresponding to the left area and the right area respectively according to the differential signal.
[0010] In another embodiment, before using a predetermined filter kernel to perform differentiation on the grayscale curve graph, the method further includes: smoothing the grayscale curve graph to obtain a smoothed grayscale curve graph.
[0011] In another embodiment, calculating the edge straight line and the high baseline and the low baseline corresponding to the left area and the right area respectively based on the corresponding gradient maximum value includes: collecting multiple target fitting points on the left and right sides of the gradient maximum value corresponding to the left and right areas respectively; fitting the multiple target fitting points to obtain the edge straight line corresponding to the left and right areas respectively; collecting multiple high baseline points and multiple low baseline points along the left and right sides of the last fitting point among the multiple target fitting points respectively; and fitting the multiple high baseline points and the multiple low baseline points respectively to obtain the high baseline and the low baseline corresponding to the left and right areas respectively.
[0012] In another embodiment, calculating the left edge point position and the right edge point position within different height thresholds based on the corresponding edge straight line and the high baseline and the low baseline includes: calculating the edge grayscale within the different height thresholds according to the corresponding high baseline and the low baseline; and calculating the left edge point position and the right edge point position within different height thresholds based on the edge grayscale and the corresponding edge straight line.
[0013] In another embodiment, the method further includes: dividing the target area into multiple area blocks along the vertical direction; calculating the left edge point position and the right edge point position in each area block; and calculating the average of the left edge point position and the right edge point position in the multiple area blocks to obtain the final left edge point position and the right edge point position.
[0014] In a second aspect, the present application provides a device for measuring a target area based on a scanning electron microscope image, comprising: a processor; and a memory, wherein program instructions for measuring a target area based on a scanning electron microscope image are stored, and when the program instructions are executed by the processor, the device implements multiple embodiments of the aforementioned first aspect.
[0015] In a third aspect, the present application provides a computer-readable storage medium having stored thereon computer-readable instructions for measuring a target area based on a scanning electron microscope image, wherein when the computer-readable instructions are executed by one or more processors, multiple embodiments of the aforementioned first aspect are implemented.
[0016] Through the scheme of measuring the target area based on the scanning electron microscope image as provided above, the embodiment of the present application simultaneously obtains the edge straight line and the high and low baselines in the target area based on the grayscale curve diagram of the scanning electron microscope image, that is, it combines the threshold method and the linear approximate fitting method, so that the edge point position within different height thresholds can be calculated according to the edge straight line and the high and low baselines, thereby realizing the measurement of the line widths of different thresholds in the target area and improving the measurement accuracy. Further, the embodiment of the present application calculates the edge straight line and the high and low baselines by determining the maximum value of the gradient in the left and right areas, thereby reducing the sensitivity to noise, improving the anti-interference and robustness, and thus improving the accuracy and stability of the measurement. In addition, the embodiment of the present application also divides the target area into multiple area blocks along the longitudinal direction, and obtains the mean of the left edge point position and the right edge point position in the multiple area blocks, so as to further improve the accuracy of the edge point position. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0018] Figure 1 is an exemplary schematic diagram showing a CD-SEM image and a corresponding line profile for a semiconductor;
[0019] Figure 2 is an exemplary schematic diagram showing the use of a traditional linear approximation method to determine the position of an edge point;
[0020] Figure 3 is an exemplary flowchart showing a method for measuring a target area based on a scanning electron microscope image according to an embodiment of the present application;
[0021] Figure 4 is an exemplary flowchart showing the overall measurement of a target area based on a scanning electron microscope image according to an embodiment of the present application;
[0022] Figure 5 is an exemplary schematic diagram showing a one-dimensional grayscale curve diagram according to an embodiment of the present application;
[0023] Figure 6 is an exemplary schematic diagram showing a smoothed grayscale curve graph according to an embodiment of the present application;
[0024] Figure 7 is an exemplary schematic diagram showing a differential signal according to an embodiment of the present application;
[0025] Figure 8is an exemplary schematic diagram showing how to obtain an edge straight line in the left area according to an embodiment of the present application;
[0026] Fig. 9 is an exemplary schematic diagram showing obtaining a high reference line and a low reference line in a left area according to an embodiment of the present application;
[0027] Fig.10 is an exemplary schematic diagram showing how to obtain the line width under the corresponding height threshold in the left area according to an embodiment of the present application;
[0028] Fig.11 is an exemplary schematic diagram showing how to divide a target area into a plurality of area blocks along the longitudinal direction and calculate edge point positions according to an embodiment of the present application;
[0029] Fig.12 It is an exemplary structural block diagram of a device for measuring a target area based on a scanning electron microscope image according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0031] It should be understood that the terms "include" and "comprising" used in the specification and claims of the present application indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.
[0032] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in this application specification and claims, unless the context clearly indicates otherwise, the singular forms of "a", "an" and "the" are intended to include plural forms. It should also be further understood that the term "and / or" used in this application specification and claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
[0033] As used in this specification and claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0034] Figure 1 is an exemplary schematic diagram of a CD-SEM image and the corresponding line profile for a semiconductor. Figure 1 FIG. (a) shows a CD-SEM image of a semiconductor, wherein the interior of the rectangular frame is divided into a measurement area. In an implementation scenario, when the aforementioned measurement area is specified by a position indicator, a line profile of the measurement area can be obtained, for example Figure 1 The curve indicated by the arrow in (a) of FIG. The line profile (i.e., the one-dimensional grayscale curve) is a grayscale signal, indicating the grayscale change of the CD-SEM image in the measurement area. When the grayscale value is larger (i.e., the brighter the image), the slope of the line profile is larger; when the grayscale value is smaller (i.e., the darker the image), the slope of the line profile is flatter. The line profile can be obtained from the aforementioned CD-SEM image, and the line width can be obtained based on the line profile. However, in the implementation scenario, the cross section of the line is often trapezoidal, with different widths at the top and bottom, for example Figure 1 As shown in Figure (b).
[0035] As described in the background technology above, the edge position of the line profile can be determined by a threshold or a linear approximation fitting algorithm, and then the line width can be determined. However, the threshold method only uses the zero-order information of the one-dimensional grayscale curve graph, but does not use the derivative information of the curve waveform, resulting in inaccurate and unstable edge positions. The linear approximation method uses the intersection of the line with the maximum slope and the baseline as the position of the edge point, and cannot calculate line widths of different heights, such as Figure 2 shown.
[0036] Figure 2 FIG. 1 is an exemplary schematic diagram showing the use of a traditional linear approximation method to determine the edge point position. Figure 2 As shown in , the traditional linear approximation method uses the intersection point P of the straight line L with the maximum slope and the baseline l as the position of the edge point. This method can only determine the edge point at the bottom, but cannot determine the edge points at different heights, such as the baselines at heights H1 and H2.
[0037] Based on this, the embodiment of the present application provides a solution for measuring the target area based on the scanning electron microscope image, which can simultaneously determine the edge straight line and the high and low baselines, and then calculate the edge point position within different height thresholds, thereby realizing the measurement of different threshold line widths in the target area and improving the measurement accuracy.
[0038] The specific implementation of the present application is described in detail below with reference to the accompanying drawings.
[0039] Figure 3 FIG. 3 is an exemplary flowchart showing a method 300 for measuring a target area based on a scanning electron microscope image according to an embodiment of the present application. Figure 3 As shown in FIG. 1 , at step S301, a scanning electron microscope image is acquired and a target area to be measured is determined on the scanning electron microscope image, wherein the target area includes a left area and a right area. In one implementation scenario, the scanning electron microscope image is as described above. Figure 1 The CD-SEM image (i.e., a scanning electron microscope image for critical dimension measurement) shown in FIG. (a) can be obtained by, for example, SEM acquisition. In some embodiments, the aforementioned target area can be, for example, a measurement width area for a fine pattern formed on a semiconductor wafer. The target area can be divided into a left area and a right area (e.g., Figure 1 (a) shows area A and area B), wherein the left boundary of the measurement width is within the left area, the right boundary of the measurement width is within the right area, and the left area and the right area do not exceed the left and right adjacent target areas to be measured.
[0040] Next, at step S302, a grayscale curve graph in the target area is determined based on the SEM image in the target area. In one embodiment, the grayscale curve graph in the target area can be determined by calculating the grayscale mean of all pixels in each column of the SEM image in the target area. For example, assuming that the size of the SEM image in the target area is M*N, the average grayscale of all pixels in each column of N columns of pixels is calculated to obtain the grayscale curve graph in the target area (e.g. Figure 5 As shown in FIG. 3 , the grayscale curve graph is a one-dimensional grayscale curve graph. After the grayscale curve graph is obtained, at step S303, the edge straight line and the high reference line and the low reference line corresponding to the left region and the right region are calculated respectively according to the grayscale curve graph. In one embodiment, the maximum gradient values corresponding to the left region and the right region can be determined according to the grayscale curve graph, and then the edge straight line and the high reference line and the low reference line corresponding to the left region and the right region are calculated based on the corresponding maximum gradient values.
[0041] In one implementation scenario, the grayscale curve graph can be differentiated by a predetermined filter kernel to obtain a differential signal, and then the maximum gradient values corresponding to the left and right regions are determined according to the differential signal. As an example, assuming that the predetermined filter kernel is [-1 0 1], the predetermined filter kernel is used to scan a row of multiple columns of pixels in a one-dimensional grayscale curve graph, and each column of pixels is convolved with the predetermined filter kernel, that is, the value of the predetermined filter kernel is multiplied by the grayscale value of the corresponding column of pixels, and then the product results are added to obtain a differential signal (for example Figure 7 As shown). For the predetermined filter kernel of [-1 0 1], it can be understood that the differential signal of the current column of pixels is the grayscale of the next column of pixels minus the grayscale of the previous column of pixels.
[0042] In some embodiments, in order to reduce noise interference and further improve subsequent calculation accuracy, the embodiments of the present application smooth the grayscale curve graph before using a predetermined filter core to differentiate the grayscale curve graph to obtain a smoothed grayscale curve graph, so as to use the smoothed grayscale curve graph to perform differential signal. In an implementation scenario, the grayscale curve graph can be smoothed by methods such as traditional filtering or Gaussian filtering to obtain a smoothed grayscale curve graph (e.g. Figure 6 Based on the differential signal obtained above, the maximum gradient values corresponding to the left area and the right area can be obtained. For the left area, the maximum gradient value is the point where the gradient increases the fastest, corresponding to the maximum grayscale; for the right area, the maximum gradient value is the point where the gradient decreases the fastest, corresponding to the minimum grayscale.
[0043] In one embodiment, a plurality of target fitting points are collected on the left and right sides of the respective corresponding gradient maxima of the left region and the right region, and the plurality of target fitting points are fitted to obtain edge straight lines corresponding to the left region and the right region, and then a plurality of high reference points and a plurality of low reference points are collected along the left and right sides of the last fitting point among the plurality of target fitting points, and the plurality of high reference points and the plurality of low reference points are fitted to obtain high reference lines and low reference lines corresponding to the left and right regions, respectively. That is, in the embodiment of the present application, a plurality of points are first selected on the left and right sides of the respective corresponding gradient maxima of the left region and the right region to obtain edge straight lines. Then, a plurality of points are selected on the left or right side of the last point among the aforementioned plurality of points to obtain high reference lines and low reference lines. In some embodiments, the aforementioned edge straight lines can be fitted by, for example, a least squares fitting algorithm, and the high reference lines and the low reference lines can be fitted by, for example, the minimum median squares method. This will be discussed later in conjunction with Figure 8 and Fig. 9 Describe in detail the edge straight lines, high baselines and low baselines corresponding to the left and right regions respectively.
[0044] Based on the corresponding edge straight lines and high and low reference lines obtained above, at step S304, the left edge point positions and right edge point positions within different height thresholds are calculated based on the corresponding edge straight lines and high and low reference lines. In one embodiment, the edge grayscale within different height thresholds can be calculated first according to the corresponding high and low reference lines, and then the left edge point positions and right edge point positions within different height thresholds are calculated based on the edge grayscale and the corresponding edge straight line. Specifically, the edge grayscale within different height thresholds can be calculated according to EdgeGray=LowBaselevel+theshold*(HighBaselevel-LowBaselevel). Wherein, EdgeGray represents the edge grayscale, HighBaselevel and LowBaselevel represent the high and low reference lines, respectively, and theshold represents the height threshold. Based on the acquired edge grayscale, the left edge point positions and right edge point positions can be calculated according to EdgePosition=(EdgeGray-b) / k. Wherein, EdgePosition represents the edge point position, and b and k are the intercept and slope in the edge straight line y=kx+b.
[0045] Further, at step S305, the width within the corresponding height threshold of the target area is determined according to the left edge point position and the right edge point position to measure the target area. In an implementation scenario, the width within the corresponding height threshold of the target area can be obtained by calculating the pixel distance between the left and right edge points according to the obtained left edge point position and the right edge point position, and then dividing it by the pixel accuracy.
[0046] In one embodiment, the present application further proposes to divide the target area into multiple area blocks along the longitudinal direction, calculate the left edge point position and the right edge point position in each area block, and obtain the final left edge point position and the right edge point position by calculating the average of the left edge point position and the right edge point position in multiple area blocks. In this way, the obtained edge point position can be made more accurate. Fig.11 Detailed Description The edge point positions are calculated after the target area is divided into a plurality of area blocks along the longitudinal direction.
[0047] In combination with the above description, it can be known that the embodiment of the present application obtains the maximum value of the gradient in the left and right regions by performing smoothing, differentiation and other operations on the grayscale curve graph of the scanning electron microscope image, and takes multiple points around the maximum value of the gradient to fit the edge straight line and the high and low baselines to fit, so as to obtain the respective edge straight lines and high and low baselines in the left and right regions. Then, the edge point positions within different height thresholds are calculated by the edge straight lines and the high and low baselines, and then the measurement of the line widths of different thresholds is determined. Based on this, not only can the measurement of the line widths of different thresholds in the target area be achieved, but also the sensitivity to noise can be reduced, the anti-interference and robustness can be improved, thereby improving the accuracy and stability of the measurement.
[0048] Figure 4 is an exemplary flowchart showing the overall measurement of a target area based on a scanning electron microscope image according to an embodiment of the present application. It should be understood that: Figure 4 is the above Figure 3 A specific embodiment of Figure 3 The description also applies to Figure 4 .
[0049] like Figure 4 As shown in, at step S401, a CD-SEM image is obtained. In one embodiment, the CD-SEM image can be obtained by, for example, SEM acquisition. At step S402, a one-dimensional grayscale curve graph in the target area is obtained. In one embodiment, the grayscale mean of all pixels on each column in the CD-SEM image in the target area can be calculated to determine the one-dimensional grayscale curve graph in the target area. In some embodiments, the target area can be, for example, an area for a fine pattern formed on a semiconductor wafer. In an implementation scenario, the aforementioned target area can be divided into a left area and a right area, and subsequent operations are performed based on the left and right areas, respectively. For example, as shown in the figure, at step S403, the grayscale curve graph is smoothed to obtain a smoothed grayscale curve graph. In an implementation scenario, the grayscale curve graph can be smoothed by, for example, traditional filtering or Gaussian filtering to obtain a smoothed grayscale curve graph.
[0050] Then, at step S404, the grayscale curve graph is differentiated to obtain a differential signal. In one embodiment, the grayscale curve graph can be differentiated by a predetermined filter kernel (e.g., [-1 0 1]), and then at step S405, the maximum gradient value corresponding to the left area and the right area is obtained. Among them, in the left area, the maximum gradient value corresponds to the grayscale maximum value (maxvalue); in the right area, the maximum gradient value corresponds to the grayscale minimum value (minvalue). Further, at steps S406 and S407, the edge straight line and the high baseline and the low baseline are fitted according to the points around the gradient maximum value. Specifically, first, multiple points can be selected on the left and right sides of the gradient maximum values corresponding to the left area and the right area, respectively, and the edge straight line can be obtained by fitting using, for example, a least squares fitting algorithm. Then, multiple points are selected on the left or right side of the last point of the aforementioned multiple points, and the high baseline and the low baseline are obtained by fitting using, for example, the minimum median square method.
[0051] Further, at step S408, the left edge point position and the right edge point position within different height thresholds are calculated according to the edge straight line and the high baseline and the low baseline. In an implementation scenario, the edge grayscale within different height thresholds can be calculated first according to, for example, LowBaselevel+theshold*(HighBaselevel-LowBaselevel), and then the left edge point position and the right edge point position are calculated according to, for example, EdgePosition=(EdgeGray-b) / k. Among them, the aforementioned EdgeGray represents the edge grayscale, HighBaselevel and LowBaselevel represent the high baseline and the low baseline respectively, theshold represents the height threshold, EdgePosition represents the edge point position, and b and k are the intercept and slope in the edge straight line y=kx+b. After obtaining the left edge point position and the right edge point position, at step S409, the width of the target area within the corresponding height threshold, that is, the line width, can be obtained. In some embodiments, the line width can be obtained by calculating the pixel distance between the edge points on the left and right sides and then dividing it by the pixel accuracy.
[0052] Figure 5 is an exemplary schematic diagram showing a one-dimensional grayscale curve diagram according to an embodiment of the present application. Figure 5The curve shown in is a one-dimensional grayscale curve graph, in which the horizontal axis and the vertical axis represent the corresponding column and grayscale mean of the CD-SEM image in the target area, respectively. According to the foregoing, by calculating the grayscale mean of all pixels in each column of the SEM image in the target area, a one-dimensional grayscale curve graph in the target area can be obtained. For example, the horizontal axis 0 corresponds to the leftmost column of the CD-SEM image in the target area, and the corresponding horizontal axis is the grayscale mean of all pixels in the leftmost column of the CD-SEM image in the target area.
[0053] Figure 6 is an exemplary schematic diagram showing a smoothed grayscale curve according to an embodiment of the present application. Figure 6 The curve shown in is a smoothed grayscale curve graph, wherein the horizontal axis and the vertical axis represent the corresponding column and grayscale mean of the CD-SEM image in the target area, respectively. In an implementation scenario, the grayscale curve graph is smoothed by using methods such as traditional filtering or Gaussian filtering to obtain a smoothed grayscale curve graph, so as to reduce noise interference and further improve subsequent calculation accuracy.
[0054] Figure 7 is an exemplary schematic diagram showing a differential signal according to an embodiment of the present application. Figure 7 The curve shown in is a differential signal, where the horizontal axis and the vertical axis represent the corresponding column and differential grayscale value of the CD-SEM image in the target area, respectively. As mentioned above, a differential signal can be obtained by scanning a row of multiple columns of pixels in a one-dimensional grayscale curve diagram using a predetermined filter kernel, multiplying the pixel points of the corresponding column by the value of the predetermined filter kernel, and then adding the product results. As an example, when the predetermined filter kernel is [-1 0 1], the differential signal of the current column of pixels is the grayscale of the next column of pixels minus the grayscale of the previous column of pixels. Based on the differential signal, the maximum value of the gradient of the left and right side areas can be determined, for example, the maximum value of the grayscale in the differential signal is the maximum value of the gradient of the left area; the minimum value of the grayscale is the maximum value of the gradient of the right area. Then, the edge straight line and the high baseline and low baseline are obtained by fitting by selecting multiple points around the maximum value of the gradient. The following will take the left area as an example to describe in detail how to obtain the edge straight line and the high baseline and low baseline by fitting.
[0055] Figure 8 FIG. 1 is an exemplary schematic diagram showing how to obtain an edge straight line in the left area according to an embodiment of the present application. Figure 8The figure shows a grayscale curve diagram in the left area, where the point indicated by the arrow in the figure is the maximum gradient value of the left area. By taking multiple target fitting points on the left and right sides of the gradient maximum for fitting, an edge straight line can be obtained. In an exemplary scenario, 5 multiple target fitting points A1, A2, A3, A4, A5 are selected on the left side of the gradient maximum, and 5 multiple target fitting points a1, a2, a3, a4, a5 are selected on the right side of the gradient maximum. Based on the 10 target fitting points, an edge straight line can be obtained by fitting by, for example, the least squares method, for example, the edge straight line after fitting is y=kx+b. Furthermore, by collecting multiple high reference points and multiple low reference points on the left and right sides of the last fitting point among the multiple target fitting points, respectively, the multiple high reference points and the multiple low reference points are fitted to obtain the high reference line and the low reference line corresponding to the left area and the right area, respectively, for example Fig. 9 shown.
[0056] Fig. 9 is an exemplary schematic diagram showing how to obtain a high reference line and a low reference line in the left area according to an embodiment of the present application. Fig. 9 As shown in , taking the above 10 target fitting points as an example, when calculating the high baseline and the low baseline, multiple low baseline points are collected to the left from point A5 among the target fitting points A1, A2, A3, A4, and A5, such as points A5, A6, ..., A17; multiple high baseline points are collected to the right from point a5 among the target fitting points a1, a2, a3, a4, and a5, such as points a5, a6, ..., a17. Based on the aforementioned low baseline points A5, A6, ..., A17 and high baseline points a5, a6, ..., a17, the high baseline HighBaselevel and the low baseline LowBaselevel can be obtained by fitting using, for example, the minimum median square method. Based on the edge straight line and the high baseline and the low baseline obtained above, the line width under the corresponding height threshold can be obtained by setting different height thresholds.
[0057] Fig.10 FIG. 1 is an exemplary schematic diagram showing how to obtain the line width under the corresponding height threshold in the left area according to an embodiment of the present application. Fig.10As shown in FIG. 1 , the edge line y=kx+b, the high baseline HighBaselevel and the low baseline LowBaselevel and different height thresholds threshold=0.25; threshold=0.5; threshold=0.75. As an example, assume that the edge line y=kx+b is y=9.7074*x-170.51, that is, b=170.51, k=9.7074, the high baseline HighBaselevel=135, and the low baseline LowBaselevel=55. Taking the height threshold threshold=0.5 as an example, according to the above EdgeGray=LowBaselevel+theshold*(HighBaselevel-LowBaselevel), the edge gray EdgeGray=95 can be obtained. Then, according to EdgePosition=(EdgeGray-b) / k, EdgePosition=27.3512 can be obtained, and finally the left edge point position is the 27th point position. Similarly, the position of the right edge point can be obtained. The line width is obtained by calculating the pixel distance between the left and right edge points and dividing it by the pixel accuracy.
[0058] Fig.11 FIG. 1 is an exemplary schematic diagram showing how to divide a target area into a plurality of area blocks along the longitudinal direction and calculate edge point positions according to an embodiment of the present application. Fig.11 The rectangular box shown in represents the left area of the target area to be measured. In an implementation scenario, the area can be divided into multiple area blocks in the longitudinal direction, such as the area blocks Y1, Y2 and Y3 shown in the figure. In this scenario, the corresponding edge point positions can be calculated in each area block Y1, Y2 and Y3 using the above-mentioned method of the embodiment of the present application. As an example, it is assumed that the edge point positions X1, X2 and X3 are calculated in each area block Y1, Y2 and Y3 respectively. Further, the final edge point position is obtained by solving the average value of the edge point positions X1, X2 and X3. Similarly, the right area of the left area of the target area can be divided into multiple area blocks to calculate the average value of the edge point positions in multiple area blocks to obtain the final right edge point position. It can be understood that the more area blocks are divided, the higher the final accuracy will be.
[0059] Fig.12 FIG. 1 is an exemplary structural block diagram of a device 1200 for measuring a target area based on a scanning electron microscope image according to an embodiment of the present application. Fig.12As shown in , the device 1200 of the present application may include a processor 1201 and a memory 1202, wherein the processor 1201 and the memory 1202 communicate with each other through a bus. The memory 1202 stores a program instruction for measuring a target area based on a scanning electron microscope image. When the program instruction is executed by the processor 1201, the method steps described in the above text in combination with the accompanying drawings are implemented: obtaining a scanning electron microscope image and determining a target area to be measured on the scanning electron microscope image, wherein the target area includes a left area and a right area; determining a grayscale curve graph in the target area based on the scanning electron microscope image in the target area; calculating the edge straight lines and the high reference line and the low reference line corresponding to the left area and the right area respectively according to the grayscale curve graph; calculating the left edge point position and the right edge point position within different height thresholds based on the corresponding edge straight lines and the high reference line and the low reference line, and determining the width within the corresponding height threshold of the target area according to the left edge point position and the right edge point position, so as to measure the target area.
[0060] According to the above description in combination with the accompanying drawings, those skilled in the art can also understand that the embodiments of the present application can also be implemented by a software program. Therefore, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores computer-readable instructions for measuring a target area based on a scanning electron microscope image. When the computer-readable instructions are executed by one or more processors, the present application in combination with the accompanying drawings can be implemented. Figure 3 The described method is to measure the target area based on the scanning electron microscope image.
[0061] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0062] It should be noted that although the operations of the method of the present application are described in a specific order in the accompanying drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flow chart can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.
[0063] It should be understood that when the terms "first", "second", "third" and "fourth" are used in the claims, the specification and the drawings of the present application, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present application indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.
[0064] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in this application specification and claims, unless the context clearly indicates otherwise, the singular forms of "a", "an" and "the" are intended to include plural forms. It should also be further understood that the term "and / or" used in this application specification and claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
[0065] Although the implementation methods of the present application are as above, the contents described are only examples adopted to facilitate the understanding of the present application, and are not intended to limit the scope and application scenarios of the present application. Any technician in the technical field described in the present application can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present application, but the scope of patent protection of the present application shall still be subject to the scope defined in the attached claims.
Claims
1. A method for measuring a target area based on a scanning electron microscope image, comprising: Acquire a scanning electron microscope image and determine a target area to be measured on the scanning electron microscope image, wherein the target area includes a left area and a right area; Determine a grayscale curve graph within the target area based on a scanning electron microscope image within the target area; According to the grayscale curve diagram, the edge straight line, the high reference line and the low reference line corresponding to the left area and the right area are calculated respectively; Calculate the left edge point position and the right edge point position within different height thresholds based on the corresponding edge straight line and the high reference line and the low reference line; as well as The width within the corresponding height threshold of the target area is determined according to the left edge point position and the right edge point position to measure the target area.
2. The method according to claim 1, wherein determining the grayscale curve graph in the target area based on the scanning electron microscope image comprises: The grayscale mean of all pixels in each column of the scanning electron microscope image is calculated to determine a grayscale curve graph in the target area.
3. The method according to claim 1, wherein calculating the edge straight line and the high reference line and the low reference line corresponding to the left area and the right area respectively according to the grayscale curve graph comprises: Determine the maximum gradient values corresponding to the left area and the right area respectively according to the grayscale curve graph; as well as The edge straight line and the high reference line and the low reference line respectively corresponding to the left region and the right region are calculated based on the corresponding maximum gradient value.
4. The method according to claim 3, wherein determining the maximum gradient values corresponding to the left area and the right area respectively according to the grayscale curve graph comprises: Using a predetermined filter kernel to differentiate the grayscale curve graph to obtain a differential signal; as well as The gradient maximum values respectively corresponding to the left region and the right region are determined according to the differential signal.
5. The method according to claim 4, wherein before using a predetermined filter kernel to differentiate the grayscale curve graph, it further comprises: The grayscale curve graph is smoothed to obtain a smoothed grayscale curve graph.
6. The method according to claim 3, wherein calculating the edge straight line and the high reference line and the low reference line corresponding to the left area and the right area respectively based on the corresponding maximum gradient value comprises: Collect a plurality of target fitting points on the left and right sides of the maximum value of the gradient corresponding to the left area and the right area respectively; Fitting the multiple target fitting points to obtain the edge straight lines corresponding to the left area and the right area respectively; Collecting a plurality of high reference points and a plurality of low reference points along the left side and the right side of the last fitting point among the plurality of target fitting points; as well as The multiple high reference points and the multiple low reference points are fitted respectively to obtain the high reference line and the low reference line corresponding to the left area and the right area respectively.
7. The method according to claim 1, wherein calculating the left edge point position and the right edge point position within different height thresholds based on the corresponding edge straight line and the high reference line and the low reference line comprises: Calculate the edge grayscale within the different height thresholds according to the corresponding high reference line and the low reference line; as well as The left edge point position and the right edge point position within different height thresholds are calculated based on the edge grayscale and the corresponding edge straight line.
8. The method according to claim 1, further comprising: Dividing the target area into a plurality of area blocks along the longitudinal direction; Calculate the left edge point position and the right edge point position in each area block; as well as The average of the left edge point positions and the right edge point positions in the multiple area blocks is calculated to obtain the final left edge point position and the final right edge point position.
9. A device for measuring a target area based on a scanning electron microscope image, comprising: processor; as well as A memory storing program instructions for measuring a target area based on a scanning electron microscope image, wherein when the program instructions are executed by the processor, the device implements the method according to any one of claims 1-8.
10. A computer-readable storage medium storing computer-readable instructions for measuring a target area based on a scanning electron microscope image, wherein the computer-readable instructions, when executed by one or more processors, implement the method according to any one of claims 1 to 8.
