Determination of the presence or absence of a feature or flaw based on the histogram values in a certain gray scale region.