# US 10,957,034 B2 · Method of examination of a specimen and system thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,957,034 B2
- Document ID: US10957034B2
- Status: Granted
- Kind: B2
- Application number: 16/250,832
- Filed: 2019-01-17
- Published: 2020-07-23
- Granted: 2021-03-23
- Earliest claimed: 2019-01-17
- Assignees: Applied Materials Israel Ltd.
- Applicants: Applied Materials Israel Ltd.
- Inventors: Elad Cohen; Shahar Arad
- Web page: https://patentgrep.com/patent/US10957034B2

## CPC

- G06T 7/001: {using an image reference approach}
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/70: Denoising; Smoothing
- G06T 2207/20212: Image combination
- G06T 2207/30148: Semiconductor; IC; Wafer
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

There are provided a system and method of examination on a specimen, the method comprising: obtaining an inspection image of a die and generating a defect map using one or more reference images; selecting a plurality of defect candidates from the defect map; and generating for each defect candidate, a respective modified inspection image patch, comprising: extracting an image patch surrounding the defect candidate respectively from the inspection image and each reference image; and modifying the inspection image patch, comprising: estimating noise representative of intensity variations on the inspection image patch, the noise including a first type of noise representative of a polynomial relation between the inspection and reference image patches, and a second type of noise representative of a spatial anomaly in the inspection image patch, and removing at least one of the first and second types of noise from the inspection image patch based on the estimated noise.

## Claims

### Claim 1

A computerized system of examination of a specimen, the system comprising:
an examination tool configured to capture an inspection image of a die of the specimen and generate a defect map indicative of defect candidate distribution on the inspection image using one or more reference images; and
a processing unit operatively connected to the examination tool, the processing unit comprising a memory and a processor operatively coupled thereto, the processing unit configured to:
select, in accordance with a predefined criterion, a plurality of defect candidates from the defect map; and
generate, for each of the plurality of defect candidates, a respective modified inspection image patch, giving rise to a plurality of modified inspection image patches corresponding to the plurality of defect candidates, wherein the generating comprises, for a given defect candidate of the plurality of defect candidates:
extracting an image patch surrounding a location of the given defect candidate respectively from the inspection image and each of the one or more reference images, giving rise to a set of image patches including an inspection image patch and one or more reference image patches corresponding to the given defect candidate; and
modifying the inspection image patch to obtain a modified inspection image patch, comprising: estimating noise representative of intensity variations on the inspection image patch using the set of image patches, the noise including a first type of noise representative of a polynomial relation between pixel values of the inspection image patch and corresponding pixel values in at least some of the reference image patches, and a second type of noise representative of presence of a spatial anomaly in the inspection image patch with respect to at least some of the reference image patches, and removing at least one of the first and second types of noise from the inspection image patch based on the estimated noise;
wherein the modified inspection image patches and/or the estimated noise are usable for further examination of the specimen.

### Claim 2 (depends on 1)

The computerized system according to claim 1, wherein the processing unit is further configured to perform defect detection on the specimen using the plurality of modified inspection image patches with respect to the one or more reference image patches, giving rise to an updated defect map.

### Claim 3 (depends on 1)

The computerized system according to claim 1, wherein the processing unit is further configured to perform defect candidate clusterization using a set of attributes characterizing the defect candidates, the set of attributes comprising at least one or more attributes of the estimated noise.

### Claim 4 (depends on 1)

The computerized system according to claim 1, wherein the estimating comprises: estimating a spatial size of the spatial anomaly and one or more coefficients of the polynomial relation with respect to each of the one or more reference image patches, giving rise to one or more estimations of the spatial size and the coefficients corresponding to the one or more reference image patches, and performing the removing based on at least some of the one or more estimations.

### Claim 5 (depends on 4)

The computerized system according to claim 4, wherein the estimating further comprises: combining the one or more estimations of the spatial size to generate a composite estimation of the spatial anomaly, comparing the composite estimation with a known defect model to determine whether the composite estimation represents presence of the known defect model on the inspection image patch, and wherein the removing comprises in response to determination of presence of the known defect model, removing the second type of noise from the inspection image patch based on the composite estimation.

### Claim 6 (depends on 4)

The computerized system according to claim 4, wherein the estimating further comprises combining the one or more estimations of the coefficients to generate a composite estimation of the polynomial relation, and wherein the removing comprises removing the first type of noise from the inspection image patch based on the composite estimation.

### Claim 7 (depends on 5)

The computerized system according to claim 5, wherein the estimating further comprises combining the one or more estimations of the coefficients to generate a composite estimation of the polynomial relation, and wherein the removing further comprises removing the first type of noise from the inspection image patch based on the composite estimation of the polynomial relation.

### Claim 8 (depends on 4)

The computerized system according to claim 4, wherein the estimating of the spatial size comprises, for a given reference image patch of the one or more reference image patches:
providing different estimations of the spatial size each including length, width and amplitude of the spatial anomaly, and different defect estimations of amplitude of a potential defect co-positioned with the spatial anomaly;
calculating, using a plurality of combinations between the different estimations of the spatial size and the different defect estimations, a plurality of estimated errors each indicative of a residual difference between an expected modified inspection image patch and the given reference image patch, wherein the expected modified image patch is obtainable by modifying the inspection image patch using a respective combination; and
selecting a combination among the plurality of combinations that provides a minimum estimated error among the plurality of estimated errors, wherein the selected combination includes a selected estimation of the spatial size.

### Claim 9 (depends on 4)

The computerized system according to claim 4, wherein the one or more coefficients comprise gain and offset of the polynomial relation.

### Claim 10 (depends on 3)

The computerized system according to claim 3, wherein the one or more attributes of the estimated noise comprise one or more estimations of the spatial size and the coefficients.

### Claim 11 (depends on 1)

The computerized system according to claim 1, wherein the examination tool is an optical inspection tool.

### Claim 12

A computerized method of examination of a specimen, the method comprising:
capturing, by an examination tool, an inspection image of a die of the specimen and generating a defect map indicative of defect candidate distribution on the inspection image using one or more reference images;
selecting, by a processing unit operatively connected to the examination tool, a plurality of defect candidates from the defect map in accordance with a predefined criterion; and
generating, by the processing unit, for each of the plurality of defect candidates, a respective modified inspection image patch, giving rise to a plurality of modified inspection image patches corresponding to the plurality of defect candidates, wherein the generating comprises, for a given defect candidate of the plurality of defect candidates:
extracting an image patch surrounding a location of the given defect candidate respectively from the inspection image and each of the one or more reference images, giving rise to a set of image patches including an inspection image patch and one or more reference image patches corresponding to the given defect candidate; and
modifying the inspection image patch to obtain a modified inspection image patch, comprising: estimating noise representative of intensity variations on the inspection image patch using the set of image patches, the noise including a first type of noise representative of a polynomial relation between pixel values of the inspection image patch and corresponding pixel values in at least some of the reference image patches, and a second type of noise representative of presence of a spatial anomaly in the inspection image patch with respect to at least some of the reference image patches, and removing at least one of the first and second types of noise from the inspection image patch based on the estimated noise;
wherein the modified inspection image patches and/or the estimated noise are usable for further examination of the specimen.

### Claim 13 (depends on 12)

The computerized method according to claim 12, further comprising performing defect detection on the specimen using the plurality of modified inspection image patches with respect to the one or more reference image patches, giving rise to an updated defect map.

### Claim 14 (depends on 12)

The computerized method according to claim 12, further comprising performing defect candidate clusterization using a set of attributes characterizing the defect candidates, the set of attributes comprising at least one or more attributes of the estimated noise.

### Claim 15 (depends on 12)

The computerized method according to claim 12, wherein the estimating comprises: estimating a spatial size of the spatial anomaly and one or more coefficients of the polynomial relation with respect to each of the one or more reference image patches, giving rise to one or more estimations of the spatial size and the coefficients corresponding to the one or more reference image patches, and performing the removing based on at least some of the one or more estimations.

### Claim 16 (depends on 15)

The computerized method according to claim 15, wherein the estimating further comprises: combining the one or more estimations of the spatial size to generate a composite estimation of the spatial anomaly, comparing the composite estimation with a known defect model to determine whether the composite estimation represents presence of the known defect model on the inspection image patch, and wherein the removing comprises in response to determination of presence of the known defect model, removing the second type of noise from the inspection image patch based on the composite estimation.

### Claim 17 (depends on 15)

The computerized method according to claim 15, wherein the estimating further comprises combining the one or more estimations of the coefficients to generate a composite estimation of the polynomial relation, and wherein the removing comprises removing the first type of noise from the inspection image patch based on the composite estimation.

### Claim 18 (depends on 16)

The computerized method according to claim 16, wherein the estimating further comprises combining the one or more estimations of the coefficients to generate a composite estimation of the polynomial relation, and wherein the removing further comprises removing the first type of noise from the inspection image patch based on the composite estimation of the polynomial relation.

### Claim 19 (depends on 15)

The computerized method according to claim 15, wherein the estimating of the spatial size comprises, for a given reference image patch of the one or more reference image patches:
providing different estimations of the spatial size each including length, width and amplitude of the spatial anomaly, and different defect estimations of amplitude of a potential defect co-positioned with the spatial anomaly;
calculating, using a plurality of combinations between the different estimations of the spatial size and the different defect estimations, a plurality of estimated errors each indicative of a residual difference between an expected modified inspection image patch and the given reference image patch, wherein the expected modified image patch is obtainable by modifying the inspection image patch using a respective combination; and
selecting a combination among the plurality of combinations that provides a minimum estimated error among the plurality of estimated errors, wherein the selected combination includes a selected estimation of the spatial size.

### Claim 20

A non-transitory computer readable storage medium tangibly embodying a program of instructions that, when executed by a computer, causing the computer to perform a method of examination of a specimen, the method comprising:
obtaining an inspection image of a die of the specimen and generating a defect map indicative of defect candidate distribution on the inspection image using one or more reference images;
selecting a plurality of defect candidates from the defect map in accordance with a predefined criterion; and
generating for each of the plurality of defect candidates, a respective modified inspection image patch, giving rise to a plurality of modified inspection image patches corresponding to the plurality of defect candidates, wherein the generating comprises, for a given defect candidate of the plurality of defect candidates:
extracting an image patch surrounding a location of the given defect candidate respectively from the inspection image and each of the one or more reference images, giving rise to a set of image patches including an inspection image patch and one or more reference image patches corresponding to the given defect candidate; and
modifying the inspection image patch to obtain a modified inspection image patch, comprising: estimating noise representative of intensity variations on the inspection image patch using the set of image patches, the noise including a first type of noise representative of a polynomial relation between pixel values of the inspection image patch and corresponding pixel values in at least some of the reference image patches, and a second type of noise representative of presence of a spatial anomaly in the inspection image patch with respect to at least some of the reference image patches, and removing at least one of the first and second types of noise from the inspection image patch based on the estimated noise;
wherein the modified inspection image patches and/or the estimated noise are usable for further examination of the specimen.
