摘要 |
<p>Disclosed is a defect inspecting device capable of improving efficiency in setting a spatial filter (45) and, at the same time, capable of automatically setting the spatial filter. An image of a surface of a spatial filter is acquired using an observing camera (88) in a state where a variable field stop (81) is closed down. The image is classified into a plurality of groups in accordance with the brightness level of bright spots of diffracted light. The spatial filter is set so as to shield the group with the highest brightness level, and an observed image is acquired. It is determined whether or not a repeating pattern remains in the acquired image, and, when it is determined that a repeating pattern remains, the setting of the spatial filter (45) is changed such that the spatial filter can shield the group with the second highest brightness level in addition to the group that is already shielded. The same process is repeated until it is determined that no repeating pattern remains and the setting of the spatial filter (45) is finished.</p> |