1. A method for masking a foreground portion of a digital image from a background portion of a digital image, the digital image being part of a video comprising a time sequence of digital images, each image being defined by a plurality of pixels, the method comprising: receiving a first input defining a first border region, the first border region including at least a part of the foreground portion and at least a part of the background portion in a first digital image; receiving a second input defining a second border region, the second border region including at least a part of the foreground portion and at least a part of the background portion in a second digital image; interpolating an intermediary border region for an image intermediary in time to the first and second digital images; and using the first, second, and intermediary border regions for masking the foreground portion from the background portion in the digital video.