A microwave approach for the detection of defects inside two-dimensional dielectric structures