Remove Noise.
prevent any confusion in the future. %% Add some noise noise_sigma=25; noise= randan(size(img)).*noise_sigma; noisy_img=img+noise; imshow(noisy_img); Step 3: Create the Gaussian Filter Next, we create a Gaussian filter using the cv2.getGaussianKernel() function provided by OpenCV. We specify the