first step of motion tracking, i.e. frame difference