Resolving luminescence in spatial and compositional domains