Automated extraction and recognition of anatomical body cavity from multi-slice torso CT images