Pixel-wise programmability enables dynamic high-SNR cameras for high-speed microscopy