1. A method for segmenting image data, comprising: identifying a pixel associated with a current frame of the image data; defining a neighborhood of pixels around the pixel associated with the current frame, the defining including; generating a three dimensional neighborhood; comparing a distance between the pixel associated with the current frame and each pixel associated with the neighborhood of pixels to determine a smallest distance; and determining if the pixel associated with the current frame belongs to a current segment of the image data based upon the smallest distance.