Ultra-high-speed indirect x-ray imaging system with versatile spatiotemporal sampling capabilities.