Gradient-Based Recognition and Localization of Pathologies in Chest Radiographs