Segmentation of distal airways using structural analysis