Sum of Absolute Difference (SAD) is a mathematical technique used in motion detection.

For a description see: www,mathworks,com/products/demos/videoimage/MotionDetection/videomotion,html