1. A method of obtaining a matte suitable for separating a foreground object from a background object, the method comprising: obtaining a flash-only image of a scene based on an image of the scene taken with a flash and an image of the scene taken without a flash; obtaining a trimap based on the flash-only image; and obtaining a matte suitable for separating a foreground object from a background object of the scene based on the trimap, the flash-only image and at least one of the image of the scene taken without the flash and the image of the scene taken with the flash.