Ink identification using only spectral reflectance information poses significant challenges due to material degradation, aging, and spectral overlap between ink classes. This study explores the use of hyperspectral imaging and machine learning techniques to classify three distinct types of inks: pure metallo-gallate, carbon-containing, and non-carbon-containing inks. Six supervised classification models, including five traditional algorithms (Support Vector Machines, K-Nearest Neighbors, Linear Discriminant Analysis, Random Forest, and Partial Least Squares Discriminant Analysis) and one Deep Learning-based model, were evaluated. The methodology integrates data fusion from different imaging systems, sample extraction, ground truth creation, and a post-processing step to increase uniformity. The evaluation was performed using both mock-up samples and historical documents, achieving micro-averaged accuracy above 90% for all models. The best performance was obtained using the DL-based model (98% F1-score), followed by the Support Vector Machine model. In the case study documents, the overall performance of the traditional model was better. This study highlights the potential of hyperspectral imaging combined with machine learning for non-invasive ink identification and mapping, even under challenging conditions, contributing to the conservation and analysis of historical manuscripts.
17 June 2025 in Analytical and Bioanalytical Chemistry
Characterizing pigments and dyes in historical manuscripts is challenging due to the fragility of materials, the complex composition of low-concentration elements, and sampling limitations. Consequently, complementary non-invasive analytical techniques and non-contact measurement methods are often required. This study presents the most comprehensive spectral database to date, combining diffuse reflectance infrared Fourier transform spectroscopy (DRIFTS) and hyperspectral imaging (HSI) to aid in identifying pigments, dyes, and binders historically used in illuminated and decorated manuscripts. A total of 156 painting mock-ups were created using traditional techniques, incorporating variations in binders, pigment particle sizes, support types, surface roughness, and application methods. Spectral imaging was performed in the visible and near infrared (VNIR) and short-wave infrared (SWIR) regions, while DRIFTS analysis covered the middle wave infrared (MWIR) region. For DRIFTS, both contact and non-contact measurements were tested. Using the samples in the database, the influence of binder, support, and grain size on the sample spectra and color were analyzed and discussed. This database facilitates pigment and dye identification using DRIFTS or HSI data independently or in combination through data fusion, applying techniques ranging from direct spectral comparison to advanced methods such as machine learning and spectral unmixing. By making this database publicly available, the study underscores the value of DRIFTS and HSI in identifying painting materials and contributes to the preservation of historical manuscripts.
Hyperspectral Imaging has become an increasingly relevant technique for the study of historical documents due to its ability to provide detailed spectral and spatial information for material characterization. However, its practical adoption in cultural heritage research is still limited by the complexity of existing workflows and the fragmentation of available tools. In this work, we present the HyperdocApp, a software designed to facilitate the processing and analysis of hyperspectral images of historical documents within a unified and user-friendly environment. The HyperdocApp is a free of charge software that includes hyperspectral processing tools for data visualization, spatial registration, region-of-interest extraction and pixel-level annotations, while also including analysis functionalities for material identification and lighting simulation. It has been validated using hyperspectral captures of two historical documents, demonstrating its ability to support consistent data preparation and to provide reliable and interpretable analysis results.