thank you, now I understand. This has been answered here: Change detection. Which algorithm is implemented?