Automatic computation of the geometrical characteristics of a surface modified by a scanning nanohardness tester