Pattern recognition perceptual criterion function