Cargando…

Colorful Image Colorization with Classification and Asymmetric Feature Fusion

An automatic colorization algorithm can convert a grayscale image to a colorful image using regression loss functions or classification loss functions. However, the regression loss function leads to brown results, while the classification loss function leads to the problem of color overflow and the...

Descripción completa

Detalles Bibliográficos
Autores principales: Wang, Zhiyuan, Yu, Yi, Li, Daqun, Wan, Yuanyuan, Li, Mingyang
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9607150/
https://www.ncbi.nlm.nih.gov/pubmed/36298360
http://dx.doi.org/10.3390/s22208010
_version_ 1784818470014156800
author Wang, Zhiyuan
Yu, Yi
Li, Daqun
Wan, Yuanyuan
Li, Mingyang
author_facet Wang, Zhiyuan
Yu, Yi
Li, Daqun
Wan, Yuanyuan
Li, Mingyang
author_sort Wang, Zhiyuan
collection PubMed
description An automatic colorization algorithm can convert a grayscale image to a colorful image using regression loss functions or classification loss functions. However, the regression loss function leads to brown results, while the classification loss function leads to the problem of color overflow and the computation of the color categories and balance weights of the ground truth required for the weighted classification loss is too large. In this paper, we propose a new method to compute color categories and balance the weights of color images. In this paper, we propose a new method to compute color categories and balance weights of color images. Furthermore, we propose a U-Net-based colorization network. First, we propose a category conversion module and a category balance module to obtain the color categories and to balance weights, which dramatically reduces the training time. Second, we construct a classification subnetwork to constrain the colorization network with category loss, which improves the colorization accuracy and saturation. Finally, we introduce an asymmetric feature fusion (AFF) module to fuse the multiscale features, which effectively prevents color overflow and improves the colorization effect. The experiments show that our colorization network has peak signal-to-noise ratio (PSNR) and structure similarity index measure (SSIM) metrics of 25.8803 and 0.9368, respectively, for the ImageNet dataset. As compared with existing algorithms, our algorithm produces colorful images with vivid colors, no significant color overflow, and higher saturation.
format Online
Article
Text
id pubmed-9607150
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-96071502022-10-28 Colorful Image Colorization with Classification and Asymmetric Feature Fusion Wang, Zhiyuan Yu, Yi Li, Daqun Wan, Yuanyuan Li, Mingyang Sensors (Basel) Article An automatic colorization algorithm can convert a grayscale image to a colorful image using regression loss functions or classification loss functions. However, the regression loss function leads to brown results, while the classification loss function leads to the problem of color overflow and the computation of the color categories and balance weights of the ground truth required for the weighted classification loss is too large. In this paper, we propose a new method to compute color categories and balance the weights of color images. In this paper, we propose a new method to compute color categories and balance weights of color images. Furthermore, we propose a U-Net-based colorization network. First, we propose a category conversion module and a category balance module to obtain the color categories and to balance weights, which dramatically reduces the training time. Second, we construct a classification subnetwork to constrain the colorization network with category loss, which improves the colorization accuracy and saturation. Finally, we introduce an asymmetric feature fusion (AFF) module to fuse the multiscale features, which effectively prevents color overflow and improves the colorization effect. The experiments show that our colorization network has peak signal-to-noise ratio (PSNR) and structure similarity index measure (SSIM) metrics of 25.8803 and 0.9368, respectively, for the ImageNet dataset. As compared with existing algorithms, our algorithm produces colorful images with vivid colors, no significant color overflow, and higher saturation. MDPI 2022-10-20 /pmc/articles/PMC9607150/ /pubmed/36298360 http://dx.doi.org/10.3390/s22208010 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Wang, Zhiyuan
Yu, Yi
Li, Daqun
Wan, Yuanyuan
Li, Mingyang
Colorful Image Colorization with Classification and Asymmetric Feature Fusion
title Colorful Image Colorization with Classification and Asymmetric Feature Fusion
title_full Colorful Image Colorization with Classification and Asymmetric Feature Fusion
title_fullStr Colorful Image Colorization with Classification and Asymmetric Feature Fusion
title_full_unstemmed Colorful Image Colorization with Classification and Asymmetric Feature Fusion
title_short Colorful Image Colorization with Classification and Asymmetric Feature Fusion
title_sort colorful image colorization with classification and asymmetric feature fusion
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9607150/
https://www.ncbi.nlm.nih.gov/pubmed/36298360
http://dx.doi.org/10.3390/s22208010
work_keys_str_mv AT wangzhiyuan colorfulimagecolorizationwithclassificationandasymmetricfeaturefusion
AT yuyi colorfulimagecolorizationwithclassificationandasymmetricfeaturefusion
AT lidaqun colorfulimagecolorizationwithclassificationandasymmetricfeaturefusion
AT wanyuanyuan colorfulimagecolorizationwithclassificationandasymmetricfeaturefusion
AT limingyang colorfulimagecolorizationwithclassificationandasymmetricfeaturefusion