On the affine structure of perceptual space