Calibration procedure for an optical thickness measurement : a case study