M-File Help: ssd View code for ssd

ssd

Sum of squared differences

m = ssd(i1, i2) is the sum of squared differences between the two equally sized image patches i1 and i2. The result m is a scalar that indicates image similarity, a value of 0 indicates identical pixel patterns and is increasingly positive as image dissimilarity increases.

See also

zsdd, sad, ncc, isimilarity


 

© 1990-2012 Peter Corke.