PT-symmetric planar devices for field transformation and imaging