a method is provided for motion detection comprising acquiring a series of images comprising a current image and a previous image , determining a plurality of optical flow vectors , each representing movement of one of a plurality of visual elements from a first location in the previous image to a second location in the current image , storing the optical flow vectors in a current vector map associated with time information , and determining motion by calculating an intensity ratio between the current vector map and at least one prior vector map .