Image Segmentation via Random Forests