Sketch2Manga: Shaded Manga Screening from Sketch with Diffusion Models

Jian Lin, Xueting Liu, Chengze Li, Minshan Xie, Tien-Tsin WongarXiv 2024

TL;DR

Sketch2Manga is a novel diffusion-based framework that automates the tedious process of "screening"—adding shaded, high-frequency patterns (screentones) to manga sketches. By using color illustrations as an information-rich intermediary, the system generates high-quality, well-shaded manga that significantly outperforms existing automatic and reference-based methods.

What Problem Does This Paper Address?

In the world of manga, "screening" is the process of applying black-and-white patterns (dots, stripes, etc.) to a sketch to represent shading, texture, and depth. While drawing the initial contours is a creative act, screening is notoriously repetitive and labor-intensive.

Existing AI solutions struggle with this for two main reasons:

  1. The Information Gap: A simple line sketch lacks the shading and depth information needed to place screentones accurately.
  2. The Frequency Problem: Standard diffusion models (like Stable Diffusion) are biased toward generating low-frequency images. They often produce blurry or distorted results when tasked with creating the sharp, high-frequency repetitive patterns characteristic of professional manga screentones.

Methods

The authors propose a three-stage pipeline to bridge the gap between a sparse sketch and a finished manga page:

  1. Sketch to Color Illustration: Instead of going straight to manga, the system first generates a color illustration from the sketch using a diffusion model (MeinaPastel) conditioned with ControlNet. This step "hallucinates" the necessary shading and semantic information that the sketch lacks.
  2. Intensity-Guided Manga Generation: The color illustration is converted into a grayscale intensity map. This map guides a finetuned Stable Diffusion model to generate a "rough manga" image. The authors finetuned both the U-Net (for better shading alignment) and the VAE decoder (to handle high-frequency patterns).
  3. Adaptive Scaling: To fix minor structural distortions or unnatural shading introduced during diffusion, the system uses a novel integration scheme. It clusters the color illustration into regions and adaptively scales the saturation channel based on the screentone distribution in the rough manga, producing the final, polished output.
Fig. 1. System overview. Given an input sketch, our system first generates a color illustration from the sketch and then generates a rough manga image using a diffusion model conditioned on the intensity map of the color illustration. An adaptive scaling process is further applied to generate the final manga image.

Datasets

The researchers curated a massive, high-quality dataset to overcome the lack of good training data:

  • 289k High-Resolution Manga Images: This includes 186k images scraped from the web and 103k restored versions of the Manga109 dataset.
  • Panel Extraction: They used Grounded DINO to crop individual panels from full pages to create focused training samples.
  • Tagging: Images were tagged using a SwinV2 tagger pretrained on the Danbooru dataset to provide text prompts for the diffusion model.

Key Insights and Ideas

  • Color as a Proxy: The most clever insight is using color as a bridge. A sketch is too "empty," but a color illustration provides a dense map of shading and material properties that can be directly mapped to screentone density.
  • Dropping LPIP Loss: During VAE finetuning, the authors discovered that LPIP (Learned Perceptual Image Patch Similarity) loss actually degraded screentone quality. Because LPIP is trained on natural images, it struggles with the unique domain shift of bitonal manga. Removing it significantly sharpened the generated patterns.
  • Intensity vs. Sketch Conditioning: The authors found that conditioning the model on an intensity map (derived from the color image) leads to much richer shading variations than conditioning on the sketch alone.
Ablation study showing how finetuning and intensity conditioning improve screentone quality.

Key Results

The framework was compared against state-of-the-art (SOTA) methods like pix2pix and Screentone Synthesis.

  • Visual Quality: While previous methods produced blurred or unshaded patterns, Sketch2Manga generated sharp, high-frequency screentones that respected the original shading.
  • User Preference: In a user study, participants preferred Sketch2Manga results 83.8% of the time compared to the leading automatic competitor.
  • Illustration-to-Manga: Even when starting from a color image, the method outperformed SOTA tools like ScreenVAE and Mimicking Manga, which often produce low-contrast or overly dark results.
Comparison with other sketch-to-manga methods.

Limitations and Future Work

While highly effective for individual panels, the paper notes a few areas for growth:

  • Structural Distortions: The diffusion process can still occasionally introduce subtle distortions (e.g., around eyes), though the adaptive scaling step mitigates this.
  • Page-Level Consistency: The current method processes panels individually. Future work aims to ensure consistency in screentone styles across an entire manga page or between consecutive frames in an animation.
  • Video Application: The authors suggest the framework could be extended to add screentones to line-art cartoon videos.

Summary updated

BibTeX
@misc{lin2024sketch,
  author = {Jian Lin and Xueting Liu and Chengze Li and Minshan Xie and Tien-Tsin Wong},
  title = {{Sketch2Manga: Shaded Manga Screening from Sketch with Diffusion Models}},
  year = {2024},
  eprint = {2403.08266},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.08266},
}
Figure