Adaptive Embedding Pattern for Grayscale-Invariance Reversible Data Hiding

Erdun Gao, Zhibin Pan, Xinyi GaoarXiv 2019

Introduction

Reversible Data Hiding (RDH) is a technique that allows secret information to be embedded into a digital image such that both the message and the original "cover" image can be perfectly reconstructed. While traditional RDH methods focus on maximizing capacity and minimizing visual distortion, they often inadvertently alter the image's grayscale version. This change poses a significant challenge for computer vision applications—such as feature extraction or keypoint matching—that rely on consistent grayscale values to function correctly.

This paper introduces an improved method for RDH in color images that ensures the image's grayscale version remains completely unchanged. By utilizing an adaptive embedding pattern targeting smooth regions and a novel "two-level" pixel predictor, the proposed approach significantly increases data capacity while maintaining higher visual fidelity than previous state-of-the-art methods.

Proposed Methodology

The core of the framework relies on the standard grayscale conversion formula: $0.299R + 0.587G + 0.114B$. To maintain grayscale invariance, the Red (R) and Blue (B) channels are used to carry secret data, while the Green (G) channel is mathematically adjusted to compensate for changes in R and B, keeping the final grayscale value constant.

Overview of the proposed grayscale-invariant embedding framework

Adaptive Embedding Pattern

Existing grayscale-invariant methods often treat every pixel identically, leading to inefficiencies and noticeable distortion. The authors propose an adaptive strategy that classifies image regions based on local variance ((\Delta)) into smooth, normal, or complex categories:

  • Smooth regions: Characterized by high predictability, these areas allow the algorithm to embed two bits of secret data into the Red channel.
  • Normal regions: These areas carry one bit of secret data.
  • Complex regions: Embedding is skipped in these areas to prevent high visual distortion.
Adaptive embedding strategy for smooth and normal image regions

Two-level Predictor

To facilitate the embedding of a second bit in smooth regions, the authors developed a two-level predictor combining the Median-Edge Detector (MED) and Accurate Gradient Selective Prediction (AGSP). Instead of simply expanding the error from the first bit, the system "re-predicts" the pixel value after the first bit is hidden. This refinement results in a smaller prediction error, which directly translates to a higher Peak Signal-to-Noise Ratio (PSNR).

Experimental Results

The researchers evaluated their method using standard $512 \times 512$ color test images from the USC-SIPI Image Database, including Lena, Airplane, Lake, and Baboon. Key findings include:

  • Visual Quality: The proposed method improved the PSNR by an average of 1.17 dB at a capacity of 50,000 bits and 0.89 dB at 150,000 bits compared to the previous benchmark (Hou et al., 2018).
  • Efficiency: The adaptive pattern reduced the Unit Embedding Distortion (UED) by approximately 23% to 50%.
  • Texture Sensitivity: Performance gains were most significant in smooth images like Airplane. In highly textured images like Baboon, the gains were more modest as predictors struggle with rapid pixel changes.

Conclusion

By treating image smoothness as a resource and employing a predictive refinement strategy, this method successfully doubles the data payload in predictable regions without compromising grayscale invariance. While the mathematical constraint of grayscale invariance still limits pure performance compared to non-invariant methods, this approach significantly closes the gap, providing a robust solution for data hiding in vision-sensitive applications.

Summary updated

BibTeX
@misc{gao2019adaptive,
  author = {Erdun Gao and Zhibin Pan and Xinyi Gao},
  title = {{Adaptive Embedding Pattern for Grayscale-Invariance Reversible Data Hiding}},
  year = {2019},
  eprint = {1908.05965},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.05965},
}
Figure