The Self-Organizing Map is used to estimate the distribution of features extracted from faulty-free samples. Fault detection is now based on the following idea: an unknown sample is classified as a defect if it differs enough from this estimated distribution. The scheme consist of three different phases, the training phase, the threshold determination phase, and the segmentation phase.