THz imaging based on Frequency Domain Spectroscopy