Skip to main content
QUICK REVIEW

[Paper Review] Inpainting Normal Maps for Lightstage data

Hancheng Zuo, Bernard Tiddeman|arXiv (Cornell University)|Jan 1, 2023
Generative Adversarial Networks and Image SynthesisComputer Science1 citations
TL;DR

This paper proposes a GAN-based inpainting method for normal maps from Lightstage data, using a modified generator with cosine loss and mask-aware training to produce high-quality, realistic reconstructions of missing facial regions. The approach improves detail accuracy and visual fidelity, especially in complex facial features, despite limited training data and the unique vector nature of normal maps.

ABSTRACT

This study introduces a novel method for inpainting normal maps using a generative adversarial network (GAN). Normal maps, often derived from a lightstage, are crucial in performance capture but can have obscured areas due to movement (e.g., by arms, hair, or props). Inpainting fills these missing areas with plausible data. Our approach extends previous general image inpainting techniques, employing a bow tie-like generator network and a discriminator network, with alternating training phases. The generator aims to synthesize images aligning with the ground truth and deceive the discriminator, which differentiates between real and processed images. Periodically, the discriminator undergoes retraining to enhance its ability to identify processed images. Importantly, our method adapts to the unique characteristics of normal map data, necessitating modifications to the loss function. We utilize a cosine loss instead of mean squared error loss for generator training. Limited training data availability, even with synthetic datasets, demands significant augmentation, considering the specific nature of the input data. This includes appropriate image flipping and in-plane rotations to accurately alter normal vectors. Throughout training, we monitored key metrics such as average loss, Structural Similarity Index Measure (SSIM), and Peak Signal-to-Noise Ratio (PSNR) for the generator, along with average loss and accuracy for the discriminator. Our findings suggest that the proposed model effectively generates high-quality, realistic inpainted normal maps, suitable for performance capture applications. These results establish a foundation for future research, potentially involving more advanced networks and comparisons with inpainting of source images used to create the normal maps.

Motivation & Objective

  • To address the challenge of missing regions in Lightstage-derived normal maps due to occlusions from hair, arms, or props during performance capture.
  • To adapt deep learning-based image inpainting to the specific characteristics of normal map data, which are directional vector fields rather than standard RGB images.
  • To improve inpainting quality by modifying loss functions and data augmentation techniques to preserve vector geometry during transformations.
  • To evaluate the effectiveness of incorporating a mask channel in the generator input for enhancing reconstruction accuracy and visual realism.

Proposed method

  • Adapts a GAN framework using a bowtie-like generator and discriminator, inspired by Context Encoders and DCGAN, for normal map inpainting.
  • Replaces standard mean squared error loss with cosine loss to better align predicted normal vectors with ground truth directions.
  • Applies geometric-aware data augmentation: flips and in-plane rotations are applied to both image and normal vector components using matrix transformations.
  • Introduces a mask channel as input to the generator to guide reconstruction, improving spatial consistency and detail accuracy.
  • Uses alternating training of generator and discriminator, with periodic retraining of the discriminator to maintain classification performance.
  • Monitors training via SSIM, PSNR, and generator/discriminator loss and accuracy to ensure stable convergence and quality.

Experimental results

Research questions

  • RQ1How does incorporating a mask channel during generator training affect the quality and realism of inpainted normal maps?
  • RQ2Can cosine loss outperform mean squared error in normal map inpainting by preserving directional consistency of surface normals?
  • RQ3To what extent do geometric-aware data augmentation techniques improve model generalization on small, synthetic normal map datasets?
  • RQ4How do different mask patterns (irregular lines, central blobs, scattered small blobs) influence the model’s ability to reconstruct complex facial features?
  • RQ5What is the relative contribution of architectural modifications (e.g., expanded layer structure) versus loss function changes to overall performance?

Key findings

  • The model produces high-quality, visually realistic inpainted normal maps that are perceptually convincing, even for complex facial features such as nostrils and lips.
  • Incorporating the mask channel during training leads to a subtle but perceptually significant improvement in detail accuracy, particularly in fine facial structures.
  • SSIM and PSNR metrics show only marginal quantitative improvement with mask inclusion (12.34% higher SSIM), but visual assessment reveals clearer detail reconstruction.
  • The use of cosine loss instead of MSE significantly improves directional consistency of predicted normals, aligning better with ground truth vector fields.
  • The model demonstrates robustness across diverse mask patterns, indicating adaptability to various occlusion scenarios in performance capture.
  • Despite limited training data, extensive geometric-aware augmentation and careful loss design enable stable training and high-quality results.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.