Power watersheds: a new image segmentation framework extending graph cuts, random walker and optimal spanning forest