X-ray imaging has been developed not only for its use in medical imaging for human beings, but also for materials or objects, where the aim is to analyze -nondestructively-those inner parts that are undetectable to the naked eye. Thus, X-ray testing is used to determine if a test object deviates from a given set of specifications. Typical applications are analysis of food products, screening of baggage, inspection of automotive parts, and quality control of welds. In order to achieve efficient and effective X-ray testing, automated and semi-automated systems are being developed to execute this task. In this paper, we present a general overview of computer vision methodologies that have been used in X-ray testing. In addition, we review some techniques that have been applied in certain relevant applications; and we introduce a public database of X-ray images that can be used for testing and evaluation of image analysis and computer vision algorithms. Finally, we conclude that the following: that there are some areas -like casting inspection-where automated systems are very effective, and other application areas -such as baggage screening-where human inspection is still used; there are certain application areas -like weld and cargo inspections-where the process is semi-automatic; and there is some research in areas including food analysis-where processes are beginning to be characterized by the use of X-ray imaging.