1 Introduction

Speckle is caused by random interference of the backscattered electromagnetic waves due to the roughness of the imaged surface (Goodman 1976). Synthetic aperture radar (SAR) image is degraded by the speckle due to the coherent interference of waves reflected from the imaged surface (Novak and Burl 1990; Dainty 1977). The appearance of speckle depends on the structure of the imaged surface and various imaging parameters. Speckle is generally considered to be multiplicative in nature in the sense that the appearance of speckle increases with the grey level of a local area (Argenti et al. 2013). Since speckle degrades both the spatial and the contrast resolution of the image, it is considered as noise and thus, reducing the visibility of targets. It degrades performance of SAR data analysis techniques and many processing tasks. Thus, it is necessary to reduce the speckle in the SAR images (Pang et al. 2013).

Some of the widely and commonly used filters to reduce the speckle are Lee’s filter (Lee 1980, 1981), Frost’s filter (Frost et al. 1981), Kuan’s filter (Kuan et al. 1985; Kuan et al. 1987), median filter (Pratt 1975), diffusion filter (Perona and Malik 1990) and wavelet filter (Donoho et al. 1995; Donoho 1995; Mallat 1989). Since then, many improvements of these filters have been derived. Lee’s filter forms an output by a linear combination, using local statistics, of centre pixel value in a filter window with the average pixel value of the window. The Kuan’s filter has the same formation with the Lee’s filter, which is based on the minimum mean square error (MMSE), but with a different weighting function. The Frost’s filter is an exponential shaped filter kernel which adapts to region using local statistics. It is similar to the Lee filter, but it does more smoothing in the edge area, resulting to blur edges (Lee et al. 1994). These locally based filters achieve a balance between the averaging (in homogeneous areas) and the all pass filters (at edges and features). These weighting factors depend on the local statistics of the moving window. Lee, later, developed Lee-refined filter to overcome the deficiency of Lee filter (Lee 1981). This filter uses the edge-aligned windows to reduce noise near edges. Thus, it reduces the noise near the edges with preserving edges; however, computational complexity is increased (Lee et al. 1999). Lee further developed Lee-Sigma filter (Lee 1983a, b) to do more smoothing in the heterogeneous area. In this filter, only the pixel values which lie between two-sigma ranges are averaged. Though it improves in noise reduction near edges, leaves many unfiltered black pixels. To overcome the deficiencies in Lee-Sigma filter, improved Lee-Sigma filter (Lee 2009) was designed using theoretical speckle distributions and extended improved Lee-Sigma filter (Lee et al. 2015) for very high-resolution PolSAR data. These speckle filter major limitation lies on their dependency to the shape and size of the filter window. If the window is large, it will blur the edges and a small window cannot effectively reduce the noise. In (Shitole et al. 2017), a window is divided into five equal sized overlapping sub-windows, where the centre pixel is a part of each of these sub-windows. These filters are not directional; thus, smoothing on the vicinity of an edge is excluded.

Median filter is also utilized for speckle reduction in SAR imaginary (Lee et al. 1994). It is a non-linear spatial filter. It replaces the centre pixel value in a filter window by the median value of all the pixels inside that window. A single isolated pixel in the neighbourhood will not affect median value significantly. Thus, the median filter would blur the tiny details. When the number of noised pixels is larger than the half of the filter’s size, filter output remains unaltered (Michailovich and Tannenbaum 2006). Thus, median filter can be considered a failure for the fully developed speckle.

Lopes proposed Maximum A Posteriori (MAP) approach for speckle reduction using appropriate model of speckle (Lopes et al. 1990a, b, 1993). Achim performed the adaptive despeckling by deriving an MAP estimator for the Rayleigh distribution to estimate the radar cross section (Achim et al. 2009).

Non local (NL)-based algorithm is also used to reduce the speckle in SAR images (Buades et al. 2005). In NL-mean filter, the output pixel value is the weighted average of all the pixels in the image. The weight assigned to a pixel depends upon the similarity between the pixel and the pixel under consideration. In (Coupé et al. 2009), the NL mean is used by introducing the Pearson distance. Deledalle designed iteratively refined weight based on both the similarity between noisy patches and the similarity of patches extracted from the previous estimate (Deledalle et al. 2009). Gomez et al. (2013) designed an algorithm to optimize a Bayesian NL-mean filter for despeckling SAR images. Though these filters enhance edges with reducing speckle, but they have difficulties in retaining subtle features. It also leads to an over smooth effect (Yousif and Ban 2013) when many less similar pixels are used for averaging. Moreover, there may be lack of similar blocks to average in some cases. In (Leonardo et al. 2014), a combination of NL mean and a statistical test based on stochastic divergences is used to reduce speckle in PolSAR imagery. Though, the NL-mean method can effectively preserve edge details and other image details, but its computational complexity is more.

Yu and Acton designed speckle reduction anisotropic diffusion filter (SRAD) using partial differential equation (Yu and Acton 2002) which is the modification of Perona and Malik anisotropic diffusion. SRAD is a non-linear filter which is based on the iterative diffusion process. SRAD filter overcomes the drawback of the window-based approach which is sensitive to the shape and size of the filter window. Thus, this filter enhances edges by allowing diffusion in directions parallel to the edge.

Wavelet transform is also widely used in the image denoising (Mallat 1989). In Simard et al. (1998), the contribution of speckle noise in the SAR images to the wavelet decomposition is analysed. Despeckling of SAR image with Bayesian wavelet shrinkage was shown by Achim et al. (2003). Based on wavelet Bayesian denoising and Markov random field, an SAR speckle reduction algorithm was proposed (Xie et al. 2002). An NL SAR image denoising algorithm was designed based on LLMMSE wavelet shrinkage by Parrilli et al. (2012). In general, in the wavelet denoising, the wavelet coefficients below the threshold value are replaced by zero as it assumes that small coefficients are of noise and large coefficients contain signal details. Thus, the choice of threshold values is complicated as it determines the efficiency of the whole denoising systems (Donoho et al. 1995; Donoho 1995).

There are strengths and limitations of all the filters and no single filter can outperforms other in all applications (Lee et al. 1994). The choice of the filter should depend upon the application, where it is used. In some applications, it is necessary to preserve fine details like edges though they inhibit smoothing near edges while in others, to completely reduce the speckle, even though it causes problems like blurring of edges and fine details. Over the years, many speckle filters have been designed which has better performance than the widely used common adaptive filters. However, the computational complexity is increased. This added complexity is not proportional to the increase in performance. Though there is an abundance SAR speckle filters available, Boxcar or Lee filter is still employed because of its simplicity (Yamamoto et al. 2013). Adaptive filters are also employed when necessary.

In this paper, a filter is proposed based on weighted averaging the expected value of all the pixel elements in the window. For the pixel under consideration, the possible range, where the original pixel value will lie is estimated using the noise probability distribution. The expected original value of the neighbouring noised pixel is calculated with respect to the possible range of the original centre pixel, as it assumes that the probability of similarity between the neighbouring pixels and the centre pixel is high. The motivation of this idea is that the pixel under consideration will probably have similar pixels at its neighbours. The paper is organised as follows. Section 2 presents the noise model. Section 3 illustrates the proposed filter. Experimental results and conclusion are shown in Sects. 4 and 5, respectively.

2 Noise Model

A priori information of the speckle in the SAR images is important in the development of the proposed filtering. SAR images are formed by capturing the return signals backscattered from a small area of the resolution cell when the radar illuminates it. Each resolution cell, where the radar illuminates it, contains several scatterers. Every scatterer contributes a backscattering wave with variational phase. As the return signals are no longer coherent in phase, the received signal is a vector sum of several backscatter waves from the scatterers (Argenti et al. 2013). These backscatter waves may sum up in a constructive or destructive way, resulting in bright and dark pixel. This pixel to pixel intensity variation in SAR images which is granular in nature is termed speckle and it is given by

$$A = \mathop \sum \limits_{i} A_{i} e^{{j\phi_{i} }} ,$$
(1)

where A is the amplitude and ϕ is the phase

or

$$A = \mathop \sum \limits_{i} A_{i} \left( {\cos \phi_{i} + j\sin \phi_{i} } \right)$$
(2)

or

$$A = x + jy.$$
(3)

The received signal is the coherent result of different phases between scatterers. Thus, it can be seen as the complex signal whose in phase (\(A\cos \phi\)) and quadrature \((A\sin \phi )\) components of the amplitude are independent. The amplitude |A| is distributed as Rayleigh pdf and it is given by

$$p_{A} \left( A \right) = \frac{2A}{{\sigma^{2} }}e^{{ - \frac{{A^{2} }}{{\sigma^{2} }}}} , \,A \ge 0$$
(4)

with the mean and variance of the amplitude |A| are equal to \(\sigma \frac{\sqrt \pi }{2}\) and \(\left( {4 - \pi } \right)\sigma^{2} /4\), respectively. The intensity \(I = x^{2} + y^{2} \,{\text{or}} \,A^{2}\) is exponentially distributed as

$$p_{I} \left( I \right) = \frac{1}{{\sigma^{2} }}e^{{ - \frac{I}{{\sigma^{2} }}}} I \ge 0$$
(5)

with the mean and variance of the intensity, I, are equal to \(\sigma^{2}\) and \(\sigma^{4}\), respectively. The mean value, for both intensity and amplitude images, is the actual information or the actual reflectance. Thus, the SAR image can be represented as the product of the mean value and the probability distribution of the received signal with mean equal to unity. In general, SAR image is described by the mathematical model as

$$z\left( {i,j} \right) = u \left( {i,j} \right) \times v\left( {i,j} \right),$$
(6)

where \(z\left( {i,j} \right)\) is the \(\left( {i,j} \right){\text{th }}\) pixel grey level of an SAR image, \(u \left( {i,j} \right)\) is the original pixel grey level, and \(v\left( {i,j} \right)\) is considered as a speckle fading term with mean of unity. For simplicity, the subscripts \(\left( {i,j} \right)\) will be omitted. Thus, Eq. 6 can be rewritten as

$$z = u \times v.$$
(7)

The parameter \(u\) is equal to the mean value of the received signal distribution.Or

$$v = \frac{z}{u},$$
(8)

where \(v\) is distributed as

$$p_{\text{V}} \left( v \right) = u p_{I} \left( {uv} \right) \left( {\text{intensity}} \right) \,\,{\text{or}} \,\, u p_{\text{A}} \left( {uv} \right) \left( {\text{amplitude}} \right)$$
(9)

or

$$p_{\text{V}} \left( v \right) = e^{ - v} \left( {\text{for intensity}} \right) {\text{or }}\,\,\frac{\pi }{2} ve^{{ - v^{2} \frac{\pi }{4 }}} ({\text{for amplitude}}).$$
(10)

For the multi-look processed SAR images, which are formed by averaging N independent spatial observations to improve the estimation of \(\sigma^{2}\) (i.e., to reduce the speckle), the intensity image has a Chi-square distribution, that is

$$p_{I} \left( I \right) = \frac{{N^{N} }}{{\sigma^{2N} \varGamma (N)}}I^{N - 1} e^{{ - N\frac{I}{{\sigma^{2} }}}} ,$$
(11)

where N is the number of looks and Γ (.) denotes the Gamma function. The mean value for the \(N\) looks intensity maintains to \(\sigma^{2}\) with the variance is reduced to \(\frac{{\sigma^{4} }}{N}\). For the multi-look amplitude image \(A_{N} = \sqrt {I_{N} }\), the speckle has a Chi distribution, given by

$$p_{A} \left( A \right) = \frac{{2N^{N} }}{{\sigma^{2N} \varGamma (N)}}A^{2N - 1} e^{{ - N\frac{{A^{2} }}{{\sigma^{2} }}}}$$
(12)

with the mean and variance are given by \(\frac{{\varGamma (N + \frac{1}{2})}}{\varGamma (N)}\sqrt {\sigma^{2} /N}\) and \((N - \frac{{\varGamma^{2} \left( {N + \frac{1}{2}} \right)}}{{\varGamma^{2} \left( N \right)}})\frac{{\sigma^{2} }}{N}\), respectively. The probability distribution of \(v\) (noise) for the multi-look intensity and amplitude images is

$$p_{\text{V}} \left( v \right) = \frac{{N^{N} v^{N - 1} }}{\varGamma (N)} e^{ - Nv}$$
(13)

and

$$p_{\text{V}} \left( v \right) = \frac{{K^{2N} 2N^{N} v^{2N - 1} }}{\varGamma (N) }e^{{ - Nv^{2} K^{2} }} ,$$
(14)

where K = \(\frac{{\varGamma (N + \frac{1}{2})}}{\varGamma (N)}\sqrt {1/N}\). The model described above is valid under the assumption that the scene under consideration is characterised by distributed scatterers. In the presence of a point target, the received signal pdf becomes a Rice distribution. In this case, the received signal power is related to the single target reflection coefficient.

3 Proposed Method

In general, a noise filter involves replacing the central pixel in the window by the mean value of the window. It works well in the homogeneous area, but not in the high contrast area or in the presence of edges. Since all the pixels are corrupted, it is difficult to differentiate the homogeneous area from the contrast area. The proposed method calculates the expected value of all the pixels in the window Ω with respect to centre pixel. The expected value of the neighbouring pixel is its probable original value which is similar to the original centre pixel value and it is calculated as the centre pixel will probably have similar pixels at its neighbour. The weighted sum of all the expected values replaces the centre pixel as the filtered pixel. The filter output is given as

$$\hat{u}\left( {k,l} \right) = \mathop \sum \limits_{i,j\smallint \varOmega } w\left( {i,j} \right){\text{ex}}\left( {i,j} \right)/\mathop \sum \limits_{i,j\smallint \varOmega } w\left( {i,j} \right),$$
(15)

where \(k,l\) is the co-ordinate of the centre pixel in the window Ω, and \(i ,j\) denotes the co-ordinates of the neighbouring pixels in the window Ω. \(w\) and \({\text{ex }}\) are the weightage and the expected value, respectively.

3.1 Calculation of the Expected Values of the Neighbouring Pixels with Respect to Centre Pixel

In Eq. 6, the SAR image is modelled as the product of the noise-free reflectivity or original pixel (\(u\)) with the speckle fading term or the noise (\(v\)) which is independent of (\(u\)). Thus, the parameter (\(u\)) has to be produced as the filter output. From Eq. (7), \(u\) can be given as

$$u = \frac{z}{v} .$$
(16)

Since the value of \(z\) is known, the probability distribution of \(u\) is calculated with respect to the probability distribution of noise (\(v\)). Then, the probability distribution of \(u\) is given by

$$p_{U(i,j)} \left( u \right) = \left\{ {\begin{array}{*{20}l} {\frac{z(i,j)}{{u^{2} }}\,\,\,p_{V} \left( {\frac{z(i,j)}{u}} \right)} \\ {0 \,\,\,\,\,\,\,{\text{for}} u = 0} \\ \end{array} } \right..$$
(17)

In probability theory, the expected value of a random variable is the probability-weighted average of all possible values the random variable can take. In other words, the expected value (which is a predicted value) is calculated as the integral of all possible values each multiplied by the probability of its occurrence. Its denominator value is one since the integral over the entire probability density function is one.

In this method, the expected value of the neighbouring pixel with respect to the centre pixel is the expected value of all the values which are under both the probabilities distribution of the neighbouring pixel and the centre pixel (Fig. 1). Thus, the expected value of the neighbouring pixel is its probable original value which is similar to the original centre pixel value. The expected values of the neighbouring pixels in the window with respect to the centre pixel are calculated by

$${\text{ex}}\left( {i,j} \right) = {\text{Ex}}(i,j)/{\text{nom}}(i,j),$$
(18)

where \({\text{Ex}}\left( {i,j} \right)\) is the integral of all the possible values each multiplied by both the probabilities of its occurrence in the probabilities distribution of the centre pixel and the neighbouring pixel. \({\text{nom}}\left( {i,j} \right)\) is the integral of the product of the probabilities of the centre pixel and the neighbouring pixel and it is used to normalise the value. They are given as below:

$${\text{Ex}}\left( {i,j} \right) = \left[ {\mathop \int \limits_{0}^{{u_{\text{upper}} }} ( u \times p_{{U\left( {i,j} \right)}} \left( u \right) \times p_{{U\left( {k,l} \right)}} \left( u \right)){\text{d}}u} \right]$$
(19)
$${\text{nom}}\left( {i,j} \right) = \left[ {\mathop \int \limits_{0}^{{u_{\text{upper}} }} ( p_{{U\left( {i,j} \right)}} \left( u \right) \times p_{{U\left( {k,l} \right)}} \left( u \right)){\text{d}}u} \right]$$
(20)

and \(k,l\) is the co-ordinate of the centre pixel in the window Ω, \(i,j\) denotes the co-ordinates of the neighbouring pixels in the window Ω, and the \(u_{\text{upper}}\) value should be maximum value of the pixel range, i.e., 1 for double data type and 255 for uint8 data type. The expected value of the centre pixel \({\text{ex}}(k,l)\) can be taken as 3 × 3 mean or 3 × 3 median or the centre pixel itself. The use of mean 3 × 3 mean or 3 × 3 median work well in the homogeneous, but it brings blurring to the edges. To retain the fine details, the expected value \({\text{ex}}(k,l)\) is the MMSE in a 3 × 3 window. The 3 × 3 window is used as it gives reasonably better results than other bigger sizes. In this paper, the centre pixel is used to reduce computation.

Fig. 1
figure 1

a Probability distribution of \(u\) for the centre pixel \(z\left( {k,l} \right).\) (z = 0.4). b Probability distribution of \(u\) for the neighbouring pixel \(z\left( {i,j} \right)\). (z = 0.2). c Product of the probability distribution of u for z = 0.4 and z = 0.2. Expected value of the neighbouring pixel \(z\left( {i,j} \right)\)\((z = 0.2)\) with respect to the centre pixel \(z\left( {k,l} \right)\) (\(z = 0.4)\) is the probability-weighted average of all possible \(u\) values

The visual representation for the calculation of the expected value of the neighbouring pixel is shown in Fig. 1. Thus, the expected value of the neighbouring pixel \(z\left( {i,j} \right)\) with respect to the centre pixel \(z\left( {k,l} \right)\) is the expected value of the area which is under both the probability distributions of \(u\) for the centre pixel \(z\left( {k,l} \right)\) and neighbouring pixel \(z\left( {i,j} \right)\).

Backscattering signatures of point targets follow the Rice distribution which is slightly different from that of distributed scatterers and it is observed that strong returns from point targets usually form a cluster of a large number of pixels. Thus, the pixel to be filtered in the point target would have some similar pixels in the neighbourhood and their values would be retained. The use of Rice distribution in the calculation of the expected value of the point target area would bring little difference. However, detecting the point target area in the image would add complexity. Hence, expected value in the point target area would be calculated similar to expected value in the distributed scatterers.

3.2 Calculation of the Weight of the Expected Values

The weight of the expected value is the probability density of the expected value in the probability distribution of the centre pixel. Thus, the weight, \(w\left( {i,j} \right),\) is given as

$$w\left( {i,j} \right) = \left[ {\mathop \int \limits_{{ex\left( {i,j} \right) - \delta }}^{{ex\left( {i,j} \right) + \delta ,}} p_{{U\left( {k,l} \right)}} \left( u \right){\text{d}}u} \right],$$
(21)

where δ is the small value, and its value is taken 0.01 for double data type and 3 for uint8 data type. Thus, the expected value which has a higher probability of the centre will have more weightage.

4 Experiments and Result

Experiments are carried out on the data set acquired from both air-borne and space-borne SAR systems. The air-borne data set consists of X-band SAR image acquired over the agricultural area, mountainous and forest area, and Ku-band SAR image acquired over the building. The space-borne data set is comprised of X-band SAR image acquired over the seaport. Thus, it consists different scattering mechanisms of the image surfaces such as specular scattering from the building block, surface scattering from the ocean areas, and volume scattering from the agricultural area, mountainous, and forest area. The proposed algorithm is implemented using Matlab. The size of the window used by the proposed method is \(5 \times 5\). Larger window may give blurring in edges and point targets and a \(3 \times 3\) window may not be statistically independent. The filtered results are compared with the results of the other SAR filters, which include Lee filter, Frost filter, Kuan filter, SRAD filter, NL-mean filter, median filter, and wavelet transform filter. The main purpose of the speckle filter reduces speckle noise and preserves edge details. The evaluating index, equivalent number of look (ENL), is used to evaluate the speckle reduction of the filter. Edge Save Index (ESI) calculates the edge preservation capability of the speckle filter. The parameter equivalent number of look (ENL) is given by

$${\text{ENL}} = \frac{{\mu^{2} }}{{\delta^{2} }},$$
(22)

where µ is the mean of the image and δ is the corresponding standard deviation. The greater the value of ENL, better the performance of the speckle reduction.

Edge Save Index (ESI) gives the edge preservation capability of the filter. ESI in horizontal direction is given by (Zhang et al. 2010)

$${\text{ESI}}^{h} = \frac{{\mathop \sum \nolimits_{i = 1}^{m} \mathop \sum \nolimits_{j = 1}^{n - 1} |\hat{x}\left( {i,j + 1} \right) - \hat{x}\left( {i,j} \right)|}}{{\mathop \sum \nolimits_{i = 1}^{m} \mathop \sum \nolimits_{j = 1}^{n - 1} |\hat{x}\left( {i,j + 1} \right) - \hat{x}\left( {i,j} \right)|}}.$$
(23)

Similarly, ESI in vertical direction is given by

$${\text{ESI}}^{v} = \frac{{\mathop \sum \nolimits_{i = 1}^{m - 1} \mathop \sum \nolimits_{j = 1}^{n} |\hat{x}\left( {i + 1,j} \right) - \hat{x}\left( {i,j} \right)|}}{{\mathop \sum \nolimits_{i = 1}^{m - 1} \mathop \sum \nolimits_{j = 1}^{n} |x\left( {i + 1,j} \right) - x\left( {i,j} \right)|}},$$
(24)

where \(m\) and \(n\) are the number of rows and columns, respectively. \(\hat{x}\) is the filtered image and \(x\) is the speckled image. The values of ESIh and ESIv should be unity for an ideal filter. Thus, the value closer to the unity indicates better edge preservation.

4.1 Experiment on Images

4.1.1 Results for SAR Image (Sea Area)

The image in Fig. 2a is acquired over the seaport (image credit: ELTA Systems, Israel) The median filter, Lee filter, Frost filter, Kuan filter, SRAD filter, NL-mean filter, wavelet, and proposed filter are applied to this amplitude multi-look image and their corresponding filtered images are shown in Fig. 2b–i. The size of the amplitude image used for processing is \(1024 \times 1364\) which is extracted from the original amplitude image to reduce the runtime. In this study, the window size of the proposed method is \(5 \times 5.\) The iterations of the SRAD filter are \(100\) and smoothing step time is 0.025. The degree of filtering (h) for the NL mean is 8. The damping factor of the Frost filter is set to 0.5 (k = 0.5), here. The ENL and ESI values are tabulated in Table 1. The ENL value is used to evaluate the smoothing. The NL mean has a higher value than the proposed method which shows that these filters have higher smoothing level. By smoothing out the noise, it suppresses dark lines and many point targets. The ESIh and ESIv values of these filters are quite low. The ENL of the Frost (5 × 5) is comparable with the proposed method, but the ESI values of the proposed method are much higher. Lee filter has the highest edge preserving index. As the Lee filter eludes smoothing near the edges to preserve edges, it leaves a lot of area unfiltered. From the filtered image in Fig. 2c, it can be seen that the Lee filter preserves the strong lines and points. However, the noise near the boundary remains intact.

Fig. 2
figure 2

SAR image acquired over the sea port (image credit: ELTA Systems, Israel)

Table 1 Evaluated values for the SAR image (sea area)

4.1.2 Results for SAR Image (Capitol Building)

The SAR image of the capitol building, Washington is shown in Fig. 3a. The image is four-look intensity image and consists of park area and building (image credit: Sandia National Laboratories, USA). The number of pixels of the image is reduced to \(1024 \times 1572\) for evaluation. The ENL and ESI values of the proposed method and other filters are tabulated in Table 2. Figure 3b–i shows the filtered images of the proposed method and others. The window of the proposed method here is \(5 \times 5\). The iterations of the SRAD filter are \(100\) and smoothing step time is 0.025. The degree of filtering (h) for the NL mean is 8. The damping factor of the Frost filter is set to 0.5 (k = 0.5), here. The ENL value of the NL mean is higher which indicates that it has a better smoothing capability, but it leads to edge blurring by smoothing out the edges. Thus, it has the lowest ESI values. Lee filter preserves edges by inhibiting smoothing near edges. However, the noise near the edges remains unfiltered. Many dark and bright spots can be seen in strong backscattering areas in the Lee-filtered image (Fig. 3c). These isolated dark and bright spots are filtered in the proposed method without affecting the neighbours. The ENL value which is closer to the proposed method is Frost (3 × 3). It smoothes the noise at the expense of fine lines and details. The Frost (3 × 3) has a higher ESI than the Frost (5 × 5) but with the lower ENL. ENL for the SRAD filter can be increased at the expense of ESI. Thus, for the SAR image which consists building block and park area, the proposed method achieves better balance between the noise smoothing and edge and point target preserving.

Fig. 3
figure 3

SAR image acquired over the Capitol building (image credit: Sandia National Laboratories, USA)

Table 2 Evaluated values for the SAR image (capitol building)

However, these filters cannot effectively reduce noise when the homogeneousness of the region is low. It can be observed from the filtered images that the proposed method achieves better at balancing the smoothing of noise and preserving the edge information.

4.1.3 Results for SAR Image (Agricultural Area)

The image (Fig. 4a) is acquired over agricultural regions. This 7-look intensity image is taken by RIAN SAR System, IRA, NAS Ukraine. For evaluation, the original image is reduced to 1024 × 1904 pixels. The filtered images of the proposed method and other filters are shown in Fig. 4b–i. The obtained values of ENL and ESI of the proposed method and other filters are summarized in Table 3. As higher ENL values indicate better in noise smoothing, the proposed method performs better in noise smoothing than other filters which are compared except for the SRAD filter, NL mean, and Frost (5 × 5) filters. The SRAD filter, NL mean, and Frost (5 × 5) filters smooth the noise with less preserving details. The proposed method preserves the edges and fine details with negligible blurring. The Lee filter has higher ESI values than the proposed method. The noise near the edges is unfiltered in the Lee-filtered image and many dark and bright spots remain in the strong backscattering areas. Unlike the Lee filter, which could not identify the low-gradient terrain, the proposed method smoothes the noise in the terrain area with maintaining the gradient.

Fig. 4
figure 4

SAR image acquired over the over agricultural regions (image credit RIAN SAR System, IRA, NAS Ukraine)

Table 3 Evaluated values for the SAR image (agricultural area)

5 Conclusion

Speckle, the major source of noise in the SAR image, produces fine false structures that degrade the quality of the image. It degrades performance of SAR data analysis techniques and affects the processing tasks such as segmentation and registration. In this paper, an SAR speckle filter is proposed based on the expected value of all the pixel elements in the window with respect to centre pixel. The average of all the expected values in the window replaces the centre pixel. The expected value of the neighbouring pixels is calculated with reference to the centre pixel as it assumes that the original neighbouring pixels’ value is closer to the original centre pixel. Experiments are carried out on both air-borne and space-borne SAR images that consist of building block, ocean area, agricultural area, mountainous, and forest area, to study different scattering mechanisms of the image surfaces. Quantitative analysis based on ENL and ESI on these SAR images shows that the proposed method is more effective in noise smoothing with better preserving edge details and structure information than the other well-known methods. The proposed method is adapted to all the types of image surface as the expected values are calculated based on the probability distribution of the noise.