A machine vision system may perform compressive sensing by aggregating signals from multiple pixels. The aggregation of signals may be based on a sampling function. The sampling function may be formed of a product of a random basis, which may be sparse, and a filtering function.