NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Every Color Chromakey

Atsushi Yamashita, Hiroki Agata, Toru KanekoInTech 2010 · OpenAlex

Abstract: In this paper, we proposed a new chromakey method using chromakey with a two-tone checker pattern background. The method solves the problem in conventional chromakey techniques that foreground objects become transparent if their colors are the same as the background color. The method utilizes the adjacency condition between two-tone regions of the background and the geometrical information of the background grid lines. Experimental results show that the foreground objects can be segmented exactly from the background regardless of the colors of the foreground objects. Although our proposed method can work successfully, parameters for image processing should be determined automatically based on appropriate criteria to improve our method. When applying the method to a video sequence, we should take the advantage of interframe correlation. The parameters and the background grid-line geometry obtained in the first frame can be utilized in processing of succeeding frames so that the total processing time will be much shorter.

Introduction

Traditional chromakey, or color-separation overlay, is the industry standard for compositing actors into virtual environments. However, it relies on a fundamental assumption: the foreground subject must not share colors with the background. When a "color collision" occurs—such as an actor wearing a green tie against a green screen—the resulting composite contains transparency artifacts, often referred to as the "invisible man" effect.

The "invisible man" problem: foreground regions matching the background color (Color1) become transparent in traditional chromakey.

While high-end solutions like depth-sensing cameras or thermal imaging exist, they require expensive, non-standard hardware. This paper introduces a robust chromakey method using a standard camera and a two-tone checkerboard background to achieve accurate segmentation, even when foreground and background colors are identical.

Methodology

The proposed system shifts the focus from simple color filtering to a combination of color estimation and geometric pattern analysis.

1. Checkerboard Pattern and Color Estimation

Instead of a solid color, the background consists of a two-tone checkerboard (typically blue and green). This provides geometric constraints that a solid color lacks. To handle varying lighting, the system operates in the HLS (Hue, Lightness, Saturation) color space and uses K-means clustering on reference areas to automatically identify the two background colors ($C_1$ and $C_2$) and intermediate "grid-line" colors ($C_3$).

2. Grid-Line Extraction and Geometric Prediction

The system identifies the horizontal and vertical lines where the two colors meet. When a foreground object obscures these lines, the algorithm uses a Least Mean Square (LMS) method to predict where the grid lines should be behind the object. This allows the system to distinguish between a background region and a foreground object of the same color: if a region of background color is isolated and does not connect to the predicted grid lines, it is reclassified as foreground.

3. Edge Refinement

To move from a jagged mask to a professional composite, the authors use Snakes (Active Contour Models) to snap the boundary to the object's actual edges. The Snake algorithm is modified to be directionally selective, ignoring the high-contrast edges of the background grid. Finally, Bayesian matting is applied to calculate alpha values (transparency) for complex areas like hair, ensuring a natural blend.

Results and Discussion

The method was evaluated using high-resolution still images and video sequences, including "stress tests" where subjects wore patches of the exact same blue and green paper used in the background.

Comparison of chromakey performance: (a) Unicolor backgrounds fail on matching colors; (b) Stripe backgrounds have orientation limitations; (c) The proposed Checker pattern provides robust extraction.

The results demonstrate that the checkerboard approach successfully extracts foreground objects regardless of color. Furthermore, the system handles complex topologies, such as the "holes" created by an actor's limbs, by verifying the continuity of grid lines through these gaps. Unlike previous stripe-based methods, which could fail if an object's edge aligned with a stripe, the two-dimensional checkerboard ensures the pattern is always "broken" by the foreground, providing robust segmentation cues.

Conclusion

This paper introduces a novel chromakey technique that overcomes the color-collision limitations of traditional methods without specialized hardware. By leveraging the geometric properties of a checkerboard background, the system achieves high-fidelity segmentation. Future work will focus on automating parameter selection and utilizing interframe correlation to reduce computational overhead in video processing.

Summary updated

Abstract

In this paper, we proposed a new chromakey method using chromakey with a two-tone checker pattern background. The method solves the problem in conventional chromakey techniques that foreground objects become transparent if their colors are the same as the background color. The method utilizes the adjacency condition between two-tone regions of the background and the geometrical information of the background grid lines. Experimental results show that the foreground objects can be segmented exactly from the background regardless of the colors of the foreground objects. Although our proposed method can work successfully, parameters for image processing should be determined automatically based on appropriate criteria to improve our method. When applying the method to a video sequence, we should take the advantage of interframe correlation. The parameters and the background grid-line geometry obtained in the first frame can be utilized in processing of succeeding frames so that the total processing time will be much shorter.
BibTeX
@inproceedings{yamashita2010every,
  author = {Atsushi Yamashita and Hiroki Agata and Toru Kaneko},
  title = {{Every Color Chromakey}},
  booktitle = {InTech},
  year = {2010},
  doi = {10.5772/9359},
}
Figure