We theoretically study the spectra in far and near field optical microscopy of a group of nanoscopic scatterers such metallic and semiconductor quantum dots two-dimensionally distributed on a plane surface. Our emphasis is on the spectral changes in the far and near field spectra as compared with spectra of individual scatterers. We show that extra spectral changes can be observed when the coupling between scatterers becomes strong. If the coupling is mainly due to the evanescent field, the produced spectral changes are localized in the near field zone. The extra spectral changes include both red and blue shift, as well as deformation.