<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">Sensors</journal-id>
<journal-title>Sensors</journal-title>
<issn pub-type="epub">1424-8220</issn>
<publisher>
<publisher-name>Molecular Diversity Preservation International (MDPI)</publisher-name></publisher></journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3390/s110908782</article-id>
<article-id pub-id-type="publisher-id">sensors-11-08782</article-id>
<article-categories>
<subj-group>
<subject>Article</subject></subj-group></article-categories>
<title-group>
<article-title>An Approach to a Comprehensive Test Framework for Analysis and Evaluation of Text Line Segmentation Algorithms</article-title></title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Brodic</surname><given-names>Darko</given-names></name><xref ref-type="aff" rid="af1-sensors-11-08782"><sup>1</sup></xref><xref ref-type="corresp" rid="c1-sensors-11-08782"><sup>*</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Milivojevic</surname><given-names>Dragan R.</given-names></name><xref ref-type="aff" rid="af2-sensors-11-08782"><sup>2</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Milivojevic</surname><given-names>Zoran N.</given-names></name><xref ref-type="aff" rid="af3-sensors-11-08782"><sup>3</sup></xref></contrib></contrib-group>
<aff id="af1-sensors-11-08782">
<label>1</label> Technical Faculty Bor, V.J. 12, University of Belgrade, 19210 Bor, Serbia</aff>
<aff id="af2-sensors-11-08782">
<label>2</label> Department of Informatics, Zeleni Bulevar 35, Mining and Metallurgy Institute, 19210 Bor, Serbia; E-Mail: <email>dragan.milivojevic@irmbor.co.rs</email></aff>
<aff id="af3-sensors-11-08782">
<label>3</label> Technical College Niš, Aleksandra Medvedeva 20, 18000 Niš, Serbia; E-Mail: <email>zoran.milivojevic@vtsnis.edu.rs</email></aff>
<author-notes>
<corresp id="c1-sensors-11-08782">
<label>*</label>Author to whom correspondence should be addressed; E-Mail: <email>dbrodic@tf.bor.ac.rs</email>; Tel.: +381-30-424-555; Fax: +381-30-421-078.</corresp></author-notes>
<pub-date pub-type="collection">
<year>2011</year></pub-date>
<pub-date pub-type="epub">
<day>13</day>
<month>9</month>
<year>2011</year></pub-date>
<volume>11</volume>
<issue>9</issue>
<fpage>8782</fpage>
<lpage>8812</lpage>
<history>
<date date-type="received">
<day>1</day>
<month>8</month>
<year>2011</year></date>
<date date-type="rev-recd">
<day>2</day>
<month>9</month>
<year>2011</year></date>
<date date-type="accepted">
<day>5</day>
<month>9</month>
<year>2011</year></date></history>
<permissions>
<copyright-statement>© 2011 by the authors; licensee MDPI, Basel, Switzerland.</copyright-statement>
<copyright-year>2011</copyright-year>
<license>
<p>This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).</p></license></permissions>
<abstract>
<p>The paper introduces a testing framework for the evaluation and validation of text line segmentation algorithms. Text line segmentation represents the key action for correct optical character recognition. Many of the tests for the evaluation of text line segmentation algorithms deal with text databases as reference templates. Because of the mismatch, the reliable testing framework is required. Hence, a new approach to a comprehensive experimental framework for the evaluation of text line segmentation algorithms is proposed. It consists of synthetic multi-like text samples and real handwritten text as well. Although the tests are mutually independent, the results are cross-linked. The proposed method can be used for different types of scripts and languages. Furthermore, two different procedures for the evaluation of algorithm efficiency based on the obtained error type classification are proposed. The first is based on the segmentation line error description, while the second one incorporates well-known signal detection theory. Each of them has different capabilities and convenience, but they can be used as supplements to make the evaluation process efficient. Overall the proposed procedure based on the segmentation line error description has some advantages, characterized by five measures that describe measurement procedures.</p></abstract>
<kwd-group>
<kwd>document image processing</kwd>
<kwd>text line segmentation</kwd>
<kwd>algorithms</kwd>
<kwd>experiments framework</kwd>
<kwd>testing</kwd>
<kwd>signal detection theory</kwd></kwd-group></article-meta></front>
<body>
<sec sec-type="intro">
<label>1.</label>
<title>Introduction</title>
<p>Text line segmentation is a key step in off-line optical character recognition systems [<xref ref-type="bibr" rid="b1-sensors-11-08782">1</xref>]. Any disturbances in this document image processing step will relate to inaccurately segmented text lines. Furthermore, it will result in optical character recognition failure [<xref ref-type="bibr" rid="b1-sensors-11-08782">1</xref>].</p>
<p>Text documentation is mainly made up of printed text. It is characterized by well-formed text type which has strong regularity in shape and decent interword and line spacing [<xref ref-type="bibr" rid="b2-sensors-11-08782">2</xref>]. Due to these facts text line segmentation of printed documents is a simpler task. Accordingly, techniques for detection of text lines in printed documents are largely successful [<xref ref-type="bibr" rid="b3-sensors-11-08782">3</xref>]. On the contrary, text line segmentation of handwritten documents is a complex and diverse problem, complicated by the nature of handwriting, and consequently processing of the handwritten documents has remained a leading challenge in document image processing till now [<xref ref-type="bibr" rid="b4-sensors-11-08782">4</xref>].</p>
<p>According to many studies related to the evaluation of algorithms for text parameter extraction, testing is an unavoidable process. Until now, test methods were based mainly on testing algorithms using handwritten or printed text samples obtained from text databases. These testing methods were often accommodated to specific types of scripts and types of algorithms. In addition, the results obtained by different test types were difficult to compare, due to their relative inter-relationships [<xref ref-type="bibr" rid="b5-sensors-11-08782">5</xref>].</p>
<p>A new approach to performance evaluation is based on comparing the detected segmentation results with an already annotated ground truth [<xref ref-type="bibr" rid="b6-sensors-11-08782">6</xref>]. This approach is called the pixel-based method. Consequently, if the ground-truth line and the corresponding detected line share 90% of pixels this has been claimed as correctly detected lines [<xref ref-type="bibr" rid="b7-sensors-11-08782">7</xref>]. However, this is an empirical guideline and cannot distinguish some specific circumstances.</p>
<p>Nevertheless, performance evaluation is a goal-oriented task. This is particularly true for text line segmentation. Few methodologies are established based on this attitude [<xref ref-type="bibr" rid="b8-sensors-11-08782">8</xref>–<xref ref-type="bibr" rid="b10-sensors-11-08782">10</xref>]. Hence, a similar methodology for the evaluation of algorithms for text segmentation is proposed.</p>
<p>This paper introduces a testing framework for the evaluation of text segmentation algorithms. Some aspects of testing methodology are given in [<xref ref-type="bibr" rid="b9-sensors-11-08782">9</xref>]. However, it is based on three synthetic like tests that emulate some of the characteristics of handwritten text. The paper added a handwritten text database as the extension to the previous three tests [<xref ref-type="bibr" rid="b10-sensors-11-08782">10</xref>]. It consists of text elements that incorporate mixed text lines, touching components, <italic>etc.</italic> that represent the main challenges in text line segmentation. Furthermore, the proposed experimental framework consists of different types of customizable text patterns as well as handwritten text examples. Namely, each of the given experiments represents a separate entity. In addition, all of the tests can be linked by a bottom-up principle. The method is suitable for different types of letters and languages. Its adaptability is its main advantage.</p>
<p>Furthermore, the evaluation method in [<xref ref-type="bibr" rid="b9-sensors-11-08782">9</xref>] relies completely on the <italic>RMSE</italic> methodology. It is extended by the incorporation of the methodology given in [<xref ref-type="bibr" rid="b11-sensors-11-08782">11</xref>], which added a new measurement criterion, <italic>SLHR</italic> (Segmentation Line Hit Rate). In this paper, it is redesigned. It introduces a text segmentation error type classification based on five measures. Furthermore, it compares with a binary classification based on three measured experiments [<xref ref-type="bibr" rid="b10-sensors-11-08782">10</xref>]. The proposed technique is tested on examples of the water flow algorithm and an algorithm based on the anisotropic Gaussian kernel. Furthermore, both algorithms are compared. Hence, the paper presents an efficient method for the evaluation of text segmentation algorithms.</p>
<p>The paper is organized as follows: in Section 2 the experimental framework for the text line segmentation is presented. Section 3 contains the test evaluation procedure, that involves classification of text objects and text segmentation errors as well as their division according to a binary classification. Section 4 offers a brief introduction to the principle of testing algorithms. Section 5 includes testing results and their evaluation by the proposed methods. Conclusions are given in Section 6.</p></sec>
<sec>
<label>2.</label>
<title>Experimental Framework</title>
<p>The evaluation of any text line segmentation algorithm is related to its ability to properly perform text line segmentation. Text line segmentation is performed over different reference samples of text closely related to handwritten text elements, as well as the real ones. The experimental framework for the evaluation of the algorithm’s text line segmentation consists of a few text experiments as follows [<xref ref-type="bibr" rid="b9-sensors-11-08782">9</xref>]:
<list list-type="bullet">
<list-item>
<p>Multi-line straight text segmentation test,</p></list-item>
<list-item>
<p>Multi-line waved text segmentation test,</p></list-item>
<list-item>
<p>Multi-line fractured text segmentation test,</p></list-item>
<list-item>
<p>Handwritten text segmentation test [<xref ref-type="bibr" rid="b10-sensors-11-08782">10</xref>].</p></list-item></list></p>
<p>The overall block diagram of the experimental framework is shown in <xref ref-type="fig" rid="f1-sensors-11-08782">Figure 1</xref>.</p>
<p>The evaluation of the algorithm’s ability to correctly segment text lines is the primary testing role. It is a prerequisite for obtaining other text parameters. Consequently, if the segmentation experiment fails, then further process examination will be meaningless. Hence, its importance is critical.</p>
<p>After the testing process, the obtained results are, in some way, cross-linked. Based on these results, the decision-making process will be achieved. The result of the decision-making procedure is a set of algorithm parameter values. This set is the starting point for the procedure of choosing the algorithm’s optimal parameters.</p>
<sec>
<label>2.1.</label>
<title>Multi-Line Straight Text Segmentation Test</title>
<p>The multi-line straight text segmentation test is based on a straight text reference line. Straight text is defined by the skew angle β. Typical values of β that correspond to the handwritten text are those up to 20°. Hence, it takes values from the set {5°, 10°, 15°, 20°} [<xref ref-type="bibr" rid="b9-sensors-11-08782">9</xref>]. Furthermore, between line spacing is set to a standard value to 20% of the standard character height [<xref ref-type="bibr" rid="b12-sensors-11-08782">12</xref>]. This corresponds to single line spacing. Multi-line straight text samples are shown in <xref ref-type="fig" rid="f2-sensors-11-08782">Figure 2</xref>.</p></sec>
<sec>
<label>2.2.</label>
<title>Multi-Line Waved Text Segmentation Test</title>
<p>The multi-line waved text segmentation test is based on a waved text reference line. Waved text is defined by the parameter ɛ, defined by the expression ɛ = <italic>h</italic>/<italic>l</italic>, where <italic>h</italic> is height, and <italic>l</italic> is half-width of the waved reference line (See <xref ref-type="fig" rid="f3-sensors-11-08782">Figure 3</xref>). Typical values of ɛ that correspond to the previously chosen values of skew angle β are from the set {1/12, 1/6, 1/4, 1/3} [<xref ref-type="bibr" rid="b9-sensors-11-08782">9</xref>]. Between line spacing is set to 20% of the standard character height [<xref ref-type="bibr" rid="b12-sensors-11-08782">12</xref>]. The resolution of the text samples is 150 and 300 dpi. Multi-line waved text samples are shown in <xref ref-type="fig" rid="f3-sensors-11-08782">Figure 3</xref>.</p></sec>
<sec>
<label>2.3.</label>
<title>Multi-Line Fractured Text Segmentation Test</title>
<p>The multi-line fractured text segmentation test is based on a fractured text reference line. Fractured text is defined by the fractured skew angle φ. Typical values of φ that correspond to handwritten text are those up to 20°. Hence, it has values picked from the set {5°, 10°, 15°, 20°} [<xref ref-type="bibr" rid="b9-sensors-11-08782">9</xref>]. Furthermore, between line spacing is set to 20% of the standard character height [<xref ref-type="bibr" rid="b12-sensors-11-08782">12</xref>]. Resolution of the text samples is 150 and 300 dpi. Multi-line fractured text samples are shown in <xref ref-type="fig" rid="f4-sensors-11-08782">Figure 4</xref>.</p></sec>
<sec>
<label>2.4.</label>
<title>Handwritten Text Segmentation Test</title>
<p>The multi-line handwritten text segmentation test is based on freestyle handwritten text samples in Serbian Latin, Cyrillic as well as in English scripts [<xref ref-type="bibr" rid="b10-sensors-11-08782">10</xref>]. This is a small document text database. The total number of handwritten text samples is 220 text lines. These text samples contain variable skew lines, multi-oriented text as well as mutually inserted words from different text lines. For the sake of conformity, the documents body is the only one considered in the analysis of the text line segmentation. Resolution of the text samples is 150 and 300 dpi. A few handwritten text fragments from the text database are shown in <xref ref-type="fig" rid="f5-sensors-11-08782">Figure 5</xref>.</p></sec></sec>
<sec sec-type="results">
<label>3.</label>
<title>Test Results Evaluation</title>
<p>Testing of the algorithm represents the process of applying the algorithm to the proposed text samples. As an implication of the test, the new growing region around the text is raised. The major test assignment is the efficiency evaluation of the text line segmentation process algorithm.</p>
<sec>
<label>3.1.</label>
<title>Classification of the Text Objects</title>
<p>It is assumed that during text segmentation a reference sample text containing text objects, called connected-components, is processed by the algorithm. This process leads to a new text object configuration. In an ideal circumstance the number of newly arranged objects corresponds to the correct number of text lines. To make a valid algorithm evaluation the following text elements should be defined [<xref ref-type="bibr" rid="b10-sensors-11-08782">10</xref>]:
<list list-type="bullet">
<list-item>
<p>Initial objects number <italic>O<sub>init</sub></italic>,</p></list-item>
<list-item>
<p>Detected objects number <italic>O<sub>det</sub></italic>, and</p></list-item>
<list-item>
<p>Reference objects number <italic>O<sub>ref</sub></italic>.</p></list-item></list></p>
<p>Initial objects <italic>O<sub>init</sub></italic> represents the starting number of objects in the reference sample text. It is calculated as the counted number of text objects in the starting sample text. After applying the algorithm to the sample text, the number of text objects is changed. Consequently, many text objects are mutually merged by the influence of the text segmentation algorithm. Currently, the number of text objects is given as the number of detected objects <italic>O<sub>det</sub></italic>. The task of the text segmentation algorithm is to segment text lines hitting or missing this number of lines. Hence, this number of real text lines should be represented as the target number in reference sample text. It is called reference number of objects <italic>O<sub>ref</sub></italic>. The algorithm efficiency is evaluated by comparing the reference and detected number of objects per each text line.</p></sec>
<sec>
<label>3.2.</label>
<title>Classification of the Text Line Segmentation Errors</title>
<p>Text pixels belonging to the initial objects <italic>O<sub>init</sub></italic> representing the same text line <italic>i</italic> form the reference object <italic>O<sub>ref</sub></italic> for the line <italic>i</italic>. If the detected object <italic>O<sub>det</sub></italic> for line <italic>i</italic> is integral and contains objects <italic>O<sub>init</sub></italic> from the reference object <italic>O<sub>ref</sub></italic> for the line <italic>i</italic> as subset, then the number of text objects in a distinct text line will be equal to one, which leads to a correctly segmented text line. The number of correctly detected text lines in the sample text is marked as <italic>O<sub>clindet</sub></italic>. However, all others are defined as error. These circumstances are illustrated in <xref ref-type="fig" rid="f6-sensors-11-08782">Figure 6</xref>.</p>
<p>Segmentation errors are present in the following circumstances:
<list list-type="bullet">
<list-item>
<p>Over-segmentation detected text lines <italic>O<sub>ovlindet</sub></italic> (split lines error <italic>i.e.</italic>, <italic>SLE</italic> [<xref ref-type="bibr" rid="b7-sensors-11-08782">7</xref>]),</p></list-item>
<list-item>
<p>Under-segmentation detected text lines <italic>O<sub>unlindet</sub></italic> (joined lines error, <italic>i.e.</italic>, <italic>JLE</italic> [<xref ref-type="bibr" rid="b7-sensors-11-08782">7</xref>]), and</p></list-item>
<list-item>
<p>Detected text lines with mutually inserted words from different text lines <italic>O<sub>mixlindet</sub></italic> (lines including outlier words, <italic>i.e.</italic>, <italic>LIOW</italic> [<xref ref-type="bibr" rid="b7-sensors-11-08782">7</xref>]).</p></list-item></list></p>
<p>Split lines errors represent the text lines which are wrongly divided by the algorithm into two or more components, <italic>i.e.</italic>, text objects. This circumstance is known as over-segmentation. The joined lines error corresponds to the situation where the sequence of <italic>n</italic> consecutive lines is considered by the algorithm as a unique line. In that case, and if no other error happens, it is considered that one line in the sequence is correct and the other <italic>n</italic>−1 lines of the group are erroneous [<xref ref-type="bibr" rid="b7-sensors-11-08782">7</xref>]. This phenomenon is called under-segmentation. Lines including outlier words correspond to lines containing words that are incorrectly assigned to two adjacent lines.</p></sec>
<sec>
<label>3.3.</label>
<title>Evaluation of the Algorithm’s Efficiency Based on Errors Type</title>
<p>The algorithm efficiency means the evaluation of the text line segmentation process made by investigated algorithm. If the number of detected objects is closer to the number of reference objects, then the algorithm is more efficient. To evaluate the algorithm’s efficiency the following elements are introduced:
<list list-type="bullet">
<list-item>
<p>Segmentation line hit rate, <italic>i.e.</italic>, <italic>SLHR</italic>,</p></list-item>
<list-item>
<p>Over-segmentation line hit rate, <italic>i.e.</italic>, <italic>OSLHR</italic>,</p></list-item>
<list-item>
<p>Under-segmentation line hit rate, <italic>i.e.</italic>, <italic>USLHR</italic>,</p></list-item>
<list-item>
<p>Mixed line hit rate, <italic>i.e.</italic>, <italic>MLHR</italic>, and</p></list-item>
<list-item>
<p>Segmentation root mean square error (<italic>RMSE</italic>), <italic>i.e.</italic>, <italic>RMSE<sub>seg</sub></italic>.</p></list-item></list></p>
<p><italic>SLHR</italic> represents the ratio of the number of correctly segmented text lines over the total number of text lines in the reference sample text. It is defined as:
<disp-formula id="FD1">
<label>(1)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi mathvariant="italic">SLHR</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mi mathvariant="italic">RE</mml:mi></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">ref</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">clindet</mml:mi></mml:mrow></mml:msub></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">ref</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow></mml:mrow></mml:math></disp-formula></p>
<p>Over-segmentation phenomena lead to an increased number of objects per text line. Hence, the boundary growing area created by algorithm hasn’t been successful in merging all objects of the text line into one. As previously stated, the number of the over-segmented lines is marked as <italic>O<sub>ovlindet</sub></italic>. <italic>OSHLR</italic> represents the ratio of the number of over-segmented text lines over the total number of text lines in the reference sample text. It is defined as:
<disp-formula id="FD2">
<label>(2)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi mathvariant="italic">OSLHR</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mi mathvariant="italic">RE</mml:mi></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">ref</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">ovlindet</mml:mi></mml:mrow></mml:msub></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">ref</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow></mml:mrow></mml:math></disp-formula></p>
<p>The under-segmentation process leads to a smaller number of objects than the number of text lines. Hence, two or more consecutive text lines are considered as a unique one. <italic>USHLR</italic> represents the ratio of the number of under-segmented text lines over the total number of text lines in the reference sample text. It is defined as:
<disp-formula id="FD3">
<label>(3)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi mathvariant="italic">USLHR</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mi mathvariant="italic">RE</mml:mi></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">ref</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">unlindet</mml:mi></mml:mrow></mml:msub></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">ref</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow></mml:mrow></mml:math></disp-formula></p>
<p>The process of mutually injected objects from different text lines leads to mixed text lines. <italic>MLHR</italic> represents the ratio of the number of mixed text lines over the total number of text lines in the reference sample text. It is defined as:
<disp-formula id="FD4">
<label>(4)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi mathvariant="italic">MLHR</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mi mathvariant="italic">RE</mml:mi></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>−</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">ref</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">mixlindet</mml:mi></mml:mrow></mml:msub></mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">ref</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow>
<mml:mo>|</mml:mo></mml:mrow></mml:mrow></mml:math></disp-formula></p>
<p>At the end, the number of detected and reference text objects (per each text line) is compared. Hence, the number of reference text objects per line is equal to 1. The variance evaluation is given by the <italic>RMSE</italic> [<xref ref-type="bibr" rid="b9-sensors-11-08782">9</xref>]:
<disp-formula id="FD5">
<label>(5)</label>
<mml:math display="block">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="italic">RMSE</mml:mi>
<mml:mi mathvariant="italic">seg</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>N</mml:mi></mml:mfrac>
<mml:munderover>
<mml:mo>∑</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn></mml:mrow>
<mml:mi>N</mml:mi></mml:munderover>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="italic">ref</mml:mi></mml:mrow></mml:msub>
<mml:mo>−</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="italic">est</mml:mi></mml:mrow></mml:msub></mml:mrow>
<mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow>
<mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mrow></mml:msqrt></mml:mrow></mml:math></disp-formula>where <italic>N</italic> is the total number of lines in the reference sample text, <italic>O<sub>i,ref</sub></italic> is the number of reference objects in the text line <italic>i</italic> (equal to one per each line), and <italic>O</italic><sub><italic>i,est</italic> is</sub> is the number of detected objects in the text line <italic>i</italic>.</p></sec>
<sec>
<label>3.4.</label>
<title>Evaluation of the Algorithm’s Efficiency based on Binary Classification</title>
<p>Binary classification is based on the signal detection theory (SDT) postulate [<xref ref-type="bibr" rid="b13-sensors-11-08782">13</xref>]. Its task is to classify the members of a given set of objects into two groups, based on whether they have some property or not. Suppose that we test the set of objects for the presence of a property. If some objects have a property and the test confirms it, then those objects are true positives (<italic>TP</italic>) [<xref ref-type="bibr" rid="b14-sensors-11-08782">14</xref>]. In an unlikely scenario, some objects do not have a property, but the test confirms it. They are false negatives (<italic>FN</italic>) [<xref ref-type="bibr" rid="b14-sensors-11-08782">14</xref>]. Some objects may have the property, but the test mistakenly does not confirm it. These are called false positives (<italic>FP</italic>) [<xref ref-type="bibr" rid="b14-sensors-11-08782">14</xref>]. Finally, some objects do not have a property, and the test confirms it. These are true negatives (<italic>TN</italic>) [<xref ref-type="bibr" rid="b14-sensors-11-08782">14</xref>]. In the context of classification tasks, the previous statements about the terms true positives, true negatives, false positives and false negatives are used to compare the given classification of an item. This is systemized in <xref ref-type="table" rid="t1-sensors-11-08782">Table 1</xref> in the so-called confusion matrix (CM) [<xref ref-type="bibr" rid="b14-sensors-11-08782">14</xref>].</p>
<p>From these elements the common evaluation measures can be extracted [<xref ref-type="bibr" rid="b14-sensors-11-08782">14</xref>]:
<list list-type="bullet">
<list-item>
<p><italic>precision,</italic></p></list-item>
<list-item>
<p><italic>recall</italic>, and</p></list-item>
<list-item>
<p><italic>f-measure</italic>.</p></list-item></list></p>
<p><italic>Precision</italic> is a measure of the ability of a system to present only relevant items. It is defined as [<xref ref-type="bibr" rid="b14-sensors-11-08782">14</xref>]:
<disp-formula id="FD6">
<label>(6)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi mathvariant="italic">precision</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="italic">TP</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">TP</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi mathvariant="italic">FP</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:math></disp-formula>and it measures the exactness of a classification. A higher <italic>precision</italic> means less false positives, while a lower <italic>precision</italic> means more false positives. This is often at odds with <italic>recall</italic>, as an easy way to improve <italic>precision</italic> is to decrease <italic>recall</italic>.</p>
<p><italic>Recall</italic> is a measure of the ability of a system to present all relevant items. It is defined as [<xref ref-type="bibr" rid="b14-sensors-11-08782">14</xref>]:
<disp-formula id="FD7">
<label>(7)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi mathvariant="italic">recall</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="italic">TP</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">TP</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi mathvariant="italic">FN</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:math></disp-formula></p>
<p><italic>Recall</italic> measures the completeness, or sensitivity, of a classifier. Higher <italic>recall</italic> means less false negatives, while lower <italic>recall</italic> means more false negatives. Improving <italic>recall</italic> can often decrease <italic>precision</italic> because it gets increasingly harder to be precise as the sample space increases.</p>
<p><italic>Precision</italic> and <italic>recall</italic> can be combined to produce a single metric known as <italic>f-measure</italic>, which is the weighted harmonic mean of <italic>precision</italic> and <italic>recall</italic>. It is defined as [<xref ref-type="bibr" rid="b14-sensors-11-08782">14</xref>]:
<disp-formula id="FD8">
<label>(8)</label>
<mml:math display="block">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo>−</mml:mo>
<mml:mi mathvariant="italic">measure</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>*</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="italic">precision</mml:mi>
<mml:mo>*</mml:mo>
<mml:mi mathvariant="italic">recall</mml:mi></mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">precision</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi mathvariant="italic">recall</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:math></disp-formula></p>
<p>These elements can be used as common evaluation measures. The following measures are correlated in the text line segmentation [<xref ref-type="bibr" rid="b15-sensors-11-08782">15</xref>,<xref ref-type="bibr" rid="b16-sensors-11-08782">16</xref>]:
<list list-type="bullet">
<list-item>
<p><italic>TP</italic> represents segmented text line hits <italic>i.e.</italic>, <italic>O<sub>clindet</sub></italic>,</p></list-item>
<list-item>
<p><italic>FP</italic> represents segmented text line misses <italic>i.e.</italic>, <italic>O<sub>ovlindet</sub></italic>, and</p></list-item>
<list-item>
<p><italic>FN</italic> represents the number of the false segmented text lines <italic>i.e.</italic>, <italic>O<sub>unlindet</sub></italic> + <italic>O<sub>mixlindet</sub></italic>.</p></list-item></list></p></sec></sec>
<sec>
<label>4.</label>
<title>Principle of the Testing Algorithm</title>
<p>The smearing method sample for text line segmentation is used. It represents the group of boundary growing algorithms. In smearing methods the consecutive black pixels along the horizontal direction are smeared [<xref ref-type="bibr" rid="b17-sensors-11-08782">17</xref>]. The seed points that fulfill predefined criteria activate the process. Consequently, the white space between black pixels is filled with black pixels. It is achieved only if their distance is within a predefined threshold. This way, enlarged areas of black pixels around text are formed. It is so-called boundary growing areas. These areas of the smeared image enclose separated text lines. Hence, obtained areas are mandatory for text line segmentation. In the following text, two testing algorithms will be introduced:
<list list-type="bullet">
<list-item>
<p>water flow algorithm, and</p></list-item>
<list-item>
<p>algorithm based on anisotropic Gaussian kernel.</p></list-item></list></p>
<sec>
<label>4.1.</label>
<title>Water Flow Algorithm</title>
<p>The water flow algorithm proposed in [<xref ref-type="bibr" rid="b18-sensors-11-08782">18</xref>] is also used. It will be just briefly explained. The algorithm assumes a hypothetical flow of water in a particular direction across an image frame in such a way that it faces obstruction from the characters of the text lines. As a result of water flow algorithm, unwetted image frames are extracted. These areas represent the triangle shadows that form the so-called unwetted regions. Seed points that activate the algorithm represent the isolated corner points of the text objects. Further, this hypothetical water flow is expected to fill up the gaps between consecutive text lines. Hence, unwetted areas are of major importance for text line segmentation. The circumstance where hypothetical water flows from left to right is shown in <xref ref-type="fig" rid="f7-sensors-11-08782">Figure 7</xref>.</p>
<p>Furthermore, the parameter water flow angle <italic>α</italic> is introduced. It widely affects the unwetted regions shape influencing the text line segmentation process. Hence, the selecting process of the water flow angle value is crucial to the quality of the text line segmentation. The complete process of the water flow algorithm applied on the text sample formed of the three letters I is shown in <xref ref-type="fig" rid="f8-sensors-11-08782">Figure 8</xref>.</p>
<p>Gray regions represent the unwetted areas incorporating initial text objects. The stripes of unwetted areas are labeled for the extraction of text lines. Once the labeling is completed, the image is divided into two different types of stripes. First one contains text lines, while the other one contains line spacing. It is shown in <xref ref-type="fig" rid="f9-sensors-11-08782">Figure 9</xref>.</p></sec>
<sec>
<label>4.2.</label>
<title>Algorithm Based on Anisotropic Gaussian Kernel</title>
<p>An algorithm based on the anisotropic Gaussian kernel is also used for testing. It will be explained briefly. Its main principle is expanding black pixel areas of text by scattering every black pixel in its neighborhood. This way, distinct areas that mutually separate text lines are established. Hence, the primary purpose is joining only text elements from the same text line into the same distinct continuous areas. The Gaussian probability function is taken as a template that gives the probability of the random function. Consequently, it represents the probability of the hypothetical expansion around every black pixel representing a text element. Furthermore, around every black pixel, new pixels are non-uniformly dispersed.</p>
<p>These new pixels have lower black intensity. Because the level of probability expansion relates to distance from black pixel, their intensity depends completely on the distance from the original black pixel. However, after applying the Gaussian anisotropic kernel, equal to 2<italic>K</italic> + 1 in the <italic>x</italic>-direction and 2<italic>L</italic> + 1 in the <italic>y</italic>-direction, text is scattered forming an enlarged area around it. Newly created pixels are grayscale. Hence, document text image is a grayscale. Now, inside the kernel a “probability” sub-area is formed using the radius 3<italic>σ<sub>x</sub></italic> and 3<italic>σ<sub>y</sub></italic> of ellipse in x and y direction. <italic>σ</italic> represents standard deviation defining curve spread parameter. Converting all these pixels into black pixels as well as inverting image, forms the new black pixel expanded areas [<xref ref-type="bibr" rid="b7-sensors-11-08782">7</xref>]. These areas are named boundary-growing areas. The algorithm’s application to the text sample is given in <xref ref-type="fig" rid="f10-sensors-11-08782">Figure 10</xref>.</p></sec></sec>
<sec>
<label>5.</label>
<title>Testing and Evaluation</title>
<sec>
<label>5.1.</label>
<title>Water Flow Algorithm</title>
<p>For the purpose of testing the algorithm, the parameter water flow angle <italic>α</italic> from the reduced set {10°, 12°, 14°} is used [<xref ref-type="bibr" rid="b19-sensors-11-08782">19</xref>,<xref ref-type="bibr" rid="b20-sensors-11-08782">20</xref>]. Text samples are converted to 300 dpi resolution. Testing of the algorithm is performed on the example of 96 lines of multi-line straight, waved, and fractured text as well as 220 lines of diverse handwritten text, consisting of a variety of different scripts (over 500 lines of text).</p>
<sec sec-type="results">
<label>5.1.1.</label>
<title>Test Results</title>
<p>The results after applying the algorithm to the four proposed reference text sample groups are presented in <xref ref-type="table" rid="t2-sensors-11-08782">Tables 2</xref>–<xref ref-type="table" rid="t5-sensors-11-08782">5</xref>.</p></sec>
<sec>
<label>5.1.2.</label>
<title>Evaluation Based on Error Type</title>
<p>The first evaluation process is based on the text line segmentation error type. The results (from <xref ref-type="table" rid="t2-sensors-11-08782">Tables 2</xref>–<xref ref-type="table" rid="t5-sensors-11-08782">5</xref>) are rearranged in the appropriate form validated by measures: <italic>SLHR</italic>, <italic>OSLHR</italic>, <italic>USLHR</italic>, <italic>MLHR</italic>, and <italic>RMSE</italic>. These results are given in <xref ref-type="table" rid="t6-sensors-11-08782">Tables 6</xref>–<xref ref-type="table" rid="t9-sensors-11-08782">9</xref>.</p>
<p>The results from the multi-line straight text segmentation test show that there is no mistakenly achieved errors classified as under-segmentation or mixed lines errors. Hence, the only relevant data is received by <italic>SLHR</italic> and <italic>OSLHR</italic>. The choice of water flow angle equal to 10° shows prominently better results. Furthermore, the small <italic>RMSE</italic> value confirms it.</p>
<p>In the multi-line waved text segmentation test the phenomena of under-segmentation appeared. It is raised by decreasing the water flow angle <italic>α</italic>. However, the segmentation line hit rate is improved by reducing <italic>α</italic>. The small value of <italic>RMSE</italic> confirms the advantage of choosing a water flow angle equal to 10°.</p>
<p>In the multi-line fractured text segmentation test decreasing the water flow angle <italic>α</italic> leads to mixed results. Although the segmentation results are slightly better, it shows an increased number of mistakenly recognized lines identified as under-segmented ones. Hence, there is no difference between choosing 10° or 12° for the water flow angle. The similar <italic>RMSE</italic> values reaffirm this.</p>
<p>In the multi-line handwritten text segmentation test use of small water flow angle below 12° noticeably improves the quality of the segmentation process. The <italic>RMSE</italic> value identified this as well.</p></sec>
<sec>
<label>5.1.3.</label>
<title>Evaluation Based on Binary Classification</title>
<p>The evaluation process is based on the binary classification. The results (from <xref ref-type="table" rid="t2-sensors-11-08782">Tables 2</xref>–<xref ref-type="table" rid="t5-sensors-11-08782">5</xref>) are rearranged in the appropriate form validated by the measures <italic>precision</italic>, <italic>recall</italic>, and <italic>f-measure</italic>. These results are given in <xref ref-type="table" rid="t10-sensors-11-08782">Tables 10</xref>–<xref ref-type="table" rid="t13-sensors-11-08782">13</xref>.</p>
<p>In the multi-line straight text segmentation test, due to the lack of under-segmentation, <italic>precision</italic> is the only relevant measurement element. Hence, the water flow angle election of 10° gives the best results. <italic>F-measure</italic> matched this confirmation.</p>
<p>In multi-line waved text segmentation test, decreasing the water flow angle leads to higher <italic>precision</italic>. However, the occurrence of under-segmentation leads to lower <italic>recall</italic> values. <italic>F-measure</italic> as a combination of <italic>precision</italic> and <italic>recall</italic> illustrates this. Hence, there is no significant advantage between the election of 10° or 12° for the water flow angle.</p>
<p>In the multi-line fractured text segmentation test the results described by <italic>precision</italic> and <italic>recall</italic> are similar for the water flow angle of 10° and 12°. The values of <italic>f-measure</italic> just confirm it.</p>
<p>In the multi-line handwritten text segmentation test the advantage of decreasing the water flow angle is important. Consequently, the <italic>precision</italic> is highly improved. Because under-segmentation elements are missing, the <italic>precision</italic> is the only relevant measure. <italic>F-measure</italic> just follows it.</p></sec></sec>
<sec>
<label>5.2.</label>
<title>Algorithm Based on Anisotropic Gaussian Kernel</title>
<p>For the purpose of testing the algorithm based on anisotropic Gaussian kernel, its parameters <italic>K</italic> and <italic>L</italic> are under consideration. The main purpose of testing is the optimization of these parameters. Because of the size of the letters, <italic>K</italic> is picked from the reduced set {5, 8, 10} [<xref ref-type="bibr" rid="b12-sensors-11-08782">12</xref>,<xref ref-type="bibr" rid="b21-sensors-11-08782">21</xref>]. Furthermore, corresponding the parameter <italic>λ</italic> is used instead of <italic>L</italic>. It is defined as <italic>λ</italic> = <italic>K</italic>/<italic>L</italic>. <italic>λ</italic> is selected from the reduced set {3, 4, 5} [<xref ref-type="bibr" rid="b21-sensors-11-08782">21</xref>,<xref ref-type="bibr" rid="b22-sensors-11-08782">22</xref>]. All text samples are converted to 300 dpi resolution. Testing of the algorithm is performed on the example of 96 lines of multi-line straight, waved, and fractured text as well as 220 lines of diverse handwritten text, which consist of different variety of scripts (over 500 lines of text).</p>
<sec sec-type="results">
<label>5.2.1.</label>
<title>Test Results</title>
<p>After applying algorithm to the four proposed reference text sample groups, the results obtained are presented in <xref ref-type="table" rid="t14-sensors-11-08782">Tables 14</xref>–<xref ref-type="table" rid="t17-sensors-11-08782">17</xref>.</p></sec>
<sec>
<label>5.2.2.</label>
<title>Evaluation Based on Error Type</title>
<p>For the evaluation based on the text line segmentation errors type, results (from <xref ref-type="table" rid="t14-sensors-11-08782">Tables 14</xref>–<xref ref-type="table" rid="t17-sensors-11-08782">17</xref>) are rearranged in the appropriate form validated by measures: <italic>SLHR</italic>, <italic>OSLHR</italic>, <italic>USLHR</italic>, <italic>MLHR</italic>, and <italic>RMSE</italic>. These results are given in <xref ref-type="table" rid="t18-sensors-11-08782">Tables 18</xref>–<xref ref-type="table" rid="t21-sensors-11-08782">21</xref>.</p>
<p>From the given results, the optimal parameter pairs (<italic>K</italic>, <italic>λ</italic>) are as follows: (5, 4), (5, 5), (8, 3), (8, 4), (8, 5), and (10, 3). Furthermore, the small <italic>RMSE</italic> value (below 0.60) confirms it. It should be noted that enlarging <italic>λ</italic> leads to the under-segmentation phenomena, <italic>i.e.</italic>, to <italic>USLHR</italic> &gt; 0.</p>
<p>From <xref ref-type="table" rid="t19-sensors-11-08782">Table 19</xref>, <italic>USLHR</italic> and <italic>MLHR</italic> are not expressed. Furthermore, bigger <italic>K</italic> and <italic>λ</italic> lead to better <italic>SLHR</italic>. Hence, the optimal (<italic>K</italic>, <italic>λ</italic>) parameter pairs are as follows: (8, 4), (8, 5), (10, 3), (10, 4), and (10, 5).</p>
<p>In the multi-line fractured text segmentation test, enlarging <italic>K</italic> and <italic>λ</italic> lead to better segmentation results. Although the segmentation results are better, it slightly increases the number of under-segmentation lines. The optimal (<italic>K</italic>, <italic>λ</italic>) parameter pairs are as follows: (8, 4), (8, 5), (10, 3), (10, 4), and (10, 5).</p>
<p>In the multi-line handwritten text segmentation test, use of higher <italic>K</italic> and <italic>λ</italic> improve segmentation results. As a consequence, under-segmentation is more expressed. The optimal (<italic>K</italic>, <italic>λ</italic>) parameter pairs are as follows: (8, 5), (10, 4), and (10, 5). The value of <italic>RMSE</italic> confirms this as well.</p></sec>
<sec>
<label>5.2.3.</label>
<title>Evaluation Based on Binary Classification</title>
<p>The evaluation process is based on the binary classification. The results (from <xref ref-type="table" rid="t14-sensors-11-08782">Tables 14</xref>–<xref ref-type="table" rid="t17-sensors-11-08782">17</xref>) are rearranged in the appropriate form validated by measures: <italic>precision</italic>, <italic>recall</italic>, and <italic>f-measure</italic>. These results are given in <xref ref-type="table" rid="t22-sensors-11-08782">Tables 22</xref>–<xref ref-type="table" rid="t25-sensors-11-08782">25</xref>.</p>
<p>In the multi-line straight text segmentation test, due to under-segmentation, <italic>recall</italic> is meaningful. Hence, enlarging <italic>K</italic> and <italic>λ</italic> which leads to the under-segmentation, and lower <italic>recall</italic> as well as <italic>f-measure</italic> follows.</p>
<p>In the multi-line waved text segmentation test, good values of <italic>precision</italic> and <italic>recall</italic> are connected with higher <italic>K</italic> and <italic>λ</italic> pairs.</p>
<p>Like to previous test, in the multi-line fractured text segmentation test enlarging the <italic>K</italic> and <italic>λ</italic> pair follows better <italic>precision</italic> and <italic>recall</italic> values.</p>
<p>In the multi-line handwritten text segmentation test the advantage of increasing <italic>K</italic> and <italic>λ</italic> pair is obvious. However, further enlargement of this pair will not afford any improvement of <italic>precision</italic> and <italic>recall</italic>.</p></sec></sec>
<sec sec-type="methods|discussion">
<label>5.3.</label>
<title>Comparative Analysis and Interpretation of the Evaluation Process</title>
<p>The evaluation based on error type contains five distinct measures: <italic>SLHR</italic>, <italic>OSLHR</italic>, <italic>USLHR</italic>, <italic>MLHR</italic>, and <italic>RMSE</italic>. Their interpretation is clear and unmistakable. The fifth measure is <italic>RMSE</italic>, which is clearly distinct in fine tuning segmentation results (See Example #1, and 2 in the <xref ref-type="app" rid="app1">Appendix</xref>). Obviously, the evaluation based on error type is more clear and remarkable. In contrast, the evaluation based on the binary classification has only three distinct measures: <italic>precision</italic>, <italic>recall</italic>, and <italic>f-measure</italic>. Consequently, the third one is the harmonic mean of the other two. Nevertheless, this evaluation process includes more statistical measures. In [<xref ref-type="bibr" rid="b10-sensors-11-08782">10</xref>] evaluation based on binary classification is improved by additional measurement extension. However, both methods have different capabilities and convenience, and they can be used mutually as well. Still, the method with five measures has certain advantages. Hence, it is chosen in the decision-making procedure.</p></sec>
<sec>
<label>5.4.</label>
<title>Decision-Making Procedure</title>
<p>From the obtained results, the decision-making procedure is performed. It results as the set of algorithm parameter values, which are the starting point for choosing the algorithm’s optimal parameters. Hence, each test, according to the obtained results, gives the optimal subset of parameter values. These values offer the best response of the algorithm to the specific text samples. Each test experiment is referring as <italic>i</italic>. Furthermore, it means that for the test framework <italic>i</italic> = 1, ..., <italic>N</italic>, where <italic>N</italic> represents the total number of tests. In our case <italic>N</italic> = 4. For each test <italic>i</italic>, the best parameters subset is given as <italic>P<sub>i</sub></italic>. Finally, the final set of parameters is given as <italic>P<sub>f</sub></italic>:
<disp-formula id="FD9">
<label>(9)</label>
<mml:math display="block">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi></mml:mrow>
<mml:mi>f</mml:mi></mml:msub>
<mml:mo>=</mml:mo>
<mml:mo>∩</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi></mml:mrow>
<mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></disp-formula></p>
<sec>
<label>5.4.1.</label>
<title>Water Flow Algorithm</title>
<p>For the water flow algorithm comparative results linked with the five measures for different tests are joined in the integral tables e.g., for <italic>SLHR</italic>, <italic>OSHLR</italic>, <italic>USLHR</italic>, <italic>MSLHR</italic> and <italic>RMSE</italic>. From <xref ref-type="table" rid="t6-sensors-11-08782">Tables 6</xref>–<xref ref-type="table" rid="t9-sensors-11-08782">9</xref> the following <xref ref-type="table" rid="t26-sensors-11-08782">Tables 26</xref>–<xref ref-type="table" rid="t29-sensors-11-08782">29</xref> are established.</p>
<p>Results from <xref ref-type="table" rid="t26-sensors-11-08782">Tables 26</xref>–<xref ref-type="table" rid="t29-sensors-11-08782">29</xref> are the key for the decision-making procedure. Consequently, they represent the real picture of the algorithm’s evaluation for text line segmentation. However, <xref ref-type="table" rid="t30-sensors-11-08782">Table 30</xref> is linked with the comparative results of <italic>SLHR</italic> in favor of the algorithm parameter <italic>α</italic>.</p>
<p>It is clear that from the test values of parameter <italic>α</italic>, the best response of the algorithm to the various types of text is obtained for the parameter <italic>α</italic> = 10° [<xref ref-type="bibr" rid="b20-sensors-11-08782">20</xref>]. In addition, the evaluation of <italic>RMSE</italic> confirms it as well. However, careful examination of the <italic>USLHR</italic> should be taken into consideration for further fine-tuning of the parameter <italic>α</italic>.</p></sec>
<sec>
<label>5.4.2.</label>
<title>Algorithm Based on the Anisotropic Gaussian Kernel</title>
<p>For the algorithm based on the anisotropic Gaussian kernel integral comparative results (see <xref ref-type="table" rid="t18-sensors-11-08782">Tables 18</xref>–<xref ref-type="table" rid="t21-sensors-11-08782">21</xref>) concerning <italic>SLHR</italic>, <italic>OSHLR</italic>, <italic>USLHR</italic>, <italic>MSLHR</italic> and <italic>RMSE</italic> are shown in <xref ref-type="table" rid="t31-sensors-11-08782">Tables 31</xref>–<xref ref-type="table" rid="t34-sensors-11-08782">34</xref>.</p>
<p>Results from <xref ref-type="table" rid="t31-sensors-11-08782">Tables 31</xref>–<xref ref-type="table" rid="t34-sensors-11-08782">34</xref> are the basis for the procedure of choosing the optimal algorithm parameters. Furthermore, <xref ref-type="table" rid="t35-sensors-11-08782">Table 35</xref> is linked with the comparative results of <italic>SLHR</italic> in favor of the algorithm parameters (<italic>K</italic> and <italic>λ</italic>).</p>
<p>Regarding the above results, it is clear that from the testing values of the parameter pair (<italic>K</italic> and <italic>λ</italic>), the best response of the algorithm to the various types of text is obtained for the pair (10, 4) [<xref ref-type="bibr" rid="b22-sensors-11-08782">22</xref>]. The <italic>RMSE</italic> evaluation confirms it.</p></sec></sec>
<sec>
<label>5.5.</label>
<title>Comparison between Algorithms</title>
<p>The final word in testing efficiency is represented by the comparison of the obtained results between the optimal parameter values of both algorithms. For the water flow algorithm (WF algorithm) the optimal parameter <italic>α</italic> is equal to 10° [<xref ref-type="bibr" rid="b20-sensors-11-08782">20</xref>]. Furthermore, for the algorithm based on anisotropic Gaussian kernel (AGK algorithm) the optimal parameter pair is given by the (10, 4). Comparative analysis based on error type classification is given in <xref ref-type="table" rid="t36-sensors-11-08782">Tables 36</xref>–<xref ref-type="table" rid="t39-sensors-11-08782">39</xref>.</p>
<p>From <xref ref-type="table" rid="t36-sensors-11-08782">Table 36</xref>, the WF algorithm affords more uniform <italic>SLHR</italic> results, irrespective of different text types. This is confirmed by better results in the multi-line handwritten text test by a margin of up to 10%.</p>
<p>From <xref ref-type="table" rid="t37-sensors-11-08782">Table 37</xref>, the AGK algorithm has no problem with over-segmentation phenomena. On the contrary, the WF algorithm has to be improved. However, these circumstances can be overcome by additional morphological post-processing. In addition, in a real situation such as with handwritten text both algorithms are equal.</p>
<p>From <xref ref-type="table" rid="t38-sensors-11-08782">Table 38</xref>, it is obvious that the AGK algorithm has clear problems with under-segmentation. This is a key which leads to better results of the WF algorithm in a complex and diverse test such as the handwritten text.</p>
<p>The <italic>RMSE</italic> measure of the WF and AGK algorithms just confirms the previous statements, <italic>i.e.</italic>, the slight advantage of the WF over the AGK algorithm. <xref ref-type="fig" rid="f11-sensors-11-08782">Figure 11</xref> shows the <italic>SLHR</italic> (%) comparison between the WF and AGK algorithms.</p>
<p>From <xref ref-type="fig" rid="f11-sensors-11-08782">Figure 11</xref>, the WF algorithm can process the various type of text by the <italic>SLHR</italic> margin of over 65%, while the AGK algorithm cannot. Hence, the WF algorithm has a clear advantage over the AGK algorithm. Similar evaluations can be used for the comparison of algorithms by the methodology based on binary classification. However, it has only three measures and some circumstances are not clearly distinct [<xref ref-type="bibr" rid="b10-sensors-11-08782">10</xref>] (See <xref ref-type="app" rid="app1">Appendix</xref>). Furthermore, comparative analysis based on binary classification of errors is given in <xref ref-type="table" rid="t40-sensors-11-08782">Tables 40</xref>–<xref ref-type="table" rid="t42-sensors-11-08782">42</xref>.</p>
<p>From <xref ref-type="table" rid="t40-sensors-11-08782">Table 40</xref>, the AGK algorithm has a clear advantage over WF algorithm in three synthetic-like tests. However, all advantages vanish in a complex test like the multi-line handwritten text.</p>
<p>From <xref ref-type="table" rid="t41-sensors-11-08782">Table 41</xref>, WS algorithm has more uniform results. Furthermore, this means less under-segmentation elements. Particularly, this is true for multi-line handwritten text testing.</p>
<p><italic>F-measure</italic> is criteria that reflect all bad and good results of testing. Hence, the evaluation process of the algorithm should be very sensitive to this measure [<xref ref-type="bibr" rid="b10-sensors-11-08782">10</xref>]. From <xref ref-type="table" rid="t42-sensors-11-08782">Table 42</xref>, WF algorithm has been characterized by more uniform level of <italic>f-measure</italic> value. <xref ref-type="fig" rid="f12-sensors-11-08782">Figure 12</xref> shows <italic>f-measure</italic> comparison between WF and AGK algorithms.</p>
<p>From <xref ref-type="fig" rid="f12-sensors-11-08782">Figure 12</xref>, the WF algorithm can process the various type of text by the <italic>f-measure</italic> margin of around and over 80%, while the AGK algorithm can do so only up to 75%. Again, the WF algorithm has a clear advantage over the AGK algorithm. However, the interpretation process of the binary classification of errors is not so obvious as the error type classification.</p></sec></sec>
<sec sec-type="conclusions">
<label>6.</label>
<title>Conclusions</title>
<p>The paper proposes a comprehensive test framework for the evaluation of the algorithms’ effectiveness in the process of text line segmentation. Previously, all testing procedures were custom oriented based on document image databases representing templates. However, the proposed test framework presents a step towards testing generalization in the domain of document image processing algorithms. It consists of four various multi-line text experiments: straight, waved, fractured, and handwritten ones. Further, two suitable validation methods are provided. The first method is based on the text line segmentation error terms. It incorporates five distinct measures. They are inter-related as well. The other one, which is well known and more often used, is based on the binary classification linked with signal detection theory. It consists of three distinct and inter-related measures. Both methods have different capabilities and convenience, but can be used concurrently and supplemented as needed. However, due to the five measures that characterize the measurement process, the method of algorithm evaluation based on error type has certain advantages. In addition, this evaluation process is useful for algorithm assessment as well as for making any conclusions about it. In the end, the adaptability of the comprehensive test framework for different types of letters and languages represents its main advantage.</p></sec></body>
<back>
<ref-list>
<title>References</title>
<ref id="b1-sensors-11-08782"><label>1.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Likforman Sulem</surname><given-names>L</given-names></name><name><surname>Zahour</surname><given-names>A</given-names></name><name><surname>Taconet</surname><given-names>B</given-names></name></person-group><article-title>Text Line Segmentation of Historical Documents: A Survey</article-title><source>IJDAR</source><year>2007</year><volume>9</volume><fpage>123</fpage><lpage>138</lpage><pub-id pub-id-type="doi">10.1007/s10032-006-0023-z</pub-id></citation></ref>
<ref id="b2-sensors-11-08782"><label>2.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Kavallieratou</surname><given-names>E</given-names></name><name><surname>Stamatatos</surname><given-names>S</given-names></name></person-group><article-title>Discrimination of Machine-Printed from Handwritten Text Using Simple Structural Characteristics</article-title><conf-name>Proceedings of the 17th International Conference on Pattern Recognition (ICPR’04)</conf-name><conf-loc>Cambridge, UK</conf-loc><conf-date>23–26 August 2004</conf-date><fpage>437</fpage><lpage>440</lpage></citation></ref>
<ref id="b3-sensors-11-08782"><label>3.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Amin</surname><given-names>A</given-names></name><name><surname>Wu</surname><given-names>S</given-names></name></person-group><article-title>Robust Skew Detection in Mixed Text/Graphics Documents</article-title><conf-name>Proceedings of International Conference on Document Analysis and Recognition (ICDAR)</conf-name><conf-loc>Seoul, Korea</conf-loc><conf-date>29 August–1 September 2005</conf-date></citation></ref>
<ref id="b4-sensors-11-08782"><label>4.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Li</surname><given-names>Y</given-names></name><name><surname>Zheng</surname><given-names>Y</given-names></name><name><surname>Doermann</surname><given-names>D</given-names></name><name><surname>Jaeger</surname><given-names>S</given-names></name></person-group><source>Script-Independent Text Line Segmentation in Freestyle Handwritten Documents</source><comment>Technical Report: LAMP-TR-136/CS-TR-4836/UMIACSTR-2006-51/CFAR-TR-1017;</comment><publisher-name>University of Maryland</publisher-name><publisher-loc>College Park, MD, USA</publisher-loc><year>2006</year></citation></ref>
<ref id="b5-sensors-11-08782"><label>5.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Razak</surname><given-names>Z</given-names></name><name><surname>Zulkiflee</surname><given-names>K</given-names></name><name><surname>Idris</surname><given-names>MYI</given-names></name><name><surname>Tamil</surname><given-names>EM</given-names></name><name><surname>Noor</surname><given-names>MNM</given-names></name><name><surname>Salleh</surname><given-names>R</given-names></name><name><surname>Yaakob</surname><given-names>M</given-names></name><name><surname>Yusof</surname><given-names>ZM</given-names></name><name><surname>Yaacob</surname><given-names>M</given-names></name></person-group><article-title>Off-Line Handwriting Text Line Segmentation: A Review</article-title><source>IJCSNS</source><year>2008</year><volume>8</volume><fpage>12</fpage><lpage>20</lpage></citation></ref>
<ref id="b6-sensors-11-08782"><label>6.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Louloudis</surname><given-names>G</given-names></name><name><surname>Gatos</surname><given-names>B</given-names></name><name><surname>Pratikakis</surname><given-names>I</given-names></name><name><surname>Halatsis</surname><given-names>C</given-names></name></person-group><article-title>Text Line and Word Segmentation of Handwritten Documents</article-title><source>Patt. Recogn</source><year>2009</year><volume>42</volume><fpage>3169</fpage><lpage>3183</lpage><pub-id pub-id-type="doi">10.1016/j.patcog.2008.12.016</pub-id></citation></ref>
<ref id="b7-sensors-11-08782"><label>7.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname><given-names>Y</given-names></name><name><surname>Zheng</surname><given-names>Y</given-names></name><name><surname>Doermann</surname><given-names>D</given-names></name><name><surname>Jaeger</surname><given-names>S</given-names></name></person-group><article-title>Script-Independent Text Line Segmentation in Freestyle Handwritten Documents</article-title><source>IEEE Trans. Patt. Anal. Mach. Intell</source><year>2008</year><volume>30</volume><fpage>1313</fpage><lpage>1329</lpage><pub-id pub-id-type="doi">10.1109/TPAMI.2007.70792</pub-id></citation></ref>
<ref id="b8-sensors-11-08782"><label>8.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Sanchez</surname><given-names>A</given-names></name><name><surname>Suarez</surname><given-names>PD</given-names></name><name><surname>Mello</surname><given-names>CAB</given-names></name><name><surname>Oliveira</surname><given-names>ALI</given-names></name><name><surname>Alves</surname><given-names>VMO</given-names></name></person-group><article-title>Text Line Segmentation in Images of Handwritten Historical Documents</article-title><conf-name>Proceedings of the First Workshops on Image Processing Theory, Tools and Applications (IPTA)</conf-name><conf-loc>Sousse, Tunisia</conf-loc><conf-date>23–26 November 2008</conf-date><fpage>1</fpage><lpage>6</lpage></citation></ref>
<ref id="b9-sensors-11-08782"><label>9.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brodić</surname><given-names>D</given-names></name><name><surname>Milivojević</surname><given-names>DR</given-names></name><name><surname>Milivojević</surname><given-names>Z</given-names></name></person-group><article-title>Basic Test Framework for the Evaluation of Text Line Segmentation and Text Parameter Extraction</article-title><source>Sensors</source><year>2010</year><volume>10</volume><fpage>5263</fpage><lpage>5279</lpage><pub-id pub-id-type="doi">10.3390/s100505263</pub-id><pub-id pub-id-type="pmid">22399932</pub-id></citation></ref>
<ref id="b10-sensors-11-08782"><label>10.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brodić</surname><given-names>D</given-names></name></person-group><article-title>Methodology for the Evaluation of the Algorithms for Text Line Segmentation Based on Extended Binary Classification</article-title><source>Meas. Sci. Rev</source><year>2011</year><volume>11</volume><fpage>71</fpage><lpage>78</lpage><pub-id pub-id-type="doi">10.2478/v10048-011-0016-z</pub-id></citation></ref>
<ref id="b11-sensors-11-08782"><label>11.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Brodić</surname><given-names>D</given-names></name><name><surname>Milivojević</surname><given-names>DR</given-names></name></person-group><article-title>Methodology for the Evaluation of the Algorithms for Text Line Segmentation</article-title><conf-name>Proceeding of 10th International Scientific Conference (UNITECH)</conf-name><conf-loc>Gabrovo, Bulgaria</conf-loc><conf-date>19–20 November 2010</conf-date><fpage>424</fpage><lpage>428</lpage></citation></ref>
<ref id="b12-sensors-11-08782"><label>12.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brodić</surname><given-names>D</given-names></name></person-group><article-title>The Evaluation of the Initial Skew Rate for Printed Text</article-title><source>J. Elect. Eng. Elektrotech. časopis</source><year>2011</year><volume>62</volume><fpage>134</fpage><lpage>140</lpage></citation></ref>
<ref id="b13-sensors-11-08782"><label>13.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Mao</surname><given-names>M</given-names></name><name><surname>Peng</surname><given-names>Y</given-names></name><name><surname>Spring</surname><given-names>M</given-names></name></person-group><article-title>Ontology Mapping: As a Binary Classification Problem</article-title><conf-name>Proceedings of the 4th International Conference on Semantics, Knowledge and Grid</conf-name><conf-loc>Beijing, China</conf-loc><conf-date>3–5 December 2008</conf-date></citation></ref>
<ref id="b14-sensors-11-08782"><label>14.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Abdi</surname><given-names>H</given-names></name></person-group><article-title>Signal Detection Theory</article-title><source>Encyclopedia of Measurement and Statistics</source><person-group person-group-type="editor"><name><surname>Salkind</surname><given-names>NJ</given-names></name></person-group><publisher-name>Sage Publications, Inc</publisher-name><publisher-loc>Thousand Oaks, CA, USA</publisher-loc><year>2007</year><fpage>1</fpage><lpage>9</lpage></citation></ref>
<ref id="b15-sensors-11-08782"><label>15.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Qian</surname><given-names>X</given-names></name><name><surname>Liu</surname><given-names>G</given-names></name><name><surname>Wang</surname><given-names>H</given-names></name><name><surname>Su</surname><given-names>R</given-names></name></person-group><article-title>Text Detection, Localization, and Tracking in Compressed Video</article-title><source>Sign. Process. Image Commun</source><year>2007</year><volume>22</volume><fpage>752</fpage><lpage>768</lpage><pub-id pub-id-type="doi">10.1016/j.image.2007.06.005</pub-id></citation></ref>
<ref id="b16-sensors-11-08782"><label>16.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bukhari</surname><given-names>SS</given-names></name><name><surname>Shafait</surname><given-names>F</given-names></name><name><surname>Bruesl</surname><given-names>TM</given-names></name></person-group><article-title>Adaptive Binarization of Unconstrained Hand-Held Camera-Captured Document Images</article-title><source>J. Univ. Comput. Sci</source><year>2009</year><volume>15</volume><fpage>3343</fpage><lpage>3363</lpage></citation></ref>
<ref id="b17-sensors-11-08782"><label>17.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Shi</surname><given-names>Z</given-names></name><name><surname>Govindaraju</surname><given-names>V</given-names></name></person-group><article-title>Line Separation for Complex Document Images Using Fuzzy Runlength</article-title><conf-name>Proceedings of the International Workshop on Document Image Analysis for Libraries</conf-name><conf-loc>Palo Alto, CA, USA</conf-loc><conf-date>23–24 January 2004</conf-date></citation></ref>
<ref id="b18-sensors-11-08782"><label>18.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Basu</surname><given-names>S</given-names></name><name><surname>Chaudhuri</surname><given-names>C</given-names></name><name><surname>Kundu</surname><given-names>M</given-names></name><name><surname>Nasipuri</surname><given-names>M</given-names></name><name><surname>Basu</surname><given-names>DK</given-names></name></person-group><article-title>Text Line Extraction from Multi-Skewed Handwritten Documents</article-title><source>Patt. Recogn</source><year>2007</year><volume>40</volume><fpage>1825</fpage><lpage>1839</lpage><pub-id pub-id-type="doi">10.1016/j.patcog.2006.10.002</pub-id></citation></ref>
<ref id="b19-sensors-11-08782"><label>19.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brodić</surname><given-names>D</given-names></name><name><surname>Milivojević</surname><given-names>Z</given-names></name></person-group><article-title>New Approach to Water Flow Algorithm for Text Line Segmentation</article-title><source>J. Univ. Comput. Sci</source><year>2011</year><volume>17</volume><fpage>30</fpage><lpage>47</lpage></citation></ref>
<ref id="b20-sensors-11-08782"><label>20.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Brodić</surname><given-names>D</given-names></name></person-group><article-title>Advantages of the Extended Water Flow Algorithm for Handwritten Text Line Segmentation</article-title><source>Pattern Recognition and Machine Intelligence</source><person-group person-group-type="editor"><name><surname>Kuznetsov</surname><given-names>SO</given-names></name><name><surname>Mandal</surname><given-names>DP</given-names></name><name><surname>Kundu</surname><given-names>MK</given-names></name><name><surname>Pal</surname><given-names>SK</given-names></name></person-group><publisher-name>Springer</publisher-name><publisher-loc>Berlin, Germany</publisher-loc><year>2011</year></citation></ref>
<ref id="b21-sensors-11-08782"><label>21.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brodić</surname><given-names>D</given-names></name><name><surname>Milivojević</surname><given-names>Z</given-names></name></person-group><article-title>Optimization of the Gaussian Kernel Extended by Binary Morphology for Text Line Segmentation</article-title><source>Radioengineering</source><year>2010</year><volume>19</volume><fpage>718</fpage><lpage>724</lpage></citation></ref>
<ref id="b22-sensors-11-08782"><label>22.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Brodić</surname><given-names>D</given-names></name></person-group><article-title>Optimization of the Anisotropic Gaussian Kernel for Text Segmentation and Parameter Extraction</article-title><source>Theoretical Computer Science</source><person-group person-group-type="editor"><name><surname>Callude</surname><given-names>CS</given-names></name><name><surname>Sassone</surname><given-names>V</given-names></name></person-group><publisher-name>Springer-Verlag</publisher-name><publisher-loc>Berlin, Germany</publisher-loc><year>2011</year></citation></ref></ref-list>
<app-group>
<app id="app1">
<title>Appendix</title>
<p>To understand clearly the purpose of the <italic>RMSE</italic> measurement two different segmentation results are evaluated by it.</p>
<sec>
<label>1.</label>
<title>Example #1</title>
<p>After the process of text line segmentation by the algorithms #1 and #2, obtained results are shown in <xref ref-type="fig" rid="f13-sensors-11-08782">Figure A1</xref>.</p>
<fig id="f13-sensors-11-08782" position="anchor">
<label>Figure A1.</label>
<caption>
<p>Text line segmentation: <bold>(a)</bold> Original text. <bold>(b)</bold> Original text with reference objects. <bold>(c)</bold> Text after segmentation made by the algorithm #1. <bold>(d)</bold> Text after segmentation made by the algorithm #2.</p></caption>
<graphic xlink:href="sensors-11-08782f13.gif"/></fig>
<p>From <xref ref-type="fig" rid="f13-sensors-11-08782">Figure A1(c)</xref>, the results are as follows:
<list list-type="bullet">
<list-item>
<p><bold><italic>O<sub>clindet</sub></italic></bold> = 1,</p></list-item>
<list-item>
<p><bold><italic>O<sub>ovlindet</sub></italic></bold> = 2, and</p></list-item>
<list-item>
<p><bold><italic>O<sub>unlindet</sub></italic></bold> = <bold><italic>O<sub>mixlindet</sub></italic></bold> = 0.</p></list-item></list></p>
<p>Consequently, the number of objects per over-segmented line is:
<list list-type="bullet">
<list-item>
<p>Line #1 = 4,</p></list-item>
<list-item>
<p>Line #2 = 3, and</p></list-item>
<list-item>
<p>Line #3 = 1.</p></list-item></list></p>
<p>From <xref ref-type="fig" rid="f13-sensors-11-08782">Figure A1(d)</xref>, the results are as follows:
<list list-type="bullet">
<list-item>
<p><bold><italic>O<sub>clindet</sub></italic></bold> = 1,</p></list-item>
<list-item>
<p><bold><italic>O<sub>ovlindet</sub></italic></bold> = 2, and</p></list-item>
<list-item>
<p><bold><italic>O<sub>unlindet</sub></italic></bold> = <bold><italic>O<sub>mixlindet</sub></italic></bold> = 0.</p></list-item></list></p>
<p>Furthermore, the number of objects per over-segmented lines is:
<list list-type="bullet">
<list-item>
<p>Line #1 = 2,</p></list-item>
<list-item>
<p>Line #2 = 2, and</p></list-item>
<list-item>
<p>Line #3 = 1.</p></list-item></list></p></sec>
<sec>
<label>2.</label>
<title>Evaluation of the Algorithm’s Efficiency Based on Error Type (Example #1)</title>
<p>All test results from algorithm #1 and #2 are reorganized according to segmentation error type. The results are presented in <xref ref-type="table" rid="t43-sensors-11-08782">Table A1</xref>.</p>
<table-wrap id="t43-sensors-11-08782" position="anchor">
<label>Table A1.</label>
<caption>
<p>Text line segmentation test results (Example #1).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>Algorithm</italic></bold></th>
<th align="center" valign="bottom"><bold><italic>Algorithm #1</italic></bold></th>
<th align="center" valign="bottom"><bold><italic>Algorithm #2</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic> (%)</bold></td>
<td align="center" valign="bottom">33.33</td>
<td align="center" valign="bottom">33.33</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic> (%)</bold></td>
<td align="center" valign="bottom">66.66</td>
<td align="center" valign="bottom">66.66</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic> (%)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic> (%)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">1.20</td>
<td align="center" valign="bottom">0.47</td></tr></tbody></table></table-wrap></sec>
<sec>
<label>3.</label>
<title>Evaluation Based on Binary Classification (Example #1)</title>
<p>All test results from algorithm #1 and #2 are reorganized according to segmentation binary classification. The results are presented in <xref ref-type="table" rid="t44-sensors-11-08782">Table A2</xref>.</p>
<table-wrap id="t44-sensors-11-08782" position="anchor">
<label>Table A2.</label>
<caption>
<p>Text line segmentation test results (Example #1).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>Algorithm</italic></bold></th>
<th align="center" valign="bottom"><bold><italic>Algorithm #1</italic></bold></th>
<th align="center" valign="bottom"><bold><italic>Algorithm #2</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>Precision</italic> (%)</bold></td>
<td align="center" valign="bottom">33.33</td>
<td align="center" valign="bottom">33.33</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>Recall</italic> (%)</bold></td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>F-measure</italic> (%)</bold></td>
<td align="center" valign="bottom">50.00</td>
<td align="center" valign="bottom">50.00</td></tr></tbody></table></table-wrap>
<p>According to <italic>RMSE</italic>, the algorithm #2 shows slightly better performances than algorithm #1 in the domain of text line segmentation.</p></sec>
<sec>
<label>4.</label>
<title>Example #2</title>
<p>After the process of text line segmentation by the algorithms #1 and #2, obtained results are shown in <xref ref-type="fig" rid="f14-sensors-11-08782">Figure A2</xref>.</p>
<p>From <xref ref-type="fig" rid="f14-sensors-11-08782">Figure A2(c)</xref>, the results are as follows:
<list list-type="bullet">
<list-item>
<p><bold><italic>O<sub>ovlindet</sub></italic></bold> = 0,</p></list-item>
<list-item>
<p><bold><italic>O<sub>mixlindet</sub></italic></bold> = 0,</p></list-item>
<list-item>
<p><bold><italic>n</italic></bold> (representing the sequence of consecutive lines) = 2 [<xref ref-type="bibr" rid="b11-sensors-11-08782">11</xref>]. Hence, it follows <bold><italic>O<sub>unlindet</sub></italic></bold> = 1, <italic>i.e.</italic>, (<italic>n</italic>−1) [<xref ref-type="bibr" rid="b11-sensors-11-08782">11</xref>], and</p></list-item>
<list-item>
<p><bold><italic>O<sub>clindet</sub></italic></bold> = 1 + 1 = 2 [<xref ref-type="bibr" rid="b11-sensors-11-08782">11</xref>].</p></list-item></list></p>
<p>From <xref ref-type="fig" rid="f14-sensors-11-08782">Figure A2(d)</xref>, the results are as follows:
<list list-type="bullet">
<list-item>
<p><bold><italic>O<sub>clindet</sub></italic></bold> = 1;</p></list-item>
<list-item>
<p><bold><italic>O<sub>ovlindet</sub></italic></bold> = 0,</p></list-item>
<list-item>
<p><bold><italic>O<sub>unlindet</sub></italic></bold> = 0, and</p></list-item>
<list-item>
<p><bold><italic>O<sub>mixlindet</sub></italic></bold> = 2.</p></list-item></list></p>
<fig id="f14-sensors-11-08782" position="anchor">
<label>Figure A2.</label>
<caption>
<p>Text line segmentation: <bold>(a)</bold> Original text. <bold>(b)</bold> Original text with reference objects. <bold>(c)</bold> Text after segmentation made by the algorithm #1. <bold>(d)</bold> Text after segmentation made by the algorithm #2.</p></caption>
<graphic xlink:href="sensors-11-08782f14.gif"/></fig></sec>
<sec>
<label>5.</label>
<title>Evaluation of the Algorithm’s Efficiency Based on Error Type (Example #2)</title>
<p>All test results from algorithm #1 and #2 are reorganized according to segmentation errors type. The results are presented in <xref ref-type="table" rid="t44-sensors-11-08782">Table A3</xref>.</p>
<table-wrap id="t45-sensors-11-08782" position="anchor">
<label>Table A3.</label>
<caption>
<p>Text line segmentation test results (Example #2).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>Algorithm</italic></bold></th>
<th align="center" valign="bottom"><bold><italic>Algorithm #1</italic></bold></th>
<th align="center" valign="bottom"><bold><italic>Algorithm #2</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic> (%)</bold></td>
<td align="center" valign="bottom">66.66</td>
<td align="center" valign="bottom">33.33</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic> (%)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic> (%)</bold></td>
<td align="center" valign="bottom">33.33</td>
<td align="center" valign="bottom">0.0</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic> (%)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">66.66</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">0.58</td>
<td align="center" valign="bottom">0.82</td></tr></tbody></table></table-wrap>
<p>Accordingly, <italic>MLHR</italic> represents the most penalized error due to the difficult process of identification and correction.</p></sec>
<sec>
<label>6.</label>
<title>Evaluation Based on Binary Classification (Example #2)</title>
<p>All test results from algorithm #1 and #2 are reorganized according to segmentation binary classification. The results are presented in <xref ref-type="table" rid="t46-sensors-11-08782">Table A4</xref>.</p>
<table-wrap id="t46-sensors-11-08782" position="anchor">
<label>Table A4.</label>
<caption>
<p>Text line segmentation test results (Example #2).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>Algorithm</italic></bold></th>
<th align="center" valign="bottom"><bold><italic>Algorithm #1</italic></bold></th>
<th align="center" valign="bottom"><bold><italic>Algorithm #2</italic></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>Precision</italic> (%)</bold></td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>Recall</italic> (%)</bold></td>
<td align="center" valign="bottom">66.66</td>
<td align="center" valign="bottom">33.33</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>F-measure</italic> (%)</bold></td>
<td align="center" valign="bottom">80.00</td>
<td align="center" valign="bottom">50.00</td></tr></tbody></table></table-wrap>
<p>From, <xref ref-type="table" rid="t46-sensors-11-08782">Table A4</xref> the evaluation based on binary classification penalizes all errors equivalently. However, evaluation of the algorithm’s efficiency based on error type makes a distinction among different error types (See <xref ref-type="table" rid="t46-sensors-11-08782">Table A3</xref>), which explains its clear advantage. According to <italic>RMSE</italic>, the algorithm #2 show slightly better performance than algorithm #1 in the domain of text line segmentation.</p></sec></app></app-group>
<sec sec-type="display-objects">
<title>Figures and Tables</title>
<fig id="f1-sensors-11-08782" position="float">
<label>Figure 1.</label>
<caption>
<p>Schematic procedure of the experiments framework.</p></caption>
<graphic xlink:href="sensors-11-08782f1.gif"/></fig>
<fig id="f2-sensors-11-08782" position="float">
<label>Figure 2.</label>
<caption>
<p>Multi-line straight text: <bold>(a)</bold> Reference line definition. <bold>(b)</bold> Text over reference line. <bold>(c)</bold> English text. <bold>(d)</bold> Bengali text.</p></caption>
<graphic xlink:href="sensors-11-08782f2.gif"/></fig>
<fig id="f3-sensors-11-08782" position="float">
<label>Figure 3.</label>
<caption>
<p>Multi-line waved text: <bold>(a)</bold> Reference line definition. <bold>(b)</bold> Text over reference line. <bold>(c)</bold> English text. <bold>(d)</bold> Bengali text.</p></caption>
<graphic xlink:href="sensors-11-08782f3.gif"/></fig>
<fig id="f4-sensors-11-08782" position="float">
<label>Figure 4.</label>
<caption>
<p>Multi-line fractured text: <bold>(a)</bold> Reference line definition. <bold>(b)</bold> Text over reference line. <bold>(c)</bold> English text. <bold>(d)</bold> Bengali text.</p></caption>
<graphic xlink:href="sensors-11-08782f4.gif"/></fig>
<fig id="f5-sensors-11-08782" position="float">
<label>Figure 5.</label>
<caption>
<p>Multi-line handwritten text fragments: <bold>(a)</bold> Serbian Latin text. <bold>(b)</bold> Serbian Cyrillic text. <bold>(c)</bold> Cyrillic text. <bold>(d)</bold> English text.</p></caption>
<graphic xlink:href="sensors-11-08782f5.gif"/></fig>
<fig id="f6-sensors-11-08782" position="float">
<label>Figure 6.</label>
<caption>
<p>Text line segmentation: <bold>(a)</bold> Original text. <bold>(b)</bold> Original text with reference objects. <bold>(c)</bold> Correctly segmented text lines. <bold>(d)</bold> Over-segmentation text lines. <bold>(e)</bold> Under-segmentation text lines. <bold>(f)</bold> Text lines with mutually inserted words from different text lines.</p></caption>
<graphic xlink:href="sensors-11-08782f6.gif"/></fig>
<fig id="f7-sensors-11-08782" position="float">
<label>Figure 7.</label>
<caption>
<p>Illustration of the water flow algorithm in direction from left to right (black regions represent text objects <italic>i.e.</italic>, three I letters).</p></caption>
<graphic xlink:href="sensors-11-08782f7.gif"/></fig>
<fig id="f8-sensors-11-08782" position="float">
<label>Figure 8.</label>
<caption>
<p>Text line segmentation water flow algorithm involving water flow angle <italic>α</italic>: <bold>(a)</bold> initial text containing three I letters. <bold>(b)</bold> unwetted areas made by water flow from left to right. <bold>(c)</bold> unwetted areas made by water flow from right to left. <bold>(d)</bold> united unwetted areas.</p></caption>
<graphic xlink:href="sensors-11-08782f8.gif"/></fig>
<fig id="f9-sensors-11-08782" position="float">
<label>Figure 9.</label>
<caption>
<p>Water flow algorithm applied to the text sample.</p></caption>
<graphic xlink:href="sensors-11-08782f9.gif"/></fig>
<fig id="f10-sensors-11-08782" position="float">
<label>Figure 10.</label>
<caption>
<p>Algorithm based on anisotropic Gaussian kernel applied to the text sample.</p></caption>
<graphic xlink:href="sensors-11-08782f10.gif"/></fig>
<fig id="f11-sensors-11-08782" position="float">
<label>Figure 11.</label>
<caption>
<p><italic>SLHR</italic> (%) comparison between testing algorithms.</p></caption>
<graphic xlink:href="sensors-11-08782f11.gif"/></fig>
<fig id="f12-sensors-11-08782" position="float">
<label>Figure 12.</label>
<caption>
<p><italic>F-measure</italic> comparison between testing algorithms.</p></caption>
<graphic xlink:href="sensors-11-08782f12.gif"/></fig>
<table-wrap id="t1-sensors-11-08782" position="float">
<label>Table 1.</label>
<caption>
<p>Confusion matrix.</p></caption>
<table frame="box" rules="all">
<tbody>
<tr>
<td align="center" valign="bottom">Reality on Signal</td>
<td align="center" valign="bottom">Yes</td>
<td align="center" valign="bottom">No</td></tr>
<tr>
<td align="center" valign="bottom">Present</td>
<td align="center" valign="bottom">Hit (<italic>H</italic> or <italic>TP</italic>)</td>
<td align="center" valign="bottom">Miss (<italic>M</italic> or <italic>FP</italic>)</td></tr>
<tr>
<td align="center" valign="bottom">Absent</td>
<td align="center" valign="bottom">False Alarm (<italic>FA</italic> or <italic>FN</italic>)</td>
<td align="center" valign="bottom">Correct Rejection (<italic>CR</italic> or <italic>TN</italic>)</td></tr></tbody></table></table-wrap>
<table-wrap id="t2-sensors-11-08782" position="float">
<label>Table 2.</label>
<caption>
<p>Multi-line straight text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>clindet</sub></italic></bold></td>
<td align="center" valign="bottom">84</td>
<td align="center" valign="bottom">68</td>
<td align="center" valign="bottom">60</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>ovlindet</sub></italic></bold></td>
<td align="center" valign="bottom">12</td>
<td align="center" valign="bottom">28</td>
<td align="center" valign="bottom">36</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>unlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>mixlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr></tbody></table></table-wrap>
<table-wrap id="t3-sensors-11-08782" position="float">
<label>Table 3.</label>
<caption>
<p>Multi-line waved text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>clindet</sub></italic></bold></td>
<td align="center" valign="bottom">70</td>
<td align="center" valign="bottom">62</td>
<td align="center" valign="bottom">46</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>ovlindet</sub></italic></bold></td>
<td align="center" valign="bottom">14</td>
<td align="center" valign="bottom">32</td>
<td align="center" valign="bottom">50</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>unlindet</sub></italic></bold></td>
<td align="center" valign="bottom">12</td>
<td align="center" valign="bottom">2</td>
<td align="center" valign="bottom">0</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>mixlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr></tbody></table></table-wrap>
<table-wrap id="t4-sensors-11-08782" position="float">
<label>Table 4.</label>
<caption>
<p>Multi-line fractured text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>clindet</sub></italic></bold></td>
<td align="center" valign="bottom">84</td>
<td align="center" valign="bottom">82</td>
<td align="center" valign="bottom">74</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>ovlindet</sub></italic></bold></td>
<td align="center" valign="bottom">2</td>
<td align="center" valign="bottom">6</td>
<td align="center" valign="bottom">20</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>unlindet</sub></italic></bold></td>
<td align="center" valign="bottom">10</td>
<td align="center" valign="bottom">8</td>
<td align="center" valign="bottom">2</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>mixlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr></tbody></table></table-wrap>
<table-wrap id="t5-sensors-11-08782" position="float">
<label>Table 5.</label>
<caption>
<p>Multi-line handwritten text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>clindet</sub></italic></bold></td>
<td align="center" valign="bottom">144</td>
<td align="center" valign="bottom">96</td>
<td align="center" valign="bottom">88</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>ovlindet</sub></italic></bold></td>
<td align="center" valign="bottom">76</td>
<td align="center" valign="bottom">124</td>
<td align="center" valign="bottom">132</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>unlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>mixlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr></tbody></table></table-wrap>
<table-wrap id="t6-sensors-11-08782" position="float">
<label>Table 6.</label>
<caption>
<p>Multi-line straight text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">87.50</td>
<td align="center" valign="bottom">70.83</td>
<td align="center" valign="bottom">62.50</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">12.50</td>
<td align="center" valign="bottom">29.17</td>
<td align="center" valign="bottom">37.50</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">0.50</td>
<td align="center" valign="bottom">0.65</td>
<td align="center" valign="bottom">0.79</td></tr></tbody></table></table-wrap>
<table-wrap id="t7-sensors-11-08782" position="float">
<label>Table 7.</label>
<caption>
<p>Multi-line waved text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">72.92</td>
<td align="center" valign="bottom">64.58</td>
<td align="center" valign="bottom">47.92</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">14.58</td>
<td align="center" valign="bottom">33.33</td>
<td align="center" valign="bottom">52.08</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">12.50</td>
<td align="center" valign="bottom">2.08</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">0.52</td>
<td align="center" valign="bottom">0.78</td>
<td align="center" valign="bottom">0.88</td></tr></tbody></table></table-wrap>
<table-wrap id="t8-sensors-11-08782" position="float">
<label>Table 8.</label>
<caption>
<p>Multi-line fractured text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">87.50</td>
<td align="center" valign="bottom">85.42</td>
<td align="center" valign="bottom">77.08</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">2.08</td>
<td align="center" valign="bottom">6.25</td>
<td align="center" valign="bottom">20.83</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">10.42</td>
<td align="center" valign="bottom">8.33</td>
<td align="center" valign="bottom">2.08</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">0.35</td>
<td align="center" valign="bottom">0.38</td>
<td align="center" valign="bottom">0.69</td></tr></tbody></table></table-wrap>
<table-wrap id="t9-sensors-11-08782" position="float">
<label>Table 9.</label>
<caption>
<p>Multi-line handwritten text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">65.45</td>
<td align="center" valign="bottom">43.64</td>
<td align="center" valign="bottom">40.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">34.55</td>
<td align="center" valign="bottom">56.36</td>
<td align="center" valign="bottom">60.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">0.078</td>
<td align="center" valign="bottom">0.141</td>
<td align="center" valign="bottom">0.167</td></tr></tbody></table></table-wrap>
<table-wrap id="t10-sensors-11-08782" position="float">
<label>Table 10.</label>
<caption>
<p>Multi-line straight text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>precision</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">87.50</td>
<td align="center" valign="bottom">70.83</td>
<td align="center" valign="bottom">62.50</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>recall</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>f-measure</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">93.33</td>
<td align="center" valign="bottom">82.93</td>
<td align="center" valign="bottom">76.92</td></tr></tbody></table></table-wrap>
<table-wrap id="t11-sensors-11-08782" position="float">
<label>Table 11.</label>
<caption>
<p>Multi-line waved text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>precision</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">72.92</td>
<td align="center" valign="bottom">65.96</td>
<td align="center" valign="bottom">47.92</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>recall</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">85.37</td>
<td align="center" valign="bottom">96.88</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>f-measure</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">84.34</td>
<td align="center" valign="bottom">78.48</td>
<td align="center" valign="bottom">64.79</td></tr></tbody></table></table-wrap>
<table-wrap id="t12-sensors-11-08782" position="float">
<label>Table 12.</label>
<caption>
<p>Multi-line fractured text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>precision</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">97.67</td>
<td align="center" valign="bottom">93.18</td>
<td align="center" valign="bottom">78.72</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>recall</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">89.36</td>
<td align="center" valign="bottom">91.11</td>
<td align="center" valign="bottom">97.37</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>f-measure</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">93.33</td>
<td align="center" valign="bottom">92.13</td>
<td align="center" valign="bottom">87.06</td></tr></tbody></table></table-wrap>
<table-wrap id="t13-sensors-11-08782" position="float">
<label>Table 13.</label>
<caption>
<p>Multi-line handwritten text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>α</italic></bold></th>
<th align="center" valign="bottom"><bold>10°</bold></th>
<th align="center" valign="bottom"><bold>12°</bold></th>
<th align="center" valign="bottom"><bold>14°</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>precision</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">65.45</td>
<td align="center" valign="bottom">43.64</td>
<td align="center" valign="bottom">40.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>recall</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>f-measure</italic> (<italic>%</italic>)</bold></td>
<td align="center" valign="bottom">79.12</td>
<td align="center" valign="bottom">60.76</td>
<td align="center" valign="bottom">57.14</td></tr></tbody></table></table-wrap>
<table-wrap id="t14-sensors-11-08782" position="float">
<label>Table 14.</label>
<caption>
<p>Multi-line straight text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>clindet</sub></italic></bold></td>
<td align="center" valign="bottom">78</td>
<td align="center" valign="bottom">88</td>
<td align="center" valign="bottom">92</td>
<td align="center" valign="bottom">92</td>
<td align="center" valign="bottom">82</td>
<td align="center" valign="bottom">70</td>
<td align="center" valign="bottom">78</td>
<td align="center" valign="bottom">62</td>
<td align="center" valign="bottom">56</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>ovlindet</sub></italic></bold></td>
<td align="center" valign="bottom">18</td>
<td align="center" valign="bottom">6</td>
<td align="center" valign="bottom">2</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>unlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">2</td>
<td align="center" valign="bottom">2</td>
<td align="center" valign="bottom">4</td>
<td align="center" valign="bottom">14</td>
<td align="center" valign="bottom">26</td>
<td align="center" valign="bottom">18</td>
<td align="center" valign="bottom">34</td>
<td align="center" valign="bottom">40</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>mixlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr></tbody></table></table-wrap>
<table-wrap id="t15-sensors-11-08782" position="float">
<label>Table 15.</label>
<caption>
<p>Multi-line waved text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>clindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">6</td>
<td align="center" valign="bottom">6</td>
<td align="center" valign="bottom">60</td>
<td align="center" valign="bottom">92</td>
<td align="center" valign="bottom">56</td>
<td align="center" valign="bottom">96</td>
<td align="center" valign="bottom">96</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>ovlindet</sub></italic></bold></td>
<td align="center" valign="bottom">96</td>
<td align="center" valign="bottom">96</td>
<td align="center" valign="bottom">90</td>
<td align="center" valign="bottom">90</td>
<td align="center" valign="bottom">36</td>
<td align="center" valign="bottom">4</td>
<td align="center" valign="bottom">40</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>unlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>mixlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr></tbody></table></table-wrap>
<table-wrap id="t16-sensors-11-08782" position="float">
<label>Table 16.</label>
<caption>
<p>Multi-line fractured text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>clindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">6</td>
<td align="center" valign="bottom">72</td>
<td align="center" valign="bottom">84</td>
<td align="center" valign="bottom">54</td>
<td align="center" valign="bottom">80</td>
<td align="center" valign="bottom">78</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>ovlindet</sub></italic></bold></td>
<td align="center" valign="bottom">94</td>
<td align="center" valign="bottom">92</td>
<td align="center" valign="bottom">92</td>
<td align="center" valign="bottom">86</td>
<td align="center" valign="bottom">16</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">32</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>unlindet</sub></italic></bold></td>
<td align="center" valign="bottom">2</td>
<td align="center" valign="bottom">4</td>
<td align="center" valign="bottom">4</td>
<td align="center" valign="bottom">4</td>
<td align="center" valign="bottom">8</td>
<td align="center" valign="bottom">12</td>
<td align="center" valign="bottom">10</td>
<td align="center" valign="bottom">16</td>
<td align="center" valign="bottom">18</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>mixlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr></tbody></table></table-wrap>
<table-wrap id="t17-sensors-11-08782" position="float">
<label>Table 17.</label>
<caption>
<p>Multi-line handwritten text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>clindet</sub></italic></bold></td>
<td align="center" valign="bottom">12</td>
<td align="center" valign="bottom">24</td>
<td align="center" valign="bottom">64</td>
<td align="center" valign="bottom">72</td>
<td align="center" valign="bottom">88</td>
<td align="center" valign="bottom">128</td>
<td align="center" valign="bottom">84</td>
<td align="center" valign="bottom">132</td>
<td align="center" valign="bottom">124</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>ovlindet</sub></italic></bold></td>
<td align="center" valign="bottom">208</td>
<td align="center" valign="bottom">196</td>
<td align="center" valign="bottom">156</td>
<td align="center" valign="bottom">148</td>
<td align="center" valign="bottom">132</td>
<td align="center" valign="bottom">86</td>
<td align="center" valign="bottom">136</td>
<td align="center" valign="bottom">76</td>
<td align="center" valign="bottom">72</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>unlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">6</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">12</td>
<td align="center" valign="bottom">24</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>O<sub>mixlindet</sub></italic></bold></td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td>
<td align="center" valign="bottom">0</td></tr></tbody></table></table-wrap>
<table-wrap id="t18-sensors-11-08782" position="float">
<label>Table 18.</label>
<caption>
<p>Multi-line straight text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">81.25</td>
<td align="center" valign="bottom">91.67</td>
<td align="center" valign="bottom">95.83</td>
<td align="center" valign="bottom">95.83</td>
<td align="center" valign="bottom">85.42</td>
<td align="center" valign="bottom">72.92</td>
<td align="center" valign="bottom">81.25</td>
<td align="center" valign="bottom">64.58</td>
<td align="center" valign="bottom">58.33</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">18.75</td>
<td align="center" valign="bottom">6.25</td>
<td align="center" valign="bottom">2.08</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">2.08</td>
<td align="center" valign="bottom">2.08</td>
<td align="center" valign="bottom">4.17</td>
<td align="center" valign="bottom">14.58</td>
<td align="center" valign="bottom">27.08</td>
<td align="center" valign="bottom">18.75</td>
<td align="center" valign="bottom">35.42</td>
<td align="center" valign="bottom">41.67</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">0.61</td>
<td align="center" valign="bottom">0.29</td>
<td align="center" valign="bottom">0.20</td>
<td align="center" valign="bottom">0.20</td>
<td align="center" valign="bottom">0.38</td>
<td align="center" valign="bottom">0.52</td>
<td align="center" valign="bottom">0.43</td>
<td align="center" valign="bottom">0.60</td>
<td align="center" valign="bottom">0.65</td></tr></tbody></table></table-wrap>
<table-wrap id="t19-sensors-11-08782" position="float">
<label>Table 19.</label>
<caption>
<p>Multi-line waved text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">6.25</td>
<td align="center" valign="bottom">6.25</td>
<td align="center" valign="bottom">62.50</td>
<td align="center" valign="bottom">95.83</td>
<td align="center" valign="bottom">58.33</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">93.75</td>
<td align="center" valign="bottom">93.75</td>
<td align="center" valign="bottom">37.50</td>
<td align="center" valign="bottom">4.17</td>
<td align="center" valign="bottom">41.67</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">3.49</td>
<td align="center" valign="bottom">3.11</td>
<td align="center" valign="bottom">2.46</td>
<td align="center" valign="bottom">2.61</td>
<td align="center" valign="bottom">0.66</td>
<td align="center" valign="bottom">0.20</td>
<td align="center" valign="bottom">0.85</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr></tbody></table></table-wrap>
<table-wrap id="t20-sensors-11-08782" position="float">
<label>Table 20.</label>
<caption>
<p>Multi-line fractured text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">6.25</td>
<td align="center" valign="bottom">75.00</td>
<td align="center" valign="bottom">87.50</td>
<td align="center" valign="bottom">56.25</td>
<td align="center" valign="bottom">83.33</td>
<td align="center" valign="bottom">81.25</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">97.92</td>
<td align="center" valign="bottom">95.83</td>
<td align="center" valign="bottom">95.83</td>
<td align="center" valign="bottom">89.58</td>
<td align="center" valign="bottom">16.67</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">33.33</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">2.08</td>
<td align="center" valign="bottom">4.17</td>
<td align="center" valign="bottom">4.17</td>
<td align="center" valign="bottom">4.17</td>
<td align="center" valign="bottom">8.33</td>
<td align="center" valign="bottom">12.50</td>
<td align="center" valign="bottom">10.42</td>
<td align="center" valign="bottom">16.67</td>
<td align="center" valign="bottom">18.75</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">4.07</td>
<td align="center" valign="bottom">4.01</td>
<td align="center" valign="bottom">3.18</td>
<td align="center" valign="bottom">3.42</td>
<td align="center" valign="bottom">0.61</td>
<td align="center" valign="bottom">0.35</td>
<td align="center" valign="bottom">1.34</td>
<td align="center" valign="bottom">0.41</td>
<td align="center" valign="bottom">0.43</td></tr></tbody></table></table-wrap>
<table-wrap id="t21-sensors-11-08782" position="float">
<label>Table 21.</label>
<caption>
<p>Multi-line handwritten text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>SLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">5.45</td>
<td align="center" valign="bottom">10.91</td>
<td align="center" valign="bottom">29.09</td>
<td align="center" valign="bottom">32.73</td>
<td align="center" valign="bottom">40.00</td>
<td align="center" valign="bottom">58.18</td>
<td align="center" valign="bottom">38.18</td>
<td align="center" valign="bottom">60.00</td>
<td align="center" valign="bottom">56.36</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>OSLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">94.55</td>
<td align="center" valign="bottom">89.09</td>
<td align="center" valign="bottom">70.91</td>
<td align="center" valign="bottom">67.27</td>
<td align="center" valign="bottom">60.00</td>
<td align="center" valign="bottom">39.09</td>
<td align="center" valign="bottom">61.82</td>
<td align="center" valign="bottom">34.55</td>
<td align="center" valign="bottom">32.73</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>USLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">2.73</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">5.45</td>
<td align="center" valign="bottom">10.91</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>MLHR</italic></bold> (%)</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>RMSE</italic></bold></td>
<td align="center" valign="bottom">0.763</td>
<td align="center" valign="bottom">0.442</td>
<td align="center" valign="bottom">0.266</td>
<td align="center" valign="bottom">0.237</td>
<td align="center" valign="bottom">0.178</td>
<td align="center" valign="bottom">0.118</td>
<td align="center" valign="bottom">0.202</td>
<td align="center" valign="bottom">0.102</td>
<td align="center" valign="bottom">0.125</td></tr></tbody></table></table-wrap>
<table-wrap id="t22-sensors-11-08782" position="float">
<label>Table 22.</label>
<caption>
<p>Multi-line straight text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>precision</italic> (%)</bold></td>
<td align="center" valign="bottom">81.25</td>
<td align="center" valign="bottom">93.62</td>
<td align="center" valign="bottom">97.87</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>recall</italic> (%)</bold></td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">97.78</td>
<td align="center" valign="bottom">97.87</td>
<td align="center" valign="bottom">95.83</td>
<td align="center" valign="bottom">85.42</td>
<td align="center" valign="bottom">72.92</td>
<td align="center" valign="bottom">81.25</td>
<td align="center" valign="bottom">64.58</td>
<td align="center" valign="bottom">58.33</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>f-measure</italic> (%)</bold></td>
<td align="center" valign="bottom">89.66</td>
<td align="center" valign="bottom">95.65</td>
<td align="center" valign="bottom">97.87</td>
<td align="center" valign="bottom">97.87</td>
<td align="center" valign="bottom">92.13</td>
<td align="center" valign="bottom">84.34</td>
<td align="center" valign="bottom">89.66</td>
<td align="center" valign="bottom">78.48</td>
<td align="center" valign="bottom">73.68</td></tr></tbody></table></table-wrap>
<table-wrap id="t23-sensors-11-08782" position="float">
<label>Table 23.</label>
<caption>
<p>Multi-line waved text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>precision</italic> (%)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">6.25</td>
<td align="center" valign="bottom">6.25</td>
<td align="center" valign="bottom">62.50</td>
<td align="center" valign="bottom">95.83</td>
<td align="center" valign="bottom">58.33</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>recall</italic> (%)</bold></td>
<td align="center" valign="bottom">−</td>
<td align="center" valign="bottom">−</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>f-measure</italic> (%)</bold></td>
<td align="center" valign="bottom">−</td>
<td align="center" valign="bottom">−</td>
<td align="center" valign="bottom">11.76</td>
<td align="center" valign="bottom">11.76</td>
<td align="center" valign="bottom">76.92</td>
<td align="center" valign="bottom">97.87</td>
<td align="center" valign="bottom">73.68</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr></tbody></table></table-wrap>
<table-wrap id="t24-sensors-11-08782" position="float">
<label>Table 24.</label>
<caption>
<p>Multi-line fractured text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>precision</italic> (%)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">6.52</td>
<td align="center" valign="bottom">81.82</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">62.79</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>recall</italic> (%)</bold></td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">0.00</td>
<td align="center" valign="bottom">60.00</td>
<td align="center" valign="bottom">90.00</td>
<td align="center" valign="bottom">87.50</td>
<td align="center" valign="bottom">84.38</td>
<td align="center" valign="bottom">83.33</td>
<td align="center" valign="bottom">81.25</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>f-measure</italic> (%)</bold></td>
<td align="center" valign="bottom">−</td>
<td align="center" valign="bottom">−</td>
<td align="center" valign="bottom">−</td>
<td align="center" valign="bottom">11.76</td>
<td align="center" valign="bottom">85.71</td>
<td align="center" valign="bottom">93.33</td>
<td align="center" valign="bottom">72.00</td>
<td align="center" valign="bottom">90.91</td>
<td align="center" valign="bottom">89.66</td></tr></tbody></table></table-wrap>
<table-wrap id="t25-sensors-11-08782" position="float">
<label>Table 25.</label>
<caption>
<p>Multi-line handwritten text segmentation test results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="bottom"><bold><italic>K</italic></bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>8</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th>
<th align="center" valign="bottom"><bold>10</bold></th></tr>
<tr>
<th align="center" valign="bottom"><bold><italic>λ</italic></bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th>
<th align="center" valign="bottom"><bold>3</bold></th>
<th align="center" valign="bottom"><bold>4</bold></th>
<th align="center" valign="bottom"><bold>5</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="bottom"><bold><italic>precision</italic> (%)</bold></td>
<td align="center" valign="bottom">5.45</td>
<td align="center" valign="bottom">10.91</td>
<td align="center" valign="bottom">29.09</td>
<td align="center" valign="bottom">32.73</td>
<td align="center" valign="bottom">40.00</td>
<td align="center" valign="bottom">59.81</td>
<td align="center" valign="bottom">38.18</td>
<td align="center" valign="bottom">63.46</td>
<td align="center" valign="bottom">63.27</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>recall</italic> (%)</bold></td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">95.52</td>
<td align="center" valign="bottom">100.00</td>
<td align="center" valign="bottom">91.67</td>
<td align="center" valign="bottom">83.78</td></tr>
<tr>
<td align="center" valign="bottom"><bold><italic>f-measure</italic> (%)</bold></td>
<td align="center" valign="bottom">10.34</td>
<td align="center" valign="bottom">19.67</td>
<td align="center" valign="bottom">45.07</td>
<td align="center" valign="bottom">49.32</td>
<td align="center" valign="bottom">57.14</td>
<td align="center" valign="bottom">73.56</td>
<td align="center" valign="bottom">55.26</td>
<td align="center" valign="bottom">75.00</td>
<td align="center" valign="bottom">72.09</td></tr></tbody></table></table-wrap>
<table-wrap id="t26-sensors-11-08782" position="float">
<label>Table 26.</label>
<caption>
<p>Comparative results for <italic>SLHR</italic> (%) measurement (<italic>α</italic> is the algorithm parameter).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>α</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>10°</bold></td>
<td align="center" valign="middle">87.50</td>
<td align="center" valign="middle">72.92</td>
<td align="center" valign="middle">87.50</td>
<td align="center" valign="middle">65.45</td></tr>
<tr>
<td align="center" valign="middle"><bold>12°</bold></td>
<td align="center" valign="middle">70.83</td>
<td align="center" valign="middle">64.58</td>
<td align="center" valign="middle">85.42</td>
<td align="center" valign="middle">43.64</td></tr>
<tr>
<td align="center" valign="middle"><bold>14°</bold></td>
<td align="center" valign="middle">62.50</td>
<td align="center" valign="middle">47.92</td>
<td align="center" valign="middle">77.08</td>
<td align="center" valign="middle">40.00</td></tr></tbody></table></table-wrap>
<table-wrap id="t27-sensors-11-08782" position="float">
<label>Table 27.</label>
<caption>
<p>Comparative results for <italic>OSLHR</italic> (%) measurement (<italic>α</italic> is the algorithm parameter).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>α</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>10°</bold></td>
<td align="center" valign="middle">12.50</td>
<td align="center" valign="middle">14.58</td>
<td align="center" valign="middle">2.08</td>
<td align="center" valign="middle">34.55</td></tr>
<tr>
<td align="center" valign="middle"><bold>12°</bold></td>
<td align="center" valign="middle">29.17</td>
<td align="center" valign="middle">33.33</td>
<td align="center" valign="middle">6.25</td>
<td align="center" valign="middle">56.36</td></tr>
<tr>
<td align="center" valign="middle"><bold>14°</bold></td>
<td align="center" valign="middle">37.50</td>
<td align="center" valign="middle">52.08</td>
<td align="center" valign="middle">20.83</td>
<td align="center" valign="middle">60.00</td></tr></tbody></table></table-wrap>
<table-wrap id="t28-sensors-11-08782" position="float">
<label>Table 28.</label>
<caption>
<p>Comparative results for <italic>USLHR</italic> (%) measurement (<italic>α</italic> is the algorithm parameter).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>α</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>10°</bold></td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">12.50</td>
<td align="center" valign="middle">10.42</td>
<td align="center" valign="middle">0.00</td></tr>
<tr>
<td align="center" valign="middle"><bold>12°</bold></td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">2.08</td>
<td align="center" valign="middle">8.33</td>
<td align="center" valign="middle">0.00</td></tr>
<tr>
<td align="center" valign="middle"><bold>14°</bold></td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">2.08</td>
<td align="center" valign="middle">0.00</td></tr></tbody></table></table-wrap>
<table-wrap id="t29-sensors-11-08782" position="float">
<label>Table 29.</label>
<caption>
<p>Comparative results for <italic>RMSE</italic> measurement (<italic>α</italic> is the algorithm parameter).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>α</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>10°</bold></td>
<td align="center" valign="middle">0.50</td>
<td align="center" valign="middle">0.52</td>
<td align="center" valign="middle">0.35</td>
<td align="center" valign="middle">0.08</td></tr>
<tr>
<td align="center" valign="middle"><bold>12°</bold></td>
<td align="center" valign="middle">0.65</td>
<td align="center" valign="middle">0.78</td>
<td align="center" valign="middle">0.38</td>
<td align="center" valign="middle">0.14</td></tr>
<tr>
<td align="center" valign="middle"><bold>14°</bold></td>
<td align="center" valign="middle">0.79</td>
<td align="center" valign="middle">0.88</td>
<td align="center" valign="middle">0.69</td>
<td align="center" valign="middle">0.17</td></tr></tbody></table></table-wrap>
<table-wrap id="t30-sensors-11-08782" position="float">
<label>Table 30.</label>
<caption>
<p>Comparative results for <italic>SLHR</italic> (%) in favor of <italic>α</italic>.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>SLHR(α)</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>&gt;50%</bold></td>
<td align="center" valign="middle">≤14°</td>
<td align="center" valign="middle">≤12°</td>
<td align="center" valign="middle">≤14°</td>
<td align="center" valign="middle">&lt;12°</td></tr>
<tr>
<td align="center" valign="middle"><bold>&gt;60%</bold></td>
<td align="center" valign="middle">≤14°</td>
<td align="center" valign="middle">≤12°</td>
<td align="center" valign="middle">≤14°</td>
<td align="center" valign="middle">&lt;12°</td></tr>
<tr>
<td align="center" valign="middle"><bold>&gt;70%</bold></td>
<td align="center" valign="middle">≤12°</td>
<td align="center" valign="middle">≤10°</td>
<td align="center" valign="middle">≤14°</td>
<td align="center" valign="middle">-</td></tr>
<tr>
<td align="center" valign="middle"><bold>&gt;80%</bold></td>
<td align="center" valign="middle">≤10°</td>
<td align="center" valign="middle">−</td>
<td align="center" valign="middle">≤12°</td>
<td align="center" valign="middle">-</td></tr>
<tr>
<td align="center" valign="middle"><bold>&gt;90%</bold></td>
<td align="center" valign="middle">−</td>
<td align="center" valign="middle">−</td>
<td align="center" valign="middle">−</td>
<td align="center" valign="middle">-</td></tr></tbody></table></table-wrap>
<table-wrap id="t31-sensors-11-08782" position="float">
<label>Table 31.</label>
<caption>
<p>Comparative results for <italic>SLHR</italic> (%) measurement (<italic>K</italic> and <italic>λ</italic> are the parameter pair).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>K, λ</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>8, 4</bold></td>
<td align="center" valign="middle">85.42</td>
<td align="center" valign="middle">62.50</td>
<td align="center" valign="middle">75.00</td>
<td align="center" valign="middle">40.00</td></tr>
<tr>
<td align="center" valign="middle"><bold>8, 5</bold></td>
<td align="center" valign="middle">72.92</td>
<td align="center" valign="middle">95.83</td>
<td align="center" valign="middle">87.50</td>
<td align="center" valign="middle">58.18</td></tr>
<tr>
<td align="center" valign="middle"><bold>10, 4</bold></td>
<td align="center" valign="middle">64.58</td>
<td align="center" valign="middle">100.00</td>
<td align="center" valign="middle">83.33</td>
<td align="center" valign="middle">60.00</td></tr>
<tr>
<td align="center" valign="middle"><bold>10, 5</bold></td>
<td align="center" valign="middle">58.33</td>
<td align="center" valign="middle">100.00</td>
<td align="center" valign="middle">81.25</td>
<td align="center" valign="middle">56.36</td></tr></tbody></table></table-wrap>
<table-wrap id="t32-sensors-11-08782" position="float">
<label>Table 32.</label>
<caption>
<p>Comparative results for <italic>OSLHR</italic> (%) measurement (<italic>K</italic> and <italic>λ</italic> are the parameter pair).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>K, λ</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>8, 4</bold></td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">37.50</td>
<td align="center" valign="middle">16.67</td>
<td align="center" valign="middle">60.00</td></tr>
<tr>
<td align="center" valign="middle"><bold>8, 5</bold></td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">4.17</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">39.09</td></tr>
<tr>
<td align="center" valign="middle"><bold>10, 4</bold></td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">34.55</td></tr>
<tr>
<td align="center" valign="middle"><bold>10, 5</bold></td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">32.73</td></tr></tbody></table></table-wrap>
<table-wrap id="t33-sensors-11-08782" position="float">
<label>Table 33.</label>
<caption>
<p>Comparative results for <italic>USLHR</italic> (%) measurement (<italic>K</italic> and <italic>λ</italic> are the parameter pair).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>K, λ</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>8, 4</bold></td>
<td align="center" valign="middle">14.58</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">8.33</td>
<td align="center" valign="middle">0.00</td></tr>
<tr>
<td align="center" valign="middle"><bold>8, 5</bold></td>
<td align="center" valign="middle">27.08</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">12.50</td>
<td align="center" valign="middle">2.73</td></tr>
<tr>
<td align="center" valign="middle"><bold>10, 4</bold></td>
<td align="center" valign="middle">35.42</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">16.67</td>
<td align="center" valign="middle">5.45</td></tr>
<tr>
<td align="center" valign="middle"><bold>10, 5</bold></td>
<td align="center" valign="middle">41.67</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">18.75</td>
<td align="center" valign="middle">10.91</td></tr></tbody></table></table-wrap>
<table-wrap id="t34-sensors-11-08782" position="float">
<label>Table 34.</label>
<caption>
<p>Comparative results for <italic>RMSE</italic> measurement (<italic>K</italic> and <italic>λ</italic> are the parameter pair).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>K, λ</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>8, 4</bold></td>
<td align="center" valign="middle">0.38</td>
<td align="center" valign="middle">0.66</td>
<td align="center" valign="middle">0.61</td>
<td align="center" valign="middle">0.178</td></tr>
<tr>
<td align="center" valign="middle"><bold>8, 5</bold></td>
<td align="center" valign="middle">0.52</td>
<td align="center" valign="middle">0.20</td>
<td align="center" valign="middle">0.35</td>
<td align="center" valign="middle">0.118</td></tr>
<tr>
<td align="center" valign="middle"><bold>10, 4</bold></td>
<td align="center" valign="middle">0.60</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.41</td>
<td align="center" valign="middle">0.102</td></tr>
<tr>
<td align="center" valign="middle"><bold>10, 5</bold></td>
<td align="center" valign="middle">0.65</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.43</td>
<td align="center" valign="middle">0.125</td></tr></tbody></table></table-wrap>
<table-wrap id="t35-sensors-11-08782" position="float">
<label>Table 35.</label>
<caption>
<p>Comparative results for <italic>SLHR</italic> (%) in favor of pair (<italic>K</italic>, <italic>λ</italic>).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold><italic>SLHR(K, λ)</italic></bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>&gt;50%</bold></td>
<td align="center" valign="middle">(8,4), (8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">(8,4), (8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">(8,4), (8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">(8,5), (10,4), (10,5)</td></tr>
<tr>
<td align="center" valign="middle"><bold>&gt;60%</bold></td>
<td align="center" valign="middle">(8,4), (8,5), (10,4)</td>
<td align="center" valign="middle">(8,4), (8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">(8,4), (8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">(10,4)</td></tr>
<tr>
<td align="center" valign="middle"><bold>&gt;70%</bold></td>
<td align="center" valign="middle">(8,4), (8,5)</td>
<td align="center" valign="middle">(8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">(8,4), (8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">−</td></tr>
<tr>
<td align="center" valign="middle"><bold>&gt;80%</bold></td>
<td align="center" valign="middle">(8,4)</td>
<td align="center" valign="middle">(8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">(8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">−</td></tr>
<tr>
<td align="center" valign="middle"><bold>&gt;90%</bold></td>
<td align="center" valign="middle">−</td>
<td align="center" valign="middle">(8,5), (10,4), (10,5)</td>
<td align="center" valign="middle">−</td>
<td align="center" valign="middle">−</td></tr></tbody></table></table-wrap>
<table-wrap id="t36-sensors-11-08782" position="float">
<label>Table 36.</label>
<caption>
<p>Comparative algorithms results for <italic>SLHR</italic> (%) measure.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold>Algorithm</bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>WF</bold></td>
<td align="center" valign="middle">87.50</td>
<td align="center" valign="middle">72.92</td>
<td align="center" valign="middle">87.50</td>
<td align="center" valign="middle">65.45</td></tr>
<tr>
<td align="center" valign="middle"><bold>AGK</bold></td>
<td align="center" valign="middle">64.58</td>
<td align="center" valign="middle">100.00</td>
<td align="center" valign="middle">83.33</td>
<td align="center" valign="middle">60.00</td></tr></tbody></table></table-wrap>
<table-wrap id="t37-sensors-11-08782" position="float">
<label>Table 37.</label>
<caption>
<p>Comparative algorithms results for <italic>OSLHR</italic> (%) measure.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold>Algorithm</bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>WF</bold></td>
<td align="center" valign="middle">12.50</td>
<td align="center" valign="middle">14.58</td>
<td align="center" valign="middle">2.08</td>
<td align="center" valign="middle">34.55</td></tr>
<tr>
<td align="center" valign="middle"><bold>AGK</bold></td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">34.55</td></tr></tbody></table></table-wrap>
<table-wrap id="t38-sensors-11-08782" position="float">
<label>Table 38.</label>
<caption>
<p>Comparative algorithms results for <italic>USLHR</italic> (%) measure.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold>Algorithm</bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>WF</bold></td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">12.50</td>
<td align="center" valign="middle">10.42</td>
<td align="center" valign="middle">0.00</td></tr>
<tr>
<td align="center" valign="middle"><bold>AGK</bold></td>
<td align="center" valign="middle">35.42</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">16.67</td>
<td align="center" valign="middle">5.45</td></tr></tbody></table></table-wrap>
<table-wrap id="t39-sensors-11-08782" position="float">
<label>Table 39.</label>
<caption>
<p>Comparative algorithms results for <italic>RMSE</italic> measure.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold>Algorithm</bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>WF</bold></td>
<td align="center" valign="middle">0.50</td>
<td align="center" valign="middle">0.52</td>
<td align="center" valign="middle">0.35</td>
<td align="center" valign="middle">0.08</td></tr>
<tr>
<td align="center" valign="middle"><bold>AGK</bold></td>
<td align="center" valign="middle">0.60</td>
<td align="center" valign="middle">0.00</td>
<td align="center" valign="middle">0.41</td>
<td align="center" valign="middle">0.102</td></tr></tbody></table></table-wrap>
<table-wrap id="t40-sensors-11-08782" position="float">
<label>Table 40.</label>
<caption>
<p>Comparative algorithms results for <italic>precision</italic>.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold>Algorithm</bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>WF</bold></td>
<td align="center" valign="middle">87.50</td>
<td align="center" valign="middle">72.92</td>
<td align="center" valign="middle">92.67</td>
<td align="center" valign="middle">65.45</td></tr>
<tr>
<td align="center" valign="middle"><bold>AGK</bold></td>
<td align="center" valign="middle">100.00</td>
<td align="center" valign="middle">100.00</td>
<td align="center" valign="middle">100.00</td>
<td align="center" valign="middle">63.46</td></tr></tbody></table></table-wrap>
<table-wrap id="t41-sensors-11-08782" position="float">
<label>Table 41.</label>
<caption>
<p>Comparative algorithms results for <italic>recall</italic>.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold>Algorithm</bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>WF</bold></td>
<td align="center" valign="middle"><bold>100.00</bold></td>
<td align="center" valign="middle"><bold>85.37</bold></td>
<td align="center" valign="middle"><bold>89.36</bold></td>
<td align="center" valign="middle"><bold>100.00</bold></td></tr>
<tr>
<td align="center" valign="middle"><bold>AGK</bold></td>
<td align="center" valign="middle"><bold>64.58</bold></td>
<td align="center" valign="middle"><bold>100.00</bold></td>
<td align="center" valign="middle"><bold>83.33</bold></td>
<td align="center" valign="middle"><bold>91.67</bold></td></tr></tbody></table></table-wrap>
<table-wrap id="t42-sensors-11-08782" position="float">
<label>Table 42.</label>
<caption>
<p>Comparative algorithms results for <italic>f-measure</italic>.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th align="center" valign="middle"><bold>Algorithm</bold></th>
<th align="center" valign="middle"><bold>Multi-line straight text</bold></th>
<th align="center" valign="middle"><bold>Multi-line waved text</bold></th>
<th align="center" valign="middle"><bold>Multi-line fractured text</bold></th>
<th align="center" valign="middle"><bold>Multi-line handwritten text</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle"><bold>WF</bold></td>
<td align="center" valign="middle"><bold>93.33</bold></td>
<td align="center" valign="middle"><bold>84.34</bold></td>
<td align="center" valign="middle"><bold>93.33</bold></td>
<td align="center" valign="middle"><bold>79.12</bold></td></tr>
<tr>
<td align="center" valign="middle"><bold>AGK</bold></td>
<td align="center" valign="middle"><bold>78.48</bold></td>
<td align="center" valign="middle"><bold>100.00</bold></td>
<td align="center" valign="middle"><bold>90.91</bold></td>
<td align="center" valign="middle"><bold>75.00</bold></td></tr></tbody></table></table-wrap></sec></back></article>
