calibrate pixels to distance data