Measurement of the perceived similarity in face recognition