Local Padding in Patch-Based GANs for Seamless Infinite-Sized Texture Synthesis

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Abdellatif, Alhasan, Elsheikh, Ahmed H., Menke, Hannah P.
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912108599312384
author Abdellatif, Alhasan
Elsheikh, Ahmed H.
Menke, Hannah P.
author_facet Abdellatif, Alhasan
Elsheikh, Ahmed H.
Menke, Hannah P.
contents Texture models based on Generative Adversarial Networks (GANs) use zero-padding to implicitly encode positional information of the image features. However, when extending the spatial input to generate images at large sizes, zero-padding can often lead to degradation in image quality due to the incorrect positional information at the center of the image. Moreover, zero-padding can limit the diversity within the generated large images. In this paper, we propose a novel approach for generating stochastic texture images at large arbitrary sizes using GANs based on patch-by-patch generation. Instead of zero-padding, the model uses \textit{local padding} in the generator that shares border features between the generated patches; providing positional context and ensuring consistency at the boundaries. The proposed models are trainable on a single texture image and have a constant GPU scalability with respect to the output image size, and hence can generate images of infinite sizes. We show in the experiments that our method has a significant advancement beyond existing GANs-based texture models in terms of the quality and diversity of the generated textures. Furthermore, the implementation of local padding in the state-of-the-art super-resolution models effectively eliminates tiling artifacts enabling large-scale super-resolution. Our code is available at \url{https://github.com/ai4netzero/Infinite_Texture_GANs}.
format Preprint
id arxiv_https___arxiv_org_abs_2309_02340
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Local Padding in Patch-Based GANs for Seamless Infinite-Sized Texture Synthesis
Abdellatif, Alhasan
Elsheikh, Ahmed H.
Menke, Hannah P.
Computer Vision and Pattern Recognition
Image and Video Processing
Texture models based on Generative Adversarial Networks (GANs) use zero-padding to implicitly encode positional information of the image features. However, when extending the spatial input to generate images at large sizes, zero-padding can often lead to degradation in image quality due to the incorrect positional information at the center of the image. Moreover, zero-padding can limit the diversity within the generated large images. In this paper, we propose a novel approach for generating stochastic texture images at large arbitrary sizes using GANs based on patch-by-patch generation. Instead of zero-padding, the model uses \textit{local padding} in the generator that shares border features between the generated patches; providing positional context and ensuring consistency at the boundaries. The proposed models are trainable on a single texture image and have a constant GPU scalability with respect to the output image size, and hence can generate images of infinite sizes. We show in the experiments that our method has a significant advancement beyond existing GANs-based texture models in terms of the quality and diversity of the generated textures. Furthermore, the implementation of local padding in the state-of-the-art super-resolution models effectively eliminates tiling artifacts enabling large-scale super-resolution. Our code is available at \url{https://github.com/ai4netzero/Infinite_Texture_GANs}.
title Local Padding in Patch-Based GANs for Seamless Infinite-Sized Texture Synthesis
topic Computer Vision and Pattern Recognition
Image and Video Processing
url https://arxiv.org/abs/2309.02340