Automatic Detection of Explosives Using X-Ray Imaging