Cargando…

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...

Descripción completa

Detalles Bibliográficos
Autores principales: Hanif, Muhammad, Tonazzini, Anna, Hussain, Syed Fawad, Khalil, Akhtar, Habib, Usman
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10032482/
https://www.ncbi.nlm.nih.gov/pubmed/36947504
http://dx.doi.org/10.1371/journal.pone.0282142
_version_ 1784910809817677824
author Hanif, Muhammad
Tonazzini, Anna
Hussain, Syed Fawad
Khalil, Akhtar
Habib, Usman
author_facet Hanif, Muhammad
Tonazzini, Anna
Hussain, Syed Fawad
Khalil, Akhtar
Habib, Usman
author_sort Hanif, Muhammad
collection PubMed
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.
format Online
Article
Text
id pubmed-10032482
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-100324822023-03-23 Restoration and content analysis of ancient manuscripts via color space based segmentation Hanif, Muhammad Tonazzini, Anna Hussain, Syed Fawad Khalil, Akhtar Habib, Usman PLoS One Research Article 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. Public Library of Science 2023-03-22 /pmc/articles/PMC10032482/ /pubmed/36947504 http://dx.doi.org/10.1371/journal.pone.0282142 Text en © 2023 Hanif et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Hanif, Muhammad
Tonazzini, Anna
Hussain, Syed Fawad
Khalil, Akhtar
Habib, Usman
Restoration and content analysis of ancient manuscripts via color space based segmentation
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
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10032482/
https://www.ncbi.nlm.nih.gov/pubmed/36947504
http://dx.doi.org/10.1371/journal.pone.0282142
work_keys_str_mv AT hanifmuhammad restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation
AT tonazzinianna restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation
AT hussainsyedfawad restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation
AT khalilakhtar restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation
AT habibusman restorationandcontentanalysisofancientmanuscriptsviacolorspacebasedsegmentation