Cargando…
A Rehabilitation of Pixel-Based Spectral Reconstruction from RGB Images
Recently, many deep neural networks (DNN) have been proposed to solve the spectral reconstruction (SR) problem: recovering spectra from RGB measurements. Most DNNs seek to learn the relationship between an RGB viewed in a given spatial context and its corresponding spectra. Significantly, it is argu...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10142338/ https://www.ncbi.nlm.nih.gov/pubmed/37112497 http://dx.doi.org/10.3390/s23084155 |
_version_ | 1785033589062107136 |
---|---|
author | Lin, Yi-Tun Finlayson, Graham D. |
author_facet | Lin, Yi-Tun Finlayson, Graham D. |
author_sort | Lin, Yi-Tun |
collection | PubMed |
description | Recently, many deep neural networks (DNN) have been proposed to solve the spectral reconstruction (SR) problem: recovering spectra from RGB measurements. Most DNNs seek to learn the relationship between an RGB viewed in a given spatial context and its corresponding spectra. Significantly, it is argued that the same RGB can map to different spectra depending on the context with respect to which it is seen and, more generally, that accounting for spatial context leads to improved SR. However, as it stands, DNN performance is only slightly better than the much simpler pixel-based methods where spatial context is not used. In this paper, we present a new pixel-based algorithm called A++ (an extension of the A+ sparse coding algorithm). In A+, RGBs are clustered, and within each cluster, a designated linear SR map is trained to recover spectra. In A++, we cluster the spectra instead in an attempt to ensure neighboring spectra (i.e., spectra in the same cluster) are recovered by the same SR map. A polynomial regression framework is developed to estimate the spectral neighborhoods given only the RGB values in testing, which in turn determines which mapping should be used to map each testing RGB to its reconstructed spectrum. Compared to the leading DNNs, not only does A++ deliver the best results, it is parameterized by orders of magnitude fewer parameters and has a significantly faster implementation. Moreover, in contradistinction to some DNN methods, A++ uses pixel-based processing, which is robust to image manipulations that alter the spatial context (e.g., blurring and rotations). Our demonstration on the scene relighting application also shows that, while SR methods, in general, provide more accurate relighting results compared to the traditional diagonal matrix correction, A++ provides superior color accuracy and robustness compared to the top DNN methods. |
format | Online Article Text |
id | pubmed-10142338 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-101423382023-04-29 A Rehabilitation of Pixel-Based Spectral Reconstruction from RGB Images Lin, Yi-Tun Finlayson, Graham D. Sensors (Basel) Article Recently, many deep neural networks (DNN) have been proposed to solve the spectral reconstruction (SR) problem: recovering spectra from RGB measurements. Most DNNs seek to learn the relationship between an RGB viewed in a given spatial context and its corresponding spectra. Significantly, it is argued that the same RGB can map to different spectra depending on the context with respect to which it is seen and, more generally, that accounting for spatial context leads to improved SR. However, as it stands, DNN performance is only slightly better than the much simpler pixel-based methods where spatial context is not used. In this paper, we present a new pixel-based algorithm called A++ (an extension of the A+ sparse coding algorithm). In A+, RGBs are clustered, and within each cluster, a designated linear SR map is trained to recover spectra. In A++, we cluster the spectra instead in an attempt to ensure neighboring spectra (i.e., spectra in the same cluster) are recovered by the same SR map. A polynomial regression framework is developed to estimate the spectral neighborhoods given only the RGB values in testing, which in turn determines which mapping should be used to map each testing RGB to its reconstructed spectrum. Compared to the leading DNNs, not only does A++ deliver the best results, it is parameterized by orders of magnitude fewer parameters and has a significantly faster implementation. Moreover, in contradistinction to some DNN methods, A++ uses pixel-based processing, which is robust to image manipulations that alter the spatial context (e.g., blurring and rotations). Our demonstration on the scene relighting application also shows that, while SR methods, in general, provide more accurate relighting results compared to the traditional diagonal matrix correction, A++ provides superior color accuracy and robustness compared to the top DNN methods. MDPI 2023-04-21 /pmc/articles/PMC10142338/ /pubmed/37112497 http://dx.doi.org/10.3390/s23084155 Text en © 2023 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 Lin, Yi-Tun Finlayson, Graham D. A Rehabilitation of Pixel-Based Spectral Reconstruction from RGB Images |
title | A Rehabilitation of Pixel-Based Spectral Reconstruction from RGB Images |
title_full | A Rehabilitation of Pixel-Based Spectral Reconstruction from RGB Images |
title_fullStr | A Rehabilitation of Pixel-Based Spectral Reconstruction from RGB Images |
title_full_unstemmed | A Rehabilitation of Pixel-Based Spectral Reconstruction from RGB Images |
title_short | A Rehabilitation of Pixel-Based Spectral Reconstruction from RGB Images |
title_sort | rehabilitation of pixel-based spectral reconstruction from rgb images |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10142338/ https://www.ncbi.nlm.nih.gov/pubmed/37112497 http://dx.doi.org/10.3390/s23084155 |
work_keys_str_mv | AT linyitun arehabilitationofpixelbasedspectralreconstructionfromrgbimages AT finlaysongrahamd arehabilitationofpixelbasedspectralreconstructionfromrgbimages AT linyitun rehabilitationofpixelbasedspectralreconstructionfromrgbimages AT finlaysongrahamd rehabilitationofpixelbasedspectralreconstructionfromrgbimages |