Add salt and pepper noise to image: To obtain an image with ‘speckle’ or ‘salt and pepper’ noise we need to add white and black pixels randomly in the image matrix. Running: Slider or left/right arrow key to set the noise level and then click the green flag.
Project Reference: https://www.imageeprocessing.com/2011/10/add-salt-and-pepper-noise-to-image.html?m=1#:~:text=How%20to%20add%20salt%20and%20pepper%20noise%20to,random%20values%20for%20the%20size%20of%20the%20matrix. Image scanning: https://scratch-image-scanner.slmj.repl.co/ from project by MonkeyBean2 : https://scratch.mit.edu/projects/631798903/ Thank you MonkeyBean2