| CPC G06T 7/001 (2013.01) [G06N 3/045 (2023.01); G06T 7/11 (2017.01); G06N 3/0455 (2023.01); G06T 5/70 (2024.01); G06T 7/0004 (2013.01); G06T 2207/10061 (2013.01); G06T 2207/20021 (2013.01); G06T 2207/20084 (2013.01); G06T 2207/30148 (2013.01); G06V 10/82 (2022.01); H10P 72/00 (2026.01)] | 25 Claims |

|
1. A system for detecting defects on a sample, the system comprising:
a controller including one or more processors configured to execute a set of program instructions stored in memory, wherein a conditional masked autoencoder is stored in the memory, the set of program instructions configured to cause the one or more processors to:
receive an optical image;
generate a plurality of image patches by dividing the received optical image into the plurality of image patches;
generate a masked optical image by selectively masking a first set of image patches of the plurality of image patches based on characterization data, wherein the first set of image patches correspond to one or more defect regions, wherein the plurality of image patches includes a second set of image patches corresponding to one or more defect free regions;
provide the generated masked optical image to a first encoder of the conditional masked autoencoder;
apply the first encoder to the second set of image patches of the generated masked optical image to generate a first set of feature vectors;
receive a design image;
provide the design image to a second encoder of the conditional masked autoencoder;
apply the second encoder to the design image to generate a second set of feature vectors;
concatenate the first set of feature vectors from the first encoder and the second set of feature vectors from the second encoder; and
generate a reference image based on the concatenated feature vectors using a decoder of the conditional masked autoencoder, wherein the generated reference image is a reconstructed image of the optical image and the design image.
|