Calculating air volume fractions from computed tomography images for chronic obstructive pulmonary disease diagnosis