| CPC G06T 7/001 (2013.01) [G06T 9/005 (2013.01); G06T 2207/30148 (2013.01)] | 18 Claims |

|
1. A non-transitory computer-readable medium storing an image processing program for performing an inspection on a sample by using reference data of the sample, and input data pertaining to the sample, the image processing program causing a processor to implement:
receiving the reference data;
calculating, by a convolutional neural network, a feature value pertaining to the sample based on the reference data;
calculating a statistic indicating probability distribution of the input data based on the feature value; and
determining whether a defect exists in the sample based on the feature value and the statistic.
|