A method and system for enhancing measurement of a bar code or other
object includes storing a pixel image containing a bar code; determining
bar code orientation relative to the stored pixel image; determining a
scan track through the pixel image in a succession of pixel to pixel scan
paths; determining the angle of each scan path relative to the bar code
orientation; and adjusting the number of virtual pixels added to each
scan path as a function of the scan path angle and the bar code
orientation for equalizing the lengths, measured in pixels, of the scan
paths though they are of different actual lengths due to differences in
scan path angles.