An improved variational level set method for MR image segmentation and bias field correction.