SlideShare a Scribd company logo
Matlab:Image Restoration Techniques
Removing Noise By Linear FilteringLinear filters, such as averaging or Gaussian filters can be used to remove certain types of noise. An averaging filter is useful for removing grain noise from a photograph. Because each pixel gets set to the average of the pixels in its neighborhood, local variations caused by grain are reduced.
Removing Noise By Median FilteringWith median filtering, the value of an output pixel is determined by the median of the neighborhood pixels, rather than the mean. The median is much less sensitive than the mean to extreme values (called outliers). Median filtering is therefore better able to remove these outliers without reducing the sharpness of the image.
Applying the averaging filter>>I=imread('img.bmp'); >> I=I(:,:,1);>> imshow(I);>>K = filter2(fspecial('average',3),I)/255;>>figure, imshow(K)
Applying the median filter>>I=imread('img.bmp'); >> I=I(:,:,1);>> imshow(I);>> L = medfilt2(I,[3 3]);>>figure, imshow(L)
Rectifying background illuminationStep 1: Read ImageStep 2: Use Morphological Opening to Estimate the BackgroundStep 3: View the Background Approximation as a SurfaceStep 4: Subtract the Background Image from the Original Image
Rectifying background illuminationStep1: Read ImageI = imread('rice.png'); imshow(I)
Rectifying background illuminationStep 2: Use Morphological Opening to Estimate the Background>>background = imopen(I,strel('disk',15));>>figure, surf(double(background(1:8:end,1:8:end))),zlim([0 255]); set(gca,'ydir','reverse');Step 3: View the Background Approximation as a SurfaceRectifying background illuminationStep 2: Use Morphological Opening to Estimate the BackgroundStep 3: View the Background Approximation as a SurfaceRectifying background illuminationStep 4: Subtract the Background Image from the Original ImageI2 = I - background; imshow(I2)
Matlab Image Restoration Techniques
Matlab Image Restoration Techniques
Matlab Image Restoration Techniques

More Related Content

PPTX
Matlab Image Restoration Techniques
PDF
DIP - Image Restoration
PPTX
Adaptive unsharp masking
PDF
New approach for generalised unsharp masking alogorithm
PDF
filters for noise in image processing
PPTX
Digital image processing techniques
PDF
Lecture 5
PPTX
Digital image processing Tool presentation
Matlab Image Restoration Techniques
DIP - Image Restoration
Adaptive unsharp masking
New approach for generalised unsharp masking alogorithm
filters for noise in image processing
Digital image processing techniques
Lecture 5
Digital image processing Tool presentation

What's hot (20)

PPTX
Image Restoration (Order Statistics Filters)
PPTX
Digital image processing img smoothning
PPTX
Image Restoration
PPTX
NOISE FILTERS IN IMAGE PROCESSING
PPTX
Spatial Filters (Digital Image Processing)
PPTX
Homomorphic filtering
PDF
Image Restoration (Digital Image Processing)
PDF
Digital Image Processing: Image Restoration
PPTX
Image restoration
PPTX
Digital image processing
PPTX
impulse noise filter
PPT
Chapter 5
PPT
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
PPT
Image degradation and noise by Md.Naseem Ashraf
PPTX
Unit3 dip
PPTX
Simultaneous Smoothing and Sharpening of Color Images
PPTX
Noise filtering
PDF
Noise Models
PPTX
Module 31
PPTX
Project presentation
Image Restoration (Order Statistics Filters)
Digital image processing img smoothning
Image Restoration
NOISE FILTERS IN IMAGE PROCESSING
Spatial Filters (Digital Image Processing)
Homomorphic filtering
Image Restoration (Digital Image Processing)
Digital Image Processing: Image Restoration
Image restoration
Digital image processing
impulse noise filter
Chapter 5
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
Image degradation and noise by Md.Naseem Ashraf
Unit3 dip
Simultaneous Smoothing and Sharpening of Color Images
Noise filtering
Noise Models
Module 31
Project presentation
Ad

Similar to Matlab Image Restoration Techniques (20)

PPT
reducing noises in images
PPTX
Image noise reduction
PPTX
Image_filtering (1).pptx
PPTX
imge enhncement sptil filtering55555.pptx
PPT
Spatial filtering
PDF
D122733
PPTX
Final presentation(image enhancement system)
PPTX
Image Filtering
PDF
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PDF
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PPTX
Noise
PPTX
Early Binding, Late Binding, Virtual Fun
PPTX
Simple concepts of Image Processing.pptx
PDF
I010324954
PDF
CH-4.pdf image restoration and what are
DOCX
Practical 111.docx
PDF
Performance analysis of image filtering algorithms for mri images
PDF
Performance analysis of image filtering algorithms for mri images
PDF
IRJET- A Review on Various Restoration Techniques in Digital Image Processing
PDF
Project 2-Image_Processng by Anish Hemmady
reducing noises in images
Image noise reduction
Image_filtering (1).pptx
imge enhncement sptil filtering55555.pptx
Spatial filtering
D122733
Final presentation(image enhancement system)
Image Filtering
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
PERFORMANCE ANALYSIS OF UNSYMMETRICAL TRIMMED MEDIAN AS DETECTOR ON IMAGE NOI...
Noise
Early Binding, Late Binding, Virtual Fun
Simple concepts of Image Processing.pptx
I010324954
CH-4.pdf image restoration and what are
Practical 111.docx
Performance analysis of image filtering algorithms for mri images
Performance analysis of image filtering algorithms for mri images
IRJET- A Review on Various Restoration Techniques in Digital Image Processing
Project 2-Image_Processng by Anish Hemmady
Ad

More from matlab Content (20)

PPTX
C,C++ In Matlab
PPTX
Matlab: Control Statements
PPTX
Matlab: Discrete Linear Systems
PPTX
Matlab Distributions
PPTX
Matlab: Graph Plots
PPTX
Matlab: Gui
PPTX
Matlab: Linear Methods, Quantiles
PPTX
Matlab Data And Statistics
PPTX
Matlab Feature Extraction Using Segmentation And Edge Detection
PPTX
Matlab Image Enhancement Techniques
PPTX
Matlab Importing Data
PPTX
Matlab Organizing Data
PPTX
Matlab Text Files
PPTX
Matlab Visualizing Data
PPTX
Matlab Working With Images
PPTX
Matlab: Non Linear Methods
PPTX
Matlab: Procedures And Functions
PPTX
Matlab: Programming Environment
PPTX
Matlab: Regression
PPTX
Matlab: Saving And Publishing
C,C++ In Matlab
Matlab: Control Statements
Matlab: Discrete Linear Systems
Matlab Distributions
Matlab: Graph Plots
Matlab: Gui
Matlab: Linear Methods, Quantiles
Matlab Data And Statistics
Matlab Feature Extraction Using Segmentation And Edge Detection
Matlab Image Enhancement Techniques
Matlab Importing Data
Matlab Organizing Data
Matlab Text Files
Matlab Visualizing Data
Matlab Working With Images
Matlab: Non Linear Methods
Matlab: Procedures And Functions
Matlab: Programming Environment
Matlab: Regression
Matlab: Saving And Publishing

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Machine Learning_overview_presentation.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Electronic commerce courselecture one. Pdf
PPTX
Cloud computing and distributed systems.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
Teaching material agriculture food technology
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A Presentation on Artificial Intelligence
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Spectral efficient network and resource selection model in 5G networks
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Assigned Numbers - 2025 - Bluetooth® Document
Mobile App Security Testing_ A Comprehensive Guide.pdf
Machine Learning_overview_presentation.pptx
The AUB Centre for AI in Media Proposal.docx
Machine learning based COVID-19 study performance prediction
Electronic commerce courselecture one. Pdf
Cloud computing and distributed systems.
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
Teaching material agriculture food technology
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

Matlab Image Restoration Techniques

  • 2. Removing Noise By Linear FilteringLinear filters, such as averaging or Gaussian filters can be used to remove certain types of noise. An averaging filter is useful for removing grain noise from a photograph. Because each pixel gets set to the average of the pixels in its neighborhood, local variations caused by grain are reduced.
  • 3. Removing Noise By Median FilteringWith median filtering, the value of an output pixel is determined by the median of the neighborhood pixels, rather than the mean. The median is much less sensitive than the mean to extreme values (called outliers). Median filtering is therefore better able to remove these outliers without reducing the sharpness of the image.
  • 4. Applying the averaging filter>>I=imread('img.bmp'); >> I=I(:,:,1);>> imshow(I);>>K = filter2(fspecial('average',3),I)/255;>>figure, imshow(K)
  • 5. Applying the median filter>>I=imread('img.bmp'); >> I=I(:,:,1);>> imshow(I);>> L = medfilt2(I,[3 3]);>>figure, imshow(L)
  • 6. Rectifying background illuminationStep 1: Read ImageStep 2: Use Morphological Opening to Estimate the BackgroundStep 3: View the Background Approximation as a SurfaceStep 4: Subtract the Background Image from the Original Image
  • 7. Rectifying background illuminationStep1: Read ImageI = imread('rice.png'); imshow(I)
  • 8. Rectifying background illuminationStep 2: Use Morphological Opening to Estimate the Background>>background = imopen(I,strel('disk',15));>>figure, surf(double(background(1:8:end,1:8:end))),zlim([0 255]); set(gca,'ydir','reverse');Step 3: View the Background Approximation as a SurfaceRectifying background illuminationStep 2: Use Morphological Opening to Estimate the BackgroundStep 3: View the Background Approximation as a SurfaceRectifying background illuminationStep 4: Subtract the Background Image from the Original ImageI2 = I - background; imshow(I2)