Methods and systems better detect edges in a binary optical code, such as a bar code. One method constructs a threshold signal to be used for comparison with an equalized undifferentiated scan line signal imperfectly representing a binary optical code. The method comprises detecting peaks in the equalized...http://www.google.com.au/patents/US7506816?utm_source=gb-gplus-sharePatent US7506816 - System and method for determining a threshold for edge detection based on an undifferentiated equalized scan line signal