Instance-aware Image Colorization with Controllable Textual Descriptions and Segmentation Masks

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: An, Yanru, Gui, Ling, Cai, Chunlei, Ye, Tianxiao, Yao, JIangchao, Zhai, Guangtao, Hu, Qiang, Zhang, Xiaoyun
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908557565231104
author An, Yanru
Gui, Ling
Cai, Chunlei
Ye, Tianxiao
Yao, JIangchao
Zhai, Guangtao
Hu, Qiang
Zhang, Xiaoyun
author_facet An, Yanru
Gui, Ling
Cai, Chunlei
Ye, Tianxiao
Yao, JIangchao
Zhai, Guangtao
Hu, Qiang
Zhang, Xiaoyun
contents Recently, the application of deep learning in image colorization has received widespread attention. The maturation of diffusion models has further advanced the development of image colorization models. However, current mainstream image colorization models still face issues such as color bleeding and color binding errors, and cannot colorize images at the instance level. In this paper, we propose a diffusion-based colorization method MT-Color to achieve precise instance-aware colorization with use-provided guidance. To tackle color bleeding issue, we design a pixel-level mask attention mechanism that integrates latent features and conditional gray image features through cross-attention. We use segmentation masks to construct cross-attention masks, preventing pixel information from exchanging between different instances. We also introduce an instance mask and text guidance module that extracts instance masks and text representations of each instance, which are then fused with latent features through self-attention, utilizing instance masks to form self-attention masks to prevent instance texts from guiding the colorization of other areas, thus mitigating color binding errors. Furthermore, we apply a multi-instance sampling strategy, which involves sampling each instance region separately and then fusing the results. Additionally, we have created a specialized dataset for instance-level colorization tasks, GPT-color, by leveraging large visual language models on existing image datasets. Qualitative and quantitative experiments show that our model and dataset outperform previous methods and datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2505_08705
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Instance-aware Image Colorization with Controllable Textual Descriptions and Segmentation Masks
An, Yanru
Gui, Ling
Cai, Chunlei
Ye, Tianxiao
Yao, JIangchao
Zhai, Guangtao
Hu, Qiang
Zhang, Xiaoyun
Computer Vision and Pattern Recognition
Artificial Intelligence
Recently, the application of deep learning in image colorization has received widespread attention. The maturation of diffusion models has further advanced the development of image colorization models. However, current mainstream image colorization models still face issues such as color bleeding and color binding errors, and cannot colorize images at the instance level. In this paper, we propose a diffusion-based colorization method MT-Color to achieve precise instance-aware colorization with use-provided guidance. To tackle color bleeding issue, we design a pixel-level mask attention mechanism that integrates latent features and conditional gray image features through cross-attention. We use segmentation masks to construct cross-attention masks, preventing pixel information from exchanging between different instances. We also introduce an instance mask and text guidance module that extracts instance masks and text representations of each instance, which are then fused with latent features through self-attention, utilizing instance masks to form self-attention masks to prevent instance texts from guiding the colorization of other areas, thus mitigating color binding errors. Furthermore, we apply a multi-instance sampling strategy, which involves sampling each instance region separately and then fusing the results. Additionally, we have created a specialized dataset for instance-level colorization tasks, GPT-color, by leveraging large visual language models on existing image datasets. Qualitative and quantitative experiments show that our model and dataset outperform previous methods and datasets.
title Instance-aware Image Colorization with Controllable Textual Descriptions and Segmentation Masks
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2505.08705