Implementation of perceptual aspects in a face recognition algorithm