1. A method for bi-layer segmentation of an image, the method comprising deriving a classifier based on depth data of the image; deriving a classifier based on color data of the image; and segmenting the image by maximizing a weighted sum of matching scores derived from the classifiers based on depth data and color data of the image.