1. A method of determining a plane in a depth image, the method comprising: dividing a portion of a depth image into a plurality of areas; fitting a two-dimensional line to depth points in each of the plurality of areas; and combining two or more of the plurality of two-dimensional lines to form a three-dimensional plane estimate.