A digital imaging device comprising a light source, a pixel array detector having a rolling shutter functionality, a spatial light modulator configured to produce one or more modulation patterns during a frame exposure of the pixel array detector, and at least one timing signal configured to control a spatial-temporal relationship between a rolling shutter of the pixel array detector and the one or more modulation patterns provided by the spatial light modulator.