Sparse image recovery using compressed sensing over finite alphabets