3D Multiphase Piecewise Constant Level Set Method Based on Graph Cut Minimization