Adaptive Fusion of Infrared and Visible Images for Ancient Bamboo and Wooden Slips Based on SSA

Qiang Zhang, Jiazhen Qin, Ying Qi, Teng Wan, Shanxiong Chen, Lixin Yang, Chenyang Wang, Xin Zhang, Jie Han, F. Z. QiResearch Square 2025 · DOI

Abstract

Ancient bamboo and wooden slips, as the primary written medium before the invention of paper in China, often suffer from severe text degradation due to prolonged burial in soil environments, making the characters difficult to recognize. To enhance the text and detailed information on these slips, this paper proposes an adaptive image fusion method based on the salient spatial attention mechanism, aiming to combine the advantages of infrared and visible imaging to generate high-quality images that preserve clear ink writing while maintaining material texture and color information. First, a specialized Salient Spatial Attention (SSA) mechanism has been designed, which enhances ink information in infrared images through adaptive feature selection. Second, based on the unique visual characteristics of the slips' material and ink writing, a multi-scale information measurement strategy is proposed to achieve intelligent fusion of features at different scales, ensuring balanced expression of material texture and ink details. Finally, an unsupervised loss function adapted to the texture features of the slips has been introduced, eliminating the dependency on missing ground-truth data while ensuring that the fusion results maintain the original visual features. Experiments have shown that the proposed method outperforms existing image fusion methods in both visual effects and quantitative metrics, particularly in preserving slip text details, material texture, and color fidelity.

What Problem Does This Paper Address?

Before the invention of paper, bamboo and wooden slips (known as Jiandu) were the primary medium for writing in China. After millennia buried in soil, the ink on these slips is often severely degraded, making them nearly illegible to the naked eye.

To study these artifacts, researchers currently rely on two distinct digital imaging modalities:

  1. Visible light images: These capture the physical condition, natural color, and texture of the wood or bamboo, providing essential context for the artifact's state of preservation. However, the text is often faded or obscured.
  2. Short-wave infrared (IR) images: IR light penetrates the surface and is absorbed by carbon-based ink, making faded characters highly visible. Unfortunately, this process results in the loss of natural color and material texture.
Comparison of visible light (left) and infrared (right) images of ancient slips.

Currently, scholars must manually toggle between these two image types, which is inefficient. While general-purpose image fusion algorithms exist, they often struggle with Jiandu, leading to color distortion, unnatural contrast, or washed-out text. Furthermore, the lack of "perfect" ground-truth fused images makes training standard supervised AI models impossible.

Methodology

The authors propose an end-to-end, unsupervised Convolutional Neural Network (CNN) specifically tailored to the physical properties of wood and ink.

Image Registration (STAIR)

Because degraded slips often lack clear corners or distinct landmarks, standard image alignment techniques frequently fail. The authors developed a custom Similarity Transform and Affine Image Registration (STAIR) method to align IR and visible images based on their overall structure.

Modality-Specific Feature Extraction

Rather than treating both images identically, the network employs specialized branches:

  • Visible Branch: Utilizes a Channel Attention Module (CAM) to capture the global, uniform distribution of the wood's texture and color.
  • Infrared Branch: Introduces a novel Salient Spatial Attention (SSA) mechanism. Since ink appears as discrete, high-contrast spots, the SSA is designed to isolate these localized ink regions effectively.

Adaptive Fusion and Loss Function

The network measures the "information content" of extracted features using different mathematical norms: the Frobenius norm for multi-directional wood grain in visible features and the Nuclear norm for the sparse, localized nature of ink in IR features. It then dynamically weights the blending of these features.

To train without ground-truth data, an unsupervised loss function was designed to balance structural similarity, pixel reconstruction, and a Brightness Constraint that ensures the final image maintains the natural lighting of the visible source.

Datasets

The authors created a custom Jiandu Infrared-Visible Image Dataset consisting of 2,175 pairs of high-quality, registered images. These artifacts span several major archaeological finds, including Han Dynasty slips from Diwan, Juyan, and Majuanwan, captured under standardized lighting conditions (940nm IR and D65 visible) at 300dpi.

Example of a slip pair from the dataset showing visible (left) and infrared (right) modalities.

Key Results and Insights

The proposed method was evaluated against five state-of-the-art image fusion models.

  • Quantitative Performance: The model achieved the highest Standard Deviation (SD = 72.76), indicating superior contrast and clarity. It also recorded the lowest color distortion (Delta E = 21.84), preserving the artifact's natural appearance.
  • Qualitative Performance: Visually, the results are striking. The method produces crisp, highly legible text seamlessly integrated into the natural bamboo texture, avoiding the noise and blurring common in competing methods.

The core insight of this work is that wood texture and ink stains have fundamentally different mathematical properties. By applying modality-specific norms and a brightness constraint, the model achieves a level of realism and legibility previously unattainable.

Conclusion and Future Work

While the model's success relies on specific hyperparameter tuning (e.g., the $k$ value in the SSA module), it demonstrates massive potential for cultural heritage preservation. Future work will focus on validating the model's adaptability across more diverse datasets, such as faded frescoes or papyrus, to further aid in the digital restoration of historical documents.

Summary updated

Abstract

<title>Abstract</title> Ancient bamboo and wooden slips, as the primary written medium before the invention of paper in China, often suffer from severe text degradation due to prolonged burial in soil environments, making the characters difficult to recognize. To enhance the text and detailed information on these slips, this paper proposes an adaptive image fusion method based on the salient spatial attention mechanism, aiming to combine the advantages of infrared and visible imaging to generate high-quality images that preserve clear ink writing while maintaining material texture and color information. First, a specialized Salient Spatial Attention (SSA) mechanism has been designed, which enhances ink information in infrared images through adaptive feature selection. Second, based on the unique visual characteristics of the slips' material and ink writing, a multi-scale information measurement strategy is proposed to achieve intelligent fusion of features at different scales, ensuring balanced expression of material texture and ink details. Finally, an unsupervised loss function adapted to the texture features of the slips has been introduced, eliminating the dependency on missing ground-truth data while ensuring that the fusion results maintain the original visual features. Experiments have shown that the proposed method outperforms existing image fusion methods in both visual effects and quantitative metrics, particularly in preserving slip text details, material texture, and color fidelity.
BibTeX
@inproceedings{zhang2025adaptive,
  author = {Qiang Zhang and Jiazhen Qin and Ying Qi and Teng Wan and Shanxiong Chen and Lixin Yang and Chenyang Wang and Xin Zhang and Jie Han and F. Z. Qi},
  title = {{Adaptive Fusion of Infrared and Visible Images for Ancient Bamboo and Wooden Slips Based on SSA}},
  booktitle = {Research Square},
  year = {2025},
  doi = {10.21203/rs.3.rs-6535254/v1},
}
Figure