1. A method for correcting Z distance measurements due to haze in a time of flight (TOF) phase-shift type ranging system comprising: outputting detection signals from at least some pixel sensors of an array responsive to detecting reflected optical energy including reflections of optical energy emitted from a source of optical energy of the TOF ranging system; retrieving haze correction values for at least some pixel sensors of the array from a memory; correcting phase-shift data based on the detection signals from the at least some pixel sensors of the array with haze correction values for the at least some pixel sensors of the array; and determining Z distance measurements based on the phase-shift data corrected with the haze correction values.