“…This is the case of imaging with low light levels or with electromagnetic radiation in spectral ranges out of the visible region, particularly in the near IR and terahertz spectral bands, where it is more difficult to make a pixelated sensor [1][2][3]. Imaging with single-pixel detectors can be useful also when the purpose is to measure the spatial distribution of several optical parameters of the light beam simultaneously, not only the intensity but also the polarization state [4], the phase [5,6], the color [7][8][9][10], or the spectral content [11][12][13][14][15][16] Single-pixel imaging techniques [25,26] are based on illuminating the scene with a sequence of light structured patterns while the light reflected or transmitted by the objects is recorded by a single photosensor such as a photodiode or photomultiplier tube (PMT). Alternatively to this active imaging system, where a spatial light modulator (SLM) modifies the input light beam, in the passive configuration the light coming from the object is sampled sequentially by a set of masks codified in the SLM.…”