<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Manuscripts fidelity in the digital libraries era: the contrast enhancement evaluation conundrum</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Martina Franchi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tiziana Cattai</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefania Colonnese</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Azeddine Beghdadi</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CNR-Institute of Nanotechnology,c/o Physics Department, Sapienza University of Rome</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Basic and Applied Sciences for Engineering, Sapienza University of Rome</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Department of Information Engineering, Electronics and Telecommunications, Sapienza University of Rome</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Institut Galilée, Sorbonne Paris Nord</institution>
          ,
          <addr-line>Paris</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Digitization of ancient manuscripts spurs inter-disciplinary research but the quality may be limited due to manuscript preservation state or scan hardware limitations. Contrast Enhancement improves the subjective quality of images for end users. Estimating the performance of contrast enhancement is challenging since ancient manuscript are composite, i.e. they contain drawings and calligraphic elements, and the contrast enhancement metric should capture fidelity, color quality and recovery of faded text. After applying diferent global and local contrast enhancement techniques to a set of 15ℎ century manuscripts, where the text and pictorial representations were partially compromised due to conservation problems, we assessed the quality of the enhanced manuscripts by performance metrics, and compared them with human supervised ranking of the enhanced manuscript in terms of either color and text quality. By comparison of the metrics with the supervised ranking results, we identify the most accurate performance metric, namely the metric based on brightness preservation. Future work will address evaluation of the enhancement for artificial intelligence based segmentation, dating, visual search, text recognition purposes.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;contrast</kwd>
        <kwd>manuscript</kwd>
        <kwd>quality metric</kwd>
        <kwd>readability</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Digital acquisition of ancient manuscripts makes them available by virtual libraries around the world
and spurs inter-disciplinary research [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. Digitized manuscript subjective quality [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] may be limited
due to the manuscript state of preservation, to the limitations of the camera or scan used in the
acquisition procedure, or due to image compression. Therefore, enhancement is applied [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] to improve
the subjective quality of images for end users. Enhancing the digitized manuscript contrast, i.e. the
psycho-physical efect of the visual stimulus [
        <xref ref-type="bibr" rid="ref5 ref6 ref7 ref8">5, 6, 7, 8</xref>
        ], changes the image feature possibly afecting its
perceived quality [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>
        For natural or composite images, the perceived quality [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] of virtual images is predicted with image
quality assessment techniques, with diferent focuses such as automatic assessment [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], multi-camera
setup [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], perceptual features [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], image layout [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], multimodal data [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. For enhanced images,
suitable metrics shall be defined [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
      </p>
      <p>
        Focusing on Contrast Enhancement (CE) of ancient manuscripts, we aim to identify the most suited
state-of-the-art metric for CE Evaluation (CEE). Estimating the performance of nonlinear processing
techniques as contrast enhancement is an open research topic [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Besides, ancient manuscripts are
composite, i.e. they contain drawings and calligraphic elements. Therefore, the CEE metric should
capture CE performances in terms of color quality and recovery of the faded text. Our goal is therefore
twofold, since we assess both the visual quality of the enhanced manuscript and the readability of its
content.
      </p>
      <p>We analyze a set ancient manuscripts from 15ℎ century, that had conservation issues and in which
the text and pictorial representations were partly compromised. After applying diferent global and
local contrast enhancement techniques, we i) assess the quality of the enhanced manuscripts by CEE
metrics, and ii) perform two supervised rankings of the enhanced manuscript, addressing both the color
quality and text readability. Then, we compare the results of the CEE metrics with the supervised CE
ranking and identify the metric that more consistently matches the supervised CE ranking. In these
results we show that the highest ranked method is the one that mostly preserves brightness in the
enhancement [18]. For the sake of completeness, after assessing how contrast enhancement changes
the subjective quality of the text, we also provide an example to discuss how it afects the readability
by an OCR algorithm, since automatic text extraction would boost information mining in digitized
libraries ancient manuscript.</p>
      <p>We present in Fig. 1 the graphical abstract of our proposed approach.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>Manuscripts are susceptible to deterioration, particularly when not adequately preserved over time
and exposed to atmospheric or anthropic agents, which accelerate natural degradation. Several studies
focus on analyzing the materials used in manuscripts (such as ink, dyes, and medium), often employing
multi-analytical spectroscopic techniques [24], [25]. In the context of cataloging in virtual libraries,
digitization facilitates processes like blind source separation, self-organizing maps extraction, and linear
discriminant analysis, led to reveal hidden features in the manuscripts [25].</p>
      <p>
        In the field of virtual restoration, recent literature has introduced innovative methods [ 26], such as
color-based segmentation combined with Gaussian Mixture Models, aimed at enhancing readability.
Additionally, in digital text restoration, researchers[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] have presented methods to discern human
preferences for legible text using datasets containing texts from various manuscripts. Building upon
these approaches, our study initially focuses on restoring colors and text in digital RGB images of
manuscripts using contrast enhancement techniques in the spatial domain. Enhancement methods can
be applied also to UV images and infrared images [27], giving good results in specific cases to recover
faded text.
      </p>
      <p>In the current state of the art, contrast enhancement techniques on digital images vary based on
emphasized image features and the local or global approach used. There are also learning-based methods
that do not identify features to emphasize [28]. The evaluation of contrast enhancement by metrics
can employ subjective or objective approaches. There are also metrics based on machine learning
[29]. Objective approaches provide metrics that can be applied using algorithms and are diferent:
statistic-based, gradient-energy-based, and human vision system (HVS) inspired. In our work, we focus
on picking one metric for both statistic-based and HVS-inspired approaches.</p>
      <p>The contrast enhancement metrics can be categorized as Full-Reference Image Quality Assessment
(FR-IQA) or Reduced- and No-Reference Image Quality Assessment [30]. We use both approaches,
Full-Reference and No-Reference. Digitized manuscripts are a particular class of image that can present
text and composed figures, and their wide variability in manuscript layout and textual formats pose
challenges for deep learning networks. Additionally, texts in diferent languages and partially faded
portions in the dataset complicate the training process.</p>
      <p>Furthermore, reproducing data augmentation to simulate degradation and distortion in the image,
including layout and text, can also be challenging. The enhancement for the text present in the image
can also be assessed by OCR (optical character recognition) that uses deep learning. There are several
studies about the transcription of manuscripts in diferent languages [ 31]. In the contemporary research
landscape, ongoing discussions persist regarding the methodologies for contrast enhancement and
its subsequent evaluation. Our study represents an application tailored for a specific dataset within
a virtual library setting. This dataset poses unique challenges, rendering it particularly resistant to
analysis using machine learning methodologies. However, despite these challenges, the potential of
machine learning-based approaches can be probed in the performance of contrast enhancement and its
subsequent evaluation.
3. Assessing contrast enhancement of ancient manuscripts
The main goal of this paper is to compare diferent CEE metrics in terms of their ability to assess
the quality of enhanced ancient manuscripts regarding both color and readability, and to compare
these assessments with those conducted through subjective evaluation. In this section, we introduce
state-of-the-art CE methods to be applied to our dataset, the selected CEE metrics aimed at investigating
their performance on enhanced manuscript images, and the methodology employed for a subjective
contrast evaluation of these images.</p>
      <sec id="sec-2-1">
        <title>3.1. Contrast enhancement methods</title>
        <p>State-of-the-art CE methods either directly adopt a contrast definition or indirectly alter the contrast by
modifying a few image features. Besides, they leverage either global characteristics of the images (i.e.
average of maximum and minimum luminance values of all small fractions of the image) [32], or local
contrast measures, based on characteristics measured on neighboring pixels [33].</p>
        <p>Among several state-of-the-art algorithms, we selected nine CE methods, reported in Table 1 and
ifxed their parameters.</p>
      </sec>
      <sec id="sec-2-2">
        <title>3.2. Contrast enhancement evaluation metrics</title>
        <p>
          A variety of contrast enhancement metrics have been defined in the literature [
          <xref ref-type="bibr" rid="ref16 ref9">16, 9</xref>
          ]. We chose classical
Contrast Enhancement Evaluation (CEE) metrics to apply to diferent enhanced manuscript to identify
the metric that best captures the enhancement performance.
        </p>
        <p>We have selected four metrics for Contrast Enhancement Evaluation. These metrics focus on various
aspects of the image that may be afected after contrast enhancement (CE), with each being sensitive
to diferent artifacts introduced by CE. Based on this, CEE metrics can be divided into two groups:
Full Reference (FR) and No Reference (NR) measures. If the original image is taken into account and a
comparison between pre- and post-enhancement is made, we have full reference measures; if only the
post-enhanced image is evaluated, we have no reference measures.</p>
        <p>Furthermore, these metrics can be classified into diferent classes based on the approach used to
assess the image for CE evaluation, such as Statistics-based, Human Visual System (HVS)-inspired, and
Gradient/Energy-based. In our case, we selected the first two classes. For the Statistics-based approach,
we have chosen the Absolute Mean Brightness Error (AMBE), Discrete Entropy (DE), and Lightness
Order Error (LOE) metrics. For the Human Visual System (HVS)-inspired approach, we selected the
Measure of Enhancement by Entropy (EMEE) metric. Contrast assessment is usually performed on the
luminance component.</p>
        <p>Absolute Mean Brightness Error (AMBE) (FR) [18] measures the diference between the mean value
of the L* component of the enhanced image, i.e. the brightness degradation in the enhanced image.</p>
        <p>()
  = ⃒⃒ E { } − E{
(ℎ) ⃒
}⃒</p>
        <p>
          Lightness Order Error (LOE)(NR) [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] measures the changes of the lightness ˜ between the original
and enhanced manuscript, being the lightness defined as the pixel-wise maximum of the three color
image components, namely ˜ = max ( ,  ,  ).
        </p>
        <p>= E
{︁ ∑︁ (︀ ˜() &gt; ˜()︀)
⊕ (︀ ˜(ℎ)</p>
        <p>&gt; ˜(ℎ))︀ }︁</p>
        <p />
        <p>Discrete Entropy (DE) (NR) [34] measures of the grade of randomness of gray-level of the enhanced
image, assuming that CE leads to more visible details, implying the use of more gray levels.
 = −
∑︁ (
(ℎ) = ) log2((
(ℎ) = ))
,  , and  defined as follows:


 = 1 − 
;  = 1 −</p>
        <p>;</p>
        <p>=
;  =
 

(1)
(2)
(3)
(4)
(5)</p>
        <p>
          Measure of Enhancement by Entropy (EMEE) (NR) [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] measures the entropy of the enhanced image
L* component as an indicator of the spatial content information.
        </p>
        <p>= E
{︃ max 
︁(</p>
        <p>(ℎ))︁
︁(
min 
(ℎ))︁
+ 
· log
︃(</p>
        <p>︁(
max</p>
        <p>
          (ℎ))︁
︁(
min 
(ℎ))︁
+ 
)︃}︃
We compute the AMBE, LOE, DE, and EMEE metrics and we map them into quality scores  ,
being  ,  ,  ,  the maximum values assumed by the metrics on the 9
enhanced manuscripts. All the quality scores  , , , and  range in [
          <xref ref-type="bibr" rid="ref1">0, 1</xref>
          ], with
1 corresponding to the maximum quality.
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>3.3. Subjective evaluation of contrast enhancement</title>
        <p>
          The contrast enhancement evaluation is also assessed using subjective methods based on human
judgment of the perceived quality of an image. Subjective methods are more reliable for judging the
quality of an image, as the ultimate goal is for the image to be visually appreciated by humans. Vision
is a complex process, and CEE metrics may not accurately reflect human judgment if they are not based
on the human visual system (HVS). The correspondence observed between the subjective ranking and
the objective scores will provide insight into the degree of consistency between a given CEE metric
and human judgment regarding the quality of the images. The test procedures to be followed have
been based on the recommendations set out in the [35], [36]. In a subjective experiment, at least
15 diferent subjects assess the quality of images based on their perception. Subjective experiment
methods can be classified into two groups: rating-based and ranking-based methods [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. In rating-based
methods, each subject assigns a score to each stimulus on an interval scale or categorical scale. There
are several rating-based methods, which can be classified into three categories: Single-Stimulus (SS),
Double-Stimulus (DS), and Multi-Stimulus methods. We will not delve into the explanation of these
methods in this paper. The ranking-based methods can be divided into two groups: rank order-based
methods and Pairwise Comparison (PC)-based methods [36]. In rank order-based methods, the subjects
rank diferent stimuli displayed at once according to the perceived quality. In PC-based methods, the
subjects observe stimuli presented in pairs and choose which one they prefer or if they are alike. For this
study, we conducted a subjective assessment of contrast enhancement using a ranking-based method,
specifically the Pairwise Comparison (PC)-based method. We provided instructions to the observers
to evaluate the quality of the enhanced versions of 12 medieval manuscripts. For each manuscript,
they were asked to open the links containing images of the manuscript and indicate the best version
(rated from 0 to 9) for readability and the best version (also rated from 0 to 9) for pleasant chromatism.
We organized 6 groups, each consisting of 1 to 4 persons, and tasked them with identifying the best
out of 9 enhanced manuscripts in terms of readability and color quality for each of the 12 original
manuscripts. To simulate a realistic scenario, some groups visualized the enhanced manuscripts on a
personal computer, while others used a mobile device. Subsequently, we converted the ranking results
into a subjective score for each contrast enhancement method, defined as the count of how many times
the corresponding enhanced manuscript was selected as the best.
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>4. Experimental results</title>
      <p>Herein, we firstly analyze the CEE metrics and compare them with the supervised CE rankings collected
over the set of manuscripts. Then, we are able to identify the metric that more consistently matches
the supervised CE ranking. Finally, for the sake of completeness, we present a toy case showing the
contrast enhancement impact on automatic text recognition.
4.1. Contrast enhancement metric and manuscript subjective quality
We consider a set of 12 digitized manuscripts, illustrated in Fig.5, from diferent collections and available
through the virtual library [37]. The digitization hardware includes Hasselblad model H4D-50MS
(50 Megapixel, Multi-Shot) cameras and the Hasselblad medium format camera, Model H3DII-31 (31
Megapixel). The digitized manuscript are in the JPEG 2000 format, which is adopted for both the web
application viewer and the image server. We downloaded JPEG “small” size from a five-choice due to
computational time for images processing. These manuscripts present certain conservation issues,
such as the loss of color in the text, which makes them dificult to read. This problem also afects the
clarity of the pictures and the border decorations. As shown in the pipeline in Figure 1, we processed
manuscript images using 9 CE methods. Subsequently, the enhanced images underwent evaluation
using four Contrast Enhancement Evaluation metrics (CEE). The results of the CEE metrics were then
normalized using the equations (5) to facilitate comparison among them.</p>
      <p>Fig.4 shows the correlation of the CEE values assumed by the 4 metrics over the 9 CE methods for
the manuscript [19]. As a first result, we observe that the metrics are scarcely correlated, i.e. they do
not provide coherent results in scoring the CE methods.</p>
      <p>We then extend the analysis to the set of manuscript images in Fig.5. Fig.6 shows the polar plots
of the 4 normalized evaluation metrics versus the 9 enhancement methods. Specifically, Fig.6(a)-(d)
represents  ,  ,  , and  , respectively. We recognize that  presents a small
sensitivity to the CE diferences, whereas  have drastic oscillations. In order to identify the
metric best matching the subjective assessment, a supervised ranking of the enhanced manuscript has
been realized. The ranking has been obtained by human subjective visual analysis, as mentioned in the
section 3.3, We then converted their rankings into subjective scores based on the frequency of selection
for each enhanced manuscript image. In Fig.7 we compare the score computed by the supervised
subjective ranking results with the  ,  ,  , and  metrics. The bar plot in Fig.7(a)
summarizes the average score, computed over the 12 manuscripts, of the 4 CE quality metrics  ,
 ,  for the 9 considered enhanced methods; the standard deviation of the metrics is also
shown by a red vertical line. The bar plot in Fig.7(b) reports a subjective score for each CE method, both
in terms of readability and color quality. We recognize that the method of collecting subjective choices
results in a consistent calculation of the subjective score, as it is easier for the user to select the best
looking improved manuscript than to assign an individual score to each manuscript. Figure 7(b) shows
that the most efective method for subjective evaluation is method 3, which corresponds to the CLAHE
method. Referring to Fig. 6, which displays the results of the 4 CEE metrics, the colored arrows point to
enhanced method number 3. This method obtained the highest ratings in subjective evaluations for
readability (indicated by the purple arrow) and color quality (indicated by the green arrow) among the
processed images. It is observed that  aligns with the subjective evaluation, demonstrating
a good normalized score of 1 for the CLAHE metric. Additionally, the  method records a good
ranking, but it shows to be a metric less sensitive to various conditions and image artifacts.</p>
      <p>In conclusion, from these results it stems that in ancient manuscript contrast enhancement the
preservation of the brightness, as measured by the normalized CEE  , may be a relevant factor
afecting the manuscript quality ranking. This indicates that  correlates closely with subjective
ranking and demonstrates sensitivity to variations in image content. It’s clear that diferent image
content leads to diverse enhancement outcomes. Therefore, metrics that are sensitive to diferences
in layout and artifacts introduced are crucial for efectively assessing quality. It’s worth noting that
exploring a broader range of CEE metrics could be beneficial in future research. Additionally, the
presented methodology lays the groundwork for extending to various supervised ranking methods,
considering the suitability of enhanced manuscripts for AI processing tasks like image or text retrieval,
visual search, and dating.
4.2. Contrast enhancement metric and automatic text readability</p>
      <p>
        To estimate how much the applied contrast methods improve character visibility and, therefore,
readability, we consider Optical Character Recognition (OCR). Recently, OCR for digitizing handwritten
documents are improved and they are principally based on deep learning [31]. While many datasets in
diferent modern languages are built to train the OCR, OCR studies for Latin language are still limited.
Additionally, for proper recognition, OCR need to be trained to recognize characters under various
conditions such as background illumination, camera angle, distortion [49], and curved text [50],[51].
These aspects severely afect current OCR performances, preventing direct application of on-the-shelf
OCR algorithms to actual manuscripts. Therefore, we test the CE methods on the toy case or English
handwritten text, representing the most studied language. The original handwritten text is shown in
Fig. 8(a). We altered it to resemble the images of treated manuscripts by i)changing the color of both
background and text to brown tones, ii) introduced spatially varying blur across the entire image, and
iii) adding salt and pepper noise, The degraded image is shown in Fig. 8(b). We then selected an online
deep learning based OCR platform [52] specifically designed for handwritten text to assess the text
readability. Firstly, we applied the OCR to the original and degraded text images: the OCR was able to
extract 100% of the text from the clean image in Fig.8(a), whereas for the blur and noisy image in Fig.
8(b), the OCR only extracted the characters ‘er’. Then, we applied the contrast enhancement methods to
the blurred and noisy image in Fig. 8(b) obtaining nine enhanced images. Table 2 shows the transcript
obtained for each contrast method applied. The AS method, with the parameter set in the previous
study, does not produce any word transcriptions via OCR. We recognize that CLAHE[
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], LLF = 0.4,
 = 0.5[22], and LLF = 0.2,  = 0.3[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] are the most efective methods in improving readability.
The LLF ( = 0.2,  = 0.3) method led to the enhanced image shown in Fig. 8(c), whose transcript
ranked best with 28 words in common with the original text, corresponding to a similarity percentage
of 58.33% between the two texts. A few remarks are in order. The OCR results show that the best
contrast enhancement method for automatic character recognition (LLF) difer with respected to the
one obtained from subjective rankings and CE metrics (CLAHE). Besides, on one hand the performance
of the enhancement methods are highly dependent on the content of the image; on the other hand, the
automatic character recognition is heavily afected by the training stage. To sum up, the processing
of manuscript images pose unprecedented challenges to the development of CE algorithms and CEE
metrics; future work is needed to develop spatially adaptive CEE metrics, accounting for both the
readability of the text and visual quality of the figures.
      </p>
    </sec>
    <sec id="sec-4">
      <title>5. Conclusion and future work</title>
      <p>In this paper, we applied Contrast Enhancement (CE) techniques to ancient manuscript images sourced
from a digital library [37]. These images contained text and representations afected by faded colors in
certain areas. Among various traditional contrast enhancement methods, we selected nine that
efectively improved salient characteristics (such as brightness and sharpness), aiming to enhance both the
representation and text present in the manuscripts image. Our focus was to evaluate these enhancement
methods using objective evaluations by Contrast Enhancement Evaluation (CEE) metrics, selecting
among them both static-based and human visual system-inspired approach. In selecting the CE methods,
our priority was to eficiently enhance the images, opting for methods that ensure both time eficiency
and the preservation of color and structural information. Additionally, we complemented the objective
evaluations with subjective rankings and automatic text recognition performance assessment. Our
results revealed that diferent CEE metrics yielded varying outcomes depending on the image content,
with limited correlation observed between. Moreover, the choice of contrast enhancement method
significantly influenced CEE results, indicating sensitivity to applied CE techniques and associated
artifacts produced. Importantly, we found a positive correlation between subjective preferences and
CEE metrics, with the CLAHE method consistently ranked highly. In summary, Supervised subjective
rankings, based on readability and color quality, aligned with CEE metric outcomes, afirming the
efectiveness of the CLAHE method. Our findings represent a first step towards enhanced manuscript quality
assessment. Future work is necessary to evaluate the improvement from the perspective of AI analysis
of ancient manuscripts. The challenge for achieving this lies in the variability of the layout and font
within manuscript images, which makes training for deep learning dificult. These advancements will
contribute to a deeper understanding of the potential applications of contrast enhancement techniques
in digitized manuscript analysis and for digital preservation purposes.</p>
    </sec>
    <sec id="sec-5">
      <title>6. Acknowledgements</title>
      <p>We thank Dr. Alessia Cedola and Dr. Inna Bukreeva from the Institute of Nanotechnology (CNR) for
their support and technical feedback on this research.
[18] S.-D. Chen, A. R. Ramli, Minimum mean brightness error bi-histogram equalization in contrast
enhancement, IEEE transactions on Consumer Electronics 49 (2003) 1310–1319.
[19] Poem in honor of sultan sultans mehmed ii, by gian mario filelfo, Manuscript from
Genève, Bibliothèque de Genève, Ms. lat. 99, p.1 - Amyris, Available at
https://www.ecodices.ch/en/list/one/bge/lat0099 (2023/01/01), ????
[20] R. Gonzalez, R. Woods, Digital Image Processing, Digital Image Processing, Prentice Hall, 2002.</p>
      <p>URL: https://books.google.it/books?id=YRRkQgAACAAJ.
[21] J. V. Christian, Special issue on image quality assessment„ in: Signal Process., vol. 64, no. 1„ 1998,
p. 129–130.
[22] S. Paris, S. W. Hasinof, J. Kautz, Local laplacian filters: Edge-aware image processing with a
laplacian pyramid., ACM Trans. Graph. 30 (2011) 68.
[23] D. M. Chandler, Seven challenges in image quality assessment: past, present, and future research,</p>
      <p>International Scholarly Research Notices 2013 (2013).
[24] M. J. Melo, P. Nabais, M. Vieira, R. Araújo, V. Otero, J. Lopes, L. Martín, Between past and
future: Advanced studies of ancient colours to safeguard cultural heritage and new sustainable
applications, Dyes and Pigments 208 (2022) 110815.
[25] A. Tonazzini, E. Salerno, Z. A. Abdel-Salam, M. A. Harith, L. Marras, A. Botto, B. Campanella,
S. Legnaioli, S. Pagnotta, F. Poggialini, et al., Analytical and mathematical methods for revealing
hidden details in ancient manuscripts and paintings: A review, Journal of advanced research 17
(2019) 31–42.
[26] M. Hanif, A. Tonazzini, S. F. Hussain, U. Habib, E. Salerno, P. Savino, Z. Halim, Blind bleed-through
removal in color ancient manuscripts, Multimedia Tools and Applications 82 (2023) 12321–12335.
[27] I. Montani, E. Sapin, A. Pahud, P. Margot, Enhancement of writings on a damaged medieval
manuscript using ultraviolet imaging, Journal of cultural heritage 13 (2012) 226–228.
[28] J. Wang, Y. Hu, An improved enhancement algorithm based on cnn applicable for weak contrast
images, IEEE Access 8 (2020) 8459–8476.
[29] A. Mittal, A. K. Moorthy, A. C. Bovik, No-reference image quality assessment in the spatial domain,</p>
      <p>IEEE Transactions on image processing 21 (2012) 4695–4708.
[30] G. Zhai, X. Min, Perceptual image quality assessment: a survey, Science China Information</p>
      <p>Sciences 63 (2020) 1–52.
[31] J. Memon, M. Sami, R. A. Khan, M. Uddin, Handwritten optical character recognition (ocr): A
comprehensive systematic literature review (slr), IEEE access 8 (2020) 142642–142668.
[32] K. Matkovic, L. Neumann, A. Neumann, T. Psik, W. Purgathofer, et al., Global contrast factor-a
new approach to image contrast., in: CAe, 2005, pp. 159–167.
[33] M. Bressan, C. R. Dance, H. Poirier, D. Arregui, Local contrast enhancement, in: Color Imaging</p>
      <p>XII: Processing, Hardcopy, and Applications, volume 6493, SPIE, 2007, pp. 304–315.
[34] C. Wang, Z. Ye, Brightness preserving histogram equalization with maximum entropy: a variational
perspective, IEEE Transactions on Consumer Electronics 51 (2005) 1326–1334.
[35] ITU-T.Recommendation, P.1301(07/2012), Subjective quality evaluation of audio and audiovisual
multiparty telemeetings, Tech. rep., International Telecommunications Union, Geneva, Switzerland
(July 2012).
[36] ITU-T.Recommendation, P.910 (10/2023), Subjective video quality assessment methods for
multimedia applications, Tech. rep., International Telecommunications Union, Geneva, Switzerland
(Oct 2023).
[37] e-codices – virtual manuscript library of switzerland, university of fribourg, Available at
https://www.e-codices.ch (2023/01/01), ????
[38] Bible du xiiième siècle (first part: Genesis-psalms), Bern Burgerbibliothek Cod. 27, f. 2r - Available
at https://www.e-codices.unifr.ch/it/list/one/bbb/0027 (2023/01/01), ????
[39] Boethius, de consolatione philosophiae, Cologny Fondation Martin Bodmer Cod. Bodmer 41, f. 1r</p>
      <p>Available at https://www.e-codices.ch/en/list/one/fmb/cb-0041 (2023/01/01), ????
[40] Catullus, carmina, Cologny Fondation Martin Bodmer Cod. Bodmer 47, f. 1r - Available at
https://www.e-codices.unifr.ch/en/list/one/fmb/cb-0047 (2023/01/01), ????
[41] Prudentius, carmina, Bern Burgerbibliothek Cod. 264, p. 61- Available at
https://www.ecodices.unifr.ch/it/list/one/bbb/0264 (2023/01/01), ????
[42] Divine comedy, Cologny, Fondation Martin Bodmer, Cod. Bodmer 56, f. 1r - (Codice Ricasoli</p>
      <p>Firidolfi) , Available at https://www.e-codices.unifr.ch/en/list/one/fmb/cb-0056 (2023/01/01), ????
[43] Gratianus, decretum (cum glossa ordinaria), Cologny Fondation Martin Bodmer Cod. Bodmer 75„
f. 59r - Available at https://www.e-codices.unifr.ch/en/list/one/fmb/cb-0075 (2023/01/01), ????
[44] Petrarca and dante, rhymes, Cologny Fondation Martin Bodmer Cod. Bodmer 131, f.8r - Available
at https://www.e-codices.unifr.ch/en/list/one/fmb/cb-0131 (2023/01/01), ????
[45] Ovid, metamorphoses, fasti, Cologny Fondation Martin Bodmer Cod. Bodmer 124, f. 2r - Available
at https://www.e-codices.unifr.ch/en/list/one/fmb/cb-0124 (2023/01/01), ????
[46] Prudentius, carmina, Bern Burgerbibliothek Cod. 264, p. 4- Available at
https://www.ecodices.unifr.ch/it/list/one/bbb/0264 (2023/01/01), ????
[47] Benevenutus imolensis, romuleon, Cologny Fondation Martin Bodmer Cod. Bodmer 143,f. 1r</p>
      <p>Available at https://www.e-codices.unifr.ch/en/list/one/fmb/cb-0143 (2023/01/01), ????
[48] Guiron le courtois, Cologny, Fondation Martin Bodmer, Cod. Bodmer 96-1, f. 1r - Available at
https://www.e-codices.ch/en/list/one/bge/lat0096-1 (2023/01/01), ????
[49] S. Long, X. He, C. Yao, Scene text detection and recognition: The deep learning era, International</p>
      <p>Journal of Computer Vision 129 (2021) 161–184.
[50] C. K. Ch’ng, C. S. Chan, Total-text: A comprehensive dataset for scene text detection and
recognition, in: 2017 14th IAPR international conference on document analysis and recognition
(ICDAR), volume 1, IEEE, 2017, pp. 935–942.
[51] Y. Liu, L. Jin, S. Zhang, C. Luo, S. Zhang, Curved scene text detection via transverse and longitudinal
sequence connection, Pattern Recognition 90 (2019) 337–345.
[52] Docsumo, Inc., Docsumo, https://docsumo.com, 2019. Accessed 2024.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>D.</given-names>
            <surname>Hamidović</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Clivaz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. Bowen</given-names>
            <surname>Savant</surname>
          </string-name>
          , Ancient Manuscripts in Digital Culture: Visualisation,
          <string-name>
            <given-names>Data</given-names>
            <surname>Mining</surname>
          </string-name>
          ,
          <source>Communication (Volume 3)</source>
          , Brill,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Tonazzini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Salerno</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z. A.</given-names>
            <surname>Abdel-Salam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Harith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Marras</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Botto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Campanella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Legnaioli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Pagnotta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Poggialini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Palleschi</surname>
          </string-name>
          ,
          <article-title>Analytical and mathematical methods for revealing hidden details in ancient manuscripts and paintings: A review</article-title>
          ,
          <source>Journal of Advanced Research</source>
          <volume>17</volume>
          (
          <year>2019</year>
          )
          <fpage>31</fpage>
          -
          <lpage>42</lpage>
          . URL: https://www.sciencedirect.com/science/article/pii/S2090123219300037. doi:https://doi.org/10.1016/j.jare.
          <year>2019</year>
          .
          <volume>01</volume>
          .003, special Issue on
          <source>Celebrating JAR-1st IF.</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Brenner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sablatnig</surname>
          </string-name>
          ,
          <article-title>Subjective assessments of legibility in ancient manuscript images-the salami dataset, in: Pattern Recognition</article-title>
          .
          <source>ICPR International Workshops and Challenges: Virtual Event, January 10-15</source>
          ,
          <year>2021</year>
          , Proceedings,
          <string-name>
            <surname>Part</surname>
            <given-names>VII</given-names>
          </string-name>
          , Springer,
          <year>2021</year>
          , pp.
          <fpage>68</fpage>
          -
          <lpage>82</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>L. P.</given-names>
            <surname>Saxena</surname>
          </string-name>
          ,
          <article-title>A survey of manuscripts digitization to restoration using image processing</article-title>
          ,
          <source>imanager's Journal on Pattern Recognition</source>
          <volume>6</volume>
          (
          <year>2019</year>
          )
          <fpage>27</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Agaian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Panetta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Grigoryan</surname>
          </string-name>
          ,
          <article-title>Transform-based image enhancement algorithms with performance measure</article-title>
          ,
          <source>IEEE Transactions on image processing 10</source>
          (
          <year>2001</year>
          )
          <fpage>367</fpage>
          -
          <lpage>382</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>K.</given-names>
            <surname>Panetta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Agaian</surname>
          </string-name>
          ,
          <article-title>No reference color image contrast and quality measures</article-title>
          ,
          <source>IEEE transactions on Consumer Electronics</source>
          <volume>59</volume>
          (
          <year>2013</year>
          )
          <fpage>643</fpage>
          -
          <lpage>651</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Agaian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Silver</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. A.</given-names>
            <surname>Panetta</surname>
          </string-name>
          ,
          <article-title>Transform coeficient histogram-based image enhancement algorithms using contrast entropy</article-title>
          ,
          <source>IEEE transactions on image processing 16</source>
          (
          <year>2007</year>
          )
          <fpage>741</fpage>
          -
          <lpage>758</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>K.</given-names>
            <surname>Panetta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Agaian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Jia</surname>
          </string-name>
          ,
          <article-title>Nonlinear unsharp masking for mammogram enhancement</article-title>
          ,
          <source>IEEE Transactions on Information Technology in Biomedicine 15</source>
          (
          <year>2011</year>
          )
          <fpage>918</fpage>
          -
          <lpage>928</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Qureshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Deriche</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Beghdadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Amin</surname>
          </string-name>
          ,
          <article-title>A critical survey of state-of-the-art image inpainting quality assessment metrics</article-title>
          ,
          <source>Journal of Visual Communication and Image Representation</source>
          <volume>49</volume>
          (
          <year>2017</year>
          )
          <fpage>177</fpage>
          -
          <lpage>191</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>P.</given-names>
            <surname>Mohammadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ebrahimi-Moghadam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Shirani</surname>
          </string-name>
          ,
          <article-title>Subjective and objective quality assessment of image: A survey</article-title>
          ,
          <source>arXiv preprint arXiv:1406.7799</source>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A. C.</given-names>
            <surname>Bovik</surname>
          </string-name>
          ,
          <article-title>Automatic prediction of perceptual image and video quality</article-title>
          ,
          <source>Proceedings of the IEEE</source>
          <volume>101</volume>
          (
          <year>2013</year>
          )
          <fpage>2008</fpage>
          -
          <lpage>2024</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>M.</given-names>
            <surname>Solh</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          <article-title>AlRegib, Miqm: A multicamera image quality measure</article-title>
          ,
          <source>IEEE transactions on image processing 21</source>
          (
          <year>2012</year>
          )
          <fpage>3902</fpage>
          -
          <lpage>3914</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Sinno</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. C.</given-names>
            <surname>Bovik</surname>
          </string-name>
          ,
          <article-title>Large-scale study of perceptual video quality</article-title>
          ,
          <source>IEEE Transactions on Image Processing</source>
          <volume>28</volume>
          (
          <year>2018</year>
          )
          <fpage>612</fpage>
          -
          <lpage>627</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>T.</given-names>
            <surname>Tao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Ding</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <article-title>Unified non-uniform scale adaptive sampling model for quality assessment of natural scene and screen content images</article-title>
          ,
          <source>Neurocomputing</source>
          <volume>399</volume>
          (
          <year>2020</year>
          )
          <fpage>96</fpage>
          -
          <lpage>106</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>L.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Tian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <article-title>Perceptual quality assessment for multimodal medical image fusion</article-title>
          ,
          <source>Signal Processing: Image Communication</source>
          <volume>85</volume>
          (
          <year>2020</year>
          )
          <fpage>115852</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Qureshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Beghdadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Deriche</surname>
          </string-name>
          ,
          <article-title>Towards the design of a consistent image contrast enhancement evaluation measure</article-title>
          ,
          <source>Signal Processing: Image Communication</source>
          <volume>58</volume>
          (
          <year>2017</year>
          )
          <fpage>212</fpage>
          -
          <lpage>227</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Amirshahi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kadyrova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Pedersen</surname>
          </string-name>
          ,
          <article-title>How do image quality metrics perform on contrast enhanced images?</article-title>
          ,
          <source>in: 2019 8th European Workshop on Visual Information Processing (EUVIP)</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>232</fpage>
          -
          <lpage>237</lpage>
          . doi:
          <volume>10</volume>
          .1109/EUVIP47703.
          <year>2019</year>
          .
          <volume>8946143</volume>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>