Segmentation of static scenes