Proceeding from the discovery of complex singularities of the scattering matrix of a multi-layered parallel-plane dielectric inclusion in a waveguide of rectangular cross section, a method is proposed for justifying unique reconstruction of the layer permittivities. The technique is extended to the analysis of more complicated dielectric inclusions placed in waveguides of arbitrary cross section