Sparsity In Image Processing And Machine Learning: Modeling, Computation And Theory