Background
Salt and pepper noise was present in one of the noisy images from Laboratory 10a, and we were tasked with removing this noise by filtering. However, this page will demonstrate the opposite - how to create this kind of noise. Here is an example of salt and pepper noise from Laboratory 10a:
Overview
First, we will start with an image. For simplicity purposes, we will use
Summary