Abstract: Analysis of digitally encoded videos is disclosed. A method comprises: calculating pixelwise errors between each block and its search area that are mapped to an equal size; collecting the errors into a memory; and analyzing a three-dimensional surface formed by the errors collected into the memory in order to define a level of detail in the first digital image and/or in the second digital image, and/or a correspondence between the first digital image and the second digital image, and/or a motion extending beyond borders of the first digital image and the second digital image, and/or a motion blur within the first digital image and/or within the second digital image.