1. A method for detecting movement of an image sensor, during the movement the image sensor capturing a first image at a first location and subsequently capturing a second image at a second location, the method comprising the following steps: defining first image region within the first image; locating a first corresponding region corresponding to the first image region within the second image; determining a first relative distance between the first image region and the first corresponding region; defining a second image region within the second image; locating a second corresponding region corresponding to the second image region within the first image; determining a second relative distance between the second image region and the second corresponding region; and accumulating the movement of the image sensor according to the first relative and second relative distances.