1. A method, comprising: obtaining a video sequence comprising a plurality of frames and a plurality of segmentation masks each corresponding to one of the plurality of frames; and generating a smoothed segmentation mask for at least one frame in the video sequence, wherein said generating a smoothed segmentation mask for a current frame in the video sequence comprises: warping the segmentation mask of each of one or more prior frames and of each of one or more subsequent frames to the current frame to produce a warped segmentation mask for each of the prior frames and each of the subsequent frames; computing a weighted average of the warped segmentation masks and the segmentation mask of the current frame; and spatially blurring the weighted average to generate the smoothed segmentation mask for the current frame.