Emergence of perceptual states in nonlinear lattices: a new computational model for perception