Automatic Colorization of Anime Style Illustrations Using a Two-Stage Generator
Source abstract
Abstract
Line-arts are used in many ways in the media industry. However, line-art colorization is tedious, labor-intensive, and time consuming. For such reasons, a Generative Adversarial Network (GAN)-based image-to-image colorization method has received much attention because of its promising results. In this paper, we propose to use color a point hinting method with two GAN-based generators used for enhancing the image quality. To improve the coloring performance of drawing with various line styles, generator takes account of the loss of the line-art. We propose a Line Detection Model (LDM) which is used in measuring line loss. LDM is a method of extracting line from a color image. We also propose histogram equalizer in the input line-art to generalize the distribution of line styles. This approach allows the generalization of the distribution of line style without increasing the complexity of inference stage. In addition, we propose seven segment hint pointing constraints to evaluate the colorization performance of the model with Fréchet Inception Distance (FID) score. We present visual and qualitative evaluations of the proposed methods. The result shows that using histogram equalization and LDM enabled line loss exhibits the best result. The Base model with XDoG (eXtended Difference-Of-Gaussians)generated line-art with and without color hints exhibits FID for colorized images score of 35.83 and 44.70, respectively, whereas the proposed model in the same scenario exhibits 32.16 and 39.77, respectively.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Human Motion and Animation · Video Analysis and Summarization · Computer Graphics and Visualization Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of AI Convergence Engineering, Gyeongsang National University, Jinjudaero 501, Jinju, Korea
Department of Aerospace and Software Engineering, Gyeongsang National University, Jinjudaero 501, Jinju, Korea
Funding
National Research Foundation of Korea · Education and Research Program of AI Convergence 368 Engineering for Industrial Intelligence in Gyeongsangnam-do.
References (31)
Show source-provided references
1. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. (2014, January 8–13). Generative adversarial nets. Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada.
2. Isola, P., Zhu, J.Y., Zhou, T., and Efros, A.A. (2017, January 21–26). Image-to-image translation with conditional adversarial networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.632 ↗
3. Kang, S., Choo, J., and Chang, J. (2017, January 4–9). Consistent comic colorization with pixel-wise background classification. Proceedings of the NIPS’17 Workshop on Machine Learning for Creativity and Design, Long Beach, CA, USA.
4. Furusawa, C., Hiroshiba, K., Ogaki, K., and Odagiri, Y. (2017, January 27–30). Comicolorization: Semi-automatic manga colorization. Proceedings of the SIGGRAPH Asia 2017 Technical Briefs, Bangkok, Thailand.10.1145/3145749.3149430 ↗
5. Hensman, P., and Aizawa, K. (2017, January 9–15). cGAN-based manga colorization using a single training image. Proceedings of the 2017 IEEE 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), Kyoto, Japan.10.1109/ICDAR.2017.295 ↗
6. Zhang, L., Ji, Y., Lin, X., and Liu, C. (2017, January 26–29). Style transfer for anime sketches with enhanced residual u-net and auxiliary classifier gan. Proceedings of the 2017 IEEE 4th IAPR Asian Conference on Pattern Recognition (ACPR), Nanjing, China.10.1109/ACPR.2017.61 ↗
7. Sangkloy, P., Lu, J., Fang, C., Yu, F., and Hays, J. (2017, January 21–26). Scribbler: Controlling deep image synthesis with sketch and color. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.723 ↗
8. Liu, Y., Qin, Z., Luo, Z., and Wang, H. (2017). Auto-painter: Cartoon image generation from sketch by using conditional generative adversarial networks. arXiv.10.1016/j.neucom.2018.05.045 ↗
9. Frans, K. (2017). Outline colorization through tandem adversarial networks. arXiv.
10. Ci, Y., Ma, X., Wang, Z., Li, H., and Luo, Z. (2018, January 22–26). User-guided deep anime line art colorization with conditional adversarial networks. Proceedings of the 26th ACM International Conference on Multimedia, Seoul, Korea.10.1145/3240508.3240661 ↗
11. Two-stage sketch colorization
12. Hati, Y., Jouet, G., Rousseaux, F., and Duhart, C. (2019, January 17–18). PaintsTorch: A User-Guided Anime Line Art Colorization Tool with Double Generator Conditional Adversarial Network. Proceedings of the European Conference on Visual Media Production, London, UK.10.1145/3359998.3369401 ↗
13. Ledig, C., Theis, L., Huszár, F., Caballero, J., Cunningham, A., Acosta, A., Aitken, A., Tejani, A., Totz, J., and Wang, Z. (2017, January 21–26). Photo-realistic single image super-resolution using a generative adversarial network. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.19 ↗
14. Bińkowski, M., Donahue, J., Dieleman, S., Clark, A., Elsen, E., Casagrande, N., Cobo, L.C., and Simonyan, K. (2019). High fidelity speech synthesis with adversarial networks. arXiv.
15. Frid-Adar, M., Klang, E., Amitai, M., Goldberger, J., and Greenspan, H. (2018, January 4–7). Synthetic data augmentation using GAN for improved liver lesion classification. Proceedings of the 2018 IEEE 15th international symposium on biomedical imaging (ISBI 2018), Washington, DC, USA.10.1109/ISBI.2018.8363576 ↗
16. Radford, A., Metz, L., and Chintala, S. (2015). Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv.
17. Ioffe, S., and Szegedy, C. (2015). Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv.
18. Dai, B., Fidler, S., Urtasun, R., and Lin, D. (2017, January 22–29). Towards Diverse and Natural Image Descriptions via a Conditional GAN. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.323 ↗
19. XDoG: An extended difference-of-Gaussians compendium including advanced image stylization10.1016/j.cag.2012.03.004 ↗
20. Kingma, D.P., and Ba, J. (2014). Adam: A method for stochastic optimization. arXiv.
21. Ronneberger, O., Fischer, P., and Brox, T. (2015, January 5–9). U-net: Convolutional networks for biomedical image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Munich, Germany.10.1007/978-3-319-24574-4_28 ↗
22. Xie, S., Girshick, R., Dollar, P., Tu, Z., and He, K. (2017, January 21–26). Aggregated Residual Transformations for Deep Neural Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.634 ↗
23. Shi, W., Caballero, J., Huszár, F., Totz, J., Aitken, A.P., Bishop, R., Rueckert, D., and Wang, Z. (July, January 26). Real-time single image and video super-resolution using an efficient sub-pixel convolutional neural network. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.
24. Deconvolution and checkerboard artifacts10.23915/distill.00003 ↗
25. Nah, S., Hyun Kim, T., and Mu Lee, K. (2017, January 21–26). Deep multi-scale convolutional neural network for dynamic scene deblurring. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.35 ↗
26. Bengio, Y., and Le Cun, Y. (2015, January 7–9). Very Deep Convolutional Networks for Large-Scale Image Recognition. Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA.
27. Deng, J., Dong, W., Socher, R., Li, L., Li, K., and Li, F.-F. (2009, January 20–25). ImageNet: A large-scale hierarchical image database. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA.10.1109/CVPR.2009.5206848 ↗
28. Branwen, G. (2019, July 31). Danbooru2019: A Large-Scale Crowdsourced and Tagged Anime Illustration Dataset. Available online: https://www.gwern.net/Danbooru2019.
29. (2018, July 19). E-Shuushuu—Kawaii Image Board. Available online: https://e-shuushuu.net/.
30. Wallach, H., Larochelle, H., Beygelzimer, A., d’Alché-Buc, F., Fox, E., and Garnett, R. (2019). PyTorch: An Imperative Style, High-Performance Deep Learning Library. Advances in Neural Information Processing Systems 32, Curran Associates, Inc.
31. Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B., and Hochreiter, S. (2017). GANs trained by a two time-scale update rule converge to a local nash equilibrium. Adv. Neural Inf. Process. Syst.