| Skew estimation | |
| Functions | |
| imgRLSAH | Do a horizontal run-lenght smoothing algorithm |
| skewDetectGatos | Detects the skew of a document page using the technice described in B. |
| skewDetectAvilaLins | Detects the skew of a document page using the technice described in Ávila B.T., Lins R.D., “A Fast Orientation and Skew Detection Algorithm for Monochromatic Document Images”. |
double skewDetectGatos( Image * img, double max_skew )
Detects the skew of a document page using the technice described in B. Gatos, N. Papamarkos, C. Chamzas, “Skew Detection and Text Line Position Determination in Digitized Documents”, Pattern Recognittion, vol. 30 pp. 1505-1519, 1997
| img | the image to estimate skew |
| max_skew | the maximum skew |
The skew estimated
Do a horizontal run-lenght smoothing algorithm
void imgRLSAH( Image * img, int C )
Detects the skew of a document page using the technice described in B.
double skewDetectGatos( Image * img, double max_skew )
Detects the skew of a document page using the technice described in Ávila B.T., Lins R.D., “A Fast Orientation and Skew Detection Algorithm for Monochromatic Document Images”.
double skewDetectAvilaLins( Image * img )