Reconfigurable perovskite X-ray detector for intelligent imaging | Synapse