deskew-detail2
Hello, hello, how are you, hello, hello, how are you, hello, hello, hello, hello, how are you, hello, hello, how are you, hello, hello, how are you, hello, hello, hello, hello.
Hello, hello, how are you, hello, hello, how are you, hello, hello, hello, hello, how are you, hello, hello, how are you, hello, hello, how are you, hello, hello, hello, hello.
move
accumulated black pixels
move
accumulated black pixels
maximum diff. between steps
(=max. first derivation)
move
move
max.
first deviation:
deskew-scan-depth determines when to stop accumulating black pixels,i.e. when to
stop moving the 'virtual line' and continue with the next angle to try.
(given relativeto the deskew-scan-size, if deskew-scan-size = 100 and
deskew-scan-depth = 0.5, then moving the virtual bar stops when 50 black pixels have
been found)
In the result, it may make a difference how far the 'virtual line' gets moved, as possibly
the overall maximum may be found at a different angle.
Small example with deskew-scan-size = 8:
Deskew-scan-depth = 0.5
Deskew-scan-depth = 1.5