|
Algorithm 1 Direction estimation. |
-
1:
Use the Sobel operator to obtain the image of the edges of the noisy and blurry image .
-
2:
Apply a disk mask to cut out some diagonal edges in , obtaining a new edge image (Figure 1b).
-
3:
Compute the Hough transform (Figure 1c).
-
4:
Set as the value of corresponding to the column of with maximum 2-norm. (Figure 1d)
-
5:
Set (yellow line in Figure 1a)
|