Estimate local average motion using ESM