Immagini binarie. Algoritmi di binarizzazione.
Immagini binarie. Algoritmi di binarizzazione.
Immagini binarie. Algoritmi di binarizzazione.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Threshol<strong>di</strong>ng tramite<br />
l’in<strong>di</strong>viduazione <strong>di</strong> bor<strong>di</strong><br />
Il metodo visto precedentemente si può<br />
raffinare ulteriormente, considerando anche il<br />
laplaciano dell’immagine.<br />
In questo modo, si riesce a stimare quale sia<br />
la <strong>di</strong>rezione del bordo localmente e quin<strong>di</strong> a<br />
delimitare le zone interne degli oggetti<br />
presenti sullo sfondo.<br />
Threshol<strong>di</strong>ng tramite<br />
l’in<strong>di</strong>viduazione <strong>di</strong> bor<strong>di</strong><br />
Per un’immagine f, si valuti il gra<strong>di</strong>ente ∇f ed<br />
il laplaciano ∇ 2 f.<br />
Si definisca un’immagine a tre livelli s<br />
ottenuta come:<br />
⎧0<br />
⎪<br />
s(<br />
x,<br />
y)<br />
= ⎨+<br />
⎪<br />
⎩−<br />
if ∇f<br />
< T<br />
2<br />
if ∇f<br />
≥ T e ∇ f ≥ 0<br />
2<br />
if ∇f<br />
≥ T e ∇ f < 0