Dynamic displacement measurement of hoisting rope in lateral and longitudinal direction by improving Lucas–Kanade algorithm