A compressed sensing camera : New theory and an implementation using digital micromirrors