1. A method comprising: forming objects from blocks of an input image based on motion similarity of the blocks in the input image and a reference image; and computing object motion compensation vectors for each formed object and object relative block motion compensation vectors for each object's constituent blocks relative to the object's motion compensation vector.