How to Apply a Filter Defined in the Frequency Domain by a Continuous Function - CEntre de REcherches en MAthématiques de la DEcision Accéder directement au contenu
Article Dans Une Revue Image Processing On Line Année : 2016

How to Apply a Filter Defined in the Frequency Domain by a Continuous Function

Résumé

We propose algorithms for filtering real-valued images, when the filter is provided as a continuous function defined in the Nyquist frequency domain. This problem is ambiguous because images are discrete entities and there is no unique way to define the filtering. We provide a theoretical framework designed to analyse the classical and computationally efficient filtering implementations based on discrete Fourier transforms (DFT). In this framework, the filtering is interpreted as the convolution of a distribution, standing for the filter, with a trigonometric polynomial interpolator of the image. The various plausible interpolations and choices of the distribution lead to three equally licit algorithms which can be seen as method variants of the same standard filtering algorithm. In general none should be preferred to the others and the choice depends on the application. In practice, the method differences, which come from the boundary DFT coefficients, are not visible to the naked eye. We demonstrate that claim on several experimental configurations by varying the input image and the considered filter. In some cases however, we discuss how the choice of the variant may affect fundamental properties of the filtering. Source Code The source code and the online demo are accessible at the IPOL web part of this article 1. The C99 implementation of the code that we provide is the one which has been peer reviewed and accepted by IPOL. It contains two modules : one performs the standard filtering algorithm (Algorithm 1) presented in Section 3 and the other performs the comparison detailed in Section 4. The comparison module computes for nine filters the filtered images obtained by applying the three variant methods. For each filter a pairwise comparison of the results is done by computing the (absolute) difference image, the maximum difference and the mean difference. It creates fifty-five images: twenty-seven filtered images, twenty-seven difference images and the modulus of the DFT input in logarithmic scale. See Section 4 and the code documentation for additional information.
Fichier principal
Vignette du fichier
article (1).pdf (10.98 Mo) Télécharger le fichier
Origine : Fichiers éditeurs autorisés sur une archive ouverte
Loading...

Dates et versions

hal-01687457 , version 1 (18-01-2018)

Identifiants

Citer

Thibaud Briand, Jonathan Vacher. How to Apply a Filter Defined in the Frequency Domain by a Continuous Function. Image Processing On Line, 2016, 6, pp.183-211. ⟨10.5201/ipol.2016.116⟩. ⟨hal-01687457⟩
87 Consultations
36 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More