A new imaging tool that rapidly diagnoses bacterial lung infections could help prevent unnecessary use of antibiotics in intensive care units.