Fast planar segmentation of depth images