Skip to main content

A novel hairstyle transfer method using Contextual Transformer Blocks.

Huang, D., Li, Z. and Liu, J., 2023. A novel hairstyle transfer method using Contextual Transformer Blocks. In: SPCNC: Signal Processing, Computer Networks and Communications, 421-425.

Full text available as:

[thumbnail of A Novel Hairstyle Transfer Method using Contextual Transformer Blocks.pdf]
Preview
PDF
A Novel Hairstyle Transfer Method using Contextual Transformer Blocks.pdf - Accepted Version
Available under License Creative Commons Attribution Non-commercial.

756kB

Official URL: https://dl.acm.org/doi/proceedings/10.1145/3654446...

DOI: 10.1145/3654446.3654521

Abstract

Hair editing is a research highlight of computer vision. Due to its complex structure, synthesizing and editing realistic fine-grained hair is a very challenging task. In order to improve the visual quality and realism of generated images, we propose a hairstyle transfer method based on generative adversarial networks by using the Contextual Transformer Blocks. Firstly, we design a Hair Segmentation Module (HSM) that embeds Contextual Transformer Blocks in convolutional operations to reconstruct the segmentation architecture, further enhancing visual representation and making images produce more refined hairstyle structures and hair color quality. Secondly, we propose a Hair Mapper Module (HMM) that maps hair color information to higher-level semantic information by changing the direction of the mapper, to achieve color consistency with the reference image. Finally, we introduce new hair color loss function to manipulate the hair in a decoupled manner. Numerous experiments on the CelebA-HQ dataset have shown that our method can generate images with higher consistency in hairstyle and hair color. Compared with state-of-the-art methods, our method has best comprehensive performance.

Item Type:Conference or Workshop Item (Paper)
Group:Faculty of Media, Science and Technology
ID Code:41427
Deposited By: Symplectic RT2
Deposited On:06 Mar 2026 16:08
Last Modified:06 Mar 2026 16:08

Downloads

Downloads per month over past year

More statistics for this item...
Repository Staff Only -