A diffuser is placed at a small distance in front of a sensor so that a temporally incoherent point source in the detectable field-of-view generates a high-contrast pseudorandom pattern.