Noise and Image Filtering
Noise and Image Filtering
• Where
• Noisy image
• Original image
• Noise component
• For multiplicative noise (e.g., speckle noise):
• .N
Types of Noise
• Noise is grouped by the following:
1. Gaussian Noise
2. Salt-and-pepper Noise (Impulse noise)
3. Speckle Noise
4. Poisson Noise (Short Noise)
5. Periodic Noise
Gaussian Noise
• Gaussian noise, also known as normal noise, follows a
normal distribution. It is characterized by its mean (μ)
and standard deviation (σ), which determine its
intensity and spread. Mathematically, Gaussian noise is
represented as:
Causes of Gaussian Noise
• Thermal Noise: Generated by sensors due to
temperature.
• Electronic Noise: Occurs due to electronic components
in imaging devices.
• Acquisition Noise: Results from imperfections in the
image acquisition process.
Characteristics of Gaussian Noise
Characteristics of Gaussian Noise
1.Normal Distribution: Follows the bell-curve
probability distribution.
2.Additive Nature: Can be modeled as:
Inoisy = Ioriginal+N
9. plt.subplot(1, 2, 2)
10. plt.imshow(blurred_image, cmap='gray')
11. plt.title('Gaussian Blurred Image')
12. plt.axis('off')
13. plt.show()
1. # Apply bilateral filter
2. bilateral_filtered = cv2.bilateralFilter(noisy_image, 9, 75, 75)
9. plt.subplot(1, 2, 2)
10. plt.imshow(bilateral_filtered, cmap='gray')
11. plt.title('Bilateral Filtered Image')
12. plt.axis('off')
13. plt.show()
Salt-and-pepper noise
• Salt-and-Pepper Noise, also known as impulse noise, appears
as randomly occurring white (salt) and black (pepper) pixels in
an image.
• This type of noise corrupts pixel intensities and replace them
with maximum or minimum intensity values.
• Where
• Intensity of the noisy image at pixel location (x, y)
• Intensity of the original image at (x, y)
• Multiplicative noise, which follows a uniform or
Gaussian distributiove around
Causes of Speckle Noise
1. Interference: Constructive and destructive interference of
coherent waves in imaging systems.
2. Scattering: Multiple scattering events in imaging mediums like
tissue in medical imaging.
Characteristics
3. Multiplicative: Noise intensity is proportional to the underlying
image intensity.
4. Grainy Texture: Appears as granular patterns over the image.
5. Spatial Correlation: Noise pattern is spatially correlated,
depending on imaging systems.
Effects
1. Degrades Image Quality: Reduces contrast and obscures details.
2. Hinders Analysis: Affects segmentation, edge detection, and feature
extraction.