Automatic Segmentation of Indoor and Outdoor Scenes from Visual Lifelogging