0% found this document useful (0 votes)
28 views21 pages

Guruji Computer Vision 1

Uploaded by

ankur.21ug2019
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views21 pages

Guruji Computer Vision 1

Uploaded by

ankur.21ug2019
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

I-Compute voion :

Q. uhat isDigital
inage
protesing/1prscont
Dlital
Erng?
1qdinage:tod mage Dyincd os a tuoDinunsi
oral.
umtton fcu).
312yanu Spatial(o0Tcinate
s.

fy)
= noge (datendantrauiabie)

fis eoaued frionaiy


Indensiy
OT greyleyel
at Sndundumt
(Hg)poirt Vmiobie[Spahalcoordirut
eo]

u-aimple Image fomaion -


model: (matematcalmodel]
Tylecon at(vy)
= i(y)
fay) x roiy)

Sntemsiky
(llurninaion
aty) t ()
ohunu

o<T(U4)<I
rarnple:
h'sent
to
DIP
Syateom
3Ptrld
cesrd
pro
around u8.

col

án îmage 15 rer8on trd ag a matix digt3 (mxh K3)


(colo
ingl
mode

.Red
• Uyreen
Blue.
ptxel= picturetedenut ko

tnage is tepresSerttedbuy a bit


|pexel

tuntotalrusnbet Combina'an = 2°= 254


[o-2s$]

gray vaue/9rayLevel

a.úhattsSamplirgand sunteoion Angge)

Disaete
past5. 4fwy)
cam not it Be cause
Diaite am Aralag Image
We
Surmpicg
nary(tends40 «a) pairss Bo we istdo Sampling
uith hh rates tun înage retalnß
ue do Samping
hore detoi) .amd hghuy.
thlresoloHon i's

Quam Hation:
vo ltage
rOCess y
fuantizationips TourdingofF Sanple
uantizaon vOt age
4o tu heanest AValable

whum e do sampling
t cortaioo many Samyhngbye
not Bend drectlyto
t
tohich we (om
voltogeb
(we do SuamtizatHon
whn we foumduig
Encoden So zaton Votage.
heanet N &u anti
oH voltage tothu
Samptog

a digital îmage
inInage procesing, is rercsentediD
L

o mattx oy pixclvalues

Too Cype entaton:


repres

(: traycale îmag e

2)- RyB.
L rayStale
saletnoge

forrayscaleîmage,
each pixelhave o sing(e rtern
Sioy

\Value represening thu brgttness


g fit
pkd

Each elemunH inmatix Córrespondng tothipiKd inturage.

yor
Usualylo-ess) @bit îroge

A=5 131 100 2o


2| 2) 13S
206 25 I35 134

,each pxed has 3 componunts


2 colo7Image for (olorImaqe

toponunt8 (ombiru to toTn h


Red, Hreem Blu f he6e 3

(o|oTy Each Pixel.


three 2D moth(j
înage i6represontd ey

(esS,0,0) Red
(11)
fixel

pXel |
2,1) (oDi2ss)- Bur
guy) = t[fuy)

mage pIorssing à

operatbn to am
imoge
i
a Tehnvgue

toon hamte
4
,
Aoplying diHerent

modiy and omalyeeH

Thu au mainly three ludlin


fmaqe :
proiosing

(:lDoLevel proSS -

Ingut: mage
output Imaqe -

2-mid erelprocss!

· Input:mnage
Output:AttIite6
b
Fraple:-
Ohject 1segmunHaHonss
re(aghition

proess
3-High(eved
Atribute)
Input:
p:-undo standing
Sceru understandng i hav igatto
n
A y Stages alBlockon Jngge
to Diañalinagc nocesing:-/Aumdamusnt

Dmaqe îmage
Acquisiion enhamcemumt aian
resto

Probleom
Jngica
doman
process

tpreSem - dject Segnur


recgnû-lon tation
ADescioHon

1 inage Acqusi
Hon (aetng
th imagc):

Thisis first
Step uhun you capture,any Imaqe
coütd be don kay Using o camut0) Scamn e) oramy deuice

which convet realaorld Sceme intodigta image

isotopíc
Sore

SCOne
pInaging Digáned
elemen SyemaiImage
mage enhamce mun mage betot7
:-fmaking

Image enham cthunt inproretanious Gttibtes

Acoringtoouy need

too sU Cessiveprels,
u) ontrast: deremte bo indensày oy

Ü)&hopnrss - prebente

Doumdare.
Comporut

re soraion (Fxingtu mage): -


orupte or we cam yo sesLk
SOrfim5 ou Image ut wt

th mage Us ts
isprorS in
i
('n
npisei's
(ohich we
gdded in

romore um necc
noise.N t

s) b

Rx y t)=S)+04).
•rise
Corelator
militoy
BaDe rx
plica'on.
noise;
iHeret
noisp.
0 (Goussjam noioeamma
noi6e
untom noise
humal
f proess/Image(omyarssibn
Morho bigital :-ao
.
wtout o9sing,
usstaqe u6ed tomale îmage Smalley

oos
iîtosmalpants):ht)
(Btrakirg
$.Image Segmun}ahon
into eueral Sm alparts.
Înthisproess tse BreqrDlun Lm Qge
nam to iderthiySpeciaCobjets

e
of anea b in hujmg9

G Dhject Re (ogreon(udestanding

uh hu îmoge
Ihsib inalStage 15 Undastanding

(ontarns . Using
cted tanlitn
tudeatutes exto
thy e

Stoge rdetHigs sciic obje +/paternin imag e


4dplfcatonay DIp:-godeoiedsitvol2
I
e.
Signahure vejicaton

Docummt Hamdling
3- Biometn'cs

4: facialDetechion:hosh oeisnttte
son2
s meitalKnaging
6-Satellite
inmagr

lo-fanget rt(oanuti
On

lw pikelb:-ergh
a-Basicrdationship borhood operatdn

1 4Nehborß fNaCe)]:

ncghkors.
2 Haontol & 2 Yot
cad

( -9 gH)
Linor

2-Dtogo nal Negh bo:-


(Np4))

p(119)

G Neghbou Nelo)= Nap) U (ND())


ag)-t:9)8)
) g1)

l-1 tit) tlby)

Túa pixel hat an neightou and haue ru

Same tt (evel ar adfa cen+

Binaryînåge

9adjatmy
Gtay xalt
Image

|So 2y 34
4odf
20| 200

not a d acen-4

3) m adjaceng(mited odja cong):=os oct

-0
GO

p') iB in No( and sd NP)n Nb 0) hao ho

pillinv:
faoen:-
oo pixe) p amd q, with Valbe rom U an
Nalp).

Valurs dro V any


loopixed 29 wrth
odjaeny
No()

path. ae can deiny 4- 0 - amd tnpth bos edon type


tod
ty. 9i6quen(e y disinctpixel tÀHh corcnof
ada(en
uhn floyo Ynyn)clo 6e pah .003

Example

O.(0) --to)
2' o madjace

h path om (1)
to(3)

Gyoth:

()-03) (2)+(3)t33))(3) )
(22) 3).
t s repróent a Subs e d y pixed inam îmaq e.

an soidtobr (onhectrdin s
J0o,PixelPR 8

tor evay pixel P in s he set y pixelin s

hat con nected. to.p called connected compontht gs


1 conneted compona
hun Sis(alleg
s have ory
onnected se .

Region:

het union dorms


adjacent
Riamd Ri au sod
(onnected Set

hat a not
tobe clisoiy
ada (em!au saitl
.
Reion

n Poundany /Borde.

h
ik
region fhat hare o or more hegh boró hat au notin

to be am entre image thun is


RhOpen
Baundany
isdeincd
amd
first Loot Columns Image

fore (röumd &- BackurOumds -eorat


-k
l, k= 2
od

An Emage contau'n K disfartrgon R

(Ru)
t Ru dunote thu umion au K teqiond amd

dunote ito(omplimun:

poirt8 Ru callrdFforcgroumd
All
point in(u'caled
bacsgroum
All

Distarnce M aute

Hivenn Po, arnd 2 uih coordinate System (g),


(st)
(uv) rebpectiveby tuDiš}amre D hao llongpopnte B

@ dstame
fucldran
D (P4)o De (he)
(Pr)=Dap)
p
cy bloCh diStam :
·(pe)s
D D (Pr)+
D(22)
9© e
chess Boand di'stamt :
Inage nham emun4:

Sh ths Technbye Vanioud chana /Attribate o|


be enhameed
AOrding
to daired proessdoo2uords

2- Cntas4.

Aspakta omain :
ooially
Inqge Enhame unt technu e uilmprisrdoy

7 froge tumsgor mah 'on

2. SpatialDomain Fitenng

olavbo
-Ingge
nase ons ornaton:-o eea
powen lauo
Nrgaie gamm
La
Trestodirg tngor
Tiomyor
Tongjort

.Spalialmain tteir:=

Hgh pass
edge Detecton.
(Shapedgro (uplocon
maton foy
Lard tomgormat on

fuy)=Tfatoy))
Snage ahuch o
ransemed be tamomed
migormatan
Smage

hisCan he uniteao

SggPkel values

3ipgpixel values.
[ tamsgormaton gum

1itonitytanssaraian
(s=r]:
S= f()=Y
(oP)s 4
pixel. (9-1)

2.Neave tansohon:-Here we (onsid ov hat Lnumbe


tiersod
Loel rerebenmid.yrom o to(L4)
S= T(r)
= L-r
L

Lmaimum irtons'yPxel

thivem Table2

A=23 |62. 1S y1
20)o 0

252.

Lo I|o

Le 29
+ bit
data

gors(o-2ss)
it
1= 255|

2SS-23 2S5-S.255-((2
255]Isy

255-Lo
--25-|42
93 16]
132

149 205 J3

19S 14s 103 93


Ocs onstamt
4S 11 T70
be

tog(+>)

-poseLauo Transonm/gamm Lao


LasotrangTf):

eoD[ppixel cong ppixel

0'6
7=
:- (ontao ttonsgormat'orn (ontattsiretdiyl
trestolding.

nhamtemum ontrot

A= 123 62
202
92
252
Q2
60 |0 |42

Assum ((4 Areshold.

A 10

bl dok
srght

hreshold

a rtenstytranspormatfon: g thlfirage
tstaqram,

Eaualigation

1-mage Eqyalizaton
dota
hphicalrepre&emt aion

mage hg
pro eSs|

U6ed tor înage Enhamtemumt


P 2
bray wwel'[o-]
42 4 3
Ramge

2
3 3S
24 4X4 No 9 pixed5=16
0Curam (e.

Langrsl
1

4 S fun
bmas
Pvel NoPxl(freq)t= o cof Raund off

2 6
%=0375 2:625= 3
3
C
S
5= o325 0'605
09375 G-S( =
h 00625
1

PloHinge o ofp

Uoray Leue.
2 3
S fonpirel
A=
2 33 2 3 3
|2 43
2 3
5 3
3 3

AHStogram maching :
ns Tech nique Histogrumy Input îmage ib mathe

nVnbe
or
relaHon.

p tmage
Ps (S)= Pro) d
ds îhyoóe daivatve

=()
pimage fipinage

htogiam hisogromm

You might also like