Terahertz Resonator Diagnostics of Filamentary Dielectric Objects