1. A method for segmenting a three-dimensional medical image, comprising: receiving, by a computing device, medical image data representing spatial variation of the three-dimensional medical image; deriving, by the computing device, shape data from the medical image data; clustering, by the computing device, image data including the medical image data and the shape data, to generate a plurality of modes; and outputting, by the computing device, segmentation data relating to the three-dimensional medical image, derived from the plurality of modes.