I have to add salt and pepper noise in an image where the noise density of pepper is 0.1 and the noise density of salt is 0.2. How to do this in matlab
I know img = i