1. A method for compressive imaging of a scene in a single pixel camera, comprising: moving, by the processor, a pseudo-random pattern media behind an aperture until a pseudo-random sampling function of a plurality of pseudo-random sampling functions is viewable through the aperture; recording, by the processor, a value of an intensity of a modulated light from the scene with a detector, wherein the intensity of the modulated light is representative of an inner product between the pseudo-random sampling function and an image of the scene; and repeating, by the processor, the moving and the recording until a necessary number of a plurality of inner products are processed.