Touching Component Extraction and Separation in Arabic Manuscripts

Authors

  • AOUADI Nabil LATICE LABORATORY

Abstract

This paper addresses the problem of touching characters (TC) extraction and separation in Arabic manuscripts. It proposes a recognition based method to separate them and join each component piece to its corresponding word. The proposed method extracts the TCs in the document whether between successive text-lines or words of the same text-line. For vertically/up-down TCs, we improved an existing method. For horizontally /left-right TCs, we proposed a novel extraction method based on the morphology analysis of the terminal letters of Arabic words. Then, it recognizes the TCs relying on templates, using shape context descriptor and an interpolation function the TPS transformation (Thin Plate Spline). Finally, it segments them based on the distance from the central points (midpoints or gravity centers) of the recognized template’s parts. Tests are performed using a large dataset of TCs and three metrics: Manhattan, Euclidean and Canberra distances. Obtained results strongly support the efficiency of the proposed TC extraction and segmentation methods and outperform results of some related works, taking into account the different types, variability and complexity of the TCs.

Keywords

Arabic manuscript – Touching characters – Extraction – Segmentation – Shape context descriptor – Interpolation function – Midpoint

References

[1] L. Kang, D. Doermann, "Template-based segmentation of touching characters in handwritten text lines", in Proc. of the International Conference on Document Analysis and Recognition, Beijing, China, 417-422, 2011. https://doi.org/10.1109/ICDAR.2011.120.

https://doi.org/10.1109/ICDAR.2011.120 DOI: https://doi.org/10.1109/ICDAR.2011.120

[2] A. Alaei, U. Pal, P. Nagabhushan, "A new scheme for unconstrained handwritten text-line segmentation", Pattern Recognition, 44(4):917-92, 2011. https://doi.org/10.1016/j.patcog.2010.10.014

https://doi.org/10.1016/j.patcog.2010.10.014 DOI: https://doi.org/10.1016/j.patcog.2010.10.014

[3] H. Boukerma, N. Farah, "PAW-IFN/ENIT: une nouvelle base de pseudo-mots arabes pour une approche de reconnaissance pseudo analytique", AR IMA, 1-9, 2012.

[4] L. Likforman-Sulem, C. Faure, "Une méthode de résolution des conflits d'alignements pour la segmenta- tion des documents manuscrits", Traitement du Signal, 12(6), 541-549, 1995.

[5] K. Takru, G. Leedham, "Separation of touching and overlapping words in adjacent lines of handwrit- ten text", Proc. of the Eighth International Workshop on Frontiers in Handwriting Recognition, Ontario, Canada, 496-501, 2002. https://doi.org/10.1109/IWFHR.2002.1030959.

https://doi.org/10.1109/IWFHR.2002.1030959 DOI: https://doi.org/10.1109/IWFHR.2002.1030959

[6] U. Pal, S. Datta, "Segmentation of Bangla unconstrained handwritten text", Proc. of ICDAR 1128-1132, 2003. https://doi.org/10.1109/ICDAR.2003.1227832.214 Aouadi Nabil / Electronic Letters on Computer Vision and Image Analysis 24(2):183-217, 2025

https://doi.org/10.1109/ICDAR.2003.1227832 DOI: https://doi.org/10.1109/ICDAR.2003.1227832

[7] A. Zahour, B. Taconet, S. Ramdane, "Contribution aĺa segmentation de textes manuscrits anciens", Proc. of CIFED, La Rochelle, 2004.

[8] N. Tripathy, U. Pal, "Handwriting segmentation of unconstrained Oriya text", Proc. of the Ninth Inter- national Workshop on Frontiers in Handwriting Recognition, Kokubunji, Tokyo, Japan, 306-311, 2004. https://doi.org/10.1109/IWFHR.2004.50.

https://doi.org/10.1109/IWFHR.2004.50 DOI: https://doi.org/10.1109/IWFHR.2004.50

[9] J. Kumar, L. Kang, D. S. Doermann, W. Abd-Almageed, "Segmentation of handwritten text lines in pres- ence of touching characters", in Proc. of the International Conference on Document Analysis and Recog- nition, Beijing, China, 109-113, 2011. https://doi.org/10.1109/ICDAR.2011.31.

https://doi.org/10.1109/ICDAR.2011.31 DOI: https://doi.org/10.1109/ICDAR.2011.31

[10] A. Lemaitre, J. Camillerapp, B. Couâsnon, "A perceptive method for handwritten text segmentation", Proc. of Document Recognition and Retrieval XVIII - Electronic Imaging, San Francisco, United States, 100-108, 2011. https://doi.org/10.1117/12.873037.

https://doi.org/10.1117/12.873037 DOI: https://doi.org/10.1117/12.873037

[11] L. Likforman-Sulem, A. Zahour, B. Taconet, "Text-line segmentation of historical documents: a survey", International Journal on Document Analysis and Recognition, 10(2), 123-138, 2007. https://doi.org/10.1007/s10032-006-0023-z.

https://doi.org/10.1007/s10032-006-0023-z DOI: https://doi.org/10.1007/s10032-006-0023-z

[12] E. Bruzzone, M. C. Coffetti, "An algorithm for extracting cursive text-lines", of International Conference on Document Analysis and Recognition, 749-752, https://doi.org/10.1109/ICDAR.1999.791896 Proc. 1999.

https://doi.org/10.1109/ICDAR.1999.791896 DOI: https://doi.org/10.1109/ICDAR.1999.791896

[13] L. Kang, D. S. Doermann, H. Cao, R. Prasad, P. Natarajan, Local segmentation of touch- ing characters using contour-based shape decomposition, in Proc. of the 10th IAPR International Workshop on Document Analysis Systems, Gold Coast, Queensland, Australia, 460-464, 2012. https://doi.org/10.1109/DAS.2012.53.

https://doi.org/10.1109/DAS.2012.53 DOI: https://doi.org/10.1109/DAS.2012.53

[14] N. Ouwayed, A. Belaı̈d, "Separation of overlapping and touching lines within handwritten Arabic documents", in Proc. of the 13th International Conference on Computer Analysis of Images and Pat- terns, Mˆunster (North Rhine-Westphalia), Germany, 237-244, 2009. https://doi.org/10.1007/ 978-3-642-03767-2_29

https://doi.org/10.1007/978-3-642-03767-2_29 DOI: https://doi.org/10.1007/978-3-642-03767-2_29

[15] G. Louloudis, B. Gatos, I. Pratikakis, C. Halatsis, "Text-line and word segmentation of handwritten doc- uments", Pattern Recognition, 42(12), 3169-3183, 2009. https://doi.org/10.1016/j.patcog.2008.12.016.

https://doi.org/10.1016/j.patcog.2008.12.016 DOI: https://doi.org/10.1016/j.patcog.2008.12.016

[16] P. Vassilis, S. Themos, K. Vassilis, C. George, "Handwritten document image segmentation into text lines and words", Pattern Recognition, 43(1), 369-377, 2010. https://doi.org/10.1016/j.patcog.2009.05.007.

https://doi.org/10.1016/j.patcog.2009.05.007 DOI: https://doi.org/10.1016/j.patcog.2009.05.007

[17] S. Rohini, R. S. Uma Devi, S. Mohanavel, "Segmentation of touching, overlapping, skewed and short handwritten text lines", International Journal of Computer Applications, 49(19), 24-27, 2012. https://doi.org/10.5120/7877-1163.

https://doi.org/10.5120/7877-1163 DOI: https://doi.org/10.5120/7877-1163

[18] D. Fernandez-Mota, J. Lldos, A. Fornes, "Graph based approach for segmenting touching lines in histori- cal handwritten documents", International Journal on Document Analysis and Recognition (IJDAR), 17(3), 193-312, 2014. https://doi.org/10.1007/s10032-014-0220-0.

https://doi.org/10.1007/s10032-014-0220-0 DOI: https://doi.org/10.1007/s10032-014-0220-0

[19] Y. A. Chen, G. Leedham, "Independent component analysis segmentation algorithm", in Proc. of the 8th International Conference on Document Analysis and Recognition, 680-684, 2005. https://doi.org/10.1109/ICDAR.2005.140.

https://doi.org/10.1109/ICDAR.2005.140 DOI: https://doi.org/10.1109/ICDAR.2005.140

[20] S. Belongie, J. Malik, J. Puzicha, Shape matching and object recognition using shape con- texts, IEEE Transactions on Pattern Analysis and Machine Intelligence, 24(4), 509-522, 2002. https://doi.org/10.1109/34.993558.Aouadi nabil / Electronic Letters on Computer Vision and Image Analysis 24(2):183-217, 2025 215

https://doi.org/10.1109/34.993558 DOI: https://doi.org/10.1109/34.993558

[21] H. Ikeda, Y. Ogawa, M. Koga, H. Nishimura, H. Sako, H. Fujisawa, "A recognition method for touching Japanese handwritten characters", Proc. of International Conference on Document Analysis and Recogni- tion 641-644, 1999. https://doi.org/10.1109/ICDAR.1999.791869.

https://doi.org/10.1109/ICDAR.1999.791869 DOI: https://doi.org/10.1109/ICDAR.1999.791869

[22] P. Piquin, C. Viard-Gaudin, D. Barba, "Coopération des outils de segmentation et de binarisation de documents", in Proc. of Colloque National sur l'Écrit et le Document, Rouen, 283-292, 1994.

[23] D. You, G. Kim, "An approach for locating segmentation points of handwritten digit strings using a neural network", Seventh International Conference on Document Analysis and Recognition, 142-146, 2003. DOI:10.1109/ICDAR.2003.1227648.

https://doi.org/10.1109/ICDAR.2003.1227648 DOI: https://doi.org/10.1109/ICDAR.2003.1227648

[24] E. Vellasques, L. S. Oliveira, R. Sabourin, A. S. Britto, A. L. Koerich, "Modeling segmentation cuts using support vector machines", Tenth International Workshop on Frontiers in Handwriting Recognition, 41-46, 2006.

[25] T. B. A. Gader, A. K. Echi, "Deep learning-based segmentation of connected components in Arabic hand- written documents", in Proc. of the International Conference on Intelligent Systems and Pattern Recogni- tion, Springer, 2022. https://doi.org/10.1007/978-3-031-08277-1_8.

https://doi.org/10.1007/978-3-031-08277-1_8 DOI: https://doi.org/10.1007/978-3-031-08277-1_8

[26] K. Barakat, B. Berat, R. Cohen, A. Droby, I. Rabaev, J. El-Sana, "Learning-free text line seg- mentation for historical handwritten documents", Applied Sciences, MDPI, 10(22), 8276, 2020. https://doi.org/10.3390/app10228276.

https://doi.org/10.3390/app10228276 DOI: https://doi.org/10.3390/app10228276

[27] K. Barakat, B. Berat, A. Droby, R. Alasam, B. Madi, I. Rabaev, R. Shammes, J. El-Sana, "Unsupervised deep learning for text line segmentation", 25th International Conference on Pattern Recognition (ICPR), IEEE, 2304-2311, 2021. https://doi.org/10.1109/ICPR48806.2021.9413308.

https://doi.org/10.1109/ICPR48806.2021.9413308 DOI: https://doi.org/10.1109/ICPR48806.2021.9413308

[28] Dutta, Arpita and Garai, Arpan and Biswas, Samit and Das, Amit Kumar, "Segmentation of text lines using multi-scale CNN from warped printed and handwritten document images", International Journal on Document Analysis and Recognition (IJDAR), 24(4), 299-313, 2021. https://doi.org/10.1007/s10032-021- 00370-8.

https://doi.org/10.1007/s10032-021-00370-8 DOI: https://doi.org/10.1007/s10032-021-00370-8

[29] Y. H. Tseng, H. J. Lee, "Recognition-based handwritten Chinese character segmentation us- ing a probabilistic Viterbi algorithm", Pattern Recognition Letters, 20(8), 791-806, 1999. https://doi.org/10.1016/S0167-8655(99)00043-4.

https://doi.org/10.1016/S0167-8655(99)00043-4 DOI: https://doi.org/10.1016/S0167-8655(99)00043-4

[30] A. Alaei, P. Nagabhushan, U. Pal, "Piece-wise painting technique for line segmentation of unconstrained handwritten text: a specific study with Persian text documents", Pattern Analysis and Applications, 14(4), 381-394, 2011. https://doi.org/10.1007/s10044-011-0226-x.

https://doi.org/10.1007/s10044-011-0226-x DOI: https://doi.org/10.1007/s10044-011-0226-x

[31] N. Aouadi, A. Kacem, A. Belaı̈d, "Segmentation of touching components in Arabic manuscripts", Proc. of the IEEE 14th Int. Conf. on Frontiers in Handwriting Recognition, 452-457, 2014. https://doi.org/10.1109/ICFHR.2014.82.

https://doi.org/10.1109/ICFHR.2014.82 DOI: https://doi.org/10.1109/ICFHR.2014.82

[32] N. Aouadi, A. Kacem, A. Belaı̈d, "A recognition-based approach for segmenting touching components in Arabic manuscripts", Proc. of the 13th Int. Conf. on Document Analysis and Recognition, Tunis (relocated to Nancy, France), 2015. https://doi.org/10.1109/ICDAR.2015.7333718.

https://doi.org/10.1109/ICDAR.2015.7333718 DOI: https://doi.org/10.1109/ICDAR.2015.7333718

[33] A. Kacem, N. Aouı̈ti, A. Belaı̈d, "Structural features extraction for handwritten Arabic personal names recognition", Proc. of IEEE Transactions on Frontiers in Handwriting Recognition, 268-273, 2012. https://doi.org/10.1109/ICFHR.2012.276.

https://doi.org/10.1109/ICFHR.2012.276 DOI: https://doi.org/10.1109/ICFHR.2012.276

[34] H. Ghaleb, P. Nagabhushan, U. Pal, "Segmentation of overlapped handwritten Arabic sub-words", IJCA Proceedings on National Conference on Digital Image and Signal Processing, DISP, 24-29, 2015.216 Aouadi Nabil / Electronic Letters on Computer Vision and Image Analysis 24(2):183-217, 2025

[35] AlKhateeb, Jawad H and Jiang, Jianmin and Ren, Jinchang and Ipson, Stan, Interactive knowledge dis- covery for baseline estimation and word segmentation in handwritten Arabic text, Recent advances in technologies,2009. DOI: 10.5772/7428.

https://doi.org/10.5772/7428 DOI: https://doi.org/10.5772/7428

[36] T. Y. Zhang, C. Y. Suen, "A fast parallel algorithm for thinning digital patterns", in Research Contributions in Image Processing and Computer Vision, ACM, New York, 27(3), 236-239, 1984. https://doi.org/10.1145/357994.358023.

https://doi.org/10.1145/357994.358023 DOI: https://doi.org/10.1145/357994.358023

[37] S. E. Schaefer, "Graph clustering", https://doi.org/10.1016/j.cosrev.2007.05.001. Computer science review, 1(1), 27-64, 2007.

https://doi.org/10.1016/j.cosrev.2007.05.001 DOI: https://doi.org/10.1016/j.cosrev.2007.05.001

[38] B. J. Frey, D. Dueck, "Clustering by passing messages between data points", American Association for the Advancement of Science, 315(5814), 972-976, 2007. DOI: 10.1126/science.1136800.

https://doi.org/10.1126/science.1136800 DOI: https://doi.org/10.1126/science.1136800

[39] J. Canny, "A computational approach to edge detection", IEEE Transactions on pattern analysis and machine intelligence 8(6),679-698, 2009. DOI: 10.1109/TPAMI.1986.4767851.

https://doi.org/10.1109/TPAMI.1986.4767851 DOI: https://doi.org/10.1109/TPAMI.1986.4767851

[40] R. Jonker, A. Volgenant, "A shortest augmenting path algorithm for dense and sparse linear assignment problem", Journal of Computing, v38(4), 325-340, 1987. https://doi.org/10.1007/BF02278710.

https://doi.org/10.1007/BF02278710 DOI: https://doi.org/10.1007/BF02278710

[41] H. Chui, Non-rigid point matching: algorithms, extensions and applications, PhD dissertation, Yale Uni- versity, 2001.

[42] F. L. Bookstein, "Principal warps: thin-plane spline and the decomposition of deforma- tions", IEEE Transactions on Pattern Analysis and Machine Intelligence, 11(6), 567-585, 2002. https://doi.org/10.1109/34.24792.

https://doi.org/10.1109/34.24792 DOI: https://doi.org/10.1109/34.24792

[43] J. Sauvola, T. Seppanen, S. Haapakoski, M. Pietikainen, "Adaptive document binarization", Pro- ceedings of the fourth international conference on document analysis and recognition, 147-152, 1997. https://doi.org/10.1109/ICDAR.1997.619831.

https://doi.org/10.1109/ICDAR.1997.619831 DOI: https://doi.org/10.1109/ICDAR.1997.619831

[44] Lee, Edward A, https://doi.org/10.1109/ICDAR.1997.61983139(5), 33-42, 2006.

[45] B. Gatos, N. Stamatopoulos, G. Louloudis, "ICDAR2009 handwriting segmentation contest", International Journal on Document Analysis and Recognition (IJDAR), 14(1), 25-33, 2011. https://doi.org/10.1007/s10032-010-0122-8.

https://doi.org/10.1007/s10032-010-0122-8 DOI: https://doi.org/10.1007/s10032-010-0122-8

[46] Ullah, Inam and Azmi, Mohd Sanusi and Desa, Mohamad Ishak and Alomari, Yazan M, "Segmentation of touching Arabic characters in handwritten documents by overlapping set theory and contour tracing", International Journal of Advanced Computer Science and Applications, Science and Information (SAI) Organization Limited, 10(5), 2019. https://doi.org/10.14569/IJACSA.2019.0100519.

https://doi.org/10.14569/IJACSA.2019.0100519 DOI: https://doi.org/10.14569/IJACSA.2019.0100519

Published

2026-03-02

How to Cite

(1)
Nabil, A. Touching Component Extraction and Separation in Arabic Manuscripts. ELCVIA 2026, 24, 183-217.

Downloads

Download data is not yet available.