A comparison of methods for edge-bias compensation