The calibration of the Wilson-Bappu effect on the sun