Signal Processing for Motion Detection