The Sum of Squared Differences (SSD) is a way of determining the correlation between two image regions. It is usually involved when motion compensation needs to be done. SSD is defined as followed: There are some variations of SSD. Like the Zero-mean Sum of Squared Differences (ZSSD): See also: http://siddhantahuja.wordpress.com/2010/04/11/correlation-based-similarity-measures-summary