Next Article in Journal
Evaluating the Performance of Multiple Machine Learning and Deep Learning Models on Glacier Mass Balance Estimation
Previous Article in Journal
Blow-Up Profiles and Dynamics in Negative Time for the Semilinear Heat Equation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

An Edge-Preserving Hybrid Filter Based on UFIR Filters for Reducing Gaussian Noise in Digital Images

by
Erika Mendoza-Salvador
1,
Luis J. Morales-Mendoza
2,
Mario Gonzalez-Lee
2,
Eli G. Pale-Ramon
3,
Hector Vazquez-Leal
4,
Hector Perez-Meana
5,* and
Rene F. Vazquez-Bautista
2
1
Facultad de Ingenieria Mecánica y Electrica, Universidad Veracruzana, Av. Venustiano Carranza S/N, Poza Rica 93390, Mexico
2
Facultad de Ingenieria en Electronica y Comunicaciones, Universidad Veracruzana, Av. Venustiano Carranza S/N, Poza Rica 93390, Mexico
3
Division de Ciencias e Ingenieria, Universidad de Guanajuato, Salamanca 36885, Mexico
4
Facultad de Instrumentacion Electronica, Universidad Veracruzana, Veracruz 91000, Mexico
5
Seccion de Estudios de Posgrado e Investigacion, Instituto Politécnico Nacional, Av. Santa Ana No. 1000, Ciudad de Mexico 04440, Mexico
*
Author to whom correspondence should be addressed.
Symmetry 2026, 18(5), 871; https://doi.org/10.3390/sym18050871 (registering DOI)
Submission received: 14 January 2026 / Revised: 7 May 2026 / Accepted: 19 May 2026 / Published: 21 May 2026
(This article belongs to the Special Issue Symmetry in Image Processing: Current Advances and Applications)

Abstract

In this paper, we propose a new digital filtering approach based on the FIR-Median Hybrid (FMH) structure, which incorporates an Unbiased Finite Impulse Response (UFIR) filter as its core component. The proposed filter employs spatially symmetric window configurations to reduce Gaussian noise while preserving edges in images. Although the scientific community is rapidly adopting machine-learning- and deep-learning-based filters, there are several reasons to continue developing filters based on traditional methods. For example, these methods are well understood and rely on a strong mathematical foundation. Moreover, the structure of the proposed filter is simple; thus, this type of filter may be appealing to engineers unfamiliar with the machine-learning field. The performance of the proposed filter was assessed using two datasets: the first consisted of a set of artificial binary images, and the second comprised a subset of the BOWS image dataset. We conducted three main experiments. In the first experiment, we fine-tuned the filter considering three window-shape configurations. In the second experiment, Gaussian noise was added to the images, and the proposed filter was compared against other filters using edge-preservation-oriented metrics such as the Structural Similarity Index Measure (SSIM), the Normalized Step Edge Response (NSER), and the Gradient Conduction Mean Square Error (GcMSE), among others. The third experiment evaluated the performance of the best-performing window-shape configurations. This final test was assessed quantitatively using the Friedman test to identify the best-performing structure, whereas qualitative assessment was conducted using a Mean Opinion Score (MOS) test. The results show that the proposed filter achieved improved performance according to the PSNR, SNR, RMSE, and GcMSE metrics. These findings suggest that the proposed filter can be used in practical applications such as image enhancement, computer vision, and edge-detection-based preprocessing.

1. Introduction

Noise removal is one of the most important applications of image processing; it is used for image enhancement and also for a wide range of intermediate tasks in more complex applications, for example, as a stage in computer vision algorithms. However, removing noise from images is difficult because several types of noise are strongly correlated to the signal making difficult to discriminate between noise and the signal; also, there are gaps in our understanding of the human visual system (HVS) that prevent scientist from developing low-distortion techniques for signal filtering, and as a result, most algorithms reduce noise in images at the expense of damaging edges, creating visual artifacts, or removing details of the image.
Current approaches to noise removal include techniques such as linear and nonlinear filters. An example of a linear filters are the smoothing filter explained in [1,2,3,4]; a side effect of such filters is that they smooth edges too, which is a drawback since our visual perception needs edge information to recognize objects. Another widely used linear filter is the average filter; this is a sliding-window filter that computes each pixel of the filtered image as the spatial average of pixels in the neighborhood around the center pixel of the filter’s window; like the smoothing filter, average filters tend to blur edges. In addition to these disadvantages of linear filters, their digital implementations are usually bulky and slow. Refs. [5,6] give an overall panorama of noise removal using linear filters in computer vision.
On the other hand, the class of non-linear filters include the median filter which estimates each pixel of the filtered image as the median of the pixels in a square sliding-window; authors of [7] discussed some modifications of median filters and their properties; for example, the max-median filter proposed by Arce in [8,9]; this filter removes noise whereas preserves geometrical features and is the base for the weighted median filter which generalizes the median filter; in a weighted median filter, positive integer weights are assigned to each position in the filter window and then the estimated pixel of the filtered image is computed as the median of the weighted neighborhood in a sliding-window manner. In general, the median filter is a nonlinear filter that preserves edges whereas removes impulsive noise.
Neuvo et al. introduced a class of median-type filters, which is called the FIR-median hybrid (FMH) filter with predictive FIR substructures as discussed in [7]. The input signal, y k , is filtered using M linear phase FIR filters, and the output of the FMH filter is the median of the outputs of the filter bank. Shmaliy et al. [10] developed the Unbiased Finite Impulse Response (UFIR) filter: a filter that reduces noise and preserves edges. Shmaliy developed this filter intending to reduce the Time Interval Error (TIE) of Global Position Systems (GPS) signals. The main characteristics of this filter are that it requires two constraints: first, the horizon value N, which provides control over an initial estimation; and second, the filter holds the unbiased property: the input–output relationship of the signals exhibits the same energy, refs. [10,11,12,13].
Despite the efforts of various authors, such as the hybrid systems developed by Neuvo and the UFIR filters proposed by Shmaliy, which outperform the classical median filter, the weighted median filter, and other similar filters, their performance still requires further improvement, as noted by the aforementioned authors.
This motivates our work; we aim to develop a filtering structure with higher performance in preserving edges while reducing Gaussian noise compared to previous approaches. This paper presents the following contributions:
  • Developed a new class of non-linear filter to enhance images based on the FMH (Section 4).
  • Developed three different FMH structures based on three symmetric window configurations (Section 4).
  • Evaluate the performance of our proposed filtering structures and compare them to other approaches using the Root-Mean-Square Error and Signal-to-Noise Ratio (Section 6).
We envision our proposed structures as a basis for applications aimed at reducing Gaussian noise, such as image preprocessing tasks, texture-recognition-based applications, and other computer vision tasks.
The remainder of this paper is organized as follows: First, in Section 2, we discuss previous works closely related to the filter we proposed; then, we outline the theory we utilized of both the polynomial image model and the UFIR filter in Section 3. Next, in Section 4, we present FMH structures we propose for image processing. In Section 5, describe the materials we utilized and the methodology we followed to conduct our experiments, and in Section 6, we report the results of the computational evaluations in different scenarios. Finally, the general conclusions in Section 7 and references.

2. Overview of Related Work on Nonlinear Hybrid Structures

Standard FIR filters are useful for noise reduction; however, they output a distorted image in some cases. An alternative to overcome this drawback is to use nonlinear filters which introduce less distortion as discussed in [8,9]. Nonlinear filters are able to remove more noise while introducing less distortion in the filtered image. It is important to reduce distortion in the case of edges because they are one of the most important features of an image; Edges are high-frequency content, so when one looks to remove high-frequency noise from an image, filter designers often apply a low-pass filter, and as a result, the filter smooths the edges. To get around this problem, they can use a median filter as discussed earlier in this paper. The classical median filter slides a window over the sequence { x k } , so for each window centered at k, it contains a set of samples ( y k ) as explained in [7] in the form:
y k = x k M , , x k , , x k + M T .
where M is the range in values over positive integers. The median smoother computes the output from the observation y k in this manner:
x ^ k = Median { y k } .
Given the limitations the classical median filter exhibits, many authors have worked to develop a variety of structures to implement both linear and nonlinear FIR filters, and regarding median filters, we can note, for example, the filter developed by Neuvo et al. in [7], where he proposed an FIR Median Hybrid Structure (FMH), which is a hybrid structure that implements digital filters using nonlinear operators. The model of this structure is defined as:
x ^ k = NLOP [ x ˜ k B W y k x ˜ k F W ] ,
where x ˜ k B W and x ˜ k F W , are the backward and forward estimates of measurement y k respectively. In this structure, the observed signal y k is filtered using a forward filter and backwards filter; and then, the estimated signal x ^ k is computed using a nonlinear operator ( NLOP [ · ] ); the options for this NLOP includes the mean, median, maximum, minimum among other operators that designers find useful. The Backward and Forward filters are defined:
x ˜ k F W = i = p N 1 + p h l i ( N , p ) y k i ,
and
x ˜ k B W = i = p N 1 + p h l i ( N , p ) y k + i .
Also, Neuvo defined the general form of the FMH structure as illustrated in Figure 1. Therefore, the estimates computed by the FMH structure computed by (4) and (5), this model can be adapted for image processing as follows:
x ˜ n , m F W = i = p N 1 + p h l i ( N , p ) y n i , m ,
and
x ˜ n , m B W = i = p N 1 + p h l i ( N , p ) y n + i , m .
Here, the linear operator is applied to both the output of each filter and the input image to compute the output image, x ^ n , m , as follows:
x ^ n , m = Median [ x ˜ n , m B W y n , m x ˜ n , m F W ] .
Algorithm 1 outlines the procedure for forward and backward filtering using the FMH structure used the batch filters as shown in [14,15].
Algorithm 1: FIR-Median Hybrid Filtering Algorithm.
Symmetry 18 00871 i001

3. Background for the Proposed Filter

In this section, we explain the model for signals considered in this study and the basic concepts of the UFIR filter, which is the core of the proposed filters presented in Section 4.
A two-dimensional image is often defined as a matrix M = { μ i , j } of size k r × k c . To make two-dimensional filtering simpler, one can rewrite this matrix as a row-ordered vector or a column-ordered vector. So, we represent two-dimensional images using a lexicographic form as follows.
x r = μ 1 , 1 μ 1 , k r μ k c , 1 μ k c , k r ,
x c = μ 1 , 1 μ 1 , k c μ k r , 1 μ k c , k r .
To represent a two-dimensional image using (9) and (10), one replaces each vector with the discrete time-invariant deterministic signal x 1 k ; To filter such signal, a filter is applied to (9) first and then to (10), or vice versa. Signal x 1 k can be modeled on a horizon of N points in the state-space domain as discussed in [14,15].
Utilizing the finite Taylor series of order K 1 expand signal x 1 k , we get:
x 1 k = q = 0 K 1 z ( q + 1 ) ( k N + 1 p ) τ q ( N 1 + p ) q q ! ,
where τ is defined as sampling time and z ( q + 1 ) ( k N + 1 p ) , q [ 0 , K 1 ] , is the ( q + 1 ) -state of the signal at index k N + 1 p , so the signal is characterized with K states. An image can be accurately represented using both (9) and (10); therefore, each of the vectors may also be considered a deterministic one-dimensional signal.
Assuming that the original signal is discrete and that x k is a measurement sampled in the presence of zero-mean additive white Gaussian noise (AWGN) ( ν k ), the noisy signal is defined as follows:
x k = A N 1 + p x k N + 1 p ,
and
y k = C x k + ν k k = 1 , 2 , 3 , . . . ,
where x k = [ x 1 k x 2 k x 3 k x K k ] T is the K × 1 state vector, y k is the measurement representing the image, the 1 × K measurement matrix is defined as C = [ 1 0 0 0 ] , and the K × K triangular matrix A i is specified as follows:
A i = 1 τ i 1 2 ( τ i ) 2 1 ( K 1 ) ! ( τ i ) K 1 0 1 τ i 1 ( K 2 ) ! ( τ i ) K 2 0 0 1 1 ( K 3 ) ! ( τ i ) K 3 0 0 0 1 .
Shmaliy et al. showed in [10] that the first state, x n x 1 n , can be estimated in an unbiased manner from y n by computing the convolution x ^ n = h l i ( N ) y n , provided that the impulse response h l i ( N ) of degree l of the FIR filter is a monic polynomial (with 0 l K 1 ).
From this foundation, the following low-degree ( 0 l 3 ) polynomials were derived in [11] to serve as impulse responses for the UFIR filter:
h 0 i ( N ) = 1 N ,
h 1 i ( N ) = 2 ( 2 N 1 ) 6 i N ( N + 1 ) ,
h 2 i ( N ) = 3 ( 3 N 2 3 N + 2 ) 18 ( 2 N 1 ) i + 30 i 2 N ( N + 1 ) ( N + 2 ) ,
h 3 i ( N ) = 8 ( 2 N 3 3 N 2 + 7 N 3 ) 20 ( 6 N 2 6 N + 5 ) i N ( N + 1 ) ( N + 2 ) ( N + 3 ) + 120 ( 2 N 1 ) i 2 140 i 3 N ( N + 1 ) ( N + 2 ) ( N + 3 ) .
The l-degree unbiased FIR filter requires only the optimal horizon N opt to minimize the MSE. To implement the UFIR filter for noise reduction in images, we use the algorithm whose pseudocode is presented in Algorithm 2.
Algorithm 2: Unbiased FIR (UFIR) Filtering Algorithm
Symmetry 18 00871 i002

4. Proposed Schemes: The X-Shaped UFMH (UFMH-X) and X-Cross UFMH (UFMH-XC) Structures

In this section, we present two modifications of the FMH structure proposed in [7]. In addition, we propose three schemes that utilize different symmetric filter windows: Cross-shaped windows, X-shaped windows, and a combination of Cross-shaped and X-shaped windows. The size of the window is ( 2 r + 1 ) × ( 2 r + 1 ) for r 1 . In Figure 2, we can see the proposed windows for image processing with UFHM structure. A description of each case will be given in next subsection.

4.1. X-Shaped UFMH Structure

For the X-shaped window case, the neighboring pixels are located 45 degrees from the central pixel, as shown in Figure 2a. The output of each UFIR sub-filter of the UFMH structure for images is defined as follows:
x ˜ n , m F W N E = i = p N 1 + p h l i ( N ) y n i , m i ,
x ˜ n , m B W N W = i = p N 1 + p h l i ( N ) y n + i , m i ,
x ˜ n , m F W S E = i = p N 1 + p h l i ( N ) y n i , m + i ,
x ˜ n , m B W S W = i = p N 1 + p h l i ( N ) y n + i , m + i .
Figure 3 shows the X-shaped UFMH (UFMH-X) structure, and its output is computed as follows:
x ^ n , m = Median x ˜ n , m F W N E x ˜ n , m B W N W y n , m x ˜ n , m F W S E x ˜ n , m B W S W .
Equation (23) is similar to (8); its input consists of neighboring pixels in the northeast ( N E ), northwest ( N W ), southeast ( S E ), and southwest ( S W ) directions. Algorithm 3 details the procedure for image filtering using the UFMH-X structure.
Algorithm 3: FIR-Median Hybrid Filtering Algorithm.
Symmetry 18 00871 i003

4.2. Cross-Shape UFMH Structure

The cross-shaped window consists of pixels located at 90 degrees from the central pixel, as shown in Figure 2b. The output of each filter in the UFMH structure using this window (UFMH-C) for image filtering is defined as follows:
x ˜ n , m F W E = i = p N 1 + p h l i ( N ) y n i , m ,
x ˜ n , m B W W = i = p N 1 + p h l i ( N ) y n + i , m ,
x ˜ n , m F W N = i = p N 1 + p h l i ( N ) y n , m i ,
x ˜ n , m B W S = i = p N 1 + p h l i ( N ) y n , m + i .
the output of the Cross-shaped UFMH (UFMH-C) structure shown in Figure 3 and is defined as
x ^ n , m = Median x ˜ n , m F W E x ˜ n , m B W W y n , m x ˜ n , m F W N x ˜ N B W S .
The output of (28) is computed from the neighboring pixels at east (E), west (W), north (N), and south (S) directions, and it is analogous to (8). Algorithm 4 describes a pseudocode for filtering using the UFMH-C Structure for image processing.
Algorithm 4: FIR-Median Hybrid Filtering Algorithm in Cross-shaped Form.
Symmetry 18 00871 i004

4.3. X-Cross UFMH Structure (UFMH-XC)

An interesting case of the UFMH structure combines the UFMH-X and UFMH-C structures. In this scheme, the window shape includes pixels from both the neighborhoods at 45 degrees and 90 degrees relative to the central pixel. Figure 4 shows a general representation of the UFMH-XC structure, considering both the UFMH-X and UFMH-C structures. Its output is computed as follows:
x ^ n , m = Median [ x ^ n , m cross y n , m x ^ n , m X - shape ] .
It is worth noting that the UFMH-XC structure considers that the value of r = 1 results in a window of size 3 × 3 . This result indicates that all neighboring pixels are used by the structure, as shown in Figure 5a. When r = 2 , the window size is 5 × 5 (see Figure 5b); then, we can see that the UFMH-XC structure uses 68 % of the pixels in the window. Note that any statistical information about the spatial distribution of the pixels regarding the central pixel is lost. Finally, when r = 3 , the window is 7 × 7 (Figure 5c). The percentage of used pixels reduces to 49%.

5. Materials and Methods

We conducted a series of experiments to evaluate the performance of the proposed hybrid UFIR filters. First, we examined the effect of varying the parameter N for fine-tuning; for this purpose, we used a grayscale dataset. Next, we tested the filter using synthetic binary images, as edge degradation is more difficult to mask in this scenario. In the third experiment, we applied the filter to grayscale images to evaluate its performance under these conditions. The final experiment was designed to identify the highest-performing filter structure among those proposed in the previous section. In addition, we conducted a Mean Opinion Score (MOS) test to assess performance from a qualitative perspective. The materials, evaluation metrics, and methodology used in these experiments are described next.

5.1. The Materials

To assess the performance of the filter according to the type of input image, we used two datasets: one consisting of synthetic binary images and another consisting of grayscale images. The characteristics of the datasets were as follows. The first dataset consisted of twenty binary synthetic images of size 512 × 512, whereas the second dataset consisted of 2000 grayscale images of size 512 × 512.

5.2. The Metrics for Assessment of the Filters Performance

To establish a comparison between the schemes considered in this study and our proposed filter, we employed edge-oriented metrics to measure the ability of the compared filters to preserve edges, in addition to the well-known Root Mean Squared Error (RMSE) and Peak Signal-to-Noise Ratio (PSNR). We selected the Structural Similarity Index Measure (SSIM), the Normalized Edge Response (NSER), and the Gradient Conduction Mean Square Error (GcMSE).
The SSIM is closely related to the Human Visual System (HVS), as it uses information about image luminance, contrast, and structure. The primary application of this metric is to evaluate structure preservation and noise removal [16].
Another metric we considered is the NSER. This metric was designed with low-level early vision features in mind, according to [17], and it shows a high correlation between the visual perception of image quality and the resulting non-shift edge map.
Finally, we also considered the GcMSE, which is an edge-aware version of the Mean Square Error (MSE) and provides higher performance compared to MSE and SSIM [18].
We also conducted a Mean Opinion Score (MOS) evaluation, as it is a recognized and reliable metric for assessing filter performance from a subjective perspective.
Building on this basis, we compared the performance of closely related schemes proposed by other authors with that of our approach and reported the results in Section 6 using the aforementioned metrics.

5.3. Filter Parameter Tuning Methodology

The order of the UFIR filter used in the conducted tests was linear; thus, l = 1 , and the step size p was set as follows:
p = ( N 1 ) 2 ,
which, according to [13] is the optimal value for this parameter.

5.4. Methodology to Assess the Performance of the Filter

First, we filtered several grayscale images to identify the optimal value of the parameter N. In the next experiment, we evaluated the filter’s performance on binary images with wide flat areas and scattered edges. Finally, we examined grayscale images filtered using the proposed scheme. For these tests, each image was corrupted with zero-mean Gaussian noise ( μ = 0 ) at variances σ 2 = 0.005 , 0.01 , 0.02 , and 0.05 . For each variance level, the noisy image was filtered and RMSE, PSNR, SSIM, NSER, and GcMSE were computed. This process was then repeated for the grayscale image dataset.
To assess the performance from a qualitative perspective, we conducted a Mean Opinion Score test. We asked 132 individuals to observe a set of images that were filtered using the filters considered in this study, and they were asked to choose the image that preserved the details the best after being filtered.
The final experiment consisted of identifying the best-performing filter structure according to the selected metrics. To this end, Gaussian noise was added to each image in the grayscale dataset, and the resulting images were filtered. Next, the evaluation metrics were computed, and a Friedman test was conducted to identify the best-performing filter. This statistical test allows us to determine whether statistically significant differences exist among the filters considered in this study and, in this manner, to identify the best-performing approach.

6. Computational Simulations

As a first step, we determined the optimal value of the filter parameter N to properly assess the filter’s performance in subsequent experiments. To this end, we set p = 0 and evaluated the filter for N { 3 , 5 , 7 , 9 , 11 } . We then computed the evaluation metrics to observe how performance varied with N; based on this analysis, we identified the value of N that yields a properly tuned filter. Figure 6a–e show the evaluation of the filters for each metric. The results show that the UFMH-XC filter exhibits the best performance for SSIM and achieves a tie with UFMH-C in terms of RMSE and PSNR. Likewise, UFMH-C provides better reconstruction quality for GcMSE and ties with UFMH-XC in RMSE and PSNR. Finally, the NSER metric indicates improved edge preservation by the UFMH-X filter. From the plots in Figure 6a–e, we observe that N = 11 is the value at which the metrics stabilize. Accordingly, we set N = 11 for all subsequent experiments reported in this paper.
In the second experiment, the input image for the filtering structure was a synthetic binary image with wide flat areas and few edges; an example is shown in Figure 7a. As can be seen, the image has sharp edges and flat areas, making it difficult to mask edge distortion, which is the rationale behind this test. The resulting image after adding Gaussian noise ( y k ) is shown in Figure 7b.
The noisy image ( y k ) was then filtered using the FMH [7], and the filtered image is shown in Figure 7c. The output image exhibits slight variations in flat areas; however, these variations are more noticeable near the edges. Forward and backward filtering using a hybrid structure significantly improved the results for the same noisy image, as expected from [14,15].
Next, the noisy image was filtered using the FMH-based structure proposed in [8] as a reference framework. In our implementation, this structure is adapted by replacing the FMH core with a UFMH (UFIR-based) filter. The filtering was oriented at 45 degrees from the central pixel. This approach exhibited improved performance compared to the conventional FMH. Its inherent characteristic of processing pixels along 45-degree directions explains this improvement. In contrast, the FMH is limited to processing pixels in row-wise and column-wise directions.
The resulting output image is shown in Figure 7d. This figure shows that the noise in flat areas was reduced; however, distortion similarly increases near the edges, as observed in the case of the FMH. The main difference between the UFMH-X and FMH is that there are two edges for each processing direction in the former, whereas this is not the case for the latter.
The third structure evaluated in this test was the FMH proposed in [9], which we again adopt as a reference framework. The structure proposed therein employs a cross-shaped window. In our implementation, this framework is adapted by replacing the FMH core with a UFMH filter, resulting in the UFMH-C structure. To illustrate the results achieved with this approach, a noisy image was filtered using the UFMH-C structure, and the resulting image is shown in Figure 7e.
Finally, the UFMH-XC structure was tested. We verified that this scheme achieves higher performance compared to the FMH, UFMH-X, and UFMH-C filters. This is because the UFMH-XC was designed to exploit their advantages while mitigating most of the disadvantages of the filtering schemes discussed in this paper, as shown in Figure 7f. In this figure, the noise in flat areas is significantly reduced, and the distortion near the edges is lower compared to the other approaches.
For the third experiment, we repeated the test using the grayscale image dataset discussed earlier. Again, Gaussian noise was added, and the noisy images were filtered using the FMH, UFMH-X, UFMH-C, and UFMH-XC structure, as in the previous tests. The results were consistent with those obtained for the synthetic binary images, as shown in Figure 8a–f.
To assess performance from a qualitative perspective, we conducted a Mean Opinion Score (MOS) test. A total of 132 participants were asked to evaluate a set of six images filtered using the methods considered in this study and to select the image that best preserved details after filtering. All images had a resolution of 256 × 256 pixels.
We added Gaussian noise with zero mean and variance σ 2 = 0.02 . The images were filtered using the UFMH-C, UFMH-S, and UFMH-XC structures, as well as the median filter, UFMH-BF, FMH, and FAH, with the same parameters as before.
Each participant received a link to a Google Form containing the questionnaire, in which each question presented filtered images and asked participants to select the one they perceived as having the best quality. Participants repeated this procedure for five additional images. Since the questionnaire was distributed via a link, participants were able to complete the survey using their available devices (e.g., laptop, desktop, tablet, or cellphone).
The results clearly show that the UFMH-XC structure outperforms the other approaches, as illustrated in Figure 9. The associated confidence intervals further support the distinctiveness of these results, reinforcing the reliability of the MOS-based evaluation.
To further analyze Figure 9, we present Figure 10, which breaks down the choice percentages for individual images and shows that they are almost uniformly distributed and contain no outliers, suggesting that participants were consistently convinced that the UFMH-XC structure was the best choice.
Next, we conducted an experiment using the Friedman test to identify the best-performing filter structure. First, we defined the null hypothesis ( H 0 ) as follows: there is no significant difference in the performance of the filters considered in this study, along with the corresponding alternative hypothesis ( H 1 ). Second, we computed the average rankings of the evaluated metrics, assigning rank 1 to the best-performing method for each metric, i.e., higher values were ranked as 1 for quality-related metrics (e.g., SSIM, PSNR), whereas lower values were ranked as 1 for error-related metrics. Finally, the average rankings were used to identify the best-performing filter. The results of the test are shown in Figure 11 for a noise variance of σ 2 = 0.05 , and for other noise variances in the figures in the Annex.
Figure 11, Figure A1, Figure A2 and Figure A3 show bar plots ordered according to the average rank for each filter. The Friedman test revealed statistically significant differences ( p 0 ) among the evaluated filters for all considered metrics. According to the average rankings, the FAH structure achieved the best performance in terms of PSNR, RMSE, SSIM, and GcMSE, and exhibited the most consistent performance across the evaluated structures. For NSER, the UFMH-X structure achieved the best performance for noise variances 0.005 , 0.01 , 0.02 , while for a noise variance of 0.05 , the median filter ranked first. Overall, these results indicate that the FAH structure provides the most robust performance across the majority of quantitative metrics.
From the qualitative and quantitative experiments conducted to assess the filter’s performance, we observed that the results of both evaluations are consistent in indicating that the proposed filter exhibits higher performance compared to other approaches.

7. Conclusions

In this paper, we introduced a new unbiased filter with an FMH structure for reducing Gaussian noise in digital images, based on a framework that incorporates a UFIR filter as its core. We also explored the effect of using symmetric window-shape configurations on the filter’s performance. We conducted a series of experiments, first to fine-tune the filter and then to assess its performance using the RMSE, PSNR, NSER, SSIM, and GcMSE metrics, as well as a Mean Opinion Score (MOS) test.
We found that, for the target application, the parameter N selected through experimentation was N = 11 , as higher orders yield only marginal improvements in performance.
According to the results in Section 6, for noise variances of 0.005 , 0.01 , 0.02 , the UFMH-C structure achieves the best performance in terms of NSER. In contrast, the FAH structure exhibits the most consistent performance among the evaluated methods. In particular, the FAH structure effectively preserves edges while reducing noise in flat regions and achieves the best performance in terms of PSNR, RMSE, SSIM, and GcMSE. These results indicate that, according to the selected quantitative metrics, the FAH structure provides the best overall performance under these conditions.
However, for a noise variance of 0.05 , the median filter ranks first, while the FAH structure consistently ranks second. In contrast, the X-shaped UFIR filter achieves second place in terms of NSER.
Although the MOS test indicates that the UFMH-XC structure provides the best edge-preserving performance, the quantitative metrics suggest a different outcome. This apparent discrepancy highlights a well-known limitation, namely the gap between current objective metrics and the Human Visual System (HVS). Some metrics primarily assess noise reduction, even in the presence of structural distortion, while others focus on edge preservation but do not fully capture both aspects simultaneously. In this context, the MOS-based assessment provides a more comprehensive evaluation of perceptual quality. These results suggest that objective metrics may not be fully suitable for assessing the performance of this filter; consequently, the performance of the UFMH-XC structure should be complemented with qualitative measures.
Future work includes assessing the filter’s performance under other types of noise, comparing the proposed filter with state-of-the-art edge-preserving methods, and evaluating its performance on applications such as ultrasound and night-vision image enhancement.

Author Contributions

Conceptualization, E.M.-S., L.J.M.-M., M.G.-L., and H.V.-L.; methodology, L.J.M.-M., M.G.-L., E.G.P.-R., H.V.-L., and H.P.-M.; software, R.F.V.-B.; validation, E.G.P.-R.; formal analysis, L.J.M.-M. and H.P.-M.; investigation, E.M.-S.; data curation, R.F.V.-B.; writing—original draft preparation, L.J.M.-M.; writing—review and editing, M.G.-L.; visualization, R.F.V.-B.; supervision, H.V.-L. and H.P.-M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Annex: Filter Ranking by Noise Variance According to the Friedman Test

Figure A1. Evaluation of the Friedman test for the metrics corpus. Noise level: σ 2 = 0.005 . Symbol * denotes lower performance.
Figure A1. Evaluation of the Friedman test for the metrics corpus. Noise level: σ 2 = 0.005 . Symbol * denotes lower performance.
Symmetry 18 00871 g0a1aSymmetry 18 00871 g0a1b
Figure A2. Evaluation of the Friedman test for the metrics corpus. Noise level: σ 2 = 0.01 . Symbol * denotes lower performance.
Figure A2. Evaluation of the Friedman test for the metrics corpus. Noise level: σ 2 = 0.01 . Symbol * denotes lower performance.
Symmetry 18 00871 g0a2aSymmetry 18 00871 g0a2bSymmetry 18 00871 g0a2c
Figure A3. Evaluation of the Friedman test for the metrics corpus. Noise level: σ 2 = 0.05 . Symbol * denotes lower performance.
Figure A3. Evaluation of the Friedman test for the metrics corpus. Noise level: σ 2 = 0.05 . Symbol * denotes lower performance.
Symmetry 18 00871 g0a3aSymmetry 18 00871 g0a3b

References

  1. Gonzalez, R.C.; Woods, R.E. Digital Image Processing; Prentice-Hall: Boca Raton, FL, USA, 2007. [Google Scholar]
  2. Jahne, B. Digital Image Processing; Springer: Berlin/Heidelberg, Germany, 2002. [Google Scholar]
  3. Blackledge, J.M. Digital Image Processing—Mathematical and Computational Methods; Woodhead Publishing: Oxford, UK, 2005. [Google Scholar]
  4. Burger, W.; Burge, M.J. Principles of Digital Image Processing—Fundamentals Techniques; Springer: London, UK, 2009. [Google Scholar]
  5. Nixon, M.S.; Aguado, A.S. Feature Extraction and Image Processing for Computer Vision; Academic Press: London, UK, 2020. [Google Scholar]
  6. Szeliski, R. Computer Vision—Algorithms and Applications; Springer: London, UK, 2022. [Google Scholar]
  7. Astola, J.; Kuosmanen, P. Fundamentals of Nonlinear Digital Filtering; CRC Press: Boca Raton, FL, USA, 1997. [Google Scholar]
  8. Barner, K.E.; Arce, G.R. Nonlinear Signal and Image Processing; CRC Press: Boca Raton, FL, USA, 2004. [Google Scholar]
  9. Mitra, S.K.; Sicuranza, G.L. Nonlinear Image Processing; Academic Press: San Diego, CA, USA, 2001. [Google Scholar]
  10. Shmaliy, Y.S. GPS-Based Optimal FIR Filterin of Clock Models; Nova Science Publisher: New York, NY, USA, 2009. [Google Scholar]
  11. Shmaliy, Y.S.; Morales-Mendoza, L.J. FIR smoothing of discrete-time polynomials signals in state-space. IEEE Trans. Signal Process. 2010, 58, 2544–2555. [Google Scholar] [CrossRef]
  12. Shmaliy, Y.S.; Neuvo, Y.; Khan, S. Review of Unbiased FIR filters, smoothers and predictors for polynomials signals. Front. Signal Process. 2018, 2. [Google Scholar] [CrossRef]
  13. Shmaliy, Y.S.; Zhao, S. Optimal and Robust State Estimation—Finite Impulse Responce (FIR) and Kalman Approaches; Wiley: Toronto, ON, Canada, 2022. [Google Scholar]
  14. Morales-Mendoza, L.J.; Shmaliy, Y.S.; Ibarra-Manzano, O.G. Image Processing; Ch. 16 Enhancing Ultrasound Images Using Hybrid FIR Structures; InTechOpen: London, UK, 2009. [Google Scholar]
  15. Morales-Mendoza, L.J.; Vázquez-Bautista, R.F.; Morales-Mendoza, E.; Shmaliy, Y.S. Speckle noise reduction in ultrasound imaging the key points in low degree unbiased FIR filters. Comput. Y Sist. 2012, 16, 287–295. [Google Scholar]
  16. Sadykova, D.; James, A.P. Quality Assessment Metrics for Edge Detection and Edge-aware Filtering: A Tutorial Review. In Proceedings of the 2017 International Conference on Advances in Computing, Communications and Informatics, Karnataka, India, 13–16 September 2017. [Google Scholar]
  17. Zhang, M.; Mou, X.; Zhang, L. Non-Shift Edge Based Ratio (NSER): An Image Quality Assessment Metric Based on Early Vision Features. IEEE Signal Process. Lett. 2011, 18, 315–318. [Google Scholar] [CrossRef]
  18. Lopez-Randulfe, J.; Veiga, C.; Rodriguez-Andina, J.J.; Farina, J. A quantitative method for selecting denoising filters, based on a new edge-sensitive metric. In Proceedings of the 2017 IEEE International Conference on Industrial Technology (ICIT), Toronto, ON, Canada, 22–25 March 2017; pp. 974–979. [Google Scholar] [CrossRef]
Figure 1. FIR-Median Hybrid Structure.
Figure 1. FIR-Median Hybrid Structure.
Symmetry 18 00871 g001
Figure 2. Proposed window types for use in the UFMH Structure for image processing. Note: the pixels at the center of the window are used for computing the output pixels.
Figure 2. Proposed window types for use in the UFMH Structure for image processing. Note: the pixels at the center of the window are used for computing the output pixels.
Symmetry 18 00871 g002
Figure 3. Proposed UFMH filtering structure for X-shaped window processing.
Figure 3. Proposed UFMH filtering structure for X-shaped window processing.
Symmetry 18 00871 g003
Figure 4. Proposed UFMH-XC Structure.
Figure 4. Proposed UFMH-XC Structure.
Symmetry 18 00871 g004
Figure 5. Windows for r = 1 , 2, and 3: (a) 3 × 3 , (b) 5 × 5 and (c) 7 × 7 .
Figure 5. Windows for r = 1 , 2, and 3: (a) 3 × 3 , (b) 5 × 5 and (c) 7 × 7 .
Symmetry 18 00871 g005
Figure 6. Search for the best-performing value of N across the evaluation metrics considered in this study. The metrics are evaluated for several values of N to determine the point at which performance no longer improves.
Figure 6. Search for the best-performing value of N across the evaluation metrics considered in this study. The metrics are evaluated for several values of N to determine the point at which performance no longer improves.
Symmetry 18 00871 g006
Figure 7. Enhancing binary images using the UFMH Structure with N = 11 and l = 1 .
Figure 7. Enhancing binary images using the UFMH Structure with N = 11 and l = 1 .
Symmetry 18 00871 g007
Figure 8. Enhancing gray-scale images using the FMH Structure with N = 11 and l = 1 .
Figure 8. Enhancing gray-scale images using the FMH Structure with N = 11 and l = 1 .
Symmetry 18 00871 g008
Figure 9. Average percentage of choices made by participants in the MOS test. Confidence intervals are provided for each bar and do not overlap, indicating the reliability and clear separation of the results.
Figure 9. Average percentage of choices made by participants in the MOS test. Confidence intervals are provided for each bar and do not overlap, indicating the reliability and clear separation of the results.
Symmetry 18 00871 g009
Figure 10. Percentages for individual images in the MOS test.
Figure 10. Percentages for individual images in the MOS test.
Symmetry 18 00871 g010
Figure 11. Evaluation of the Friedman test for the metrics corpus. Noise level: σ 2 = 0.02 . Symbol * denotes lower performance.
Figure 11. Evaluation of the Friedman test for the metrics corpus. Noise level: σ 2 = 0.02 . Symbol * denotes lower performance.
Symmetry 18 00871 g011aSymmetry 18 00871 g011bSymmetry 18 00871 g011c
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Mendoza-Salvador, E.; Morales-Mendoza, L.J.; Gonzalez-Lee, M.; Pale-Ramon, E.G.; Vazquez-Leal, H.; Perez-Meana, H.; Vazquez-Bautista, R.F. An Edge-Preserving Hybrid Filter Based on UFIR Filters for Reducing Gaussian Noise in Digital Images. Symmetry 2026, 18, 871. https://doi.org/10.3390/sym18050871

AMA Style

Mendoza-Salvador E, Morales-Mendoza LJ, Gonzalez-Lee M, Pale-Ramon EG, Vazquez-Leal H, Perez-Meana H, Vazquez-Bautista RF. An Edge-Preserving Hybrid Filter Based on UFIR Filters for Reducing Gaussian Noise in Digital Images. Symmetry. 2026; 18(5):871. https://doi.org/10.3390/sym18050871

Chicago/Turabian Style

Mendoza-Salvador, Erika, Luis J. Morales-Mendoza, Mario Gonzalez-Lee, Eli G. Pale-Ramon, Hector Vazquez-Leal, Hector Perez-Meana, and Rene F. Vazquez-Bautista. 2026. "An Edge-Preserving Hybrid Filter Based on UFIR Filters for Reducing Gaussian Noise in Digital Images" Symmetry 18, no. 5: 871. https://doi.org/10.3390/sym18050871

APA Style

Mendoza-Salvador, E., Morales-Mendoza, L. J., Gonzalez-Lee, M., Pale-Ramon, E. G., Vazquez-Leal, H., Perez-Meana, H., & Vazquez-Bautista, R. F. (2026). An Edge-Preserving Hybrid Filter Based on UFIR Filters for Reducing Gaussian Noise in Digital Images. Symmetry, 18(5), 871. https://doi.org/10.3390/sym18050871

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop