1. A method of processing image data, the method comprising: generating motion vectors based on detected Notion of feature blocks from a first frame to a second frame; determining a confidence level associated with each motion vector; and estimating global motion based on the vectors and respective confidence levels.