© 2021, The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature.Pixel-level anomaly localization is a challenging problem due to the lack of abnormal training samples. The existing adversarial network methods attempt to segment anomalies by reconstructing the image then comparing the reconstructed image with the original. However, reconstructing an image with adversarial networks involve complex training procedures and result in long run-times. This paper proposes a simpler and intuitive anomaly localization approach based on generative adversarial networks (GAN) for regular textured images. In the proposed method, a discriminator network generates an anomaly map and is trained by a generator network that generates imitations of anomalous samples. To lower computational costs, strided convolutions are used in the discriminator network to produce anomaly map for pixel blocks instead of individual pixels. Discriminator that is trained in the proposed scheme gains ability to segment the anomalies in images. The experimental results show that the performance of the proposed method is almost equivalent to that of the state-of-the-art methods. Besides, with an accompanying low-cost training phase it is faster and simpler to implement.