Image Formation in the Scanning Microscope