Neurons in the visual cortex of monkeys respond selectively to the dis
parity between the images in the two eyes. Recent recordings have show
n that some of the disparity-selective neurons in the primary visual c
ortex and the posterior parietal cortex are modulated by the distance
of fixation. A population of such gain-modulated, disparity-selective
neurons forms a set of basis functions of horizontal disparity and dis
tance of fixation that can be used as an intermediate representation f
or computing egocentric distance, This distributed representation is c
onsistent with psychophysical studies of human depth perception; in co
ntrast, neurons explicitly tuned to distance are not consistent with h
ow we perceive distance, In a population model that includes noise in
the firing rates of neurons, the perceived distance is shown to be the
estimate of geometrical distance that minimizes the variance of the e
stimation.