0% found this document useful (0 votes)
19 views7 pages

Question#1 Histrogramfilter: Code:: All All 'Owl - JPG'

This document discusses image processing techniques including histogram equalization, Gaussian filtering, and salt and pepper noise. Code examples are provided to apply these techniques to an image and view the results.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views7 pages

Question#1 Histrogramfilter: Code:: All All 'Owl - JPG'

This document discusses image processing techniques including histogram equalization, Gaussian filtering, and salt and pepper noise. Code examples are provided to apply these techniques to an image and view the results.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Question#1

HistrogramFilter:
Code:
clc
clear all
close all
a=imread('owl.jpg');
b=rgb2gray(a);
subplot(2,2,1);
imshow(b);
title('Original Grayscale Image');
subplot(2,2,3);
imhist(b);
title('Histogram of Original Grayscale Image');
j=histeq(b);
subplot(2,2,2);
imshow(j);
title('Image after histogram equalization');
subplot(2,2,4);
imhist(j);
title('Histogram of Image after histogram equalization');

Output:
GaussianFilter:
Output
Salt and pepper:
Output:

You might also like