1. A method of processing video data, comprising: receiving a first video frame and a second video frame, wherein the first video frame and the second video frame each comprise a plurality of blocks of pixels; obtaining motion information identifying a matching block in the second frame for each block in a group of blocks in the first frame, wherein the group of blocks includes one or more of the pluarlity of blocks of pixels; computing a measure related to an overlap area of each of the block belonging to the group of blocks in the first frame with a block of pixels to be constructed in a third frame by translating the matching block to the third frame based on the obtained motion information; classifying the block of pixels to be constructed in the third frame according to a degree of occlusion based at least in part on the measure related to the overlap area; and wherein computing the measure includes: setting the measure related to the overlap area to a value indicating no overlap when the measure related to the overlap area indicates the overlap area is less than a threshold.