원시데이터 수집 시스템
선정목록으로

Dual-Hybrid Attention Network for Specular Highlight Removal

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Xiaojiao Guo — University of Macau & Baoshan University, Macau, China
  2. Xuhang Chen — Huizhou University & University of Macau, Huizhou, China
  3. Shenghong Luo — University of Macau, Macau, China
  4. Shuqiang Wang — Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences, Shenzhen, China
  5. Chi‐Man Pun — University of Macau, Macau, China
DOI
10.1145/3664647.3680745
저널
–
발행년도
2024
발행기관
–
피인용수
46
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1145/3664647.3680745
토픽
Color Science and Applications
OpenAlex ID
W4403792044

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 75,069자

본문 펼치기
## Dual-Hybrid Attention Network for Specular Highlight Removal Xiaojiao Guo <sup>13*</sup>, Xuhang Chen <sup>124*</sup>, Shenghong Luo <sup>1</sup>, Shuqiang Wang <sup>2</sup> <sup>_†_</sup>, and Chi-Man Pun <sup>1</sup> <sup>_†_</sup> 1University of Macau 2Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences 3Baoshan University 4Huizhou University _Abstract_ —Specular highlight removal plays a pivotal role in multimedia applications, as it enhances the quality and interpretability of images and videos, ultimately improving the performance of downstream tasks such as content-based retrieval, object recognition, and scene understanding. Despite significant advances in deep learning-based methods, current state-of-the-art approaches often rely on additional priors or supervision, limiting their practicality and generalization capability. In this paper, we propose the Dual-Hybrid Attention Network for Specular Highlight Removal (DHAN-SHR), an end-to-end network that introduces novel hybrid attention mechanisms to effectively capture and process information across different scales and domains without relying on additional priors or supervision. DHAN-SHR consists of two key components: the Adaptive Local Hybrid-Domain Dual Attention Transformer (L-HD-DAT) and the Adaptive Global Dual Attention Transformer (G-DAT). The L-HD-DAT captures local inter-channel and inter-pixel dependencies while incorporating spectral domain features, enabling the network to effectively model the complex interactions between specular highlights and the underlying surface properties. The G- DAT models global inter-channel relationships and long-distance pixel dependencies, allowing the network to propagate contextual information across the entire image and generate more coherent and consistent highlight-free results. To evaluate the performance of DHAN-SHR and facilitate future research in this area, we compile a large-scale benchmark dataset comprising a diverse range of images with varying levels of specular highlights. Through extensive experiments, we demonstrate that DHAN- SHR outperforms 18 state-of-the-art methods both quantitatively and qualitatively, setting a new standard for specular highlight removal in multimedia applications. The code and dataset will be available. _Index_ _Terms_ —Specular Highlight Removal, Dual-Hybrid Attention, Spatial and Spectral I. INTRODUCTION PECULAR highlights, the intense reflections of light sources on shiny surfaces, pose significant challenges in # S multimedia and computer vision applications. These reflections disrupt the visual consistency of images and videos, obscuring details and altering color fidelity, which can have a detrimental impact on various multimedia applications, such as video editing, content-based retrieval, and interactive media. Removing specular highlights is crucial for accurate image and video interpretation and processing, yet it remains a - These authors contribute equally to this work. _†_ Corresponding authors. complex task due to the variability in light conditions, surface properties, and angles of observation. Traditional highlight removal techniques, based on models such as the dichromatic reflection model [1], often fall short in diverse real-world scenarios. Deep learning approaches have shown promise, but most require prior information, such as highlight masks, limiting their practicality and generalization ability. Current methods also struggle to effectively restore highlighted areas, leading to suboptimal results. To address these challenges, we propose an end-to-end network that eliminates the need for additional priors or supervision, enabling specular highlight removal in a single step while preserving the visual fidelity of the restored diffuse image. Our approach is inspired by the observation that in natural scene photos, only a small portion of the surface produces a highlight effect due to its smoothness and specific reflection angle with the light source, while the majority of the remaining areas are in a diffuse state without highlights. Consequently, for the task of highlight removal, we aim to learn a global relationship on illumination and color. Moreover, to effectively restore details such as texture in the highlight regions, it is crucial to consider local features in addition to the global context. Therefore, in our network design, we incorporate two dimensions of self-attention to capture both global-level dependencies and local-level relationships. Specifically, to capture the relationships between local features, we introduce the Adaptive Local Hybrid-Domain Dual Attention Transformer, which sets our approach apart from current deep learning dehighlight methods that solely concentrate on the spatial domain (pixel values). Our transformer leverages frequency domain features to aid the learning process of the spatial domain, as frequency domain analysis offers a complementary perspective by uncovering both fine details and overarching patterns. Building upon this hybrid domain foundation, our transformer employs a window-based dual attention mechanism to efficiently focus on the local interchannel and inter-pixel relationships within the partitioned windows, respectively. Both attention mechanisms’ computations are limited to non-overlapping windows, significantly reducing the computational complexity compared to traditional self-attention mechanisms that consider the entire image. This window-based approach allows for more focused processing of local regions, enabling the transformer to effectively capture fine-grained details and textures. To further enhance the transformer’s ability to capture dependencies across window boundaries, we incorporate a window-shifting mechanism which is inspired by Swin Transformer [2] and SwinIR [3]. By shifting the pixels to create new window partitions, our module facilitates information exchange between adjacent windows. This shifting operation allows the transformer to capture local dependencies that span across window boundaries, ensuring a seamless integration of features across the entire image. For global-level dependencies, we propose the ChannelWise Contextual Attention Module that employs efficient Transformers to capture inter-channel relationships, rather than inter-patch relationships. This design choice serves two purposes: firstly, it allows the network to focus on more coarse-grained whole features, and secondly, it avoids the high computational and memory demands associated with the original Vision Transformer [4]. By attending to the channelwise context, our module can effectively capture the global dependencies between different feature maps, enabling the network to reason about the overall illumination and color distribution. To better organize feature learning at different scales, we adopt a network architecture similar to UNet, strategically placing modules that focus on different granularities at various positions within the network. Modules that capture detailed information are placed at higher levels, while modules that focus on global information are positioned at lower levels. This hierarchical arrangement enables our network to effectively learn and process features at different scales, improving its ability to handle complex specular highlight removal tasks. To provide a standardized basis for comparison and yield meaningful insights into the performance improvements of specular highlight removal methods, we assembled an extensive dataset by combining images from three different highlight removal datasets (PSD [5], SHIQ [6] and SSHR [7]). PSD features high-quality real-world ground truth images, while the other two datasets include generated reference ground truths and fully synthetic data, broadening the diversity of the training samples. We retrained seven state-of-the-art deep learning specular highlight removal methods on this unified benchmark and evaluated their performance, along with 11 traditional methods, on the test sets of the benchmark. The experimental results demonstrate that our approach outperforms 18 other state-of-the-art methods across various test datasets and metrics, showcasing its superiority in specular highlight removal. Overall, our contributions can be summarized as follows: _•_ We propose the Dual-Hybrid Attention Network for Specular Highlight Removal (DHAN-SHR), an end-toend specular highlight removal network that introduces novel hybrid attention mechanisms, including the Adaptive Local Hybrid-Domain Dual Attention and the Adaptive Global Dual Attention. These attention mechanisms enable DHAN-SHR to effectively and efficiently capture both spatial and spectral information, as well as contextual relationships at different scales, accurately removing specular highlights while restoring underlying diffuse components. _•_ We compile a comprehensive benchmark dataset for specular highlight removal by combining images from three different datasets, resulting in 29,306 training pairs and 2,947 testing pairs. We retrain and test 18 state-of-the-art methods on this new benchmark, conducting a thorough comparative analysis and laying a solid foundation for future advancements in the field. _•_ Extensive experiments and evaluations demonstrate that our proposed DHAN-SHR outperforms state-of-the-art methods both quantitatively and qualitatively, setting a new standard in the realm of image enhancement and specular highlight removal. II. RELATED WORK The removal of highlights has been a long-standing challenge in the field of image processing and multimedia, with two main approaches emerging: traditional methods and learning-based methods. Traditional methods typically rely on physical models, color, or texture information to capture the relationship between diffuse reflection and specular reflection. These methods utilize optical principles and geometric relationships to derive highlight characteristics and perform detection and removal. In recent years, learning-based methods have gained significant attention due to their ability to learn complex relationships between input images and desired outputs. These methods often employ techniques such as Generative Adversarial Networks (GANs) [8] and Vision Transformer (ViT) [4] to address highlight removal. GANs have been particularly effective in generating realistic images by learning the underlying distribution of the data, while ViTs have proven valuable in capturing long-range dependencies and global context. _A._ _Traditional_ _Approaches_ The field of traditional methods for highlight removal has primarily focused on separating specular reflections from diffuse reflections, aiming to address the challenges posed by reflections in images and contribute to advancements in image processing and analysis. Early researchers explored various approaches, starting with illumination-based constraints [9] and methods that relied solely on color recognition of highlight regions [10]. As the field progressed, chromaticity analysisbased methods gained attention, with notable contributions from Shen _et_ _al_ . [11], [12]. Researchers have also discovered that leveraging the characteristics of diffuse reflections can be an effective approach for removing specular highlights, as demonstrated by Yang _et_ _al_ . [13] and Shen _et_ _al_ . [14]. The dichromatic reflection model [1] has also been successfully employed in reflection separation methods, as shown by Akashi _et al_ . [15] and Souza _et_ _al_ . [16]. In addition to these foundational methods, various other approaches have been proposed to tackle the challenge of highlight removal. Nurutdinova _et_ _al_ . [17] introduced a semiautomatic algorithm for correction and segmentation of input images, which aids in the highlight removal process. Fu _et_ _al_ . [18] utilized the L0 criterion to enhance the sparsity of encoding coefficients and recover the diffuse reflection component in specular highlight regions, offering a novel perspective on the problem. Yamamoto _et_ _al_ . [19] proposed a method that replaces the separation results of erroneous pixels from a high-pass filter with results from other reference pixels in the image, improving the overall quality of the highlight removal process. Saha _et_ _al_ . [20] took a different approach by combining methods for low-light enhancement and highlight removal to generate high-quality HDR images, demonstrating the potential for integrating multiple techniques to achieve better results. More recently, Wen _et_ _al_ . [21] derived a polarizationguided model that incorporates polarization information into an iterative optimization separation strategy. This method effectively separates specular reflections by utilizing polarization information, showcasing the benefits of leveraging additional data sources to improve highlight removal performance. In summary, traditional methods for highlight removal have evolved from early illumination-based constraints and color recognition approaches to more advanced techniques that leverage chromaticity analysis, diffuse reflection characteristics, and polarization information. These methods have collectively contributed to the development of effective strategies for separating specular reflections from diffuse reflections, paving the way for further advancements in the field of highlight removal and image processing. _B._ _Deep_ _Learning-based_ _Approaches_ Deep learning methods have gained significant attention in the field of highlight removal due to their potential for higher accuracy and improved generalization, while reducing the need for extensive manual intervention. Various approaches have been proposed to tackle this challenge, each contributing unique insights and techniques. Guo _et_ _al_ . [22] introduced SLRR, a sparse and low-rank reflection model for highlight removal, which laid the groundwork for subsequent deep learning-based methods. Building upon this, Hou _et_ _al_ . [23] proposed a hybrid framework that combines a highlight detection network and a highlight removal network, demonstrating promising results in removing specular highlights from text images. To further improve the modeling of the relationship between diffuse and specular highlight regions, Wu _et al_ . [5] developed SpecularityNet, a GAN-based method that incorporates an attention mechanism. Similarly, Fu _et_ _al_ . [6] proposed a multi-task network that integrates the specular highlight image formation model to enhance highlight removal performance. Liang _et_ _al_ . [24] introduced an advanced deep learning method that combines mirror separation and intrinsic decomposition using an adversarial neural network. This approach aims to extract various decomposition results, such as pure diffuse image, normal map, albedo map, visibility map, and residual map, from a single facial image with specular reflections. Several other deep learning models have been developed to address highlight removal, including Unet-Transformer [25], which employs a highlight detection module as a mask to guide the removal task, and MG-CycleGAN [26], which leverages a mask generated by removing specular highlights from unpaired data to guide Cycle-GAN in transforming the problem into an image-to-image translation task. TSHRNet [7] has demonstrated superior performance in scenarios involving multiple objects and complex lighting conditions, while SHMGAN [27] is a neural network framework capable of effectively separating specular highlight maps and mirror distribution maps without the need for manual input labels. Despite the advancements made by these state-of-the-art methods, they often encounter issues such as color inconsistency between highlight regions and the background, as well as the generation of unrealistic content within the highlight regions. To address these challenges, Hu _et_ _al_ . [28] proposed a neural network framework that effectively mitigates these problems, further pushing the boundaries of highlight removal techniques. In summary, the field of highlight removal has witnessed significant progress through the development of deep learning methods, each contributing novel approaches and techniques to improve accuracy, generalization, and overall performance. However, there remains room for improvement in terms of color consistency and the generation of realistic content within highlight regions, which future research should aim to address. III. METHODOLOGY _A._ _Overall_ _Architecture_ Figure 1 illustrates the architecture of our proposed “DHAN-SHR”, an end-to-end, one-stage network that takes a single image with specular highlight as input, without requiring any additional information such as highlight masks or priors. The network adopts a U-shape encoder-bottleneckdecoder structure to apply scale-specific feature learning methods at different levels. The network begins by applying Adaptive Local HybridDomain Dual Attention Transformers (L-HD-DAT) to lowlevel, high-resolution feature maps, capturing spatial and spectral information with two levels of local attention. The encoder pathway progressively downsamples the image, using Channel-Wise Contextual Attention Transformers (CCAT) to capture contextual information at lower resolutions. At the bottleneck, Adaptive Global Dual Attention Transformers (GDAT) capture high-level semantic features. In the decoder pathway, the encoded features are gradually upsampled, recovering spatial details and fine-grained information. To maintain a balance between the encoder and decoder, we employ the same modules used in the corresponding levels of the encoder. And By concatenating these features via skip connections, the network can effectively combine the strengths of both pathways. The network’s architecture, with its scale-specific feature learning methods, enables effective capture and processing of features at different scales and semantic levels, leading to accurate and efficient specular highlight removal. Input Embedding <u>3 × H × W</u> <u>C × H × W</u> Adaptive Local Hybrid- Domain Dual Attention Transformer C × H × <u>W</u> <u>�</u> <u>�</u> Input Embedding Adaptive Local Hybrid-Attention TransformerDomain Dual <u>C</u> Adaptive Local Hybrid-Attention TransformerDomain Dual Contextual Optimizer <u>�</u> 2C × ~~2~~ <u>�</u> <u>�</u> ~~2~~ <sup>×</sup> ~~2~~ Adaptive Local Hybrid- Domain Dual Attention Transformer <u>�</u> 2C × ~~2~~ <u>�</u> <u>�</u> ~~2~~ <sup>×</sup> ~~<u>2</u>~~ C × H × W <u>C</u> <u>C × H × W</u> Adaptive Local Hybrid-Attention TransformerDomain Dual C × H × W Contextual Optimizer 3 × H × W Optimizer Adaptive Local Hybrid-Domain Dual Attention Transformer Adaptive Global Dual Attention Transformer . ~~<u>�</u>~~ ~~<u>�</u>~~ ~~<u>�</u>~~ ~~<u>4</u>~~ <sup>×</sup> ~~<u>4</u>~~ C × H × W <u>�</u> <u>�</u> ~~2~~ <sup>×</sup> ~~2~~ <u>�</u> ~~2~~ Transformer <u>�</u> ~~2~~ <u>�</u> ~~<u>2</u>~~ <u>�</u> ~~<u>4</u>~~ <u>�</u> ~~<u>2</u>~~ <u>�</u> ~~2~~ Channel-Wise Contextual Attention <u>�</u> <u>2C ×</u> ~~<u>2</u>~~ <u>�</u> 4C × ~~4~~ <u>�</u> ~~<u>2</u>~~ Channel-Wise Contextual Attention Pixel-wise Spatial-Spectral Shifting Window Attention . ~~�~~ . . <u>�</u> <u>�</u> ~~2~~ <sup>×</sup> ~~2~~ <u>�</u> <u>�</u> ~~<u>2</u>~~ <sup>×</sup> ~~<u>2</u>~~ <u>�</u> <u>�</u> ~~4~~ <sup>×</sup> ~~<u>4</u>~~ <u>�</u> <u>�</u> 4C × ~~4~~ <sup>×</sup> ~~4~~ <u>�</u> Transformer <u>�</u> <u>�</u> ~~4~~ Pixel-wise Self- 4C × . ~~4~~ <sup>×</sup> ~~4~~ Transformer Transformer Channel-Wise Contextual Attention Pixel-wise Self- Attention Transformer C Transformer C × H × W Channel-wise Spatial- C × H × W . Transformer <u>�</u> 2C × ~~2~~ <u>�</u> 2C × ~~<u>2</u>~~ <sup>×</sup> <u>�</u> ~~<u>2</u>~~ <u>�</u> 4C × ~~4~~ <sup>×</sup> + Channel-Wise C Contextual Attention Transformer <u>�</u> 2C × ~~2~~ Channel-Wise Contextual Attention + Channel-Wise Contextual Attention <u>�</u> ~~4~~ Channel-wise Spatial- Spectral Shifting Window . . <u>�−�</u> . . <u>�−�</u> Transformer <u>�</u> ~~4~~ Attention Transformer <u>�</u> <u>�</u> ~~<u>2</u>~~ <sup>×</sup> ~~<u>2</u>~~ <u>�</u> <u>�</u> ~~4~~ <sup>×</sup> ~~4~~ Adaptive Global <u>�</u> <u>4C ×</u> ~~<u>4</u>~~ ~~<u>�</u>~~ ~~<u>4C</u>~~ × ~~<u>4</u>~~ <sup>×</sup> <u>�</u> <u>�</u> ~~<u>4</u>~~ <sup>×</sup> ~~<u>4</u>~~ ~~<u>�</u>~~ ~~<u>�</u>~~ ~~<u>4</u>~~ <sup>×</sup> ~~<u>4</u>~~ <u>�</u> ~~<u>4</u>~~ ~~<u>4</u>~~ Dual Attention Transformer ~~<u>�</u>~~ ~~<u>4C</u>~~ × ~~<u>4</u>~~ ~~<u>�</u>~~ ~~<u>4</u>~~ <u>Window Partition</u> ( ~~�~~ <sup><u>�</u></sup> ( ~~�~~ <sup><u>�</u></sup> <sup>×</sup> <sup><u>�</u></sup> ~~�~~ Pixel Shift and Window Partition <sup><u>�</u></sup> ~~�~~ <sup>) × �</sup> <sup>× �</sup> <sup>× �</sup> <u>(</u> <sup>~~<u>��</u>~~</sup> ~~�~~ <sup>~~2~~</sup> <sup><u>)</u></sup> ( <sup><u>��</u></sup> ~~<u>�</u>~~ <sup>~~2~~</sup> <u>(</u> <sup><u>��</u></sup> ~~<u>�</u>~~ <sup>~~<u>2</u>~~</sup> <u>(</u> <sup>~~<u>��</u>~~</sup> ~~�~~ <sup>~~2~~</sup> <sup><u>) × �2 × �</u></sup> ( <sup><u>��</u></sup> ~~<u>�</u>~~ <sup>~~2~~</sup> <sup>) × �</sup> <sup>× �2</sup> <u>(</u> <sup><u>��</u></sup> ~~<u>�</u>~~ <sup>~~<u>2</u>~~</sup> <sup><u>) × �</u></sup> <sup>× �2</sup> <u>Efficient Window-Level Attention</u> Q K V RT R R <sup><u>�</u></sup> ~~�~~ <sup>) × �</sup> <sup>× �</sup> <sup>× �</sup> Q <u>K</u> V Pixel-wise Intra- Window Attention ( ~~�~~ <sup><u>�</u></sup> ( ~~�~~ <sup><u>�</u></sup> <sup>×</sup> <sup><u>�</u></sup> ~~�~~ - × � × � Frequency Processor - × � × � ~~<u>��×× � �</u>~~ <u>(</u> <sup><u>��</u></sup> ~~<u>�</u>~~ <sup>~~<u>2</u>~~</sup> <u>(</u> <sup><u>��</u></sup> ~~<u>�</u>~~ <sup>~~<u>2</u>~~</sup> <sup><u>) × �2 × �2</u></sup> X ( <sup><u>��</u></sup> ~~�~~ <sup>~~2~~</sup> X <sup><u>��</u></sup> ~~�~~ <sup>~~2~~</sup> <sup>) × �</sup> <sup>× �2</sup> R - × � × � Reshape RT and Transpose R Reshape Processor <u>Window Partition</u> - × � × � ~~<u>�</u>~~ ~~<u>× �</u>~~ X Pixel-wise Spatial-Spectral Shifting Window Attention Transformer ~~<u>�</u>~~ ~~<u>× �</u>~~ ( ~~�~~ <sup><u>�</u></sup> <sup>×</sup> ( ~~�~~ <sup><u>�</u></sup> <sup>×</sup> <sup><u>�</u></sup> ~~�~~ <sup><u>�</u></sup> ~~�~~ <sup>) × �</sup> <sup>× �</sup> <sup>× �</sup> × Matrix Multiplication C <u>.</u> <u>+</u> Downsample Upsample Contatenation and channel reduction Multiplication Element-wise addition ~~<u>�, �</u>~~ : Learnable weights Fig. 1. The overall architecture of our proposed Dual-Hybrid Attention Network for Specular Highlight Removal (DHAN-SHR). _B._ _Adaptive_ _Local_ _Hybrid-Domain_ _Dual_ _Attention_ _Trans-_ _former_ _(L-HD-DAT)_ The Adaptive Local Hybrid-Domain Dual Attention Transformer (L-HD-DAT) is a crucial component of our proposed DHAN-SHR network, situated at the topmost position of the U-shaped architecture. Its primary objective is to process feature maps with the highest resolution, matching that of the input image, which contains the most abundant details. In the context of specular highlight removal, accurately detecting and removing specular highlights while restoring the corresponding diffuse visuals with consistent texture and detailed colors is critical for achieving high-quality results. This task is often considered the last mile in determining the visual quality of the highlight removal process. The L-HD-DAT employs two parallel attention mechanisms to capture both inter-channel and inter-pixel relationships within local windows. These attention mechanisms are implemented through the Pixel-wise Spatial-Spectral Shifting Window Attention Transformer (P SSSWAT) and the Channelwise Spatial-Spectral Shifting Window Attention Transformer (C SSSWAT). To adaptively adjust the contribution of each attention mechanism during the training process, we introduce a learnable weight coefficient _α_ . The L-HD-DAT can be formulated as follows: L-HD-DAT( F ) = _α ×_ <u>P</u> <u>SSSWAT(</u> F ) + (1 _−_ _α_ ) _×_ <u>C</u> <u>SSSWAT(</u> F ) _,_ (1) where F represents the input features. Both <u>P</u> <u>SSSWAT</u> and <u>C</u> <u>SSSWAT</u> follow the same procedure, which can be described as: Y = F + SSSWA(LN( F ) _,_ LN(FP( F ))) _,_ (2) SSSWAT( F ) = Y + FFN(LN( Y )) _._ In this procedure, F denotes the input features with dimension _C_ _× H_ _× W_, LN represents the LayerNorm operation, and FP is the Frequency Processor. The Spatial-Spectral Shifting Window Attention (SSSWA) is a key component of both <u>P</u> SSSWAT and <u>C</u> SSSWAT. The Feed Forward Network (FFN) consists of three convolutional layers that further process the attended features, enabling the network to capture complex spatial relationships and refine the feature representations. _1)_ _P_ _<u>SSSWA:</u>_ _Pixel-wise_ _Spatial-Spectral_ _Shifting_ _Window_ _Attention:_ Both <u>P</u> SSSWAT and <u>C</u> SSSWAT calculate intrawindow attentions twice sequentially: first on the original features and then on the shifted features. The Pixel-wise SpatialSpectral Shifting Window Attention (P SSSWA) calculation procedure is illustrated in the lower half of Figure 1, with the first cascaded attention depicted in detail. The second attention calculation follows the similar approach, differing only in the input feature maps and the apply of an attention mask. Given input features F _∈_ R <sup>_C×H×W_</sup>, we first obtain the corresponding spectral features Fs with the same dimension _C_ _× H_ _× W_ using the Frequency Processor. Both Fs and F are then partitioned into non-overlapping _M_ _× M_ windows, similar to SwinIR [3], where _M_ represents the window height or width (in pixels). To ensure consistent window sizes, we pad the feature maps’ right and bottom edges with zeros before partitioning. After partitioning and reshaping, Fs and F have dimensions <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>_× C_</sup> <sup>_× M_</sup> <sup>2,</sup> <sup>where</sup> <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>represents</sup> <sup>the</sup> <sup>total</sup> number of windows in a single channel. Next, we project the spectral features Fs to Qs (query) and Ks (key) and compute their self-attention, enabling the model to capture fine details and subtle variations that may be challenging to discern in the spatial domain alone. The resulting spectral attention, with dimensions <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>_×_</sup> <sup>_M_</sup> <sup>2</sup> <sup>_×_</sup> <sup>_M_</sup> <sup>2,</sup> is then multiplied with the spatial features F (as V (value)), allowing the model to selectively attend to relevant spatial regions based on insights gained from the frequency domain analysis. In short, the first cascaded Pixel-wise Spatial-Spectral Window Attention is computed as: By integrating information from both the spatial and spectral domains, this attention mechanism enables the model to effectively identify and remove specular highlights while preserving <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>_× C_</sup> <sup>_× M_</sup> <sup>2,</sup> <sup>where</sup> <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> Next, we project the spectral features Fs to Qs (query) and Ks (key) and compute their self-attention, enabling the model to capture fine details and subtle variations that may be challenging to discern in the spatial domain alone. The resulting spectral attention, with dimensions <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>_×_</sup> <sup>_M_</sup> <sup>2</sup> <sup>_×_</sup> <sup>_M_</sup> <sup>2,</sup> <u>P</u> <u>SSSWA</u> <u>1(</u> Qs _,_ Ks _,_ V ) = V _·_ Softmax - <u>Qs</u> _T_ _<u>·</u>_ <u>Ks</u> _M_ _._ (3) the underlying surface details, resulting in improved specular highlight removal performance. Before the partition-reversed output features of <u>P</u> SSSWA <u>1</u> are cascadedly input to the second attention block of P <u>SSSWAT,</u> we perform a cyclic shift on the pixels of each feature map by _s_ pixels in both horizontal and vertical directions, to cover the areas on the boundaries of the windows from the first partition. This shifting rule is illustrated using four color blocks in Figure 2. Unlike Swin Transformer’s [2] patch-based window partition rules, we directly partition the windows on the pixels themselves. This pixel-level window partitioning allows the window-based attention mechanism to reflect more detailed textures, as it operates on the raw pixel values rather than on abstracted patches. We then partition and reshape the shifted features Fsh _∈_ R <sup>_C×H×W_</sup> into dimensions _<u>HWM</u>_ <sup>2</sup> <sup>_×_</sup> <sup>_C_</sup> <sup>_×_</sup> <sup>_M_</sup> <sup>2,</sup> <sup>similar</sup> <sup>to</sup> <sup>the</sup> R <sup>_C×H×W_</sup> into dimensions _<u>HWM</u>_ <sup>2</sup> <sup>_×_</sup> <sup>_C_</sup> <sup>_×_</sup> <sup>_M_</sup> <sup>2,</sup> <sup>similar</sup> <sup>to</sup> <sup>the</sup> previous attention block, and project it to obtain Qsh, Ksh and Vsh with the same dimension <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>_× C × M_</sup> <sup>2.</sup> <sup>The</sup> <sup>self-</sup> and Vsh with the same dimension <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>_× C × M_</sup> <sup>2.</sup> <sup>The</sup> <sup>self-</sup> attention of the shifted window is calculated by: _M_ _×_ _M_, the approximate number of operations, such as element-wise multiplication and addition, is ( _HW_ ) _M_ <sup>2</sup> (2 _C −_ 1) + ( _HW_ ) _C_ (2 _M_ <sup>2</sup> _−_ 1). Since both M and C are constants, it means it has a linear computational complexity with respect to the image size. So the intra-window pixel attention not only helps to concentrate on local fine details but also offers computational efficiency. _2)_ _<u>C</u>_ _SSSWA:_ _Channel-wise_ _Spatial-Spectral_ _Shifting_ _Win-_ _dow_ _Attention:_ The working process of the <u>C</u> SSSWA is similar to the previously described P <u>SSSWA.</u> However, the main difference lies in the inter-channel window range attention calculation approach, which differs from P <u>SSSWA’s</u> inter-pixel counterpart. The input features remain the same, with F _∈_ R <sup>_C×H×W_</sup> representing the spatial domain features and Fs _∈_ R <sup>_C×H×W_</sup> representing the corresponding spectral domain feature maps. Following the same procedure as <u>P</u> SSSWA, we perform window partitioning, reshaping, and projection of F and Fs to obtain the corresponding window-based features Qs, Ks, V in the same dimension <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>_×C×M_</sup> <sup>2. The first attention block,</sup> in the same dimension <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>_×C×M_</sup> <sup>2. The first attention block,</sup> which� hybridizes the spectral and spatial domain features, is calculated _._ as: _._ <u>P</u> <u>SSSWA</u> <u>2(</u> Qsh _,_ Ksh _,_ Vsh ) = Vsh _·_ Softmax - <u>Qsh</u> _T_ _<u>·</u>_ <u>Ksh</u> + Mask _M_ (4) In addition to the different input features, the second cascaded attention differs in the inclusion of an attention mask used to distinguish pixels that were originally not adjacent but are now in the same window due to the cyclic shifting. This can be observed on the right and bottom sides of the shifted features in Figure 2. The mask has the same size as the input shifted feature maps Fsh, ensuring a one-to-one position correspondence. We assign a value of 0 to the positions in the windows where the pixels were originally adjacent, and a value of _−_ 100 to the positions in the windows where the pixels were originally not adjacent. Figure 2 provides an intuitive understanding of these mask values. By adding this mask to the self-attention of Qsh and Ksh, the model maintains the relationship between originally adjacent pixels while suppressing the influence of pixels that are only adjacent due to cyclic shifting. window partitioned dimension _<u>HWM</u>_ <sup>2</sup> <sup>_×_</sup> <sup>_C_</sup> <sup>_×_</sup> <sup>_M_</sup> <sup>2</sup> <sup>back</sup> <sup>to</sup> <sup>the</sup> input feature maps’ dimension _C × H × W_ . After shifting the feature maps by _s_ pixels, we partition, reshape, and project the new window-based features as Qsh, Ksh, and Vsh for the second attention block, which is similar to <u>P</u> SSSWA in employing shifted windows to capture dependencies across window boundaries, as shown in equation (6). However, unlike <u>P</u> <u>SSSWA,</u> we do not use an attention mask as in equation (4). This is because when calculating the inter-channel relationships, we multiply the pixels that are in aligned positions within the window and then add them together. Therefore, the computation is not dependent on the pixels’ positional relationships. C <u>SSSWA</u> <u>1(</u> Qs _,_ Ks _,_ V ) = Softmax - <u>Qs</u> _<u>·</u>_ <u>Ks</u> _T_ _τ_ _·_ V _,_ (5) where _τ_ acts as a learnable temperature parameter that modulates the magnitude of the dot product. The attention result of Ks to Qs has a dimension of _<u>HWM</u>_ <sup>2</sup> <sup>_×_</sup> <sup>_C_</sup> <sup>_×_</sup> <sup>_C_</sup> <sup>,</sup> result of Ks to Qs has a dimension of _<u>HWM</u>_ <sup>2</sup> <sup>_×_</sup> <sup>_C_</sup> <sup>_×_</sup> <sup>_C_</sup> <sup>,</sup> representing the interrelationships between the C channels for each window among the total <sup>_<u>HW</u>_</sup> _M_ <sup>2</sup> <sup>windows.</sup> In the next step, we reverse the result of equation (5) with window partitioned dimension _<u>HWM</u>_ <sup>2</sup> <sup>_×_</sup> <sup>_C_</sup> <sup>_×_</sup> <sup>_M_</sup> <sup>2</sup> <sup>back</sup> <sup>to</sup> <sup>the</sup> ~~<u>000</u>~~ ~~<u>000</u>~~ ~~<u>000</u>~~ ~~<u>-100-10-10</u>~~ <u>00</u> ~~<u>000</u>~~ ~~<u>000</u>~~ ~~<u>000</u>~~ ~~<u>-10-10-10</u>~~ <u>000</u> ~~<u>00</u>~~ ~~<u>0</u>~~ ~~<u>00</u>~~ ~~<u>0</u>~~ ~~<u>00-100-10-10</u>~~ <u>00</u> ~~<u>00</u>~~ ~~<u>00</u>~~ ~~<u>00</u>~~ ~~<u>-100-100</u>~~ ~~<u>000000000</u>~~ ~~<u>000000000</u>~~ ~~<u>0000</u>~~ ~~<u>000000000</u>~~ ~~<u>000000000</u>~~ ~~<u>000000</u>~~ ~~<u>00000000</u>~~ ~~<u>000000000</u>~~ ~~<u>0000000</u>~~ ~~<u>�</u>~~ ~~<u>× �</u>~~ <u>C</u> H ~~<u>000</u>~~ ~~<u>000</u>~~ ~~<u>000</u>~~ ~~<u>-100-100-100</u>~~ ~~<u>000</u>~~ ~~<u>000</u>~~ ~~<u>000</u>~~ ~~<u>-100-100-10</u>~~ <u>0</u> <u>C</u> <u>SSSWA</u> <u>2(</u> Qsh _,_ Ksh _,_ Vsh ) = Softmax ~~<u>�</u>~~ ~~<u>× �</u>~~ Shift ~~<u>-100-100-100-10-10</u>~~ ~~<u>-100-100-100</u>~~ ~~<u>-100-100-100-100-100-10-10-10-10</u>~~ <u>00</u> ~~<u>-100-100-100-100-10-10-10-10-10</u>~~ <u>0000</u> ~~<u>-10-10-10</u>~~ <u>000</u> ~~<u>-100-100-10-10-10</u>~~ <u>000</u> ~~<u>-10-10</u>~~ <u>00</u> ~~<u>-100-10-10-10</u>~~ <u>000</u> - <u>Qsh</u> _<u>·</u>_ <u>Ksh</u> _T_ _τ_ _·_ Vsh _,_ ~~<mark>-100-100-100</mark>~~ ~~<u>0</u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u>0</u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u>0</u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u>0000000</u>~~ ~~<u>000000000</u>~~ ~~<u>00000000</u>~~ ~~<u>000000</u>~~ ~~<u>000000000</u>~~ ~~<u>000000000</u>~~ ~~<u>0000</u>~~ ~~<u><mark>-100</mark></u>~~ ~~<u>00000000</u>~~ ~~<u><mark>-100</mark></u>~~ ~~<u>00000000</u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-100-10</mark></u>~~ <u><mark>0</mark></u> ~~<u>W</u>~~ ~~<u><mark>M −s</mark></u>~~ ~~<mark>s</mark>~~ M −s s s ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-100-100</mark></u>~~ ~~<u><mark>-100-10-10</mark></u>~~ <u><mark>00</mark></u> ~~<u><mark>-100-100</mark></u>~~ ~~<u><mark>-100-100</mark></u>~~ ~~<u><mark>-100-100</mark></u>~~ ~~<u><mark>-10-10</mark></u>~~ <u><mark>00</mark></u> Original Partition Shifted Partition Attention Mask Fig. 2. Illustration of the window shifting approach and the attention mask applied to the pixel-wise shifting window attention. Since the attention computation is limited to nonoverlapping windows, it significantly reduces the computational complexity compared to traditional self-attention mechanisms that consider the entire image. In traditional approaches, the computational complexity is usually quadratic relative to the image size, and the computational cost is especially tremendous for high-resolution feature maps. However, for one calculation of intra-window pixel-wise attention with input features of dimension _C_ _×_ _H_ _×_ _W_ and a window size of (6) where Qsh _,_ Ksh _,_ Vsh _∈_ _<u>HWM</u>_ <sup>2</sup> <sup>_× C_</sup> <sup>_× M_</sup> <sup>2,</sup> <sup>and</sup> <sup>_τ_</sup> <sup>is</sup> <sup>still</sup> <sup>a</sup> learnable temperature parameter. The computational complexity of both equation (5) and equation (6) is approximately 4 _C_ <sup>2</sup> ( _HW_ ), which is linearly related to the size of the image _H_ _× W_ . _3)_ _Frequency_ _Processor:_ The Frequency Processor employed in both P SSSWAT and <u>C</u> SSSWAT generates feature maps that have undergone transforms to the frequency domain, as shown in Algorithm 1. First, we compute the discrete Fourier transform of the input feature maps. Then, a shallow convolution and GeLU activation are applied to the frequency features to introduce non-linearity and enhance the expressiveness of the frequency-domain representations. Before executing the inverse Fourier Transform, MLP layers <u>Algorithm</u> <u>1</u> <u>Frequency</u> <u>Processor</u> Require: F (input features) Ensure: Fs (frequency processed features) 1: Apply convolution: identity1 _←_ _Conv_ 2 _d_ 1 _×_ 1( F ) 2: Apply convolution: identity2 _←_ _Conv_ 2 _d_ 1 _×_ 1( F ) 3: Compute FFT of F and keep the real part: Ffft _←_ FFT( F _,_ dim = ( _−_ 2 _, −_ 1)) _._ real 4: Apply convolution to Ffft : Ffft _←_ GELU( _Conv_ 2 _d_ 1 _×_ 1( Ffft )) 5: Pass through MLP layers: Ffft _←_ MLPs( Ffft ) 6: Compute inverse FFT: Fifft _←_ IFFT( Ffft _,_ dim = ( _−_ 2 _, −_ 1)) _._ real 7: Add residual connection: Fs _←_ Fifft + identity2 8: Apply toning: Fs _←_ Toning(Concat([ Fs _,_ identity1 ] _,_ dim = 1)) are applied to the frequency-domain features to adapt and refine the spectral representations, capturing more accurate and contextually relevant frequency-domain information essential for reconstructing the diffuse visuals. To provide conditional guidance during the spectral features’ training process, we obtain two identities of the input spatial features, which are then added and concatenated, respectively, to the inverse Fourier Transform of the spectral features. Finally, a toning operation is applied to the spectral features, which removes the phase information and focuses on the magnitude-based spectral features, helping to suppress noise and outliers while emphasizing relevant frequency ranges for accurate and coherent diffuse visual reconstruction. _C._ _Channel-Wise_ _Contextual_ _Attention_ _Transformer_ _(CCAT)_ The Channel-Wise Contextual Attention Transformers (CCAT) scale up its concentrated grain compared to L-HDDAT by their strategic deployment within both the encoder pathway, which progressively downsamples, and the decoder pathway, which conversely upsamples. This positioning allows CCAT to operate on feature maps that possess a higher semantic level than the original input image. To effectively address the challenge of contextual information extraction across channels, CCAT incorporates an attention mechanism that is meticulously designed to weigh the significance of each channel based on its contextual relationship with others. This is achieved through a multi-headed self-attention module as equation (7) that operates on the channel dimension, enabling the network to dynamically adjust the emphasis on different channels according to their contextual relevance.  enhancing the network’s ability to discern and emphasize the most relevant features for specular highlight removal. _D._ _Adaptive_ _Global_ _Dual_ _Attention_ _Transformer_ _(G-DAT)_ Adaptive Global Dual Attention Transformers (G-DAT) are deployed at the bottleneck between the encoder and decoder. Given the higher semantic level at this stage, the information each pixel carries is more abstract and globally contextual than at any other layer in the network. In response to this heightened level of abstraction, we have devised parallel dual attention mechanisms. These are designed to concurrently grasp the intricate inter-channel and inter-pixel dependencies on a global scale, as depicted in the following equation: G-DAT( F <sup>ˆ</sup> ) = _β ×_ CCAT( F <sup>ˆ</sup> ) + (1 _−_ _β_ ) _×_ PSAT( F <sup>ˆ</sup> ) _._ (8) Here, the considerable reduction in the size of each feature map F <sup>ˆ</sup> due to multiple downsampling stages implies that even the Pixel-wise Self-Attention Transformer (PSAT), which directs attention on a global scale, does not impose a significant computational load. The operational methodology of PSAT is akin to that detailed in Equation (3); however, unlike the attention in Equation (3) which is confined within a specific window, PSAT expands its focus to cover a global range. Additionally, since the input to the bottleneck module lacks certain visual details, we do not incorporate spectral domain elements in PSAT. This approach ensures that the computational demand is directly proportional to the spatial dimensions of each feature map, maintaining linear computational efficiency. _E._ _Objective_ _Function_ To optimize the performance of our specular highlight removal methodology, our goal is to align the output as closely as possible with the ground truth diffuse images. This entails not only achieving pixel-level accuracy but also preserving key image attributes such as luminance, contrast, and structure. To accomplish this, we introduce a composite objective function that integrates both Mean Squared Error Loss ( _Lf_ ), which accounts for pixel-level fidelity, and Structural Similarity Loss ( _Ls_ ), focusing on maintaining structural integrity. The formulation of our overall objective function is as follows: _L_ = _α · Lf_ + _β · Ls,_ (9) where _α_ and _β_ have been empirically set to 1 and 0.4, respectively. We incorporate the Structural Similarity Index Measure (SSIM), as proposed by Wang et al. [29], into the structural similarity component _Ls_ of our objective function, as delineated below: CCA( Q <sup>ˆ</sup> _,_ K <sup>ˆ</sup> _,_ V <sup>ˆ</sup> ) = Softmax  <sup><u>Q</u></sup> ~~<u>�</u>~~ <sup>ˆ</sup> <sup>_<u>·</u>_</sup> <sup><u>Kˆ</u></sup> <sup>_T_</sup> ~~<u>�</u>~~ _C/h_ ˆ   _·_ ˆV _._ (7) Here, Q <sup>ˆ</sup>, K <sup>ˆ</sup> and V <sup>ˆ</sup> denote the projections of the feature maps F <sup>ˆ</sup> _∈_ R _C_ <sup>ˆ</sup> _×H_ <sup>ˆ</sup> _×W_ <sup>ˆ</sup>, which are adjusted to 1 _/_ 2 or 1 _/_ 4 the resolution of the original input image to correspond to different scale levels within the U-shaped architecture. These projections are then reshaped to a dimension of _h_ _×_ ( _C/h_ <sup>ˆ</sup> ) _×_ ( _H_ <sup>ˆ</sup> _W_ <sup>ˆ</sup> ), where _h_ denotes the number of attention heads. The paralleled attention heads make CCAT capable of capturing different aspects of inter-channel relationships. This diversity allows for a more comprehensive understanding of the feature maps, where _µD_ and _µG_ represent the average pixel values of the output diffuse image D and the target ground truth image G, _σD_ <sup>2</sup> <sup>and</sup> <sup>_σ_</sup> _G_ <sup>2</sup> <sup>are</sup> <sup>the</sup> <sup>variances</sup> <sup>of</sup> <sup>images</sup> <sup>D</sup> <sup>and</sup> <sup>G,</sup> <sup>ad</sup> <sup>_σDG_</sup> <sup>is</sup> the covariance between D and G. _C_ 1 and _C_ 2 are constants to stabilize the division with weak denominators. <u>(2</u> _<u>µDµG</u>_ <u>+</u> _<u>C</u>_ <u>1)(2</u> _<u>σDG</u>_ <u>+</u> _<u>C</u>_ <u>2)</u> _Ls_ = 1 _−_ ( _µ_ <sup>2</sup> _D_ <sup>+</sup> <sup>_µ_</sup> <sup>2</sup> _G_ <sup>+</sup> <sup>_C_</sup> <sup>1)(</sup> <sup>_σ_</sup> _D_ <sup>2</sup> <sup>+</sup> <sup>_σ_</sup> _G_ <sup>2</sup> <sup>+</sup> <sup>_C_</sup> <sup>2</sup> _D_ <sup>+</sup> <sup>_µ_</sup> <sup>2</sup> _G_ <sup>2</sup> _G_ <sup>+</sup> <sup>_C_</sup> <sup>1)(</sup> <sup>_σ_</sup> _D_ <sup>2</sup> _D_ <sup>2</sup> <sup>+</sup> <sup>_σ_</sup> <sup>2</sup> (10) _G_ <sup>2</sup> <sup>+</sup> <sup>_C_</sup> <sup>2)</sup> <sup>_,_</sup> (a)Input (b)Shen [12] (c)Yamamoto [19](d)TSHRNet [7] (e)Wu [25] (f)JSHDR [6] (g)Ours (h)GT Fig. 3. Visual comparative analysis of our method against leading SOTA approaches, highlighting our superior ability to remove specular highlights while preserving the original image’s color tone, structure, and crucial details, such as text clarity on reflective surfaces. IV. EXPERIMENTS _A._ _Benchmark_ In the pursuit of advancing the real-world applicability of Specular Highlight Removal (SHR) networks, the utilization of real-world datasets is crucial. To date, the PSD [5] dataset stands out as the only comprehensive collection across various objects where both highlight samples and their corresponding diffuse ground truths are captured in real-world scenarios. However, PSD’s limitation lies in its repetition of scenes across different polarization angles, reducing sample diversity despite having nearly 10000 pairs. To overcome the limitations of dataset size and enhance the robustness of deep learning methods for SHR, we propose the creation of a hybrid benchmark. This benchmark amalgamates real-world samples with synthetically generated samples that adhere to optical principles, offering a balanced and comprehensive training and testing environment. Our hybrid benchmark encompasses data from three distinct datasets: PSD [5], SHIQ [6], and SSHR [7], each serving a different purpose. The PSD dataset provides real-world photographs of both specular and diffuse samples, making it a valuable resource for realistic training. Contrastingly, SHIQ’s real-world specular samples are paired with diffuse images created via the RPCA method [30], once state-of-theart. Despite possibly no longer being the leading technique, its use enriches training diversity, highlighting its ongoing relevance. Meanwhile, the SSHR dataset offers a fully synthetic collection, created with open-source rendering software, adding a valuable dimension of diversity. For training, we selected 9481 pairs from PSD, 9825 pairs from SHIQ, and a random subset of 10000 pairs from SSHR. For testing, our selection comprised all 947 pairs from PSD, 1000 pairs from SHIQ, and 1000 randomly chosen pairs from SSHR. This selection strategy guarantees a diverse and balanced collection of samples for both the training and testing phases, ensuring robustness. To our knowledge, this is the first instance where a hybrid benchmark combining multiple datasets has been employed for SHR. This approach not only enriches the training and testing environment but also sets a new standard for future research in the field, potentially enhancing the performance and generalizability of SHR methods across a wider range of real-world and synthetic scenarios. _B._ _Evaluation_ _Metrics_ In our study, we utilize a suite of full-reference evaluation metrics to assess performance, including Peak Signal-to-Noise Ratio (PSNR), Structural Similarity Index (SSIM) [29], and Learned Perceptual Image Patch Similarity (LPIPS) [33]. For PSNR and SSIM, higher scores denote better performance, indicating a greater similarity between the generated images and TABLE I THE QUANTITATIVE COMPARISON RESULTS, ARRANGING TRADITIONAL METHODS IN THE UPPER SECTION AND LEARNING-BASED APPROACHES BELOW. THE HIGHEST-PERFORMING RESULTS ARE EMPHASIZED IN BOLD, WHILE THE SECOND-BEST ARE UNDERSCORED. Method <u>PSD</u> <u>(947images)</u> <u>SHIQ</u> <u>(1000images)</u> <u>SSHR</u> <u>(1000images)</u> <u>PSNR</u> _<u>↑</u>_ <u>SSIM</u> _<u>↑</u>_ <u>LPIPS</u> _<u>↓</u>_ <u>PSNR</u> _<u>↑</u>_ <u>SSIM</u> _<u>↑</u>_ <u>LPIPS</u> _<u>↓</u>_ <u>PSNR</u> _<u>↑</u>_ <u>SSIM</u> _<u>↑</u>_ <u>LPIPS</u> _<u>↓</u>_ Tan [10] 5.44 0.218 0.746 5.47 0.483 0.823 10.87 0.778 0.357 Yoon [31] 16.09 0.498 0.325 19.34 0.679 0.471 28.47 0.916 0.094 Shen [11] 19.56 0.666 0.238 24.77 0.890 0.200 24.53 0.896 0.101 Shen [12] 21.33 0.753 0.142 27.30 0.917 0.102 24.00 0.891 0.094 Yang [13] 4.74 0.250 0.893 5.31 0.556 0.837 10.72 0.781 0.358 Shen [14] 11.51 0.324 0.360 12.24 0.491 0.473 27.13 0.914 0.077 Akashi [15] 17.48 0.565 0.334 21.78 0.700 0.460 29.46 0.924 0.076 Huo [32] 20.16 0.767 0.182 23.80 0.909 0.154 18.62 0.804 0.281 Fu [18] 15.24 0.688 0.146 16.40 0.724 0.306 26.15 0.910 0.076 Yamamoto [19] 18.37 0.541 0.274 25.49 0.858 0.201 26.95 0.902 0.094 <u>Saha</u> [20] <u>15.98</u> <u>0.455</u> <u>0.314</u> <u>22.05</u> <u>0.832</u> <u>0.287</u> <u>23.38</u> <u>0.886</u> <u>0.110</u> SLRR [22] 13.25 0.571 0.235 14.74 0.724 0.283 26.16 0.916 0.060 JSHDR <sup>*</sup> [6] 22.78 0.811 0.089 37.97 0.980 0.034 26.43 0.301 0.059 SpecularityNet [5] 23.58 0.838 0.085 30.92 0.963 0.058 31.07 0.941 0.041 MG-CycleGAN [26] 22.12 0.815 0.085 26.80 0.935 0.091 28.40 0.874 0.092 Wu [25] <u>23.93</u> <u>0.863</u> <u>0.062</u> 31.57 0.965 0.059 <u>33.45</u> <u>0.951</u> <u>0.028</u> TSHRNet [7] <u>23.30</u> <u>0.826</u> <u>0.097</u> <u>34.57</u> 0.972 0.044 <u>33.32</u> <u>0.950</u> <u>0.036</u> AHA [28] 20.79 0.845 0.084 <u>21.42</u> 0.903 0.165 31.57 0.944 0.035 <u>Ours</u> <u>25.28</u> <u>0.883</u> <u>0.049</u> <u>33.81</u> <u>0.975</u> <u>0.039</u> <u>36.48</u> <u>0.964</u> <u>0.023</u> - <u>JSHDR’s source code is not publicly available; the results are obtained from an executable file provided by</u> its authors. TABLE II METRIC COMPARISON: OFFICIAL SSHR TEST SPLIT VS. RANDOMLY SELECTED 1,000-GROUP SUBSET. SSHR(Subset) SSHR(Full) PSNR Method Deviation PSNR _↑_ SSIM _↑_ LPIPS _↓_ PSNR _↑_ SSIM _↑_ LPIPS _↓_ Tan et al. 10.87 0.778 0.357 10.78 0.775 0.359 0.82% Yoon et al. 28.47 0.916 0.094 28.32 0.914 0.094 0.52% Shen et al. 24.53 0.896 0.101 24.59 0.895 0.100 0.26% Shen et al. 24.00 0.891 0.094 24.28 0.892 0.092 1.16% Yang et al. 10.72 0.781 0.358 10.64 0.778 0.360 0.72% Shen et al. 27.13 0.914 0.077 27.20 0.913 0.077 0.25% Akashi et al. 29.46 0.924 0.076 29.48 0.923 0.076 0.04% Huo et al. 18.62 0.804 0.281 18.59 0.802 0.280 0.17% Fu et al. 26.15 0.910 0.076 26.25 0.909 0.076 0.41% Yamamoto et al. 26.95 0.902 0.094 27.04 0.902 0.093 0.31% Saha et al. 23.38 0.886 0.110 23.48 0.886 0.108 0.45% SLRR 26.16 0.916 0.060 26.34 0.916 0.059 0.67% JSHDR 26.43 0.301 0.059 26.60 0.304 0.058 0.66% SpecularityNet 31.07 0.941 0.041 30.92 0.940 0.042 0.47% MG-CycleGAN 28.40 0.874 0.092 28.24 0.872 0.092 0.58% Unet-Transformer <u>33.45</u> <u>0.951</u> <u>0.028</u> <u>33.27</u> <u>0.949</u> <u>0.029</u> 0.55% TSHRNet 33.32 0.950 0.036 33.14 0.948 0.036 0.55% AHA 31.57 0.944 0.035 31.61 0.943 0.036 0.12% Ours 36.48 0.964 0.023 36.29 0.962 0.024 0.52% the ground truth. On the other hand, a lower score in LPIPS suggests enhanced visual quality, as this metric measures the perceptual similarity between generated and reference images in a way that is more aligned with human visual perception. _C._ _Implementation_ _Details_ Our model is implemented using PyTorch and trained using the Adam optimizer with default parameters on NVIDIA H800 GPU. To optimize the model, we employ the standard settings of the Adam optimization algorithm, with a batch size of 8 TABLE III COMPUTATIONAL COST FOR DEEP LEARNING METHODS. THE BATCH SIZE FOR EVALUATING THE TRAINING TIME PER ITERATION IS UNIFORMLY SET TO 2. Method MACs(G) _↓_ Params(M) _↓_ Infer Time(ms) _↓_ Train Time(ms/iter) _↓_ SpecularityNet 212.87 17.00 18.33 99.02 MG-CycleGAN 178.07 <u>12.78</u> 115.13 213.24 Unet-Transformer 101.63 53.39 15.45 72.59 TSHRNet <u>72.76</u> 116.99 <u>12.00</u> 35.90 AHA 92.40 35.86 11.26 <u>56.07</u> Ours 65.69 4.53 43.82 119.84 and a learning rate of 1 _e −_ 4. To enhance the robustness and generalizability of our model, we incorporate a comprehensive set of data augmentation techniques. These augmentations include random cropping of images, resizing, horizontal and vertical flipping, and the application of the mixup strategy to generate composite images from the original data, thereby exposing the model to a diverse range of variations and improving its ability to handle different data effectively. _D._ _Comparisons_ _with_ _State-of-the-Art_ _Methods_ To conduct a thorough evaluation of our Specular Highlight Removal (SHR) method relative to the current state-of-the-art, we compared our model against a total of 18 representative SHR techniques, which comprise both 11 traditional and 7 learning-based approaches. For the traditional methods, we processed the test samples directly to obtain their output results. To guarantee a fair comparison, we retrained all the learning-based models on the same benchmark dataset compiled for our study. During this retraining process, we adhered to the training settings (loss, iterations, hyper-parameters, etc.) as specified in the original publications of each method. _1)_ _Quantitative_ _Comparison:_ Table I showcases the quantitative performance of various specular highlight removal methods across three datasets, utilizing three distinct evaluation metrics. Our model, DHAN-SHR, demonstrates superior performance overall, with the sole exception being the results of JSHDR [6] on the SHIQ dataset, which was released in conjunction with JSHDR. It’s important to note, however, that JSHDR’s source code is not publicly available; our analysis is based on results obtained from an executable file provided by its authors. This limitation means we couldn’t retrain JSHDR under the same conditions as other methods, diminishing the comparative value of its performance on the SHIQ dataset. Notably, JSHDR shows significantly lower performance on both the PSD and SSHR datasets compared to DHAN-SHR, with the gap being particularly pronounced outside the SHIQ dataset. The performance of our DHAN-SHR model on the PSD and SSHR datasets outpaces other methods by a considerable margin, especially highlighting its exceptional performance on the PSD dataset. This dataset, known for its real-world, highresolution images, underlines the adaptability and effectiveness of our model in real-world application scenarios, suggesting DHAN-SHR’s robust capability in addressing specular highlight removal across diverse conditions. _2)_ _Qualitative_ _Comparison:_ The visual comparisons between our DHAN-SHR and SOTA methods, which include the top 2 traditional and top 3 deep learning methods based on average metric data in Table I, are illustrated in Figures 3. For optimal clarity, it is recommended to zoom in. Observations from Figure 3 reveal that our method excels not only in removing specular highlights effectively—surpassing even the reference ground truth in the third row—but also in preserving the original tone and consistent color of the entire image. Remarkably, it maintains the detail in diffuse areas and restores clarity to details previously obscured by reflections. In contrast, the methods we compared often fail to fully eliminate highlights, sometimes resulting in black spots within the treated areas. More problematic are the visual effects noted in the fourth row, where these methods disrupt the image’s original structure and details, leading to poor visual outcomes. Furthermore, in the fifth row, while competing methods tend to erase or blur text on the car’s rear window, our approach successfully retains and sharpens these details. _E._ _Ablation_ _Studies_ TABLE IV QUANTITATIVE RESULTS OF ABLATION STUDIES. KEY COMPONENTS – PIXEL-WISE SPATIAL-SPECTRAL SHIFTING WINDOW ATTENTION TRANSFORMER (P SSSWA), CHANNEL-WISE SPATIAL-SPECTRAL SHIFTING WINDOW ATTENTION TRANSFORMER (C SSSWA), CHANNEL-WISE CONTEXTUAL ATTENTION TRANSFORMER (CCAT), PIXEL-WISE SELF-ATTENTION TRANSFORMER(PSAT) AND FREQUENCYPROCESSOR (FP) - ARE INDIVIDUALLY ABLATED. Method PSNR _↑_ SSIM _↑_ LPIPS _↓_ W/O P <u>SSSWAT</u> 30.68 0.937 0.042 W/O C SSSWAT 30.93 0.938 0.041 W/O CCAT 30.49 0.934 0.044 W/O PSAT 30.80 0.935 0.043 W/O FP 30.92 0.938 0.041 Full Model 31.86 0.940 0.037 To assess the efficacy of our model’s integral features, ablation studies were executed, utilizing the averaged metrics from the PSD, SHIQ, and SSHR test sets to ensure a robust evaluation. These studies examined the model’s performance with and without its key elements, such as attention mechanisms and processor that handle spatial-spectral data. The summarized findings, detailed in Table V, underscore our full model’s superiority. By selectively removing specific components, we could discern their individual contributions, affirming that the integration of these elements is vital for optimal specular highlight removal performance. V. CONCLUSION In this study, we introduce the Dual-Hybrid Attention Network for Specular Highlight Removal (DHAN-SHR), a novel approach that effectively addresses the challenge of specular highlight removal in multimedia applications. DHANSHR employs adaptive attention mechanisms that capture both global-level dependencies and local-level relationships, TABLE V ABLATION RESULTS THAT AVERAGED ON THE PSD, SHIQ, AND SSHR TEST SETS. U-Net P <u>SSSWAT</u> <u>C</u> <u>SSSWAT</u> FP CCAT PSAT PSNR _↑_ SSIM _↑_ LPIPS _↓_ - 29.79 0.930 0.048 - - 30.95 0.933 0.043 - - - 31.48 0.935 0.041 - - 30.30 0.932 0.044 - - 30.36 0.931 0.045 - - - 30.54 0.931 0.044 - - - - 30.77 0.933 0.044 - - - - - - 31.86 0.940 0.037 eliminating the need for additional priors or supervision. We assembled an extensive benchmark dataset combining images from three different highlight removal datasets. Experimental results demonstrate that DHAN-SHR outperforms 18 state-ofthe-art methods across various test datasets and metrics. REFERENCES [1] S. A. Shafer, “Using color to separate reflection components,” _Color_ _Research_ _&_ _Application_, vol. 10, no. 4, pp. 210–218, 1985. [2] Z. Liu, Y. Lin, Y. Cao, H. Hu, Y. Wei, Z. Zhang, S. Lin, and B. Guo, “Swin transformer: Hierarchical vision transformer using shifted windows,” in _Proceedings of the IEEE/CVF international conference on_ _computer_ _vision_, 2021, pp. 10 012–10 022. [3] J. Liang, J. Cao, G. Sun, K. Zhang, L. Van Gool, and R. Timofte, “Swinir: Image restoration using swin transformer,” in _Proceedings_ _of_ _the_ _IEEE/CVF_ _international_ _conference_ _on_ _computer_ _vision_, 2021, pp. 1833–1844. [4] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, J. Uszkoreit, and N. Houlsby, “An image is worth 16x16 words: Transformers for image recognition at scale,” _ICLR_, 2021. [5] Z. Wu, C. Zhuang, J. Shi, J. Guo, J. Xiao, X. Zhang, and D.-M. Yan, “Single-image specular highlight removal via real-world dataset construction,” _IEEE_ _Transactions_ _on_ _Multimedia_, 2021. [6] G. Fu, Q. Zhang, L. Zhu, P. Li, and C. Xiao, “A multi-task network for joint specular highlight detection and removal,” in _Proceedings_ _of_ _the IEEE/CVF Conference on Computer Vision and Pattern Recognition_, 2021, pp. 7752–7761. [7] G. Fu, Q. Zhang, L. Zhu, C. Xiao, and P. Li, “Towards high-quality specular highlight removal by leveraging large-scale synthetic data,” in _Proceedings_ _of_ _the_ _IEEE/CVF_ _International_ _Conference_ _on_ _Computer_ _Vision_, 2023, pp. 12 857–12 865. [8] I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio, “Generative adversarial nets,” _Advances_ _in_ _neural_ _information_ _processing_ _systems_, vol. 27, 2014. [9] L. Quan, H.-Y. Shum _et_ _al._, “Highlight removal by illumination constrained inpainting,” in _Proceedings_ _ninth_ _ieee_ _international_ _confer-_ _ence_ _on_ _computer_ _vision_ . IEEE, 2003, pp. 164–169. [10] R. Tan and K. Ikeuchi, “Separating reflection components of textured surfaces using a single image,” _IEEE_ _Transactions_ _on_ _Pattern_ _Analysis_ _and_ _Machine_ _Intelligence_, vol. 27, no. 2, pp. 178–193, 2005. [11] H.-L. Shen, H.-G. Zhang, S.-J. Shao, and J. H. Xin, “Chromaticity based separation of reflection components in a single image,” _Pattern_ _Recognition_, vol. 41, no. 8, pp. 2461–2469, 2008. [12] H.-L. Shen and Q.-Y. Cai, “Simple and efficient method for specularity removal in an image,” _Applied_ _optics_, vol. 48, no. 14, pp. 2711–2719, 2009. [13] Q. Yang, S. Wang, and N. Ahuja, “Real-time specular highlight re moval using bilateral filtering,” in _Computer_ _Vision–ECCV_ _2010:_ _11th_ _European_ _Conference_ _on_ _Computer_ _Vision,_ _Heraklion,_ _Crete,_ _Greece,_ _September_ _5-11,_ _2010,_ _Proceedings,_ _Part_ _IV_ _11_ . Springer, 2010, pp. 87–100. [14] H.-L. Shen and Z.-H. Zheng, “Real-time highlight removal using inten sity ratio,” _Applied_ _optics_, vol. 52, no. 19, pp. 4483–4493, 2013. [15] Y. Akashi and T. Okatani, “Separation of reflection components by sparse non-negative matrix factorization,” in _Computer_ _Vision–ACCV_ _2014: 12th Asian Conference on Computer Vision, Singapore, Singapore,_ _November_ _1-5,_ _2014,_ _Revised_ _Selected_ _Papers,_ _Part_ _V_ _12_ . Springer, 2015, pp. 611–625. [16] A. C. Souza, M. C. Macedo, V. P. Nascimento, and B. S. Oliveira, “Real-time high-quality specular highlight removal using efficient pixel clustering,” in _2018_ _31st_ _SIBGRAPI_ _Conference_ _on_ _Graphics,_ _Patterns_ _and_ _Images_ _(SIBGRAPI)_ . IEEE, 2018, pp. 56–63. [17] I. Nurutdinova, R. H¨ansch, V. M¨uhler, S. Bourou, A. I. Papadaki, and O. Hellwich, “Specularity, shadow, and occlusion removal for planar objects in stereo case,” in _International_ _Conference_ _on_ _Computer_ _Vision_ _Theory_ _and_ _Applications_, vol. 5. SCITEPRESS, 2017, pp. 98–106. [18] G. Fu, Q. Zhang, C. Song, Q. Lin, and C. Xiao, “Specular highlight removal for real-world images,” in _Computer_ _graphics_ _forum_, vol. 38, no. 7. Wiley Online Library, 2019, pp. 253–263. [19] T. Yamamoto and A. Nakazawa, “General improvement method of specular component separation using high-emphasis filter and similarity function,” _ITE_ _Transactions_ _on_ _Media_ _Technology_ _and_ _Applications_, vol. 7, no. 2, pp. 92–102, 2019. [20] R. Saha, P. Pratim Banik, S. Sen Gupta, and K.-D. Kim, “Combining highlight removal and low-light image enhancement technique for hdrlike image generation,” _IET Image_ _Processing_, vol. 14, no. 9, pp. 1851– 1861, 2020. [21] S. Wen, Y. Zheng, and F. Lu, “Polarization guided specular reflection separation,” _IEEE Transactions on Image Processing_, vol. 30, pp. 7280– 7291, 2021. [22] J. Guo, Z. Zhou, and L. Wang, “Single image highlight removal with a sparse and low-rank reflection model,” in _Proceedings_ _of_ _the_ _European_ _Conference_ _on_ _Computer_ _Vision_ _(ECCV)_, 2018, pp. 268–283. [23] S. Hou, C. Wang, W. Quan, J. Jiang, and D.-M. Yan, “Text-aware single image specular highlight removal,” in _Pattern Recognition and Computer_ _Vision:_ _4th_ _Chinese_ _Conference,_ _PRCV_ _2021,_ _Beijing,_ _China,_ _October_ _29–November_ _1,_ _2021,_ _Proceedings,_ _Part_ _IV_ _4_ . Springer, 2021, pp. 115–127. [24] B. Liang, D. Weng, Z. Tu, L. Luo, and J. Hao, “Research on face specular removal and intrinsic decomposition based on polarization characteristics,” _Optics_ _Express_, vol. 29, no. 20, pp. 32 256–32 270, 2021. [25] Z. Wu, J. Guo, C. Zhuang, J. Xiao, D.-M. Yan, and X. Zhang, “Joint specular highlight detection and removal in single images via unettransformer,” _Computational_ _Visual_ _Media_, vol. 9, no. 1, pp. 141–154, 2023. [26] G. Hu, Y. Zheng, H. Yan, G. Hua, and Y. Yan, “Mask-guided cycle-gan for specular highlight removal,” _Pattern_ _Recognition_ _Letters_, vol. 161, pp. 108–114, 2022. [27] A. Anwer, S. Ainouz, N. M. Saad, S. S. A. Ali, and F. Meriaudeau, “Joint network for specular highlight detection and adversarial generation of specular-free images trained with polarimetric data,” _Neurocomputing_, vol. 559, p. 126769, Nov. 2023. [Online]. Available: [https://doi.org/10.1016/j.neucom.2023.126769](https://doi.org/10.1016/j.neucom.2023.126769) [28] K. Hu, Z. Huang, and X. Wang, “Highlight removal network based on an improved dichromatic reflection model,” in _ICASSP 2024-2024 IEEE_ _International_ _Conference_ _on_ _Acoustics,_ _Speech_ _and_ _Signal_ _Processing_ _(ICASSP)_ . IEEE, 2024, pp. 2645–2649. [29] Z. Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli, “Image quality assessment: from error visibility to structural similarity,” _IEEE_ _Trans._ _Image_ _Process._, vol. 13, no. 4, pp. 600–612, 2004. [30] X. Guo, X. Cao, and Y. Ma, “Robust separation of reflection from multiple images,” in _Proceedings_ _of_ _the_ _IEEE_ _conference_ _on_ _computer_ _vision_ _and_ _pattern_ _recognition_, 2014, pp. 2187–2194. [31] K.-J. Yoon, Y. Choi, and I. S. Kweon, “Fast separation of reflection components using a specularity-invariant image representation,” in _2006_ _international_ _conference_ _on_ _image_ _processing_ . IEEE, 2006, pp. 973– 976. [32] Y. Huo, F. Yang, and C. Li, “Hdr image generation from ldr image with highlight removal,” in _2015_ _IEEE_ _International_ _Conference_ _on_ _Multimedia_ _&_ _Expo_ _Workshops_ _(ICMEW)_ . IEEE, 2015, pp. 1–5. [33] R. Zhang, P. Isola, A. A. Efros, E. Shechtman, and O. Wang, “The unreasonable effectiveness of deep features as a perceptual metric,” in _2018_ _IEEE_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition,_ _CVPR_ _2018,_ _Salt_ _Lake_ _City,_ _UT,_ _USA,_ _June_ _18-22,_ _2018_ . IEEE Computer Society, 2018, pp. 586–595. APPENDIX A FULL COMPARISONS Figure 4, 5, 6, and 7 provide a comprehensive visual comparison of all the methods discussed in the main paper, offering a more extensive performance evaluation. Overall, our method surpasses both traditional and deep learning specular highlight removal methods, excelling not only in effective highlight removal but also in the visual quality. APPENDIX B USER STUDY Although metrics such as Naturalness Image Quality Evaluator (NIQE) offers valuable insights into the visual quality of images, there remains a lack of unreferenced metrics specifically designed to evaluate the results of highlight removal. To address this gap and further validate the effectiveness of our DHAN-SHR in practical applications, we conducted a user study. This study aims to assess the perceptual quality of images processed by our method in comparison to other state-of-the-art techniques. It focuses not only on evaluating the effectiveness of highlight removal but also on the overall quality of the output images, providing a comprehensive analysis of our method’s performance. Observing that deep learning methods significantly outperform traditional approaches, we limited participant evaluation to our method versus seven other learning-based methods to maintain the focus and reduce the burden on our study participants. We invited 20 participants to evaluate the visual quality of highlight removal images. To ensure a comprehensive assessment, we randomly selected 10 images from each of the three test sets (PSD, SHIQ, and SSHR), resulting in a total of 240 images for evaluation. We have meticulously prepared the user study form, as shown on the last page, in a Word document format and ensuring that there is no compression of the images. The images were organized into groups, each consisting of one original input image with specular highlights and eight corresponding highlight removal results, including our method and the seven other learning-based methods. The methods were anonymized to prevent bias, and the order of the methods within each group was randomized. Participants were provided with a scoring table for each group of images, where they rated the eight methods based on the following criteria: 1) Highlight Reflection Area Detection Ability : Assessing the effectiveness and accuracy of detecting highlight areas. 2) Highlight Removal Effect : Evaluating the naturalness of highlight removal and the absence of color distortion. 3) Texture Restoration Level : Assessing the consistency of texture in the highlight-removed area with nearby regions. 4) Diffuse Area Visual Quality : Evaluating whether the diffuse areas were altered. The scoring scale ranged from 1 (worst) to 5 (best), allowing participants to capture a spectrum of perceptible quality levels in the highlight removal results: TABLE VI COMPARISON OF USER STUDY SCORES WITH SEVEN LEARNING-BASED METHODS. THE HIGHEST-SCORED RESULTS ARE HIGHLIGHTED IN BOLD, WHILE THE SECOND-BEST ARE UNDERLINED FOR EMPHASIS. Method PSD SHIQ SSHR SLRR [22] 1.65 1.83 3.09 JSHDR [6] 3.64 <u>4.8</u> 3.06 SpecularityNet [5] <u>3.95</u> 3.96 3.72 MG-CycleGAN [26] 3.26 3.21 2.46 Wu [25] 3.65 3.95 <u>4.25</u> TSHRNet [7] <u>3.95</u> 4.53 3.79 AHA [28] 3.03 2.38 4.09 Ours 4.41 4.92 4.77 _•_ 1 (Poor): The image significantly falls short in the specific criterion, marked by noticeable issues or distortions. _•_ 2 (Fair): The image, despite visible flaws, exhibits some elements of acceptable quality. _•_ 3 (Average): The image is satisfactory overall, with most elements adequately processed. _•_ 4 (Good): The image is well-processed, presenting only minor imperfections. _•_ 5 (Excellent): The image excels in the criterion, demonstrating exceptional quality. Participants were instructed to assign a score for each criterion independently, ensuring a thorough evaluation of the various aspects of highlight removal. During the evaluation process, participants were able to zoom in on the images for a more detailed examination. For each de-highlighted image, we presented the original alongside the outputs from the eight methods, anonymizing the method names to prevent bias. The final score for each image was determined by calculating the mean of the scores across the four criteria, with each criterion being equally weighted. This approach ensured a balanced and comprehensive assessment of each highlight removal result’s overall quality. Table VI presents the final user study scores, illustrating that our method consistently achieves the highest average score across all three test sets. (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) Fig. 4. Comprehensive visual comparison. (a) Input specular highlight image, (b) Tan [10], (c) Yoon [31], (d) Shen [11], (e) Shen [12], (f) Yang [13], (g) Shen [14], (h) Akashi [15], (i) Huo [32], (j) Fu [18], (k) Yamamoto [19], (l) Saha [20], (m) SLRR [22], (n) JSHDR [6], (o) SpecularityNet [5], (p) MG-CycleGAN [26], (q) Wu [25], (r) TSHRNet [7], (s) AHA [28], (t) Ours, (u) GT diffuse image. The reader is encouraged to zoom-in. (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) Fig. 5. Comprehensive visual comparison. (a) Input specular highlight image, (b) Tan [10], (c) Yoon [31], (d) Shen [11], (e) Shen [12], (f) Yang [13], (g) Shen [14], (h) Akashi [15], (i) Huo [32], (j) Fu [18], (k) Yamamoto [19], (l) Saha [20], (m) SLRR [22], (n) JSHDR [6], (o) SpecularityNet [5], (p) MG-CycleGAN [26], (q) Wu [25], (r) TSHRNet [7], (s) AHA [28], (t) Ours, (u) GT diffuse image. The reader is encouraged to zoom-in. (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) Fig. 6. Comprehensive visual comparison. (a) Input specular highlight image, (b) Tan [10], (c) Yoon [31], (d) Shen [11], (e) Shen [12], (f) Yang [13], (g) Shen [14], (h) Akashi [15], (i) Huo [32], (j) Fu [18], (k) Yamamoto [19], (l) Saha [20], (m) SLRR [22], (n) JSHDR [6], (o) SpecularityNet [5], (p) MG-CycleGAN [26], (q) Wu [25], (r) TSHRNet [7], (s) AHA [28], (t) Ours, (u) GT diffuse image. The reader is encouraged to zoom-in. (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) (m) (n) (o) (p) (q) (r) (s) (t) (u) Fig. 7. Comprehensive visual comparison. (a) Input specular highlight image, (b) Tan [10], (c) Yoon [31], (d) Shen [11], (e) Shen [12], (f) Yang [13], (g) Shen [14], (h) Akashi [15], (i) Huo [32], (j) Fu [18], (k) Yamamoto [19], (l) Saha [20], (m) SLRR [22], (n) JSHDR [6], (o) SpecularityNet [5], (p) MG-CycleGAN [26], (q) Wu [25], (r) TSHRNet [7], (s) AHA [28], (t) Ours, (u) GT diffuse image. The reader is encouraged to zoom-in. Fig. 8. #### Specular Highlight Removal Methods Evaluation Form Purpose: This study aims to assess the effectiveness of various specular highlight removal methods. Your feedback will help improve the quality of specular highlight removal techniques. Instructions: _•_ You will see an original image with specular highlights followed by its processed versions. _•_ Please rate each processed image based on the criteria provided. _•_ Use the scale from 1 (Poor) to 5 (Excellent) for your rating. Evaluation Criteria: 1) Highlight Reflection Area Detection Ability : Assessing the effectiveness and accuracy of detecting highlight areas. 2) Highlight Removal Effect : Evaluating the naturalness of highlight removal and the absence of color distortion. 3) Texture Restoration Level : Assessing the consistency of texture in the highlight-removed area with nearby regions. 4) Diffuse Area Visual Quality : Evaluating whether the diffusion areas were altered. Image Evaluation: (**Below is a demonstration of one group of images to serve as an example for the evaluation process.) Input Method 1 Method 2 Method 3 Method 4 Method 5 Method 6 Method 7 Method 8 <u>Method</u> <u>1</u> <u>2</u> <u>3</u> <u>4</u> <u>5</u> <u>6</u> <u>7</u> <u>8</u> <u>Highlight</u> <u>Detection</u> <u>Ability</u> <u>Highlight</u> <u>Removal</u> <u>Effect</u> <u>Texture</u> <u>Restoration</u> <u>Level</u> <u>Diffuse</u> <u>Area</u> <u>Visual</u> <u>Quality</u> #### Groups 2 to 30 have been omitted in this section for brevity. Thank You Note: Thank you for your participation. Your insights are invaluable to us.

섹션 본문 96문단 · 46,316자

(제목 없음)

1Specular highlight removal plays a pivotal role in multimedia applications, as it enhances the quality and interpretability of images and videos, ultimately improving the performance of downstream tasks such as content-based retrieval, object recognition, and scene understanding.Despite significant advances in deep learning-based methods, current state-of-the-art approaches often rely on additional priors or supervision, limiting their practicality and generalization capability.In this paper, we propose the Dual-Hybrid Attention Network for Specular Highlight Removal (DHAN-SHR), an end-to-end network that introduces novel hybrid attention mechanisms to effectively capture and process information across different scales and domains without relying on additional priors or supervision.DHAN-SHR consists of two key components: the Adaptive Local Hybrid-Domain Dual Attention Transformer (L-HD-DAT) and the Adaptive Global Dual Attention Transformer (G-DAT).The L-HD-DAT captures local inter-channel and inter-pixel dependencies while incorporating spectral domain features, enabling the network to effectively model the complex interactions between specular highlights and the underlying surface properties.The G-DAT models global inter-channel relationships and long-distance pixel dependencies, allowing the network to propagate contextual information across the entire image and generate more coherent and consistent highlight-free results.To evaluate the performance of DHAN-SHR and facilitate future research in this area, we compile a large-scale benchmark dataset comprising a diverse range of images with varying levels of specular highlights.Through extensive experiments, we demonstrate that DHAN-SHR outperforms 18 state-of-the-art methods both quantitatively and qualitatively, setting a new standard for specular highlight removal in multimedia applications.The code and dataset will be available.

I. INTRODUCTION

2S PECULAR highlights, the intense reflections of light sources on shiny surfaces, pose significant challenges in multimedia and computer vision applications.These reflections disrupt the visual consistency of images and videos, obscuring details and altering color fidelity, which can have a detrimental impact on various multimedia applications, such as video editing, content-based retrieval, and interactive media.Removing specular highlights is crucial for accurate image and video interpretation and processing, yet it remains a complex task due to the variability in light conditions, surface properties, and angles of observation.

3Traditional highlight removal techniques, based on models such as the dichromatic reflection model [1], often fall short in diverse real-world scenarios.Deep learning approaches have shown promise, but most require prior information, such as highlight masks, limiting their practicality and generalization ability.Current methods also struggle to effectively restore highlighted areas, leading to suboptimal results.

4To address these challenges, we propose an end-to-end network that eliminates the need for additional priors or supervision, enabling specular highlight removal in a single step while preserving the visual fidelity of the restored diffuse image.Our approach is inspired by the observation that in natural scene photos, only a small portion of the surface produces a highlight effect due to its smoothness and specific reflection angle with the light source, while the majority of the remaining areas are in a diffuse state without highlights.Consequently, for the task of highlight removal, we aim to learn a global relationship on illumination and color.Moreover, to effectively restore details such as texture in the highlight regions, it is crucial to consider local features in addition to the global context.Therefore, in our network design, we incorporate two dimensions of self-attention to capture both global-level dependencies and local-level relationships.

5Specifically, to capture the relationships between local features, we introduce the Adaptive Local Hybrid-Domain Dual Attention Transformer, which sets our approach apart from current deep learning dehighlight methods that solely concentrate on the spatial domain (pixel values).Our transformer leverages frequency domain features to aid the learning process of the spatial domain, as frequency domain analysis offers a complementary perspective by uncovering both fine details and overarching patterns.Building upon this hybrid domain foundation, our transformer employs a window-based dual attention mechanism to efficiently focus on the local interchannel and inter-pixel relationships within the partitioned windows, respectively.Both attention mechanisms' computations are limited to non-overlapping windows, significantly reducing the computational complexity compared to traditional self-attention mechanisms that consider the entire image.This window-based approach allows for more focused processing of local regions, enabling the transformer to effectively capture arXiv:2407.12255v1[cs.CV] 17 Jul 2024 fine-grained details and textures.

6To further enhance the transformer's ability to capture dependencies across window boundaries, we incorporate a window-shifting mechanism which is inspired by Swin Transformer [2] and SwinIR [3].By shifting the pixels to create new window partitions, our module facilitates information exchange between adjacent windows.This shifting operation allows the transformer to capture local dependencies that span across window boundaries, ensuring a seamless integration of features across the entire image.

7For global-level dependencies, we propose the Channel-Wise Contextual Attention Module that employs efficient Transformers to capture inter-channel relationships, rather than inter-patch relationships.This design choice serves two purposes: firstly, it allows the network to focus on more coarse-grained whole features, and secondly, it avoids the high computational and memory demands associated with the original Vision Transformer [4].By attending to the channelwise context, our module can effectively capture the global dependencies between different feature maps, enabling the network to reason about the overall illumination and color distribution.

8To better organize feature learning at different scales, we adopt a network architecture similar to UNet, strategically placing modules that focus on different granularities at various positions within the network.Modules that capture detailed information are placed at higher levels, while modules that focus on global information are positioned at lower levels.This hierarchical arrangement enables our network to effectively learn and process features at different scales, improving its ability to handle complex specular highlight removal tasks.

9To provide a standardized basis for comparison and yield meaningful insights into the performance improvements of specular highlight removal methods, we assembled an extensive dataset by combining images from three different highlight removal datasets (PSD [5], SHIQ [6] and SSHR [7]).PSD features high-quality real-world ground truth images, while the other two datasets include generated reference ground truths and fully synthetic data, broadening the diversity of the training samples.We retrained seven state-of-the-art deep learning specular highlight removal methods on this unified benchmark and evaluated their performance, along with 11 traditional methods, on the test sets of the benchmark.The experimental results demonstrate that our approach outperforms 18 other state-of-the-art methods across various test datasets and metrics, showcasing its superiority in specular highlight removal.

10Overall, our contributions can be summarized as follows:

II. RELATED WORK

11The removal of highlights has been a long-standing challenge in the field of image processing and multimedia, with two main approaches emerging: traditional methods and learning-based methods.Traditional methods typically rely on physical models, color, or texture information to capture the relationship between diffuse reflection and specular reflection.These methods utilize optical principles and geometric relationships to derive highlight characteristics and perform detection and removal.

12In recent years, learning-based methods have gained significant attention due to their ability to learn complex relationships between input images and desired outputs.These methods often employ techniques such as Generative Adversarial Networks (GANs) [8] and Vision Transformer (ViT) [4] to address highlight removal.GANs have been particularly effective in generating realistic images by learning the underlying distribution of the data, while ViTs have proven valuable in capturing long-range dependencies and global context.

A. Traditional Approaches

13The field of traditional methods for highlight removal has primarily focused on separating specular reflections from diffuse reflections, aiming to address the challenges posed by reflections in images and contribute to advancements in image processing and analysis.Early researchers explored various approaches, starting with illumination-based constraints [9] and methods that relied solely on color recognition of highlight regions [10].As the field progressed, chromaticity analysisbased methods gained attention, with notable contributions from Shen et al. [11], [12].

14Researchers have also discovered that leveraging the characteristics of diffuse reflections can be an effective approach for removing specular highlights, as demonstrated by Yang et al. [13] and Shen et al. [14].The dichromatic reflection model [1] has also been successfully employed in reflection separation methods, as shown by Akashi et al. [15] and Souza et al. [16].

15In addition to these foundational methods, various other approaches have been proposed to tackle the challenge of highlight removal.Nurutdinova et al. [17] introduced a semiautomatic algorithm for correction and segmentation of input images, which aids in the highlight removal process.Fu et al. [18] utilized the L0 criterion to enhance the sparsity of encoding coefficients and recover the diffuse reflection component in specular highlight regions, offering a novel perspective on the problem.Yamamoto et al. [19] proposed a method that replaces the separation results of erroneous pixels from a high-pass filter with results from other reference pixels in the image, improving the overall quality of the highlight removal process.Saha et al. [20] took a different approach by combining methods for low-light enhancement and highlight removal to generate high-quality HDR images, demonstrating the potential for integrating multiple techniques to achieve better results.

16More recently, Wen et al. [21] derived a polarizationguided model that incorporates polarization information into an iterative optimization separation strategy.This method effectively separates specular reflections by utilizing polarization information, showcasing the benefits of leveraging additional data sources to improve highlight removal performance.

17In summary, traditional methods for highlight removal have evolved from early illumination-based constraints and color recognition approaches to more advanced techniques that leverage chromaticity analysis, diffuse reflection characteristics, and polarization information.These methods have collectively contributed to the development of effective strategies for separating specular reflections from diffuse reflections, paving the way for further advancements in the field of highlight removal and image processing.

B. Deep Learning-based Approaches

18Deep learning methods have gained significant attention in the field of highlight removal due to their potential for higher accuracy and improved generalization, while reducing the need for extensive manual intervention.Various approaches have been proposed to tackle this challenge, each contributing unique insights and techniques.

19Guo et al. [22] introduced SLRR, a sparse and low-rank reflection model for highlight removal, which laid the groundwork for subsequent deep learning-based methods.Building upon this, Hou et al. [23] proposed a hybrid framework that combines a highlight detection network and a highlight removal network, demonstrating promising results in removing specular highlights from text images.

20To further improve the modeling of the relationship between diffuse and specular highlight regions, Wu et al. [5] developed SpecularityNet, a GAN-based method that incorporates an attention mechanism.Similarly, Fu et al. [6] proposed a multi-task network that integrates the specular highlight image formation model to enhance highlight removal performance.

21Liang et al. [24] introduced an advanced deep learning method that combines mirror separation and intrinsic decomposition using an adversarial neural network.This approach aims to extract various decomposition results, such as pure diffuse image, normal map, albedo map, visibility map, and residual map, from a single facial image with specular reflections.

22Several other deep learning models have been developed to address highlight removal, including Unet-Transformer [25], which employs a highlight detection module as a mask to guide the removal task, and MG-CycleGAN [26], which leverages a mask generated by removing specular highlights from unpaired data to guide Cycle-GAN in transforming the problem into an image-to-image translation task.

23TSHRNet [7] has demonstrated superior performance in scenarios involving multiple objects and complex lighting conditions, while SHMGAN [27] is a neural network framework capable of effectively separating specular highlight maps and mirror distribution maps without the need for manual input labels.

24Despite the advancements made by these state-of-the-art methods, they often encounter issues such as color inconsistency between highlight regions and the background, as well as the generation of unrealistic content within the highlight regions.To address these challenges, Hu et al. [28] proposed a neural network framework that effectively mitigates these problems, further pushing the boundaries of highlight removal techniques.

25In summary, the field of highlight removal has witnessed significant progress through the development of deep learning methods, each contributing novel approaches and techniques to improve accuracy, generalization, and overall performance.However, there remains room for improvement in terms of color consistency and the generation of realistic content within highlight regions, which future research should aim to address.

A. Overall Architecture

26Figure 1 illustrates the architecture of our proposed "DHAN-SHR", an end-to-end, one-stage network that takes a single image with specular highlight as input, without requiring any additional information such as highlight masks or priors.The network adopts a U-shape encoder-bottleneckdecoder structure to apply scale-specific feature learning methods at different levels.

27The network begins by applying Adaptive Local Hybrid-Domain Dual Attention Transformers (L-HD-DAT) to lowlevel, high-resolution feature maps, capturing spatial and spectral information with two levels of local attention.The encoder pathway progressively downsamples the image, using Channel-Wise Contextual Attention Transformers (CCAT) to capture contextual information at lower resolutions.At the bottleneck, Adaptive Global Dual Attention Transformers (G-DAT) capture high-level semantic features.In the decoder pathway, the encoded features are gradually upsampled, recovering spatial details and fine-grained information.To maintain a balance between the encoder and decoder, we employ the same modules used in the corresponding levels of the encoder.And By concatenating these features via skip connections, the network can effectively combine the strengths of both pathways.

28The network's architecture, with its scale-specific feature learning methods, enables effective capture and processing of features at different scales and semantic levels, leading to accurate and efficient specular highlight removal.

Channel-Wise Contextual Attention Transformer

29Pixel-wise Self-Attention Transformer . .

B. Adaptive Local Hybrid-Domain Dual Attention Transformer (L-HD-DAT)

30The Adaptive Local Hybrid-Domain Dual Attention Transformer (L-HD-DAT) is a crucial component of our proposed DHAN-SHR network, situated at the topmost position of the U-shaped architecture.Its primary objective is to process feature maps with the highest resolution, matching that of the input image, which contains the most abundant details.In the context of specular highlight removal, accurately detecting and removing specular highlights while restoring the corresponding diffuse visuals with consistent texture and detailed colors is critical for achieving high-quality results.This task is often considered the last mile in determining the visual quality of the highlight removal process.

31The L-HD-DAT employs two parallel attention mechanisms to capture both inter-channel and inter-pixel relationships within local windows.These attention mechanisms are implemented through the Pixel-wise Spatial-Spectral Shifting Window Attention Transformer (P SSSWAT) and the Channelwise Spatial-Spectral Shifting Window Attention Transformer (C SSSWAT).To adaptively adjust the contribution of each attention mechanism during the training process, we introduce a learnable weight coefficient α.The L-HD-DAT can be formulated as follows:

32where F represents the input features.Both P SSSWAT and C SSSWAT follow the same procedure, which can be described as:

33In this procedure, F denotes the input features with dimension C × H × W , LN represents the LayerNorm operation, and FP is the Frequency Processor.The Spatial-Spectral Shifting Window Attention (SSSWA) is a key component of both P SSSWAT and C SSSWAT.The Feed Forward Network (FFN) consists of three convolutional layers that further process the attended features, enabling the network to capture complex spatial relationships and refine the feature representations.

341) P SSSWA: Pixel-wise Spatial-Spectral Shifting Window Attention: Both P SSSWAT and C SSSWAT calculate intrawindow attentions twice sequentially: first on the original features and then on the shifted features.The Pixel-wise Spatial-Spectral Shifting Window Attention (P SSSWA) calculation procedure is illustrated in the lower half of Figure 1, with the first cascaded attention depicted in detail.The second attention calculation follows the similar approach, differing only in the input feature maps and the apply of an attention mask.Given input features F ∈ R C×H×W , we first obtain the corresponding spectral features F s with the same dimension C × H × W using the Frequency Processor.Both F s and F are then partitioned into non-overlapping M × M windows, similar to SwinIR [3], where M represents the window height or width (in pixels).To ensure consistent window sizes, we pad the feature maps' right and bottom edges with zeros before partitioning.After partitioning and reshaping, F s and F have dimensions

35, where HW M 2 represents the total number of windows in a single channel.

36Next, we project the spectral features F s to Q s (query) and K s (key) and compute their self-attention, enabling the model to capture fine details and subtle variations that may be challenging to discern in the spatial domain alone.The resulting spectral attention, with dimensions HW M 2 × M 2 × M 2 , is then multiplied with the spatial features F (as V (value)), allowing the model to selectively attend to relevant spatial regions based on insights gained from the frequency domain analysis.In short, the first cascaded Pixel-wise Spatial-Spectral Window Attention is computed as:

37By integrating information from both the spatial and spectral domains, this attention mechanism enables the model to effectively identify and remove specular highlights while preserving the underlying surface details, resulting in improved specular highlight removal performance.Before the partition-reversed output features of P SSSWA 1 are cascadedly input to the second attention block of P SSSWAT, we perform a cyclic shift on the pixels of each feature map by s pixels in both horizontal and vertical directions, to cover the areas on the boundaries of the windows from the first partition.This shifting rule is illustrated using four color blocks in Figure 2. Unlike Swin Transformer's [2] patch-based window partition rules, we directly partition the windows on the pixels themselves.This pixel-level window partitioning allows the window-based attention mechanism to reflect more detailed textures, as it operates on the raw pixel values rather than on abstracted patches.

38We then partition and reshape the shifted features

39, similar to the previous attention block, and project it to obtain Q sh , K sh and V sh with the same dimension HW M 2 × C × M 2 .The selfattention of the shifted window is calculated by:

40In addition to the different input features, the second cascaded attention differs in the inclusion of an attention mask used to distinguish pixels that were originally not adjacent but are now in the same window due to the cyclic shifting.This can be observed on the right and bottom sides of the shifted features in Figure 2. The mask has the same size as the input shifted feature maps F sh , ensuring a one-to-one position correspondence.We assign a value of 0 to the positions in the windows where the pixels were originally adjacent, and a value of −100 to the positions in the windows where the pixels were originally not adjacent.Figure 2 provides an intuitive understanding of these mask values.By adding this mask to the self-attention of Q sh and K sh , the model maintains the relationship between originally adjacent pixels while suppressing the influence of pixels that are only adjacent due to cyclic shifting.Since the attention computation is limited to nonoverlapping windows, it significantly reduces the computational complexity compared to traditional self-attention mechanisms that consider the entire image.In traditional approaches, the computational complexity is usually quadratic relative to the image size, and the computational cost is especially tremendous for high-resolution feature maps.However, for one calculation of intra-window pixel-wise attention with input features of dimension C × H × W and a window size of M × M , the approximate number of operations, such as element-wise multiplication and addition, is (HW )M 2 (2C − 1) + (HW )C(2M 2 − 1).Since both M and C are constants, it means it has a linear computational complexity with respect to the image size.So the intra-window pixel attention not only helps to concentrate on local fine details but also offers computational efficiency.

412) C SSSWA: Channel-wise Spatial-Spectral Shifting Window Attention: The working process of the C SSSWA is similar to the previously described P SSSWA.However, the main difference lies in the inter-channel window range attention calculation approach, which differs from P SSSWA's inter-pixel counterpart.The input features remain the same, with F ∈ R C×H×W representing the spatial domain features and F s ∈ R C×H×W representing the corresponding spectral domain feature maps.

42Following the same procedure as P SSSWA, we perform window partitioning, reshaping, and projection of F and F s to obtain the corresponding window-based features Q s , K s , V in the same dimension HW M 2 ×C×M 2 .The first attention block, which hybridizes the spectral and spatial domain features, is calculated as:

43where τ acts as a learnable temperature parameter that modulates the magnitude of the dot product.The attention result of K s to Q s has a dimension of HW M 2 × C × C, representing the interrelationships between the C channels for each window among the total HW M 2 windows.In the next step, we reverse the result of equation ( 5) with window partitioned dimension HW M 2 × C × M 2 back to the input feature maps' dimension C × H × W .After shifting the feature maps by s pixels, we partition, reshape, and project the new window-based features as Q sh , K sh , and V sh for the second attention block, which is similar to P SSSWA in employing shifted windows to capture dependencies across window boundaries, as shown in equation (6).However, unlike P SSSWA, we do not use an attention mask as in equation ( 4).This is because when calculating the inter-channel relationships, we multiply the pixels that are in aligned positions within the window and then add them together.Therefore, the computation is not dependent on the pixels' positional relationships.

44where

45, and τ is still a learnable temperature parameter.The computational complexity of both equation ( 5) and equation ( 6) is approximately 4C 2 (HW ), which is linearly related to the size of the image H × W .

463) Frequency Processor: The Frequency Processor employed in both P SSSWAT and C SSSWAT generates feature maps that have undergone transforms to the frequency domain, as shown in Algorithm 1. First, we compute the discrete Fourier transform of the input feature maps.Then, a shallow convolution and GeLU activation are applied to the frequency features to introduce non-linearity and enhance the expressiveness of the frequency-domain representations.Before executing the inverse Fourier Transform, MLP layers

47are applied to the frequency-domain features to adapt and refine the spectral representations, capturing more accurate and contextually relevant frequency-domain information essential for reconstructing the diffuse visuals.

48To provide conditional guidance during the spectral features' training process, we obtain two identities of the input spatial features, which are then added and concatenated, respectively, to the inverse Fourier Transform of the spectral features.Finally, a toning operation is applied to the spectral features, which removes the phase information and focuses on the magnitude-based spectral features, helping to suppress noise and outliers while emphasizing relevant frequency ranges for accurate and coherent diffuse visual reconstruction.

C. Channel-Wise Contextual Attention Transformer (CCAT)

49The Channel-Wise Contextual Attention Transformers (CCAT) scale up its concentrated grain compared to L-HD-DAT by their strategic deployment within both the encoder pathway, which progressively downsamples, and the decoder pathway, which conversely upsamples.This positioning allows CCAT to operate on feature maps that possess a higher semantic level than the original input image.To effectively address the challenge of contextual information extraction across channels, CCAT incorporates an attention mechanism that is meticulously designed to weigh the significance of each channel based on its contextual relationship with others.This is achieved through a multi-headed self-attention module as equation ( 7) that operates on the channel dimension, enabling the network to dynamically adjust the emphasis on different channels according to their contextual relevance.

50Here, Q, K and V denote the projections of the feature maps F ∈ R Ĉ× Ĥ× Ŵ , which are adjusted to 1/2 or 1/4 the resolution of the original input image to correspond to different scale levels within the U-shaped architecture.These projections are then reshaped to a dimension of h × ( Ĉ/h) × ( Ĥ Ŵ ), where h denotes the number of attention heads.The paralleled attention heads make CCAT capable of capturing different aspects of inter-channel relationships.This diversity allows for a more comprehensive understanding of the feature maps, enhancing the network's ability to discern and emphasize the most relevant features for specular highlight removal.

D. Adaptive Global Dual Attention Transformer (G-DAT)

51Adaptive Global Dual Attention Transformers (G-DAT) are deployed at the bottleneck between the encoder and decoder.Given the higher semantic level at this stage, the information each pixel carries is more abstract and globally contextual than at any other layer in the network.In response to this heightened level of abstraction, we have devised parallel dual attention mechanisms.These are designed to concurrently grasp the intricate inter-channel and inter-pixel dependencies on a global scale, as depicted in the following equation:

52Here, the considerable reduction in the size of each feature map F due to multiple downsampling stages implies that even the Pixel-wise Self-Attention Transformer (PSAT), which directs attention on a global scale, does not impose a significant computational load.The operational methodology of PSAT is akin to that detailed in Equation (3); however, unlike the attention in Equation ( 3) which is confined within a specific window, PSAT expands its focus to cover a global range.Additionally, since the input to the bottleneck module lacks certain visual details, we do not incorporate spectral domain elements in PSAT.This approach ensures that the computational demand is directly proportional to the spatial dimensions of each feature map, maintaining linear computational efficiency.

E. Objective Function

53To optimize the performance of our specular highlight removal methodology, our goal is to align the output as closely as possible with the ground truth diffuse images.This entails not only achieving pixel-level accuracy but also preserving key image attributes such as luminance, contrast, and structure.To accomplish this, we introduce a composite objective function that integrates both Mean Squared Error Loss (L f ), which accounts for pixel-level fidelity, and Structural Similarity Loss (L s ), focusing on maintaining structural integrity.The formulation of our overall objective function is as follows:

54where α and β have been empirically set to 1 and 0.4, respectively.

55We incorporate the Structural Similarity Index Measure (SSIM), as proposed by Wang et al. [29], into the structural similarity component L s of our objective function, as delineated below: (e)Wu [25] (f)JSHDR [6] (g)Ours (h)GT Fig. 3. Visual comparative analysis of our method against leading SOTA approaches, highlighting our superior ability to remove specular highlights while preserving the original image's color tone, structure, and crucial details, such as text clarity on reflective surfaces.

A. Benchmark

56In the pursuit of advancing the real-world applicability of Specular Highlight Removal (SHR) networks, the utilization of real-world datasets is crucial.To date, the PSD [5] dataset stands out as the only comprehensive collection across various objects where both highlight samples and their corresponding diffuse ground truths are captured in real-world scenarios.However, PSD's limitation lies in its repetition of scenes across different polarization angles, reducing sample diversity despite having nearly 10000 pairs.To overcome the limitations of dataset size and enhance the robustness of deep learning methods for SHR, we propose the creation of a hybrid benchmark.This benchmark amalgamates real-world samples with synthetically generated samples that adhere to optical principles, offering a balanced and comprehensive training and testing environment.

57Our hybrid benchmark encompasses data from three distinct datasets: PSD [5], SHIQ [6], and SSHR [7], each serving a different purpose.The PSD dataset provides real-world photographs of both specular and diffuse samples, making it a valuable resource for realistic training.Contrastingly, SHIQ's real-world specular samples are paired with diffuse images created via the RPCA method [30], once state-of-theart.Despite possibly no longer being the leading technique, its use enriches training diversity, highlighting its ongoing relevance.Meanwhile, the SSHR dataset offers a fully synthetic collection, created with open-source rendering software, adding a valuable dimension of diversity.For training, we selected 9481 pairs from PSD, 9825 pairs from SHIQ, and a random subset of 10000 pairs from SSHR.For testing, our selection comprised all 947 pairs from PSD, 1000 pairs from SHIQ, and 1000 randomly chosen pairs from SSHR.This selection strategy guarantees a diverse and balanced collection of samples for both the training and testing phases, ensuring robustness.

58To our knowledge, this is the first instance where a hybrid benchmark combining multiple datasets has been employed for SHR.This approach not only enriches the training and testing environment but also sets a new standard for future research in the field, potentially enhancing the performance and generalizability of SHR methods across a wider range of real-world and synthetic scenarios.

B. Evaluation Metrics

59In our study, we utilize a suite of full-reference evaluation metrics to assess performance, including Peak Signal-to-Noise Ratio (PSNR), Structural Similarity Index (SSIM) [29], and Learned Perceptual Image Patch Similarity (LPIPS) [33].For PSNR and SSIM, higher scores denote better performance, indicating a greater similarity between the generated images and PSNR↑ SSIM↑ LPIPS↓ PSNR↑ SSIM↑ LPIPS↓ PSNR↑ SSIM↑ LPIPS↓ Tan [10] 5.44 0.218 0.746 5.47 0.483 0.823 10.87 0.778 0.357 Yoon [31] 16.09 0.498 0.325 19.34 0.679 0.471 28.47 0.916 0.094 Shen [11] 19.56 0.666 0.238 24.77 0.890 0.200 24.53 0.896 0.101 Shen [12] 21.33 0.753 0.142 27.30 0.917 0.102 24.00 0.891 0.094 Yang [13] 4.74 0.250 0.893 5.31 0.556 0.837 10.72 0.781 0.358 Shen [14] 11.51 0.324 0.360 12.24 0.491 0.473 27.13 0.914 0.077 Akashi [15] 17.48 0.565 0.334 21.78 0.700 0.460 29.46 0.924 0.076 Huo [32] 20.16 0.767 0.182 23.80 0.909 0.154 18.62 0.804 0.281 Fu [18] 15.24 0.688 0.146 16.40 0.724 0.306 26.15 0.910 0.076 Yamamoto [19] 18.37 0.541 0.274 25.49 0.858 0.201 26.95 0.902 0.094 Saha [20] 15.98 0.455 0.314 22.05 0.832 0.287 23.38 0.886 0.110 SLRR [22] 13.25 0.571 0.235 14.74 0.724 0.283 26.16 0.916 0.060 JSHDR * [6] 22.78 0.811 0.089 37.97 0.980 0.034 26.43 0.301 0.059 SpecularityNet [5] 23.58 0.838 0.085 30.92 0.963 0.058 31.07 0.941 0.041 MG-CycleGAN [26] 22.12 0.815 0.085 26.80 0.935 0.091 28.40 0.874 0.092 Wu [25] 23.93 0.863 0.062 31.570.965 0.059 33.45 0.951 0.028 TSHRNet [7] 23.30 0.826 0.097 34.570.972 0.044 33.32 0.950 0.036 AHA [28] the ground truth.On the other hand, a lower score in LPIPS suggests enhanced visual quality, as this metric measures the perceptual similarity between generated and reference images in a way that is more aligned with human visual perception.

C. Implementation Details

60Our model is implemented using PyTorch and trained using the Adam optimizer with default parameters on NVIDIA H800 GPU.To optimize the model, we employ the standard settings of the Adam optimization algorithm, with a batch size of 8

D. Comparisons with State-of-the-Art Methods

61To conduct a thorough evaluation of our Specular Highlight Removal (SHR) method relative to the current state-of-the-art, we compared our model against a total of 18 representative SHR techniques, which comprise both 11 traditional and 7 learning-based approaches.For the traditional methods, we processed the test samples directly to obtain their output results.To guarantee a fair comparison, we retrained all the learning-based models on the same benchmark dataset compiled for our study.During this retraining process, we adhered to the training settings (loss, iterations, hyper-parameters, etc.) as specified in the original publications of each method.

621) Quantitative Comparison: Table I showcases the quantitative performance of various specular highlight removal methods across three datasets, utilizing three distinct evaluation metrics.Our model, DHAN-SHR, demonstrates superior performance overall, with the sole exception being the results of JSHDR [6] on the SHIQ dataset, which was released in conjunction with JSHDR.It's important to note, however, that JSHDR's source code is not publicly available; our analysis is based on results obtained from an executable file provided by its authors.This limitation means we couldn't retrain JSHDR under the same conditions as other methods, diminishing the comparative value of its performance on the SHIQ dataset.Notably, JSHDR shows significantly lower performance on both the PSD and SSHR datasets compared to DHAN-SHR, with the gap being particularly pronounced outside the SHIQ dataset.

63The performance of our DHAN-SHR model on the PSD and SSHR datasets outpaces other methods by a considerable margin, especially highlighting its exceptional performance on the PSD dataset.This dataset, known for its real-world, highresolution images, underlines the adaptability and effectiveness of our model in real-world application scenarios, suggesting DHAN-SHR's robust capability in addressing specular highlight removal across diverse conditions.

642) Qualitative Comparison: The visual comparisons between our DHAN-SHR and SOTA methods, which include the top 2 traditional and top 3 deep learning methods based on average metric data in Table I, are illustrated in Figures 3.For optimal clarity, it is recommended to zoom in.

65Observations from Figure 3 reveal that our method excels not only in removing specular highlights effectively-surpassing even the reference ground truth in the third row-but also in preserving the original tone and consistent color of the entire image.Remarkably, it maintains the detail in diffuse areas and restores clarity to details previously obscured by reflections.In contrast, the methods we compared often fail to fully eliminate highlights, sometimes resulting in black spots within the treated areas.More problematic are the visual effects noted in the fourth row, where these methods disrupt the image's original structure and details, leading to poor visual outcomes.Furthermore, in the fifth row, while competing methods tend to erase or blur text on the car's rear window, our approach successfully retains and sharpens these details.To assess the efficacy of our model's integral features, ablation studies were executed, utilizing the averaged metrics from the PSD, SHIQ, and SSHR test sets to ensure a robust evaluation.These studies examined the model's performance with and without its key elements, such as attention mechanisms and processor that handle spatial-spectral data.The summarized findings, detailed in Table V, underscore our full model's superiority.By selectively removing specific components, we could discern their individual contributions, affirming that the integration of these elements is vital for optimal specular highlight removal performance.

V. CONCLUSION

66In this study, we introduce the Dual-Hybrid Attention Network for Specular Highlight Removal (DHAN-SHR), a novel approach that effectively addresses the challenge of specular highlight removal in multimedia applications.DHAN-SHR employs adaptive attention mechanisms that capture both global-level dependencies and local-level relationships, 4, 5, 6, and 7 provide a comprehensive visual comparison of all the methods discussed in the main paper, offering a more extensive performance evaluation.Overall, our method surpasses both traditional and deep learning specular highlight removal methods, excelling not only in effective highlight removal but also in the visual quality.

APPENDIX B USER STUDY

67Although metrics such as Naturalness Image Quality Evaluator (NIQE) offers valuable insights into the visual quality of images, there remains a lack of unreferenced metrics specifically designed to evaluate the results of highlight removal.To address this gap and further validate the effectiveness of our DHAN-SHR in practical applications, we conducted a user study.This study aims to assess the perceptual quality of images processed by our method in comparison to other state-of-the-art techniques.It focuses not only on evaluating the effectiveness of highlight removal but also on the overall quality of the output images, providing a comprehensive analysis of our method's performance.

68Observing that deep learning methods significantly outperform traditional approaches, we limited participant evaluation to our method versus seven other learning-based methods to maintain the focus and reduce the burden on our study participants.We invited 20 participants to evaluate the visual quality of highlight removal images.To ensure a comprehensive assessment, we randomly selected 10 images from each of the three test sets (PSD, SHIQ, and SSHR), resulting in a total of 240 images for evaluation.

69We have meticulously prepared the user study form, as shown on the last page, in a Word document format and ensuring that there is no compression of the images.The images were organized into groups, each consisting of one original input image with specular highlights and eight corresponding highlight removal results, including our method and the seven other learning-based methods.The methods were anonymized to prevent bias, and the order of the methods within each group was randomized.

70Participants were provided with a scoring table for each group of images, where they rated the eight methods based on the following criteria:

711) Highlight Reflection Area Detection Ability: Assessing the effectiveness and accuracy of detecting highlight areas.2) Highlight Removal Effect: Evaluating the naturalness of highlight removal and the absence of color distortion.3) Texture Restoration Level: Assessing the consistency of texture in the highlight-removed area with nearby regions.4) Diffuse Area Visual Quality: Evaluating whether the diffuse areas were altered.The scoring scale ranged from 1 (worst) to 5 (best), allowing participants to capture a spectrum of perceptible quality levels in the highlight removal results: The image excels in the criterion, demonstrating exceptional quality.Participants were instructed to assign a score for each criterion independently, ensuring a thorough evaluation of the various aspects of highlight removal.During the evaluation process, participants were able to zoom in on the images for a more detailed examination.For each de-highlighted image, we presented the original alongside the outputs from the eight methods, anonymizing the method names to prevent bias.

72The final score for each image was determined by calculating the mean of the scores across the four criteria, with each criterion being equally weighted.This approach ensured a balanced and comprehensive assessment of each highlight removal result's overall quality.Table VI presents the final user study scores, illustrating that our method consistently achieves the highest average score across all three test sets.

Specular Highlight Removal Methods Evaluation Form

73Purpose: This study aims to assess the effectiveness of various specular highlight removal methods.Your feedback will help improve the quality of specular highlight removal techniques.Instructions:

74• You will see an original image with specular highlights followed by its processed versions.

75• Please rate each processed image based on the criteria provided.

76• Use the scale from 1 (Poor) to 5 (Excellent) for your rating.Evaluation Criteria:

771) Highlight Reflection Area Detection Ability: Assessing the effectiveness and accuracy of detecting highlight areas.

782) Highlight Removal Effect: Evaluating the naturalness of highlight removal and the absence of color distortion.

793) Texture Restoration Level: Assessing the consistency of texture in the highlight-removed area with nearby regions.4) Diffuse Area Visual Quality: Evaluating whether the diffusion areas were altered.Image Evaluation: (**Below is a demonstration of one group of images to serve as an example for the evaluation process.)

Fig. 1 .

80Fig. 1.The overall architecture of our proposed Dual-Hybrid Attention Network for Specular Highlight Removal (DHAN-SHR).

Fig. 2 .

81Fig.2.Illustration of the window shifting approach and the attention mask applied to the pixel-wise shifting window attention.

82) where µ D and µ G represent the average pixel values of the output diffuse image D and the target ground truth image G, σ 2 D and σ 2 G are the variances of images D and G, ad σ DG is the covariance between D and G. C 1 and C 2 are constants to stabilize the division with weak denominators.

83(a)Input (b)Shen[12] (c)Yamamoto[19] (d)TSHRNet[7]

Fig. 8

84Fig. 8. *

85We compile a comprehensive benchmark dataset for specular highlight removal by combining images from three different datasets, resulting in 29,306 training pairs and 2,947 testing pairs.We retrain and test 18 state-of-the-art methods on this new benchmark, conducting a thorough comparative analysis and laying a solid foundation for future advancements in the field.

86• We propose the Dual-Hybrid Attention Network for Specular Highlight Removal (DHAN-SHR), an end-toend specular highlight removal network that introduces novel hybrid attention mechanisms, including the Adaptive Local Hybrid-Domain Dual Attention and the Adaptive Global Dual Attention.These attention mechanisms enable DHAN-SHR to effectively and efficiently capture both spatial and spectral information, as well as contextual relationships at different scales, accurately removing specular highlights while restoring underlying diffuse components.•

87Algorithm 1 Frequency Processor Require: F (input features) Ensure: F s (frequency processed features) 1: Apply convolution: identity 1 ← Conv2d 1×1 (F) 2: Apply convolution: identity 2 ← Conv2d 1×1 (F) 3: Compute FFT of F and keep the real part: F fft ←

TABLE I THE

88QUANTITATIVE COMPARISON RESULTS, ARRANGING TRADITIONAL METHODS IN THE UPPER SECTION AND LEARNING-BASED APPROACHES BELOW.THE HIGHEST-PERFORMING RESULTS ARE EMPHASIZED IN BOLD, WHILE THE SECOND-BEST ARE UNDERSCORED.

89JSHDR's source code is not publicly available; the results are obtained from an executable file provided by its authors.

90*

TABLE II METRIC

91COMPARISON: OFFICIAL SSHR TEST SPLIT VS.RANDOMLY SELECTED 1,000-GROUP SUBSET.

92To enhance the robustness and generalizability of our model, we incorporate a comprehensive set of data augmentation techniques.These augmentations include random cropping of images, resizing, horizontal and vertical flipping, and the application of the mixup strategy to generate composite images from the original data, thereby exposing the model to a diverse range of variations and improving its ability to handle different data effectively.

TABLE VI COMPARISON

93OF USER STUDY SCORES WITH SEVEN LEARNING-BASED METHODS.THE HIGHEST-SCORED RESULTS ARE HIGHLIGHTED IN BOLD, WHILE THE SECOND-BEST ARE UNDERLINED FOR EMPHASIS. 1 (Poor): The image significantly falls short in the specific criterion, marked by noticeable issues or distortions.• 2 (Fair): The image, despite visible flaws, exhibits some elements of acceptable quality.• 3 (Average): The image is satisfactory overall, with most elements adequately processed.• 4 (Good): The image is well-processed, presenting only minor imperfections.

94• • 5 (Excellent):

95Thank you for your participation.Your insights are invaluable to us.

96Thank You Note:

참고문헌 32건

  1. Real-Time Specular Highlight Removal Using Bilateral Filtering Lecture notes in computer science · Springer Science+Business Media · 2010 10.1007/978-3-642-15561-1_7
  2. Fast Separation of Reflection Components using a Specularity-Invariant Image Representation International Conference on Image Processing · 2006 10.1109/icip.2006.312650
  3. Chromaticity-based separation of reflection components in a single image Pattern Recognition · Elsevier BV · 2008 10.1016/j.patcog.2008.01.026
  4. Separating reflection components of textured surfaces using a single image IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2005 10.1109/tpami.2005.36
  5. Highlight removal by illumination-constrained inpainting 2003 10.1109/iccv.2003.1238333
  6. Image quality assessment: from error visibility to structural similarity IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2004 10.1109/tip.2003.819861
  7. Separation of Reflection Components by Sparse Non-negative Matrix Factorization Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-16814-2_40
  8. Specularity, Shadow, and Occlusion Removal for Planar Objects in Stereo Case Proceedings of the 17th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications · 2017 10.5220/0006166100980106
  9. Single Image Highlight Removal with a Sparse and Low-Rank Reflection Model Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01225-0_17
  10. [papers] General Improvement Method of Specular Component Separation Using High-Emphasis Filter and Similarity Function ITE Transactions on Media Technology and Applications · 2019 10.3169/mta.7.92
  11. The Unreasonable Effectiveness of Deep Features as a Perceptual Metric 2018 10.1109/cvpr.2018.00068
  12. Combining highlight removal and low‐light image enhancement technique for HDR‐like image generation IET Image Processing · Institution of Engineering and Technology · 2020 10.1049/iet-ipr.2019.1099
  13. SiENet: Siamese Expansion Network for Image Extrapolation IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2020 10.1109/lsp.2020.3019705
  14. SiENet: Siamese Expansion Network for Image Extrapolation IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2020 10.1109/lsp.2020.3019705
  15. Polarization Guided Specular Reflection Separation IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2021 10.1109/tip.2021.3104188
  16. Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2021 10.1109/iccv48922.2021.00986
  17. Polarization Guided Specular Reflection Separation IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2021 10.1109/tip.2021.3104188
  18. Single-Image Specular Highlight Removal via Real-World Dataset Construction IEEE Transactions on Multimedia · Institute of Electrical and Electronics Engineers · 2021 10.1109/tmm.2021.3107688
  19. Research on face specular removal and intrinsic decomposition based on polarization characteristics Optics Express · Optica Publishing Group · 2021 10.1364/oe.440778
  20. Text-Aware Single Image Specular Highlight Removal Lecture notes in computer science · Springer Science+Business Media · 2021 10.1007/978-3-030-88013-2_10
  21. COMPUTER GRAPHICS forum Computer Graphics Forum · Wiley · 2003 10.1111/1467-8659.00652
  22. Mask-guided cycle-GAN for specular highlight removal Pattern Recognition Letters · Elsevier BV · 2022 10.1016/j.patrec.2022.06.014
  23. Joint specular highlight detection and removal in single images via Unet-Transformer Computational Visual Media · Springer Nature · 2022 10.1007/s41095-022-0273-9
  24. SpA-Former:An Effective and lightweight Transformer for image shadow removal 2022 International Joint Conference on Neural Networks (IJCNN) · 2023 10.1109/ijcnn54540.2023.10191081
  25. A Large-Scale Film Style Dataset for Learning Multi-frequency Driven Film Enhancement 2023 10.24963/ijcai.2023/129
  26. MR Image Super-Resolution Using Wavelet Diffusion for Predicting Alzheimer’s Disease Lecture notes in computer science · Springer Science+Business Media · 2023 10.1007/978-3-031-43075-6_13
  27. QGD-Net: A Lightweight Model Utilizing Pixels of Affinity in Feature Layer for Dermoscopic Lesion Segmentation IEEE Journal of Biomedical and Health Informatics · Institute of Electrical and Electronics Engineers · 2023 10.1109/jbhi.2023.3320953
  28. Generative AI Enables EEG Data Augmentation for Alzheimer’s Disease Detection Via Diffusion Model 2023 10.1109/ispce-asia60405.2023.10365931
  29. MuralDiff: Diffusion for Ancient Murals Restoration on Large-Scale Pre-Training IEEE Transactions on Emerging Topics in Computational Intelligence · Institute of Electrical and Electronics Engineers · 2024 10.1109/tetci.2024.3359038
  30. Highlight Removal Network Based on an Improved Dichromatic Reflection Model ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · 2024 10.1109/icassp48485.2024.10447916
  31. WavEnhancer: Unifying Wavelet and Transformer for Image Enhancement Journal of Computer Science and Technology · Springer Science+Business Media · 2024 10.1007/s11390-024-3414-z
  32. Shadclips: When Parameter-Efficient Fine-Tuning with Multimodal Meets Shadow Removal International Journal of Pattern Recognition and Artificial Intelligence · World Scientific · 2024 10.1142/s021800142454017x