Image correction method and apparatus
By centrally aligning the design layout of the sample to be tested and the SEM image and determining the key points, the problem of inaccurate correction caused by the difference in sample status during SEM image correction is solved, and the accuracy and reliability of correction are improved.
Patent Information
- Application Number
- PCT/CN2023/094541
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-12
- Filing Date
- 2023-05-16
- Publication Date
- 2024-10-17
AI Technical Summary
In the existing technology, when scanning electron microscope (SEM) images are corrected, due to the difference in materials and surface conditions between actual samples and standard samples, the correction effect is poor and the accuracy is low.
By center-aligning the design layout of the sample to be tested with the SEM image, the key point pairs are determined, and correction is performed based on these key point pairs to obtain the corrected SEM image. Then the distortion amount is determined based on the design layout and the corrected image. If When the amount of distortion is less than the preset threshold, the correction is determined to be complete.
It improves the accuracy and reliability of SEM image correction and ensures that the image correction results of the samples to be tested are more accurate and reliable.
Smart Images

Figure CN2023094541_17102024_PF_FP_ABST
Abstract
Description
Image correction method and device Technical Field
[0001] The present invention relates to the field of semiconductor technology, and in particular to an image correction method and device. Background Art
[0002] With the development of integrated circuits, electron beam detection technology is also constantly improving. Electron beam detection and measurement equipment can usually be used to collect secondary electron imaging. During the scanning process using electron beam detection and measurement equipment, the electron gun is easily affected by factors such as mechanical vibration and surface charge accumulation effect, which may cause partial distortion in the obtained scanning electron microscope (SEM) image. Therefore, the obtained SEM image needs to be corrected.
[0003] In related technologies, when correcting SEM images, it is usually necessary to first take an SEM image of a standard sample, calculate the amount of distortion and magnification difference based on the SEM image, and then apply the result to the correction of the SEM image of the test sample. This is largely dependent on the state of the standard sample. Because SEM image correction is performed on non-actual test samples, the material and surface condition of the actual sample may differ from that of the standard sample. This may result in the distortion on the actual sample not being completely consistent with the distortion on the standard sample, resulting in poor correction effect and low accuracy. Therefore, how to improve the accuracy of SEM image correction is crucial.
[0004] Summary of the Invention
[0005] When correcting SEM images in the prior art, due to possible differences in the material and surface condition of the actual sample and the standard sample, the distortion amount on the actual sample to be tested may not be completely consistent with the distortion amount of the standard sample, resulting in poor correction effect and low accuracy.
[0006] According to a first aspect of the present invention, there is provided an image correction method, the method comprising: center-aligning a design layout of a sample to be tested with a scanning electron microscope (SEM) image; determining key point pairs based on image units in the design layout and the SEM image; correcting the SEM image based on the key point pairs to obtain a corrected SEM image; determining a distortion amount based on the design layout and the corrected SEM image; and determining that correction of the SEM image is complete when the distortion amount is less than a preset threshold.
[0007] Optionally, after determining the distortion amount based on the design layout and the corrected SEM image, the method further includes: when the distortion amount is greater than or equal to a preset threshold, returning to the step of determining key point pairs based on the design layout and the corrected SEM image.
[0008] Optionally, determining the key point pair based on the image units in the design layout and the SEM image includes: when the geometric centers of the design layout and the SEM image are aligned, establishing a rectangular coordinate system O-XY with the geometric center as the coordinate origin O; in the XY plane, selecting an image unit in the SEM image that is offset by at least one period relative to the design layout as a first image unit; selecting a second image unit on the design layout that corresponds to the first image unit; and selecting one of the coordinate points at the same position in the first image unit and the second image unit as a key point pair.
[0009] Optionally, in the XY plane, selecting an image unit in the SEM image that is offset by at least one period relative to the design layout as the first image unit includes: in a first direction in the XY plane, selecting an image unit in the SEM image that is offset by at least one period relative to the design layout as the first image unit; in a second direction in the XY plane, selecting an image unit in the SEM image that is offset by at least one period relative to the design layout as the first image unit.
[0010] Optionally, correcting the SEM image based on the key point pair to obtain a corrected SEM image includes: determining correction parameters based on the key point pair, wherein the correction parameters include at least one of the following: a rotation parameter, a scaling parameter, and a translation parameter; and processing the SEM image according to the correction parameters to determine the corrected SEM image.
[0011] Optionally, determining the distortion amount based on the design layout and the corrected SEM image includes: determining the first-order origin moment coordinates of each first image unit in the corrected SEM image and the second-order origin moment coordinates of each second image unit in the design layout; processing the corresponding first-order origin moment coordinates and second-order origin moment coordinates of the corrected SEM image and the design layout to determine the distortion amount.
[0012] Optionally, processing the corresponding first-order origin moment coordinates and second-order origin moment coordinates in the corrected SEM image and the design layout to determine the distortion amount includes: segmenting the corrected SEM image and the design layout in the same manner to obtain corresponding first sub-images and second sub-images; and performing mean processing on the first-order origin moment coordinates of the first image unit contained in each first sub-image and the second-order origin moment coordinates of the second image unit contained in each second sub-image to determine the distortion amount between each first sub-image and the corresponding second sub-image.
[0013] Optionally, determining that the SEM image correction is completed includes: when multiple distortion amounts are obtained, determining the difference between two adjacent distortion amounts; and when any difference is a negative number, determining that the SEM image correction is completed.
[0014] According to a second aspect of the present invention, there is provided an image correction device, comprising: an alignment module for centering a design layout of a sample to be tested with a scanning electron microscope (SEM) image; a first determination module for determining key point pairs based on the design layout and image units in the SEM image; a correction module for correcting the SEM image based on the key point pairs to obtain a corrected SEM image; a second determination module for determining a distortion amount based on the design layout and the corrected SEM image; and a third determination module for determining that correction of the SEM image is completed when the distortion amount is less than a preset threshold.
[0015] Optionally, the third determination module is further configured to return to the step of determining key point pairs based on the design layout and the corrected SEM image when the distortion amount is greater than or equal to a preset threshold.
[0016] Optionally, the first determination module includes: an establishment unit for establishing a rectangular coordinate system O-XY with the geometric center of the design layout and the SEM image as the coordinate origin O when the geometric centers of the design layout and the SEM image are aligned; a first selection unit for selecting, in the XY plane, an image unit in the SEM image that is offset by at least one period relative to the design layout as a first image unit; a second selection unit for selecting a second image unit at a position corresponding to the first image unit on the design layout; and a third selection unit for selecting one of the coordinate points at the same position in the first image unit and the second image unit as a key point pair.
[0017] Optionally, the first selection unit is specifically used to: in a first direction within the XY plane, select an image unit in the SEM image that is offset by at least one period relative to the design layout as a first image unit; in a second direction within the XY plane, select an image unit in the SEM image that is offset by at least one period relative to the design layout as a first image unit.
[0018] Optionally, the correction module is specifically used to: determine correction parameters based on the key point pairs, wherein the correction parameters include at least one of the following: rotation parameters, scaling parameters and translation parameters; and process the SEM image according to the correction parameters to determine a corrected SEM image.
[0019] Optionally, the second determination module includes: a first determination unit for determining the first first-order origin moment coordinates of each first image unit in the corrected SEM image and the second first-order origin moment coordinates of each second image unit in the design layout; a processing unit for processing the corresponding first first-order origin moment coordinates and second first-order origin moment coordinates of the corrected SEM image and the design layout to determine the distortion amount.
[0020] Optionally, the processing unit is specifically used to: segment the corrected SEM image and the design layout in the same manner to obtain corresponding first sub-images and second sub-images; and perform mean processing on the first first-order origin moment coordinates of the first image unit contained in each first sub-image and the second first-order origin moment coordinates of the second image unit contained in each second sub-image to determine the distortion amount between each first sub-image and the corresponding second sub-image.
[0021] Optionally, the third determination module is specifically configured to: determine a difference between two adjacent distortion amounts when multiple distortion amounts are obtained; and determine that the SEM image correction is completed when any difference is a negative number.
[0022] According to a third aspect of the present invention, there is provided an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
[0023] When the processor executes the computer program instructions, any one of the above-mentioned image correction methods is implemented.
[0024] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, characterized in that computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by a processor, any one of the above-mentioned image correction methods is implemented.
[0025] In summary, the present invention provides an image correction method and apparatus, which includes: first, centering a design layout of a sample to be tested with a scanning electron microscope (SEM) image; then, determining key point pairs based on the design layout and image units in the SEM image; then, correcting the SEM image based on the key point pairs to obtain a corrected SEM image; then, determining a distortion amount based on the design layout and the corrected SEM image; and determining that the SEM image correction is complete when the distortion amount is less than a preset threshold. Thus, the design layout of the sample to be tested and the SEM image can be first center-aligned; then, determining key point pairs based on the design layout and image units in the SEM image; and then, correcting the SEM image based on the key point pairs. Because the image units in the SEM image of the sample to be tested and the image units in the design layout can be kept consistent as much as possible, the determined key point pairs can be made more accurate and reliable, and thus the correction of the SEM image can be made more accurate and reliable, thereby improving the accuracy and reliability of the SEM image correction. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0027] FIG1 is a flow chart of an image correction method provided by an embodiment of the present invention;
[0028] FIG2 is a flow chart of an image correction method provided by an embodiment of the present invention;
[0029] FIG3 is a schematic diagram of a design layout and SEM image provided by an embodiment of the present invention;
[0030] FIG4 is a schematic diagram of an image unit provided by an embodiment of the present invention;
[0031] FIG5 is a structural diagram of an image correction device provided by an embodiment of the present invention;
[0032] FIG6 is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to make the above and other features and advantages of the present invention more clear, the present invention is further described below with reference to the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.
[0034] In the following description, many specific details are set forth to provide a thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that it is not necessary to employ these specific details to practice the present invention. In other cases, well-known steps or operations are not described in detail to avoid obscuring the present invention.
[0035] The image correction method provided by the embodiment of the present invention can be performed by the image correction device provided by the embodiment of the present invention, and the device can be configured in an electronic device.
[0036] Referring to FIG1 , the present invention provides an image correction method, the method comprising:
[0037] Step 101: align the center of the design layout of the sample to be tested with the scanning electron microscope image.
[0038] Among them, a scanning electron microscope (SEM) can be used to scan actual test samples such as semiconductor silicon wafers to generate corresponding SEM images.
[0039] In addition, there are various ways to align the center of the design layout of the sample to be tested with the scanning electron microscope image. For example, the geometric centers of the design layout of the sample to be tested and the SEM image can be determined separately and then aligned. Alternatively, the geometric centers of the design layout and the SEM image can be determined separately, followed by determining a first central pattern unit in the design layout that is closest to the geometric center, then determining a second central pattern unit in the SEM image that is closest to the geometric center, and aligning the second central pattern unit with the first central pattern unit, etc., which are not limited in the present invention.
[0040] Step 102 : determining key point pairs based on the design layout and image units in the SEM image.
[0041] Among them, the key point alignment can include two key points, for example, it can include a first key point located in the SEM image and a second key point located in the design layout, the position of the first key point in the SEM image corresponds to the position of the second key point in the design layout, etc. The present invention is not limited to this.
[0042] In addition, the key point pair can be one pair, or multiple pairs, etc., and the present invention does not limit this.
[0043] Optionally, when the design layout and the SEM image are aligned in center, a larger field of view (FOV) can be moved or adjusted until the image unit in the SEM image is offset by more than one period relative to the design layout. If the first image unit 1 in the SEM image corresponds in position to the second image unit 1 in the design layout, then a key point pair can be determined in the first image unit 1 and the second image unit 1. For example, the geometric centers of the first image unit 1 and the second image unit 1 can be determined as the key point pair, or the upper right vertices of the first image unit 1 and the second image unit 1 can be determined as a set of key point pairs, and so on.
[0044] In addition, a cycle can be understood as the period during which any first image unit in the SEM image begins to overlap with any second image unit closest to it in the design layout, except for the second image unit corresponding to itself, during observation with a moving FOV. This is called a cycle.
[0045] For example, in the image unit shown in FIG4 , the first image unit A corresponds to the second image unit A′. If the first image unit A and the second image unit C begin to overlap when observed by moving the FOV in the horizontal direction, then it can be considered that the image unit in the current SEM image is about to be offset by more than one period compared to the design layout; or, in the vertical direction, if the first image unit A and the second image unit B begin to overlap when observed by moving the FOV, then it can be considered that the image unit in the current SEM image is about to be offset by more than one period compared to the design layout, and so on. The present invention is not limited to this.
[0046] It should be noted that the size, shape, position, etc. of the first image unit and the second image unit in FIG4 are merely for illustrative purposes and cannot be used as a limitation on the first image unit and the second image unit in the embodiment of the present invention.
[0047] It can be understood that the actual sample to be tested in the present invention is obtained based on the design layout. Due to the strict mask and photolithography manufacturing process, the image units in the SEM image of the sample to be tested can be kept consistent with the image units in the design layout as much as possible. Therefore, in the embodiment of the present invention, the design layout is used as a reference for SEM image correction. Since the SEM image correction process is based on the corresponding design layout, it provides conditions for subsequently improving the accuracy of SEM image correction.
[0048] Step 103: Correct the SEM image based on the key point pairs to obtain a corrected SEM image.
[0049] After determining the key point pairs, various methods are available for correcting the SEM image based on the key point pairs. For example, each set of key point pairs can be processed to determine correction parameters corresponding to each set of key point pairs, and then the SEM image can be corrected using the correction parameters to determine a corrected SEM image, etc., although the present invention is not limited thereto.
[0050] Step 104 : Determine the amount of distortion based on the design layout and the corrected SEM image.
[0051] After obtaining the corrected SEM image, the distortion amount may be further determined based on the first image unit in the corrected SEM image and the second image unit in the design layout.
[0052] Optionally, the first-order origin moment coordinates of each first image unit in the corrected SEM image and the second-order origin moment coordinates of each second image unit in the design layout can be determined first, and then the corresponding first-order origin moment coordinates and second-order origin moment coordinates in the corrected SEM image and the design layout can be processed to determine the distortion amount.
[0053] There are many ways to determine the first-order origin moment coordinates and the second-order origin moment coordinates, such as determining them through the first-order origin moment method, or determining them using each coordinate point in the image unit, etc. The present invention does not limit this.
[0054] Furthermore, there are various methods for processing the first-order origin moment coordinates and the second-order origin moment coordinates to determine the distortion amount. For example, the first-order origin moment coordinates and the second-order origin moment coordinates can be substituted into a Euclidean distance formula to determine the distortion amount. Alternatively, the Manhattan distance formula, the cosine similarity distance formula, the Chebyshev distance formula, and the like can be used, although the present invention is not limited thereto.
[0055] It can be understood that in the embodiment of the present invention, since the actual sample to be tested is obtained based on the design layout, when the design layout is used to correct the SEM image, the image units in the SEM image of the sample to be tested and the image units in the design layout can be kept as consistent as possible, thereby making the determined key point pairs more accurate and reliable. Furthermore, since the SEM image is processed using more accurate and reliable key point pairs, inaccurate correction caused by the difference between the sample to be tested and the standard sample is effectively avoided, thereby making the correction of the SEM image more accurate and reliable, thereby improving the accuracy and reliability of the SEM image correction.
[0056] Step 105 : When the distortion amount is less than a preset threshold, it is determined that the SEM image correction is completed.
[0057] The preset threshold value may be a value set in advance, or may be adjusted according to actual needs, etc., and the present invention does not limit this.
[0058] Optionally, when the distortion amount is greater than or equal to a preset threshold, the step of determining key point pairs is returned to based on the design layout and the corrected SEM image.
[0059] It is understood that during the SEM image correction process, if the distortion amount is less than a preset threshold, the current SEM image correction can be considered complete. If the distortion amount is greater than or equal to the preset threshold, it can be considered that the current SEM image still needs to be corrected. In this case, the step of determining key point pairs can be returned based on the design layout and the corrected SEM image. After determining the key point pairs corresponding to the design layout and the corrected SEM image, the corrected SEM image can be corrected based on the updated key point pairs to obtain a re-corrected SEM image. The distortion amount can then be re-determined based on the design layout and the re-corrected SEM image. If the distortion amount is less than the preset threshold, the SEM image correction can be considered complete. If the distortion amount is still greater than or equal to the preset threshold, the above-mentioned process of determining key point pairs can be repeated based on the design layout and the re-corrected SEM image until the distortion amount is less than the preset threshold.
[0060] In an embodiment of the present invention, the design layout of the sample to be tested can be first aligned with the center of a scanning electron microscope (SEM) image. Then, based on the image units in the design layout and the SEM image, key point pairs can be determined. The SEM image can then be corrected based on the key point pairs to obtain a corrected SEM image. The amount of distortion can then be determined based on the design layout and the corrected SEM image. When the distortion amount is less than a preset threshold, the SEM image correction is concluded. Thus, the design layout of the sample to be tested can be first aligned with the center of the SEM image. Then, based on the image units in the design layout and the SEM image, key point pairs can be determined. Then, the SEM image can be corrected based on these key point pairs. Because the image units in the SEM image of the sample to be tested and the image units in the design layout can be kept consistent as much as possible, the determined key point pairs can be more accurate and reliable, which in turn makes the correction of the SEM image more accurate and reliable, thereby improving the accuracy and reliability of the SEM image correction.
[0061] FIG2 is a schematic flow chart of an image correction method provided by an embodiment of the present invention.
[0062] As shown in FIG2 , the image correction method may include the following steps:
[0063] Step 201 : aligning the center of the design layout of the sample to be tested with the SEM image.
[0064] Step 202 : When the geometric centers of the design layout and the SEM image are aligned, a rectangular coordinate system O-XY is established with the geometric centers as the coordinate origin O.
[0065] For example, the geometric center of the design layout and the SEM image can be determined first, and then the rectangular coordinate system O-XY can be established with the geometric center as the coordinate origin O. For example, the design layout can be shown in part (a) of Figure 3, and the SEM image can be shown in part (b) of Figure 3. After the two are aligned at the geometric center, the image can be shown in part (c) of Figure 3, and so on. The present invention is not limited to this.
[0066] Step 203 : In the XY plane, an image unit in the SEM image that is offset by at least one period relative to the design layout is selected as a first image unit.
[0067] The larger field of view (FOV) can be moved toward the edge starting from the coordinate origin O. When the SEM image is about to deviate from the design layout by more than one period, the image unit in the SEM image at this time is determined as the first image unit. The number of the first image units can be one or more, and the present invention is not limited thereto.
[0068] Optionally, an image unit in the SEM image that is offset by at least one period relative to the design layout in a first direction within the XY plane can be selected as the first image unit, or an image unit in the SEM image that is offset by at least one period relative to the design layout in a second direction within the XY plane can be selected as the first image unit.
[0069] The first direction and the second direction may be two mutually orthogonal directions, such as the X-axis direction and the Y-axis direction, or any two mutually orthogonal directions in the XY plane, etc. The present invention does not limit this.
[0070] Step 204 : Select a second image unit at a position corresponding to the first image unit on the design layout.
[0071] Among them, when the geometric centers of the design layout and the SEM image are aligned, the image units in the design layout and the image units in the SEM image correspond one to one in position. Therefore, after determining the first image unit in the SEM image, the image unit corresponding to the first image unit, that is, the second image unit, can be selected on the design layout.
[0072] Step 205 : Select one of the coordinate points at the same position in the first image unit and the second image unit as a key point pair.
[0073] For example, the coordinate points of the center positions of the first image unit and the second image unit can be determined as a set of key point pairs; or the coordinate points at the upper left vertices of the first image unit and the second image unit can be determined as a set of key point pairs; or the coordinate points at the lower right vertices of the first image unit and the second image unit can be determined as a set of key point pairs, etc. For example, when the determined first image unit and second image unit are as shown in the dotted box diagram in Figure 4, the upper right vertex can also be selected as the key point pair, etc.
[0074] It should be noted that the above examples are merely illustrative and cannot be used as a limitation on the method of determining key point pairs in the embodiments of the present invention.
[0075] Step 206 : Determine a correction parameter based on the key point pair, wherein the correction parameter includes at least one of the following: a rotation parameter, a scaling parameter, and a translation parameter.
[0076] After determining the key point pairs, they can be processed to determine rotation parameters, scaling parameters, and translation parameters. Only one of the rotation parameters, scaling parameters, and translation parameters can be determined, or multiple parameters can be determined, such as a rotation parameter and a scaling parameter, a scaling parameter and a translation parameter, or a rotation parameter, a scaling parameter, and a translation parameter, etc., which is not limited in the present invention.
[0077] Step 207 : Process the SEM image according to the correction parameters to determine a corrected SEM image.
[0078] After determining the correction parameters and processing the SEM image, various methods are possible. For example, if "+" represents clockwise rotation and "-" represents counterclockwise rotation, and the rotation parameter is determined to be +5°, then the SEM image can be directly rotated 5° clockwise, etc. This is not limited to this invention.
[0079] Alternatively, the SEM image can be corrected in matrix form. For example, if three keypoint pairs are currently determined, they can be processed to determine corresponding correction parameters, such as two rotation parameters, two scaling parameters, and two translation parameters. These correction parameters can then be used to construct a parameter matrix, which can then be multiplied by the image matrix corresponding to the SEM image to obtain the corrected SEM image.
[0080] It should be noted that the above examples are merely illustrative and cannot be used as limitations on the manner in which the SEM images are processed in the embodiments of the present invention.
[0081] Step 208 : segmenting the corrected SEM image and the design layout in the same manner to obtain corresponding first and second sub-images.
[0082] There are various ways to segment the corrected SEM image and design layout. For example, the corrected SEM image and design layout can be segmented into a first sub-image and a second sub-image along the X-axis and the Y-axis, centered at the coordinate origin. Alternatively, the corrected SEM image and design layout can be segmented into the first sub-image and the second sub-image based on a period, such as a single period or multiple periods, and the present invention is not limited thereto.
[0083] In addition, the number of the first sub-image and the second sub-image may be one or more, and the present invention does not limit this.
[0084] In step 209 , the first first-order origin moment coordinates of the first image unit contained in each first sub-image and the second first-order origin moment coordinates of the second image unit contained in each second sub-image are respectively averaged to determine the distortion between each first sub-image and the corresponding second sub-image.
[0085] For example, in the case where the first sub-image and the second sub-image are as shown in FIG4 , the first first-order origin moment coordinates of each first image unit and the second first-order origin moment coordinates of each second image unit can be determined first, and then the first first-order origin moment coordinates in the first sub-image (1) can be added and then averaged, and the average value can be used as the first total first-order origin moment coordinate corresponding to the first sub-image (1); the second first-order origin moment coordinates in the second sub-image (1) can be averaged to determine the second total first-order origin moment coordinate corresponding to the second sub-image (1), and then the distortion amount of the first sub-image (1) and the second sub-image (1) can be determined based on the first total first-order origin moment coordinates and the second total first-order origin moment coordinates. Referring to the above method, the distortion amount between each first sub-image and the corresponding second sub-image can be determined in turn.
[0086] It should be noted that the above examples are merely illustrative and cannot be used as a limitation on the method of determining the distortion amounts of the first sub-image and the second sub-image in the embodiment of the present invention.
[0087] Optionally, after determining the distortion amount between each first sub-image and the corresponding second sub-image, the distortion amount may be output in the form of a heat map, or in the form of a data table, etc., which is not limited in the present invention.
[0088] Step 210 : When the distortion amount is less than a preset threshold, it is determined that the SEM image correction is completed.
[0089] Optionally, when multiple distortion amounts are obtained, the difference between two adjacent distortion amounts may be determined, and when any difference is a negative number, it is determined that the SEM image correction is completed.
[0090] It is understood that multiple corrections may be required during the SEM image correction process, resulting in multiple distortion values that may vary. If the difference between any two consecutive distortion values is negative, the SEM image correction process is complete.
[0091] For example, if the distortion amount obtained after the first correction of the SEM image is 0.3, the distortion amount after the second correction is 0.35, the distortion amount after the third correction is 0.4, and the distortion amount after the fourth correction is 0.25, and the difference between the distortion amount after the fourth correction and the distortion amount after the third correction is a negative number, then it can be determined that the correction of the SEM image is completed, and so on. The present invention is not limited to this.
[0092] Optionally, if there are multiple first sub-images and second sub-images, when determining the difference between two adjacent distortion amounts, the difference between two adjacent distortion amounts of each first sub-image and second sub-image can be determined in sequence. When all conditions are met, it is determined that the SEM image correction is completed, etc. The present invention is not limited to this.
[0093] Optionally, when determining whether the SEM image correction is complete, only whether the distortion amount is less than a preset threshold may be considered, or only whether the difference between two adjacent distortion amounts is a negative number may be considered, or both whether the distortion amount is less than a preset threshold and whether the difference between two adjacent distortion amounts is a negative number may be considered. When both conditions are met, it is determined that the SEM image correction is complete, and so on. The present invention is not limited to this.
[0094] Optionally, when the distortion amount is greater than or equal to a preset threshold, the step of determining key point pairs may be returned based on the design layout and the corrected SEM image.
[0095] In an embodiment of the present invention, a rectangular coordinate system O-XY can be established with the geometric center of the design layout of the sample to be tested aligned with the SEM image. Then, in the XY plane, an image unit in the SEM image that is offset by at least one period relative to the design layout is selected as a first image unit. A second image unit corresponding to the first image unit is selected on the design layout. Then, one of the coordinate points at the same position in the first image unit and the second image unit is selected as a key point pair. Then, based on the key point pair, a correction parameter can be determined, and the SEM image can be processed according to the correction parameter to determine a corrected SEM image. Then, the corrected SEM image and the design layout can be segmented in the same manner to obtain corresponding first and second sub-images. The first first-order origin moment coordinates of the first image unit contained in each first sub-image and the second first-order origin moment coordinates of the second image unit contained in each second sub-image are respectively averaged to determine the distortion amount between each first sub-image and the corresponding second sub-image. When the distortion amount is less than a preset threshold, the SEM image correction is determined to be complete. Therefore, the design layout of the sample to be tested and the SEM image can be first aligned in center, and then the key point pairs can be determined based on the first image unit and the second image unit in the SEM image, and then the SEM image can be corrected. Since the image units in the SEM image of the sample to be tested and the image units in the design layout can be kept consistent as much as possible, the determined key point pairs can be made more accurate and reliable, and the correction of the SEM image can be made more accurate and reliable, thereby improving the accuracy and reliability of the SEM image correction.
[0096] According to the present invention, an image correction device is provided. As shown in FIG5 , the device includes an alignment module 510 , a first determination module 520 , a correction module 530 , a second determination module 540 , and a third determination module 550 .
[0097] The alignment module 510 is used to align the center of the design layout of the sample to be tested with the scanning electron microscope (SEM) image; the first determination module 520 is used to determine key point pairs based on the image units in the design layout and the SEM image; the correction module 530 is used to correct the SEM image based on the key point pairs to obtain a corrected SEM image; the second determination module 540 is used to determine the distortion amount based on the design layout and the corrected SEM image; the third determination module 550 is used to determine that the correction of the SEM image is completed when the distortion amount is less than a preset threshold.
[0098] Optionally, the third determination module 550 is further configured to return to the step of determining key point pairs based on the design layout and the corrected SEM image when the distortion amount is greater than or equal to a preset threshold.
[0099] Optionally, the first determination module 520 includes: an establishment unit for establishing a rectangular coordinate system O-XY with the geometric center of the design layout and the SEM image as the coordinate origin O when the geometric centers of the design layout and the SEM image are aligned; a first selection unit for selecting, in the XY plane, an image unit in the SEM image that is offset by at least one period relative to the design layout as a first image unit; a second selection unit for selecting a second image unit at a position corresponding to the first image unit on the design layout; and a third selection unit for selecting one of the coordinate points at the same position in the first image unit and the second image unit as a key point pair.
[0100] Optionally, the first selection unit is specifically used to: in a first direction within the XY plane, select an image unit in the SEM image that is offset by at least one period relative to the design layout as a first image unit; in a second direction within the XY plane, select an image unit in the SEM image that is offset by at least one period relative to the design layout as a first image unit.
[0101] Optionally, the correction module 530 is specifically used to: determine correction parameters based on the key point pairs, wherein the correction parameters include at least one of the following: rotation parameters, scaling parameters and translation parameters; process the SEM image according to the correction parameters to determine a corrected SEM image.
[0102] Optionally, the second determination module 540 includes: a first determination unit for determining the first first-order origin moment coordinates of each first image unit in the corrected SEM image and the second first-order origin moment coordinates of each second image unit in the design layout; a processing unit for processing the corresponding first first-order origin moment coordinates and second first-order origin moment coordinates of the corrected SEM image and the design layout to determine the distortion amount.
[0103] Optionally, the processing unit is specifically used to: segment the corrected SEM image and the design layout in the same manner to obtain corresponding first sub-images and second sub-images; and perform mean processing on the first first-order origin moment coordinates of the first image unit contained in each first sub-image and the second first-order origin moment coordinates of the second image unit contained in each second sub-image to determine the distortion amount between each first sub-image and the corresponding second sub-image.
[0104] Optionally, the third determination module 550 is specifically configured to: determine the difference between two adjacent distortion amounts when multiple distortion amounts are obtained; and determine that the SEM image correction is completed when any difference is a negative number.
[0105] The image correction device provided by the present invention can first perform center alignment on the design layout of the sample to be tested and the scanning electron microscope (SEM) image, then determine key point pairs based on the design layout and the image units in the SEM image, then correct the SEM image based on the key point pairs to obtain a corrected SEM image, then determine the amount of distortion based on the design layout and the corrected SEM image, and determine that the SEM image correction is complete when the distortion amount is less than a preset threshold. Thus, the design layout of the sample to be tested and the SEM image can first be center aligned, then determine key point pairs based on the design layout and the image units in the SEM image, and then correct the SEM image based on the key point pairs. Since the image units in the SEM image of the sample to be tested and the image units in the design layout can be kept consistent as much as possible, the determined key point pairs can be made more accurate and reliable, and thus the correction of the SEM image can be made more accurate and reliable, thereby improving the accuracy and reliability of the SEM image correction.
[0106] As shown in Figure 6, the present invention provides an electronic device 600, which includes a processor 601 and a memory 602 storing computer program instructions. The processor 601 implements the above-mentioned image correction method when executing the computer program instructions.
[0107] The present invention provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the above-mentioned image correction method is implemented.
[0108] It should be understood that the specific features, operations and details described herein above with respect to the method of the present invention may also be similarly applied to the apparatus and system of the present invention, or vice versa. In addition, each step of the method of the present invention described above may be performed by the corresponding components or units of the apparatus or system of the present invention.
[0109] It should be understood that the various modules / units of the apparatus of the present invention may be implemented in whole or in part by software, hardware, firmware, or a combination thereof. Each module / unit may be embedded in a processor of a computer device in the form of hardware or firmware or may be independent of the processor, or may be stored in a memory of a computer device in the form of software for the processor to call to execute the operations of each module / unit. Each module / unit may be implemented as an independent component or module, or two or more modules / units may be implemented as a single component or module.
[0110] In one embodiment, a computer device is provided, comprising a memory and a processor. The memory stores computer instructions executable by the processor, which, when executed by the processor, instruct the processor to perform the steps of the method according to an embodiment of the present invention. The computer device can be broadly defined as a server, a terminal, or any other electronic device with the necessary computing and / or processing capabilities. In one embodiment, the computer device can include a processor, memory, a network interface, a communication interface, etc. connected via a system bus. The processor of the computer device can be used to provide the necessary computing, processing, and / or control capabilities. The memory of the computer device can include a non-volatile storage medium and an internal memory. An operating system, a computer program, etc. can be stored in or on the non-volatile storage medium. The internal memory can provide an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface and communication interface of the computer device can be used to connect to and communicate with external devices via a network. When the computer program is executed by the processor, the steps of the method according to the present invention are performed.
[0111] The present invention can be implemented as a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the steps of the method of an embodiment of the present invention to be performed. In one embodiment, the computer program is distributed on a plurality of computer devices or processors coupled to a network so that the computer program is stored, accessed, and executed in a distributed manner by one or more computer devices or processors. A single method step / operation, or two or more method steps / operations, can be performed by a single computer device or processor or by two or more computer devices or processors. One or more method steps / operations can be performed by one or more computer devices or processors, and one or more other method steps / operations can be performed by one or more other computer devices or processors. One or more computer devices or processors can perform a single method step / operation, or perform two or more method steps / operations.
[0112] It will be understood by those skilled in the art that the method steps of the present invention can be performed by instructing relevant hardware such as a computer device or a processor through a computer program, and the computer program can be stored in a non-transitory computer-readable storage medium, which causes the steps of the present invention to be performed when the computer program is executed. Depending on the circumstances, any reference to memory, storage, database or other media herein may include non-volatile and / or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state disk, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.
[0113] The various technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification as long as such combination does not conflict.
[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An image correction method, characterized in that: include: Center the design layout of the sample to be tested with the scanning electron microscope (SEM) image; Determining key point pairs based on the design layout and image units in the SEM image; Based on the key point pair, correcting the SEM image to obtain a corrected SEM image; Determining the amount of distortion based on the design layout and the corrected SEM image; When the distortion amount is less than a preset threshold, it is determined that the SEM image correction is completed.
2. The image correction method according to claim 1, characterized in that: After determining the amount of distortion based on the design layout and the corrected SEM image, the method further includes: When the distortion amount is greater than or equal to a preset threshold, the step of determining key point pairs is returned based on the design layout and the corrected SEM image.
3. The image correction method according to claim 1, characterized in that: The determining of key point pairs based on the design layout and the image units in the SEM image includes: When the geometric centers of the design layout and the SEM image are aligned, a rectangular coordinate system O-XY is established with the geometric center as the coordinate origin O; In the XY plane, an image unit in the SEM image that is offset by at least one period relative to the design layout is selected as a first image unit; Selecting a second image unit at a position corresponding to the first image unit on the design layout; One of the coordinate points at the same position in the first image unit and the second image unit is selected as a key point pair.
4. The image correction method according to claim 3, characterized in that: The step of selecting, in the XY plane, an image unit in the SEM image that is offset by at least one period relative to the design layout as a first image unit comprises: In a first direction in the XY plane, an image unit in the SEM image that is offset by at least one period relative to the design layout is selected as a first image unit; In a second direction in the XY plane, an image unit in the SEM image that is offset by at least one period relative to the design layout is selected as a first image unit.
5. The image correction method according to claim 1, characterized in that: The step of correcting the SEM image based on the key point pair to obtain a corrected SEM image includes: Based on the key point pair, determining a correction parameter, wherein the correction parameter includes at least one of the following: a rotation parameter, a scaling parameter, and a translation parameter; The SEM image is processed according to the correction parameters to determine a corrected SEM image.
6. The method according to claim 1, characterized in that The step of determining the amount of distortion based on the design layout and the corrected SEM image includes: Determine the first first-order origin moment coordinates of each first image unit in the corrected SEM image and the second first-order origin moment coordinates of each second image unit in the design layout; The corrected SEM image and the corresponding first-order origin moment coordinates and second-order origin moment coordinates in the design layout are processed to determine the distortion amount.
7. The image correction method according to claim 6, characterized in that: The processing of the corrected SEM image and the first-order origin moment coordinates and the second-order origin moment coordinates corresponding to the design layout to determine the distortion amount includes: Segmenting the corrected SEM image and the design layout in the same manner to obtain a corresponding first sub-image and a second sub-image; The first first-order origin moment coordinates of the first image unit contained in each of the first sub-images and the second first-order origin moment coordinates of the second image unit contained in each of the second sub-images are respectively averaged to determine the distortion amount between each of the first sub-images and the corresponding second sub-image.
8. The image correction method according to claim 1, characterized in that: The step of determining that the SEM image correction is completed includes: When multiple distortion amounts are obtained, the difference between two adjacent distortion amounts is determined; When any difference is a negative number, it is determined that the SEM image correction is completed.
9. An image correction device, characterized in that: The device comprises: An alignment module is used to align the design layout of the sample to be tested with the scanning electron microscope (SEM) image; A first determination module is used to determine key point pairs based on the design layout and image units in the SEM image; A correction module, used for correcting the SEM image based on the key point pair to obtain a corrected SEM image; A second determination module is used to determine the distortion amount based on the design layout and the corrected SEM image; The third determination module is used to determine that the SEM image correction is completed when the distortion amount is less than a preset threshold.
10. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the image correction method as described in any one of claims 1-8 is implemented.
Citation Information
Patent Citations
Detection method of scanning electron microscope
CN102435629A
Critical dimension measuring method and image processing device for measuring critical dimension
CN110553581A
Alignment method and device, electronic equipment and computer readable storage medium
CN115690064A
Method of forming optical proximity correction model and method of fabricating semiconductor device using the same
US20230062677A1
Cited By
PCB defect detection method and system based on AI vision
CN120823208A
Pattern alignment method and device and storage medium
CN121908863A
