1. A CMOS image sensor comprising: a plurality of pixels; a first analog circuit for calculating one or a plurality of statistical estimators based on the analog output values of pixels of the sensor; and a second circuit capable of implementing a compressive image sensing method, the method comprising acquiring output values based on the output values of a pseudo-random selection of one or a plurality of sensor pixels, wherein the applied compression rate is a function of the statistical estimator(s) calculated by the first circuit.