Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Physiol.

Sec. Computational Physiology and Medicine

Volume 16 - 2025 | doi: 10.3389/fphys.2025.1665138

This article is part of the Research TopicMethods and Strategies for Integrating Medical Images Acquired from Distinct ModalitiesView all 8 articles

HHBSNet: A Global Channel–Spatial Attention and Multi‐Scale Dilated Convolution Network for Automatic Melasma Segmentation

Provisionally accepted
  • 1School of Intelligent Medicine, Chengdu University of Traditional Chinese Medicine, Chengdu, China
  • 2Northeastern University College of Medicine and Biological Information Engineering, Shenyang, China
  • 3Institute of Medical Informatics, Technische Hochschule Lubeck, Lübeck, Germany
  • 4Chengdu University of Traditional Chinese Medicine, Chengdu, China

The final, formatted version of the article will be published soon.

Objective: Melasma is a common acquired facial hyperpigmentation disorder characterized by symmetrical brown patches, often occurring in the zygomatic region, forehead, and upper lip. Its blurred boundaries, color similarity to normal skin, and irregular morphology—combined with lighting variability and skin reflections—pose significant challenges for automated lesion segmentation. This study aims to develop an effective and lightweight deep learning model tailored for accurate melasma segmentation. Methods: We propose a novel lightweight segmentation network, HHBSNet, specifically designed for melasma lesion analysis. The model incorporates a Global Channel-Spatial Attention (GCSA) module that jointly leverages channel and spatial attention to suppress lighting interference and enhance feature discrimination in low-contrast, irregular boundaries. In addition, a Multiscale Cavity Fusion (MCF) module is introduced to extend the receptive field via multi-dilation rates, enabling effective capture of lesions at various scales without reducing resolution. The network further integrates local-global semantic fusion and adopts a combined loss strategy of cross-entropy and focal loss to address class imbalance. Results: HHBSNet was evaluated on a self-constructed dataset comprising 501 practical facial melasma images. Quantitative results demonstrate that HHBSNet outperforms existing mainstream This is a provisional file, not the final typeset article segmentation methods, achieving a mean Intersection over Union (Miou) of 79.69%, accuracy (ACC) of 96.68%, F-score of 88.10%, recall of 88.18%, and precision of 87.80%. Conclusions: The proposed HHBSNet demonstrates superior segmentation performance and robustness in handling melasma's challenging visual characteristics. Its lightweight structure and strong generalization ability suggest promising potential for application in computer-aided diagnosis and large-scale clinical screening of facial pigmentary disorders.

Keywords: Melasma, deep learning, image segmentation, attention mechanism, automatic segmentation

Received: 21 Jul 2025; Accepted: 14 Oct 2025.

Copyright: © 2025 Wang, Xu, Zhang, Zhang, Li, Grzegorzek, Guo and Jiang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence:
Jing Guo, 80620404@qq.com
Tao Jiang, jiangtop@cdutcm.edu.cn

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.