A Semi-Automated Approach to Medical Image Segmentation using Conditional Random Field Inference