The final image is built up from the number of electrons emitted from each spot on the sample.