This paper concerns with the utilization of artificial intelligence borrowed techniques such as fuzzy logic for the automatic analysis of X-ray images of industrial products for defect detection. An original two stages algorithm is presented based on the feature analysis of the radiographic images obtained from the inspected product. Each object in the image is analyzed using fuzzy logic techniques. The first stage takes an automatic decision whether the current object can be classified as a defect from the geometrical point of view and the second stage takes the final decision by using “logical” criteria that is dependent on the product at hand and its quality requirements.