Professional Documents
Culture Documents
Segmentace Otisku Prstu A Výpočet Orientačního Pole: Jan Ferbr
Segmentace Otisku Prstu A Výpočet Orientačního Pole: Jan Ferbr
Segmentace Otisku Prstu A Výpočet Orientačního Pole: Jan Ferbr
Postup:
-Gradient (x,y)
-Velikost gradientu
-Segmentace za pomoci thresholdingu
-Výpočet orientačního pole
Implementace (CPU)
Matlab
−1 0 1 −1 −2 −1
sobelx = −2 0 2 sobely = 0 0 0
−1 0 1 1 2 1
2 2
Gradmag(i, j) = Gradx(i, j) + Grady(i, j)
Thresholding
16 16
1 −1 ∑i=1 ∑j=1 2Gradx(i, j)Grady(i, j) π
θ = tan ( 16 16 )+
2 ∑i=1 ∑j=1 (Gradx(i, j)2 − Grady(i, j)2) 2
3 datasety
14000 1,6 16
10500 1,2 12
Čas/ mikrosekundy
Čas / sekundy
Čas/ sekundy
7000 0,8 8
3500 0,4 4
0 0 0
0 1 3 4 5 0 3 5 8 10 0 1 2 2 3
Měření # Měření # Měření #
Čas / sekundy CPU GPU