My book states that it depends upon
the number of photons of same frequency or wavelength absorbed or emitted.
From what I understand, if many hydrogen atoms within the discharge tube emit at the same wavelength, then, on passing the radiation through a prism, these waves will overlap on the photographic plate because all of them will get deflected to the same extent by the prism. This should increase the intensity. Is my understanding correct?
Secondly, how can the number of absorbed photons of the same wavelength create any difference in the intensity of spectral lines? As far as I know, absorption only results in black lines on the bright background corresponding to the absorbed wavelengths.