A theory of the primitive spatial code in human vision