A proposal for the automatic evaluation of the mean curve required by the ANSI/IEEE STD 4-1978