A method of measuring the motion of objects in the environment by analyzing changes in the intensity of pixels over time.