Beruflich Dokumente
Kultur Dokumente
Muhammad Shahzad
Department Of Computing (DOC), SEECS, NUST
http://seecs.nust.edu.pk/faculty/muhammadshahzad.html
muhammad.shehzad@seecs.edu.pk
Spring 2018, MSCS-7
▪ Histogram Equilization
▪ Adaptive version
▪ Histogram Specification
▪ Bit-Plane Slicing
▪ Steganography
▪ Neighborhood processing
2
▪ Histogram Equilization
▪ Histogram Specification
▪ Bit-Plane Slicing
▪ Steganography
▪ Neighborhood processing
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
clear all; close all; clc % combine both images into one
combined_img=bitor(im1_left_shift, im2_right_shift);
im1 = imread(‘cameraman.tif’);
im2 = imread(‘rice.png’); figure; imshow(combined_img);
figure;
subplot(2,2,1);imshow(im2);
subplot(2,2,3);imshow(im2_right_shift); caxis([0 15])
subplot(2,2,4);imshow(im2_left_shift); 25
▪ Histogram Equalization
▪ Histogram Specification
▪ Bit-Plane Slicing
▪ Steganography
▪ Neighborhood processing
26
▪ They don’t know where they are in an image
27
▪ Spatial Filtering : Basics
28
Basics
29
Basics
30
Basics
31
Basics
32
Basics
33
Basics
34
Basics
35
Basics
36
▪ The output intensity value at (x,y) depends not only on the
input intensity value at (x,y) but also on the specified number of
neighbouring intensity values around (x,y)
37
Filtering can be given in equation
form as shown above
38
39
= wTz
40
g x, y w 1, 1 f x 1, y 1 w 1,0 f x 1, y w 1,1 f x 1, y 1
w 0, 1 f x, y 1 w 0,0 f x, y w 0,1 f x, y 1
w 1, 1 f x 1, y 1 w 1,0 f x 1, y w 1,1 f x 1, y 1
Pixels of
m 1 n 1 image
where a ,b
2 2 section
under filter
where x and y are varied so that each
pixel in w visits every pixel in f
41
▪ There are two closely related concepts that must be understood
clearly when performing linear spatial filtering
▪ Correlation
▪ Convolution
42
Correlation Convolution
43
Correlation Convolution
44
Various contents in this presentation have been taken from
different books, lecture notes, and the web. These solely belong
to their owners, and are here used only for clarifying various
educational concepts. Any copyright infringement is not
intended.
45