Image And Video Enhancement Using Sparse Coding, Belief Propagation And Matrix Completion