1. A method for determining leading edge location in an image captured by an optical navigation sensor with auto shutter adaptation, comprising: plotting average pixel values per sensor column on a graph; determining an average value according to the average pixel values as a threshold value; defining a weighted location in the leading half of the captured image according to the threshold value; and determining the leading edge location according to the defined weighted location.