1. A method for determining a position of a body using a set of one or more segments, each segment being associated with a portion of the body, the method comprising: identifying a set of one or more pixels in a depth map that includes at least part of the body; and for each pixel in the set of pixels, assigning to the pixel a first probability that the pixel is within each segment in the set of segments.