Consider shifting the window W by (u,v)
how do the pixels in W change?
compare each pixel before and after by
summing up the squared differences
this defines an error of E(u,v):
Feature detection:
the math
W