





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






M
O)/17)3-59$B./1P5CP. 819-./
B8Q
6)T./$#+.=-/,*$)R$B./1P5CP.$819-./
&
i=
x,y
i=
x,y
[
(x 1 , y 1 ) != (x 2 , y 2 )
E[n(x 1 , y 1 )n(x 2 , y 2 )] = E[n(x 1 , y 1 )]E[n(x 2 , y 2 )]
⇒
E[XY ] = E[X]E[Y ]
i=
Xi
n(x, y)
hn(∆x, ∆y) =
x,y
n(x, y)n(x+∆x, y+∆y)
= E[n(x, y)n(x+∆x, y+∆y)]
f (x, y) ∗ g(x, y) =
i,j
f (x−i, y−j)g(i, j)
P[XY ] = P[X]P[Y ]
(x 1 , y 1 ) != (x 2 , y 2 )
E[n(x 1 , y 1 )n(x 2 , y 2 )] = E[n(x 1 , y 1 )]E[n(x 2 , y 2 )]
⇒
E[XY ] = E[X]E[Y ]
E[X] =
1
N
∑^ N
i=
Xi
n(x, y)
hn(∆x, ∆y) =
∑
x,y
n(x, y)n(x+∆x, y+∆y)
= E[n(x, y)n(x+∆x, y+∆y)]
f (x, y) ∗ g(x, y) =
∑
i,j
f (x−i, y−j)g(i, j)
F[hn] = N (u, v)N (u, v) = |N (u, v)|
2
]
∂f ∂x
= f (x + 1, y) − f (x, y) ∂f ∂x ∂f ∂y ∂f ∂x
2
∂f ∂y
2
5
∂f ∂x =^ f^ (x^ + 1, y)^ −^ f^ (x, y) ∂f ∂x ∂f ∂y ( (^) ∂f ∂x
) 2
( ∂f ∂y
) 2
5
?
thresholding
∂f ∂x
= f (x + 1, y) − f (x, y) ∂f ∂x ∂f ∂y ∂f ∂x
2
∂f ∂y
2
5
∂f ∂x =^ f^ (x^ + 1, y)^ −^ f^ (x, y) ∂f ∂x ∂f ∂y ( (^) ∂f ∂x
) 2
( ∂f ∂y
) 2
5
%
thresholding
^
| !f |^2
σ
1
';
| !f |^2
σ
1
6(/,1(2* $Y32-.5@$)R$-F/.2F)9@13A$-F.$_/2-$@./1P5CP.H
_3@$7./)N=/)2213A2$)R$-F.$2.=)3@$@./1P5CP.
| !f |^2
σ
tan θ =
fx
fy
θ = arctan
fx
fy
"f =
∂^2 f
∂x^2
∂^2 f
∂y^2
''
6(/,1(2* $Y32-.5@$)R$-F/.2F)9@13A$-F.$_/2-$@./1P5CP.H
_3@$7./)N=/)2213A2$)R$-F.$2.=)3@$@./1P5CP.
")**)3$:3@$/@./$B./1P5CP.$+./5-)/( (^) 708/0-#
| !f |^2
σ
tan θ =
fx
fy
θ = arctan
fx
fy
"f =
∂^2 f
∂x^2
∂^2 f
∂y^2
':
6(/,1(2* $Y32-.5@$)R$-F/.2F)9@13A$-F.$_/2-$@./1P5CP.H
_3@$7./)N=/)2213A2$)R$-F.$2.=)3@$@./1P5CP.
")**)3$:3@$/@./$B./1P5CP.$+./5-)/( (^) 708/0-#
| !f |^2
σ
tan θ =
fx
fy
θ = arctan
fx
fy
"f =
∂^2 f
∂x^2
∂^2 f
∂y^2
'^
6(/,1(2* $Y32-.5@$)R$-F/.2F)9@13A$-F.$_/2-$@./1P5CP.H
_3@$7./)N=/)2213A2$)R$-F.$2.=)3@$@./1P5CP.
")**)3$:3@$/@./$B./1P5CP.$+./5-)/( (^) 708/0-#
:;
6(/,1(2* $Y32-.5@$)R$-F/.2F)9@13A$-F.$_/2-$@./1P5CP.H
_3@$7./)N=/)2213A2$)R$-F.$2.=)3@$@./1P5CP.
:'
| !f |^2
σ
1
| !f |^2 σ
::
| !f |^2
σ
1
| !f |^2
σ
6(/,1(2* $8)/$.5=F$+1Z.9$5a)P.$-F/.2F)9@H$_3@$-F.$9)=59$5Z1,*$)R$
$$$$$$$$$$$$$$$$$59)3A$-F.$@1/.=C)3$)R$-F.$A/[email protected]$
| !f |^2 σ
| !f |^2
σ
tan θ =
fy
fx
θ = arctan
fx
fy
"f =
∂^2 f ∂x^2
∂^2 f ∂y^2
!
| !f |
· !f = 2f
2 x fxx^ + 4fxfy^ fxy^ + 2f^
2 y fyy
!
:M
| !f |^2
σ ")+,-.$.@A.$@1/.=C)3$R/)$1*5A.$A/[email protected](
Y*5A.$=)3P)9P.@$T1-F$@./1P5CP.$)R$f5,22153H$ -F/.2F)9@.@H$53@$=)9)/.@$aE$.@A.$@1/.=C)3d
6(/,1(2* $8)/$.5=F$+1Z.9$5a)P.$-F/.2F)9@H$_3@$-F.$9)=59$5Z1,*$)R$
$$$$$$$$$$$$$$$$$59)3A$-F.$@1/.=C)3$)R$-F.$A/[email protected]$ 'g ;".%)"(/<&$"%&=.0<#%2$&>0=2#$,<%
:g ?#)-.%1@%&****! &AB&CDE-.%>%2$)
Mg F%%8&%<=%&8#G%/)&(2/B	&&&&&&&&&&&&&&&&&#)&=.%0$%.&$"02&$"%&H&2%#="A(.)&0/(2=& $"%&%<=%&2(.>0/I
:&
| !f |^2
σ
| !f |^2
σ
| !f |^2
σ
1
'g ;".%)"(/<&$"%&=.0<#%2$&>0=2#$,<%
:g ?#)-.%1@%&****! &AB&CDE-.%>%2$)
Mg F%%8&%<=%&8#G%/)&(2/B	&&&&&&&&&&&&&&&&&#)&=.%0$%.&$"02&$"%&H&2%#="A(.)&0/(2=& $"%&%<=%&2(.>0/I
:[
| !f |^2
σ
1
| !f |^2
σ
1
'g ;".%)"(/<&$"%&=.0<#%2$&>0=2#$,<%
:g 4(>8,$%&$"%&<%.#5015%&(9&&&&&&&&&&&&&&&&$"%&<#.%-1(2&(9&$"%&%<=%&2(.>0/
Mg 3#2<&@%.()&(9&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&L"%.%&&&&&&&&&&&&&&&&&#)&0A(5%&$".%)"(/<
| !f |^2
σ
1
| !f |^2
σ
tan θ =
fx
fy
θ = arctan
fx
fy
"f =
∂^2 f
∂x^2
∂^2 f
∂y^2
!
| !f |
· !f = 2f
2 x fxx^ + 4fxfy^ fxy^ + 2f^
2 y fyy
| !f |^2
σ
1
| !f |^2 σ
tan θ =
fx fy
θ = arctan
( fx fy
)
"f =
∂^2 f ∂x^2
∂^2 f ∂y^2 !
( | !f |^2
) · !f = 2f (^) x^2 fxx + 4fxfy fxy + 2f (^) y^2 fyy
1
| !f |^2
σ
1
'g ;".%)"(/<&$"%&=.0<#%2$&>0=2#$,<%
:g ?#)-.%1@%&****! &AB&CDE-.%>%2$)
Mg F%%8&%<=%&8#G%/)&(2/B	&&&&&&&&&&&&&&&&&#)&=.%0$%.&$"02&$"%&H&2%#="A(.)&0/(2=& $"%&%<=%&2(.>0/I
:]
| !f |^2
σ
1
| !f |^2
σ
1
'g ;".%)"(/<&$"%&=.0<#%2$&>0=2#$,<%
:g 4(>8,$%&$"%&<%.#5015%&(9&&&&&&&&&&&&&&&&$"%&<#.%-1(2&(9&$"%&%<=%&2(.>0/
Mg 3#2<&@%.()&(9&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&L"%.%&&&&&&&&&&&&&&&&&#)&0A(5%&$".%)"(/<
| !f |^2
σ
1
| !f |^2
σ
tan θ =
fx
fy
θ = arctan
fx
fy
"f =
∂^2 f
∂x^2
∂^2 f
∂y^2
!
| !f |
· !f = 2f
2 x fxx^ + 4fxfy^ fxy^ + 2f^
2 y fyy
| !f |^2
σ
1
| !f |^2 σ
tan θ =
fx fy
θ = arctan
( fx fy
)
"f =
∂^2 f ∂x^2
∂^2 f ∂y^2 !
( | !f |^2
) · !f = 2f (^) x^2 fxx + 4fxfy fxy + 2f (^) y^2 fyy
1
| !f |^2 σ
tan θ =
fx fy
θ = arctan
( fx fy
)
"f =
∂^2 f ∂x^2
∂^2 f ∂y^2 !
( | !f |^2
) · !f = 2f (^) x^2 fxx + 4fxfy fxy + 2f (^) y^2 f
!
( | !G|^2
) · !G
1
:?
Edge Thresholding
Example: For “maybe” edges, decide on the edge if neighboring pixel is a strong edge.
Canny with_!_ = 1
Canny with_!_ = 2
Edge Detection using Pyramids
Coarse-to-fine strategy:
Fast Template Matching
Fast Template Matching
At the lowest pyramid level, search the entire
image with the template
40
Subsequent searches are constrained to a small
neighborhood surrounding good matches from the
next coarser level.
41
42
Subsequent searches are constrained to a small
neighborhood surrounding good matches from the
next coarser level.
43
Coarse-to-fine search reduced total search time
(in Matlab) from 31 seconds to 0.5 seconds.
Difference of Gaussians (DoG)
difference between two different Gaussians
expand
expand
expand
Gaussian Pyramid Laplacian Pyramid
The Laplacian Pyramid
48