1. A method for compensating for dark current in an image sensor array having pixels arranged in rows and columns, wherein the image sensor array comprises more than two light sensitive pixels, comprising: determining a nominal average dark current for the image sensor array; determining a location of each pixel in the image sensor array in X and Y coordinates relative to a center of the image sensor array; obtaining a respective nominal dark current associated with each pixel based on the nominal average dark current and on the location of the pixel in the X and Y coordinates, wherein at least two of the pixels on at least one of the rows of the image sensor have different nominal dark current values based on the respective x coordinates of the at least two pixels in the at least one row; and for each respective pixel, subtracting the obtained nominal dark current associated with the pixel from the image signal for the pixel.