An operation part in a pattern inspection apparatus includes a defect candidate image generator for generating a binary defect candidate image representing a defect candidate area in an inspection image by comparing the inspection image with a reference image, in an inspection image masking part the...http://www.google.com.au/patents/US7689029?utm_source=gb-gplus-sharePatent US7689029 - Apparatus and method for inspecting pattern