A method of lung lobe segmentation having the steps of: providing of three
dimensional first image data of a lung; segmentation of a tubular
structure to identify first voxels of the first image data belonging to
the tubular structure and to identify second voxels of the first image
data which do not belong to the tubular structure; determining a distance
measure for each one of the second voxels, by determining a minimum
distance between each one of the second voxels to one of the first voxels
to provide second image data; and performing a lobe segmentation based on
the second image data.