scanner transfer function calibration added