Region-Wise Correspondence Prediction between Manga Line Art Images

Yingxuan Li, Jiafeng Mao, Qianru Qiu, Yusuke Matsui · DOI

Introduction

Maintaining visual consistency across frames is a fundamental challenge in manga and animation production. Currently, artists manually track semantic regions—such as hair, clothing, or skin—across hundreds of frames to ensure uniform colorization and smooth transitions. This process is labor-intensive and prone to error. Researchers from the University of Tokyo and CyberAgent have introduced a Transformer-based framework designed to automate this task by identifying corresponding regions between raw line art images without requiring manual human annotation.

Example of region-wise correspondence between two line art frames.

The Challenge of Sparse Line Art

Automating correspondence in manga is significantly harder than in natural photography. Line art is "sparse," consisting primarily of black strokes on a white background, lacking the textures and colors that typically aid computer vision models. Furthermore, hand-drawn lines are often "open," meaning strokes do not perfectly meet, which causes standard segmentation tools to "leak" and fail to isolate distinct semantic shapes.

Proposed Methodology

The researchers developed a two-stage pipeline that transitions from local patch analysis to global region identification.

1. Patch-Level Learning via Multiplex Transformer

The model first decomposes images into small patches. A Vision Transformer (ViT) extracts features, which are then processed by a novel Multiplex Transformer. This component performs simultaneous self-attention (to understand internal image structure) and cross-attention (to find similarities between the two input images). This joint learning approach allows the model to define a region's identity based on both its local shape and its spatial relationship to other parts of the character.

The proposed two-stage framework featuring the Multiplex Transformer and post-processing pipeline.

2. Region-Wise Post-Processing

To convert square patches into meaningful semantic shapes, the system employs an edge-aware clustering method. It merges adjacent patches with high similarity but utilizes a watershed algorithm to stop at hand-drawn lines. This "boundary-snapping refinement" ensures that the predicted regions align precisely with the artist's original strokes, even when those strokes are not perfectly closed.

Self-Supervised Training

A key innovation is the use of "pseudo-labels" for training. The team utilized colored anime frames to automatically define regions, then stripped the color to train the model on the underlying line art. This allowed the model to learn from 200,000 image pairs without any manual labeling.

Key Results and Performance

The framework was evaluated against several benchmarks, including the ATD-12K dataset of professional animation keyframes and synthetic datasets generated by AI.

  • High Accuracy: The model achieved between 78.4% and 84.4% region-level accuracy, significantly outperforming general-purpose models like SAM (Segment Anything Model), which often struggle to distinguish characters from backgrounds in sparse line art.
  • Scalability: Performance improved consistently as training data increased from 20,000 to 200,000 pairs, suggesting that the model's precision will continue to scale with larger datasets.
  • Robustness: The system successfully maintained distinct semantic regions where other models failed due to the "open contour" problem.

Limitations and Future Outlook

While highly effective, the model faces challenges with extremely fine details, such as small glints in eyes or highly complex, overlapping hair strands. In these instances, the post-processing may occasionally over-segment or merge small details into larger regions.

Future work will focus on extending the framework to handle complex scenes involving multiple characters and detailed backgrounds. This research represents a foundational step toward fully automated, flicker-free colorization in the professional manga and anime industries.

Summary updated

BibTeX
@inproceedings{li2026region,
  author = {Yingxuan Li and Jiafeng Mao and Qianru Qiu and Yusuke Matsui},
  title = {{Region-Wise Correspondence Prediction between Manga Line Art Images}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=7kmrdABbFV},
}
Figure