Restoration and content analysis of ancient manuscripts via color space based segmentation.

Ancient manuscripts are a rich source of history and civilization. Unfortunately, these documents are often affected by different age and storage related degradation which impinge on their readability and information contents. In this paper, we propose a document restoration method that removes the...

Full description

Bibliographic Details
Main Authors: Muhammad Hanif, Anna Tonazzini, Syed Fawad Hussain, Akhtar Khalil, Usman Habib
Format: Article
Language:English
Published: Public Library of Science (PLoS) 2023-01-01
Series:PLoS ONE
Online Access:https://doi.org/10.1371/journal.pone.0282142
_version_ 1797842983520829440
author Muhammad Hanif
Anna Tonazzini
Syed Fawad Hussain
Akhtar Khalil
Usman Habib
author_facet Muhammad Hanif
Anna Tonazzini
Syed Fawad Hussain
Akhtar Khalil
Usman Habib
author_sort Muhammad Hanif
collection DOAJ
description Ancient manuscripts are a rich source of history and civilization. Unfortunately, these documents are often affected by different age and storage related degradation which impinge on their readability and information contents. In this paper, we propose a document restoration method that removes the unwanted interfering degradation patterns from color ancient manuscripts. We exploit different color spaces to highlight the spectral differences in various layers of information usually present in these documents. At each image pixel, the spectral representations of all color spaces are stacked to form a feature vector. PCA is applied to the whole data cube to eliminate correlation of the color planes and enhance separation among the patterns. The reduced data cube, along with the pixel spatial information, is used to perform a pixel based segmentation, where each cluster represents a class of pixels that share similar color properties in the decorrelated color spaces. The interfering, unwanted classes can thus be removed by inpainting their pixels with the background texture. Assuming Gaussian distributions for the various classes, a Gaussian Mixture Model (GMM) is estimated through the Expectation Maximization (EM) algorithm from the data, and then used to find appropriate labels for each pixel. In order to preserve the original appearance of the document and reproduce the background texture, the detected degraded pixels are replaced based on Gaussian conditional simulation, according to the surrounding context. Experiments are shown on manuscripts affected by different kinds of degradations, including manuscripts from the DIBCO 2018 and 2019 publicaly available dataset. We observe that the use of a few PCA dominant components accelerates the clustering process and provides a more accurate segmentation.
first_indexed 2024-04-09T16:58:12Z
format Article
id doaj.art-75d9867aa07544879f7b7d83c1d46048
institution Directory Open Access Journal
issn 1932-6203
language English
last_indexed 2024-04-09T16:58:12Z
publishDate 2023-01-01
publisher Public Library of Science (PLoS)
record_format Article
series PLoS ONE
spelling doaj.art-75d9867aa07544879f7b7d83c1d460482023-04-21T05:34:41ZengPublic Library of Science (PLoS)PLoS ONE1932-62032023-01-01183e028214210.1371/journal.pone.0282142Restoration and content analysis of ancient manuscripts via color space based segmentation.Muhammad HanifAnna TonazziniSyed Fawad HussainAkhtar KhalilUsman HabibAncient manuscripts are a rich source of history and civilization. Unfortunately, these documents are often affected by different age and storage related degradation which impinge on their readability and information contents. In this paper, we propose a document restoration method that removes the unwanted interfering degradation patterns from color ancient manuscripts. We exploit different color spaces to highlight the spectral differences in various layers of information usually present in these documents. At each image pixel, the spectral representations of all color spaces are stacked to form a feature vector. PCA is applied to the whole data cube to eliminate correlation of the color planes and enhance separation among the patterns. The reduced data cube, along with the pixel spatial information, is used to perform a pixel based segmentation, where each cluster represents a class of pixels that share similar color properties in the decorrelated color spaces. The interfering, unwanted classes can thus be removed by inpainting their pixels with the background texture. Assuming Gaussian distributions for the various classes, a Gaussian Mixture Model (GMM) is estimated through the Expectation Maximization (EM) algorithm from the data, and then used to find appropriate labels for each pixel. In order to preserve the original appearance of the document and reproduce the background texture, the detected degraded pixels are replaced based on Gaussian conditional simulation, according to the surrounding context. Experiments are shown on manuscripts affected by different kinds of degradations, including manuscripts from the DIBCO 2018 and 2019 publicaly available dataset. We observe that the use of a few PCA dominant components accelerates the clustering process and provides a more accurate segmentation.https://doi.org/10.1371/journal.pone.0282142
spellingShingle Muhammad Hanif
Anna Tonazzini
Syed Fawad Hussain
Akhtar Khalil
Usman Habib
Restoration and content analysis of ancient manuscripts via color space based segmentation.
PLoS ONE
title Restoration and content analysis of ancient manuscripts via color space based segmentation.
title_full Restoration and content analysis of ancient manuscripts via color space based segmentation.
title_fullStr Restoration and content analysis of ancient manuscripts via color space based segmentation.
title_full_unstemmed Restoration and content analysis of ancient manuscripts via color space based segmentation.
title_short Restoration and content analysis of ancient manuscripts via color space based segmentation.
title_sort restoration and content analysis of ancient manuscripts via color space based segmentation
url https://doi.org/10.1371/journal.pone.0282142
work_keys_str_mv AT muhammadhanif restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation
AT annatonazzini restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation
AT syedfawadhussain restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation
AT akhtarkhalil restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation
AT usmanhabib restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation