Automated Diagnosis of Heart-Lung Diseases in Chest X-ray Images