Research Article

Salt and Pepper Noise Removal with Noise Detection and a Patch-Based Sparse Representation

Algorithm 1

PANO-based salt and pepper noise removal with noise detection.
Initialization: Input the noise contaminated image , the PANO , regularization parameter and tolerance of
inner loop . Initialize , , for , and .
Main:
While   ,
Step  1. solve (7) to get ;
Step  2. solve (9) to get ;
Step  3. solve (13) to get ;
Step  4. If , go to Step  1;
      otherwise, go to Step  5;
Step  5. , , go to Step  1.
  End While
Output: