Optimization of the configuration of pixilated detectors based on the Shannon-Nyquist theory.