Large Capacity Data Hiding in Binary Image black and white mixed regions

Yuanlin YangarXiv 2025 · DOI

TL;DR

This paper introduces a novel technique for high-capacity data hiding in binary images, specifically targeting the "mixed regions" (areas with both black and white pixels). By cleverly modifying pixel patterns in these regions, the method achieves significantly reduced visual distortion compared to existing approaches, making it suitable for real-time applications.

What Problem Does This Paper Address?

Information hiding, or steganography, is the art of embedding secret data within seemingly innocuous cover media. While effective for many media types like color images or audio, hiding data in binary images presents a unique challenge. Binary images, consisting solely of black and white pixels, have very little redundancy. Any modification to a pixel (flipping it from black to white or vice-versa) causes a stark change in brightness, leading to easily detectable visual distortion. This makes it difficult to embed large amounts of data without compromising the image's integrity. The paper aims to overcome this limitation by developing a method that can embed substantial amounts of data into binary images with minimal visual impact.

Methods

The proposed technique leverages the concept of "mixed regions" within binary images. Instead of modifying pure black or pure white areas, which would be highly noticeable, the method focuses on blocks containing a mix of black and white pixels.

The core of the approach involves:

  1. Image Blocking: The binary image is divided into non-overlapping, equal-sized blocks (specifically, 2x2 blocks are used for a balance between capacity and distortion).
  2. Block Selection and Classification: Blocks are classified into two categories:
  3. Category A: Blocks with exactly 2 black pixels.
  4. Category B: Blocks with 1 or 3 black pixels. Pure black or pure white blocks are excluded as they are too sensitive to modifications.

  5. Adaptive Data Hiding Rules:

    • For Category A blocks (2 black pixels), the method hides 2 bits of information by modifying the pixel pattern to one of four specific configurations (e.g., changing from 0011 to 0101).
  6. For Category B blocks (1 or 3 black pixels), the method hides 3 bits of information by modifying the pixel pattern to one of eight specific configurations (e.g., changing from 0001 to 0010). These modifications are designed to keep the number of black pixels close to the original count, minimizing visual disruption.

  7. Encoding and Decoding: Lookup tables are used for efficient encoding (hiding) and decoding (extraction) of the bit information based on the block's pixel pattern.

Datasets

The paper uses six randomly selected binary images with different themes for experimental evaluation. These images were adjusted to a uniform resolution of 1024x768 pixels. No new datasets were introduced.

Key Insights and Ideas

  • Focusing on "Mixed Regions" is Key: The most significant insight is that targeting areas with a mix of black and white pixels, rather than uniform areas, is crucial for minimizing distortion in binary images. These regions offer a degree of "visual tolerance" for pixel modifications.
  • Adaptive Hiding Capacity: The method intelligently adapts the amount of data hidden per block based on its pixel composition (2 bits for blocks with 2 black pixels, 3 bits for blocks with 1 or 3 black pixels). This adaptive approach maximizes capacity while respecting visual constraints.
  • Simple Lookup Tables for Efficiency: The use of pre-defined lookup tables for encoding and decoding makes the process computationally inexpensive, enabling real-time applications. This avoids complex mathematical operations often found in other steganographic methods.
  • Capacity vs. Fidelity Trade-off: The experiments clearly demonstrate the inherent trade-off between data hiding capacity and image fidelity (measured by PSNR). Images with more suitable blocks for hiding (fewer pure black/white areas) can accommodate more data but might show slightly lower PSNR values.

Key Results

  • High Capacity: The proposed method achieves a significant data hiding capacity. For the tested images, the capacity ranged from 14,132 bits to 105,085 bits for images of the same resolution.
  • Low Visual Distortion: The resulting images exhibit minimal visible distortion, as confirmed by qualitative observation and supported by PSNR values generally above 37 dB, with some reaching over 46 dB.
  • Fast Execution: Both data hiding and extraction times are very short, with hiding times ranging from 0.7 ms to 189 ms and extraction times from 156 ms to 699 ms across different host images. This speed makes the technique suitable for real-time applications.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the capacity of information hiding conflicts with the fidelity of the carrier. While the method minimizes distortion, embedding more data will inevitably lead to some reduction in image quality.
  • The current method uses fixed-size blocks (2x2).
  • Future Work: The authors suggest exploring data hiding in blocks of varying sizes or even irregular shapes to further optimize capacity and distortion.

Summary updated

BibTeX
@misc{yang2025large,
  author = {Yuanlin Yang},
  title = {{Large Capacity Data Hiding in Binary Image black and white mixed regions}},
  year = {2025},
  eprint = {2502.00069},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.00069},
}
Figure