IMAGE ANALYSIS OF RADIOLOGICAL IMAGES FROM PATIENTS WITH ADVANCED LUNG DISEASE