Patent ID: 8340381

Claim:
One or more non-transitory computer-readable media comprising computer-executable instructions for performing a method comprising: receiving a digital representation of an anatomical structure, wherein the digital representation comprises representations of a plurality of fluid pockets of the anatomical structure, wherein the plurality of fluid pockets have different amounts of oral contrast agent therein; performing a trial segmentation of the digital representation, wherein performing the trial segmentation comprises segmenting the digital representation into at least trial air pockets and a plurality of trial fluid pockets, producing a trial representation, wherein segmenting comprises locating an air-fluid boundary between a trial air pocket and an adjacent trial fluid pocket; for at least a subset of the trial fluid pockets, determining at least one per-fluid-pocket tailored threshold for each trial fluid pocket in the subset, wherein determining the at least one per-fluid-pocket tailored threshold comprises determining separate thresholds for respective trial fluid pockets in the subset and at least one of the trial fluid pockets comprises a plurality of voxels or pixels, whereby a first trial fluid pocket out of the subset is associated with a first per-fluid-pocket tailored threshold and a second trial fluid pocket out of the subset is associated with a second per-fluid-pocket tailored threshold and the first per-fluid-pocket tailored threshold is different from the second per-fluid-pocket tailored threshold, and the per-fluid-pocket tailored thresholds take into account an amount of the oral contrast agent within respective of the trial fluid pockets in the subset; and resegmenting at least a portion of the trial representation, wherein the re-segmenting segments at least a portion of the anatomical structure comprising the first trial fluid pocket via the first per-fluid-pocket tailored threshold and segments at least a portion of the anatomical structure comprising the second trial fluid pocket via the second per-fluid-pocket tailored threshold; wherein determining a per-fluid-pocket tailored threshold for a trial fluid pocket comprises choosing a plurality of voxels or pixels near the air-fluid boundary of the trial fluid pocket and using attenuation values of the chosen plurality of voxels or pixels near the air-fluid boundary of the trial fluid pocket to determine the per-fluid-pocket tailored threshold for the trial fluid pocket, wherein the trial fluid pocket comprises a plurality of possible voxels or pixels, and wherein determining the per-fluid-pocket tailored threshold for the trial fluid pocket does not use all the possible voxels or pixels in the trial fluid pocket.