Digital Image Processing Lecture Notes
Digital Image Processing Lecture Notes
WOMEN
(Kapujaggarajupeta, VSEZ(POST), Visakhapatnam-530 049)
Lecture by
BUDDHA HARI KUMAR
ASSISTANT PROFESSOR ,M.Tech.,(P.hD).
ECE DEPARTMENT
VIGNAN'S INSTITUTE OF ENGINEERING FOR WOMEN
UNIT-1
Introduction
2
⚫ What is Image???????????
⚫ What is Pixel?
⚫ What is Digital Image?
Origins of Digital Image Processing
Fundamental Steps in Digital Image Processing
Fundamental Steps in Digital Image Processing
⚫ Image Acquisition:
To deal with images and before analyzing them the
most important thing is to capture the image. This is
called as Image Acquisition.
There are 3 principal sensor arrangements (produce
an electrical output proportional to light intensity).
(i)Single imaging Sensor
(ii)Line sensor
(iii)Array sensor
Fundamental Steps in Digital Image Processing
Fundamental Steps in Digital Image Processing
Image Enhancement:
⚫ Image enhancement is the procedure of
improving the quality and information content of
original data before processing.
⚫ Image enhancement is basically the improving
the perception of information in images for human
viewers and providing better input for the further
image processing techniques.
Fundamental Steps in Digital Image Processing
Fundamental Steps in Digital Image Processing
Image Restoration:
Image restoration is the process of recovering an
image from a degraded version—usually a blurred
and noisy image.
Fundamental Steps in Digital Image Processing
Fundamental Steps in Digital Image Processing
Fundamental Steps in Digital Image Processing
Wavelets:
Wavelets Are the foundation of representing images
in various degrees of resolution. It is used for image
data compression.
Fundamental Steps in Digital Image Processing
Compression:
Techniques for reducing the storage required to save
an image or the bandwidth required to transmit it.
Fundamental Steps in Digital Image Processing
Morphological Processing:
Morphological Processing Tools for extracting image
components that are useful in the representation and
description of shape.
In this step, there would be a transition from
processes that output images, to processes that
output image attributes.
Fundamental Steps in Digital Image Processing
Segmentation:
Segmentation procedures partition an image into its
constituent parts or objects.
Fundamental Steps in Digital Image Processing
Image Sensors:
Two elements are required to acquire digital images.
1) physical device
2) digitizer
Components of an Image Processing System
Computer:
⚫ The computer in an image processing system is
general-purpose computer and can range from a PC
to a supercomputer.
Components of an Image Processing System
Image Displays:
⚫ The displays in use today are mainly color(preferably
flat screen) TV monitors.
Components of an Image Processing System
Hardcopy devices:
⚫ Used for recording images, include laser printers,
film cameras, heat-sensitive devices, inkjet units and
digital units, such as optical and CD-Rom disks.
Components of an Image Processing System
Networking:
⚫ Is almost a default function in any computer system,
in use today.
⚫ Because of the large amount of data inherent in
image processing applications the key consideration
in image transmission is bandwidth.
Digital Image Fundamentals
Back qoundi
Inknsity tsanst mahon s: 0pe sate On Singe Pixes o an
Contiast manipl ation and
mogetheshol ding.
pahel hting: Pes or ny ogesahons On h neshborhoo of
eveNy Pnel in an imoge.
hanpening
S Tlr)
Y Volue of Pixel be horero Cesing Pirel value of
(mput maye
af kr roCesSing Pixe vaeo
(ouurinage)
suved in (-0 Yay
|-D is mabix rm
So we ock up
mamng the yalue with S s imale mentee hrough
ConSidey Rbit uiormeut Con sisto¢ 254 eniiys
he Cause
256 we an hae (o to 2ss)
ohite.
ntan
Bla ce te.
inpur in tensiy Iuel'y
mase neqatvei
Qnothey bmol Lineay Trans hrmaton tunc tiom.
3ntnsiky hue taken om o to Ll
bg the Aunc hiong=l-7
n dmate hegatve the intnsihy yalve (B) pirel balue oill be Yevene
Oich meany EPduce
to P'oduCe equealent hahi negahe'
inuene Value ot the ixe.
oy Evawmple.
L-0
S L-) ohile
intb ne qahe.
whee C- (onstant
in thi's îni Pireh valae isley ’wl get outpu pive| Waluei
high
hightr Pixel Value Procuce the hiaher Cntrastimoe
ohicn will enchance fe inas
Volwey
ontrostimos
Ibn Protue e high'
o Conttoyt Imas
Yas
tyasimas.
input value is ey it Poduced hiqh Cun
A
hign it ducd law Cantroy t itmage
Loto a]
Gayayleuels lo 4
Noof pixels J4
3 45 6 Prolbabilhy
4 (4 5-6
shs |-0
ileimasc N25
IWshoyam fQuligin.
2 4- 5
3) Pirel neiqh bor hood' the Set of Pixel s Oed In tte Convluion.
+y pi cally Centeved amourd the Pixer being Processed. The
Sye of this heigh boy hod ig dekrmined by the keyneth dimnens
4 Filky Tyes. -
Appicahny: Spathal il
teoatwe extiachon, ove Yeducton
\mage enhancemut1
baluey
is standard aveYage of Pixel
mn mas
Box flkew
1s Eyonplk of
loeighted aus ctmorng
’ Pixe at te Cen ky o mask S moe impYtance.
’ This ý to ve duce oluing duing Smootng ncess.
r mase x ane mae ’m n.
i nelemenaton
Jenem
wlst)¢ h45, 1t)
gluy) =
wlsit
5
Shootins atar H krs
moo thing
smoothin Spaial
Ayansi ions Ih ntys, Hes whith uhma tely leady ho noie TeducHn.
Coecinb
hask
2
mask
-(4) (2n haussi an funthon)
>stan dard deuaion.
’ nos le.
2
3%3
uxd to bluy cdg and reduce Contrat:
similoy o me dian tilkr but b faster.
4 4 51
oo
4|2
) Min lHe
e) Max iltey
a) box Aler
449tS t4+6+8 4240 +1
o
42
wase
5) wiqkd aug 4lkr
5-8C25
The Pincipal Objc chve of hor pening is to hig hlight the tinate
detail ®) to enhanee details.
Tt hos wide ange of Heeli cations
ch as- Elec tonic
Pn hag medical magin3,
ndustia inspe ctions Qnd
autonom ou uidane in military systeg.
Imoe burmng Pir el averaging
Laplacan Alky
TL highliqhy roy \evd ds anHnuiig in an i mase.
leuely
Rormla
<-4}y).
Lalaian maye
-) -
G Erample
4tr On the 9iven imakon
Arply laglacian
the Cener Pixel,
5 4
-|4
4
O-4 2
2
utfut i mae
Enhanted laplacian
Lapla flky
Enhanced
Enhaneee
Eyamele
Aely enenance La lacanilky On the iven ma9e onthe
Centkr Pixe
ihutimar
}+544 t0-5442 4|+3t4
85 4
-24 2
So
59
50 SoSo So
So S6KO
50 Soso 50 masle.
\00 (o0
Combining sphal en'an cemens me thods '
Combining Spaka en hante ment methodk in digibi imoge Proceisiya
in volveg agoying mutiele enhon enevt tec hniques to On Jmogr
aChieye a desiyed Yesul. HeYe are 3one Common appioachey for
gpaia enhan cemeus me thods:
Combinig
Jeu Can apply diftrent enhanre ment neltod s Sequen hally ina
apecike brder. For eramp'e, \ou mignt 3}ort wth histoaram
CQ ualing fion to im owe Con tYayt ond ollaoit with har peninq Altesto
ehanre e dges- he thdey and Com bina fiorn depend on tte srecfc
Characterisics yu lont to enhance .
) forallel Procesing'
Apol dikrent cnhanement methods to Cop ies of the ame
Itmage
nd 4he blend the Yeslts-. For instane u Can a pply one tmethod to the
luminonre Channn and amo th to the Color hanmels in an inage- Afky
ProCesin9 Ye Gm bine the Channe% ho ger tbe fing nhanced roge.
) Adaphve Entancemeut:
Aprly diferet
methods baJed On he
egions oth ini. Thij appó0dch Can Contet o£ the imoe oy Speeific
involve gmentation techniques
to ndentihy egions oe inttyest One then
nethd o
apply the moS- Suitable chhancr
coch region.
4) feed boce Lo0ps'
Uefecabace Ymechoni Sms tu lés ofvdy
imox Afker enhane e
applyinon erhan(ewne t mcthod, yu Can evalak tthe
e'yll
teCc ssay
mage Qualtyis achieved. ths Rrocess an
Con tinue untli the desired i
3) Haire Learn ing. utilie
mue Suitade Cnan
macine larving modey to Predi
cenet meths foy diksent hy o the
Oubmahirally hiy app0och involves traihing o fmags odel Cna data se
of imass ond they
Corres ponding
enhancement
A 0x ty
inttrachely Select Ond adjust en hancemeut he
timeyQpr oaCh Can be Useul appli ations where thodsinml
Is essehas Ax hine- huna tx Verh&e
tuning tbe enhancemeny.
The Choice oe
Combining me huds
depeds on the Spepeahe Ihase
enhancement Soals, Hhe
Qrd the Comutahona choyactk istics f the imogo
re Ssurces youre Coareing wth
diekerenr Quailable Ex pen
Comeina kn s Qan hel deter mentafon and testing
mine he mast
eectie aptloac, fy
Hlleing in the FrQueny Domaiy
Prelimino Conceo in frequncy omain
n pa ia om ain
the he
kig in the Hhequemy comai
asic stes h Alking
Invene
FouricY
ouier Trans hrm
Pre
Rcesing
Enhanced Imaye
Sho
mage moting Using hequency cmain Ae
’hese are also alled low- Pass Alkrs
Thesx Ore ed to Smoo then the image as they alle On..
lbw tre uency ComPonenb to Pass though.
hese Ore Ud to emove nolse.
Ales( BLE)
oe
where Dis the Cut Oyder
Hluyu) Areueny ana nis the
HIer
of the butr oY
yPe o
3) hasian
ohee Dos he
(a4ef)
Gaussian highpoyiles |2D6where Do i) the
|-ey) Fequeney
Hlb)
(,)Ore 0rder
\ote Pbint Dluu)=
>Euelidean distance.
Ex amele
tyans furm
Cnvert the given Spatar domain image uaing fóuneY
Q Per torm Ldel loo Paus kr t Shuthen the mase. hooe
Shos the Ster by ste RCe due ty ding the Same.
An imag
steei the input imasc by 4, Cenkr the
(q5) (o) (oy) (o,)
Aronsrm( . [
(Ho)
-t4 2 -) (h3)
22s (0)o-y
4-zy2
s
(2)3)
Ritance
wask e 2Cenkr
the fm betcen
(uj dtanee Calculating
the ae
mase
Tdel Foy y)
Huy ton tunc Alks the wit h Flu nulhply
4n4
matha kerhel 4x4 kePwy)x Kenelx F(un)=
nei
froamm imas. the a'DEr theCompute
see
Ser
2 223
2-23
4-2.4
-23
|4)
23 |41
Hluo)
GO
kernel
1
Wernel
-0rgina Sgna,
-Low-tass Hllered
ati doal
Fluyu)4(u)
eYers to the
rec hve Altehng in inmag Pcessing
apoli cahon ot
ihin an
Qn ima, nhey
Cerdain eqiony ) features enive |mag This
vtymy to he
than Qphina fhe custmed
pulahons.
maEnhanecnenb ( ) mani
) Keqion of
Tnkvest (Ro1) tilking'
Avpyina fA lkrs (®) Proesing operatons ony to a deied regiou o) avea
of in teest tth the imase "hig
b noise e dueHon
b Sharpening Spe cite objects
) Edg eteion:
Detkehng cdo) boundaiey othin nimagc and
techoes to enhanec o e mpa Sie thoe clges is is Use fur task
ke obiect dekchen (G Seqmentohon
2
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
IV B.TECH ECE I SEM EXAMINATION
DIGITAL IMAGE PROCESSING
Question Bank
Unit-2: Intensity Transformations and Spatial Filtering, Filtering in the frequency domain
1. Write an algorithm for Huffman coding and determine Huffman code words for a message
{m1, m2, m3, m4, m5}. The probabilities of symbols are given as
Symbol m1 m2 m3 m4 m5
Probability 0.3 0.3 0.15 0.2 0.5
2. Explain the concept image pyramid.
3. Write an algorithm for arithmetic coding and determine code word for a string “CAB”
The probabilities of characters are given as
Character A B C
Probability 0.6 0.3 0.1
4. Discuss edge linking method using local processing approach
5. Explain lossless, lossy predictive coding with a neat block diagram
6. Explain Wavelet transforms in one dimensions.
7. Design golomb code from 9 with divisor 4.
8. What is an inverse filtering? Explain how it is useful for image restoration and write the
disadvantages of it.
9. With an example, explain the concept of Run Length coding
10. Explain the concept of lossless predictive coding.
Unit-5: Image segmentation, Morphological image processing & Color image processing