Adaptive photodetector for assisted Talbot effect.