title: How to reduce noise 'salt and pepper' from images in matlab?
body: <p>I have a list of images containing noise with the method 'salt and pepper'. I want to <em>reduce</em> the effect of noise in the image, so that it is not be completely removed. Is there a way to do this?</p>
  
  <p>Here is an example image:
  <img src="https://i.stack.imgur.com/0feJr.png" alt="example">
  I tryed to use this code :</p>
  
  <pre><code>im = imread('D:\Documents\MATLAB\1_Para2.tif'); %// 
  
   image = imnoise(im,'salt &amp; pepper',0.01); %L-image
  
   M = medfilt2(image);
   imshow(M)
  </code></pre>
  
  <p>After applying this code, the noise is removed from this image but My goal is to reduce the noise. How can I do it, please?</p>