1. A system for knowledge-enhanced compressive imaging, the system comprising one or more processors and a memory having instructions such that when the instructions are executed, the one or more processors perform operations of: initializing a compressive measurement basis set W and a measurement matrix R using prior knowledge, wherein the prior knowledge comprises task- and scene-specific prior knowledge; sampling of a low resolution image captured with a sensor to extract context knowledge; adapting the compressive measurement basis set W and the measurement matrix R using the extracted context knowledge and the prior knowledge; performing task-relevant compressive measurements of the image with the sensor; performing a high resolution compressive reconstruction of the image; and generating a task and context optimized signal representation of the image.