The brain structure is extracted from CT data based on thresholding and
brain mask propagation. Two thresholds are determined: a high threshold
excludes the high intensity bones, while a low threshold excludes air and
CSF. Brain mask propagation uses the spatial relevance of brain tissues
in neighbouring slices to exclude non-brain tissues with similar
intensities.