MangaNinja: Line Art Colorization with Precise Reference Following
Zhiheng Liu, Ka Leong Cheng, Xi Chen, Jie Xiao, Hao Ouyang, Kai Zhu, Yu Liu, Yujun Shen, Qifeng Chen, Ping Luo
TL;DR
MangaNinja tackles reference-guided line art colorization by learning local correspondences between a reference image and line art through a dual-branch diffusion framework equipped with progressive patch shuffling and PointNet-based fine-grained point guidance. The method enables robust, pixel-precise color transfer even under discrepant references or multi-reference scenarios, using a Reference U-Net to fuse reference features with a Denoising U-Net and a point-conditioned cross-attention scheme. Quantitative and qualitative results on a self-constructed anime benchmark show state-of-the-art performance in color fidelity and semantic consistency, while supporting interactive point control for challenging cases. The work also provides a standardized evaluation protocol and demonstrates clear practical value for accelerating colorization in the anime industry.
Abstract
Derived from diffusion models, MangaNinjia specializes in the task of reference-guided line art colorization. We incorporate two thoughtful designs to ensure precise character detail transcription, including a patch shuffling module to facilitate correspondence learning between the reference color image and the target line art, and a point-driven control scheme to enable fine-grained color matching. Experiments on a self-collected benchmark demonstrate the superiority of our model over current solutions in terms of precise colorization. We further showcase the potential of the proposed interactive point control in handling challenging cases, cross-character colorization, multi-reference harmonization, beyond the reach of existing algorithms.
