Applied Sciences (Aug 2024)

Evaluating Activation Functions in GAN Models for Virtual Inpainting: A Path to Architectural Heritage Restoration

  • Ana M. Maitin,
  • Alberto Nogales,
  • Emilio Delgado-Martos,
  • Giovanni Intra Sidola,
  • Carlos Pesqueira-Calvo,
  • Gabriel Furnieles,
  • Álvaro J. García-Tejedor

DOI
https://doi.org/10.3390/app14166854
Journal volume & issue
Vol. 14, no. 16
p. 6854

Abstract

Read online

Computer vision has advanced much in recent years. Several tasks, such as image recognition, classification, or image restoration, are regularly solved with applications using artificial intelligence techniques. Image restoration comprises different use cases such as style transferring, improvement of quality resolution, or completing missing parts. The latter is also known as image inpainting, virtual image inpainting in this case, which consists of reconstructing missing regions or elements. This paper explores how to evaluate the performance of a deep learning method to do virtual image inpainting to reconstruct missing architectonical elements in images of ruined Greek temples to measure the performance of different activation functions. Unlike a previous study related to this work, a direct reconstruction process without segmented images was used. Then, two evaluation methods are presented: the objective one (mathematical metrics) and an expert (visual perception) evaluation to measure the performance of the different approaches. Results conclude that ReLU outperforms other activation functions, while Mish and Leaky ReLU perform poorly, and Swish’s professional evaluations highlight a gap between mathematical metrics and human visual perception.

Keywords