1. A method for determining a distance to an object, comprising: capturing light during a first operating regime reflected from the object using a photodetector, the photodetector is in electrical communication with an integration capacitor, the integration capacitor is associated with a first direction of integration during the first operation regime; sampling a first set of intermediate values associated with the integration capacitor during the first operating regime; capturing light during a second operating regime reflected from the object using the photodetector, the integration capacitor is associated with a second direction of integration different from the first direction of integration during the second operation regime; sampling a second set of intermediate values associated with the integration capacitor during the second operating regime; determining the distance to the object based on the first set of intermediate values and the second set of intermediate values, the integration capacitor is not reset during or between the first operating regime and the second operating regime; and outputting the distance to the object.