1. A method of determining a focus position of a lens structure relative to an imaging sensor, the method comprising: reading at least two sharpness values for each of a plurality of zones of pixels, each sharpness value corresponding to one of a plurality of predetermined lens positions; using the sharpness values to determine a single zone weight for each zone; and using the zone weights to determine a focus position for the lens.