Speckle function

Overview

The Speckle function removes speckle in radar datasets and smooths out noise, while retaining edges and sharp features in the image. Speckle is the high-frequency noise that exists in radar images. The images generated by laser, ultrasound, and synthetic aperture radar (SAR) systems are subject to speckle noise due to the interference of the returning electromagnetic waves scattered from multiple surfaces. The Speckle function uses mathematical models to filter the bright and dark spots that are generated as a result of interference, to allow better image interpretation.

Notes

Smoothing algorithms in the Speckle function reduce and filter speckle using the Lee, Enhanced Lee, Frost, or Kuan filter types.

For optimal speckle reduction, you can try the following:

  • Filter Size greatly affects the quality of processed images. A 7-by-7 filter usually gives good results with moderate smoothing.
  • Number of Looks is used to estimate noise variance, and it effectively controls the amount of smoothing applied to the image by the filter. A smaller value leads to more smoothing; a larger value preserves more distinct image features.
  • Apply a histogram stretch to adjust the contrast or brightness of the image.

Lee filter

The Lee filter reduces the speckle noise by applying a spatial filter to each pixel in an image, which filters the data based on local statistics calculated within a square window. The value of the center pixel is replaced by a value calculated using the neighboring pixels. With the Lee filter, you can choose to reduce additive noise, multiplicative noise, or both. Use the Lee filter to smooth speckled data that has an additive or multiplicative component.

Noise modelAlgorithmVariable definitions

Additive

 Value of filtered pixel = LM + K * (PC - LM)

where

  • K (weight function) = LV / (LV + AV)

PC—Center pixel value of window

LM—Local mean of filter window

LV—Local variance of filter window

M—Multiplicative Noise Mean

A—Additive Noise Mean

AV—Additive noise variance

MV—Multiplicative noise variance

SD—Standard deviation of filter window

NLooks—Number of Looks

Multiplicative

Value of filtered pixel = LM + K * (PC - M * LM)

where

  • K (weight function) = M * LV / ((LM * LM * MV) + (M * M * LV))
  • MV = 1 / NLooks

Additive and multiplicative

Value of filtered pixel = LM+ K * (PC - M * LM - A)

where

  • K (weight function) = M * LV / ((LM* LM * MV) + (M * M * LV) + AV)
  • MV = (SD / LM)2

Lee filter algorithms
Note:

The Additive Noise Mean value is usually 0. The Multiplicative Noise Mean value is usually 1.

Enhanced Lee filter

The Enhanced Lee filter is a refined version of the Lee filter, reducing the speckle noise effectively by preserving image sharpness and detail. It requires a Damping Factor and Number of Looks. Use the Enhanced Lee filter to reduce speckle while preserving texture information.

AlgorithmVariable definitions

Value of smoothed center pixel =

LM for CI <= CU

LM * K + PC * (1 - K) for CU < CI < Cmax

PC	for CI >= Cmax

where

  • CU = 1 / square root (NLooks) (Noise variation coefficient)
  • Cmax = square root (1 + 2 / NLooks) (Maximum noise variation coefficient)
  • CI = SD / LM(Image variation coefficient)
  • K = e(- D (Ci - CU) / (Cmax - CI))

PC—Center pixel value of window

LM—Local mean of filter window

SD—Standard deviation in filter window

NLooks—Number of Looks

D—Damping Factor

Enhanced Lee filter algorithm

Frost filter

The Frost filter reduces speckle noise and preserves important image features at the edges with an exponentially damped circularly symmetric filter that uses local statistics within individual filter windows. The Frost filter requires a Damping Factor. Use the Frost filter to reduce speckle while preserving edges in radar images.

Scene reflectivity is an important factor that differentiates the Frost filter from the Lee and Kuan filters. It is calculated by combining the observed image with the impulse response of the SAR system.

AlgorithmVariable definitions

The implementation of this filter consists of defining a circularly symmetric filter with a set of weighting values M for each pixel.

K = e (- B * S)

The resulting gray-level value of the filtered pixel is

R = (P1 * K1 + P2 * K2 + ... + Pn * Kn) / (K1 + K2 + ... + Kn)

where

  • B = D * (LV / LM * LM)

S—Absolute value of the pixel distance from the center pixel to its neighbors in the filter window

D—Damping Factor

LM—Local mean of filter window

LV—Local variance of filter window

P1,P2,...Pn—Gray levels of each pixel in the filter window

K1,K2,...Kn—Weights (as defined above) for each pixel

Frost filter algorithm

Kuan filter

The Kuan filter follows a similar filtering process to the Lee filter in reducing speckle noise. This filter also applies a spatial filter to each pixel in an image, filtering the data based on local statistics of the centered pixel value that is calculated using the neighboring pixels. The Kuan filter requires the Number of Looks, which controls image smoothing and estimates noise variance. Use the Kuan filter to reduce speckle while preserving edges in radar images.

AlgorithmVariable definitions

Filtered pixel value is

R = PC * K +  LM * (1 - K)

where

  • CU = 1 / square root (NLooks) (Noise variation coefficient)
  • Cmax = square root (LV) / LM (Image variation coefficient)
  • K = (1 - ((CU * CU) / (CI * CI))) / (1 + (CU * CU))

PC—Center pixel value of window

LM—Local mean of filter window

LV—Local variance of filter window

NLooks—Number of Looks

Kuan filter algorithm

Parameters

ParameterDescription

Raster

The input raster.

Filter Type

Specifies the filter type to be used in the smoothing algorithm to remove speckle noise:

  • Lee Filter—Reduces the speckle noise by applying a spatial filter to each pixel in an image, which filters the data based on local statistics calculated within a square window. This filter is useful when you want to smooth speckled data that has an additive or multiplicative component. This is the default.
  • Enhanced Lee Filter—An adapted version of the Lee filter that includes Damping Factor and Number of Looks. This filter is useful when you want to reduce speckle while preserving texture information.
  • Frost Filter—Reduces speckle noise with an exponentially damped circularly symmetric filter that uses local statistics within individual filter windows. This filter is useful when you want to reduce speckle while preserving edges in radar images.
  • Kuan Filter—Similar to the Lee filter, this filter applies a spatial filter to each pixel in an image and filters the data based on local statistics calculated within a square window. This filter is useful when you want to reduce speckle while preserving edges in radar images.

Filter Size

Specifies the size of the pixel window used to filter noise:

  • 3x3
  • 5x5
  • 7x7
  • 9x9
  • 11x11
The default is 3x3.

Noise Model

Specifies the type of noise that is reducing the quality of the radar image:

  • Multiplicative Noise—Random signal noise that is multiplied into the relevant signal during capture or transmission
  • Additive Noise—Random signal noise that is added into the relevant signal during capture or transmission
  • Additive and Multiplicative Noise—Both noise models
This parameter is only valid when the Filter Type is Lee Filter. The default is Multiplicative Noise.

Noise Variance

Specifies the noise variance of the radar image.

This parameter is only valid when the Filter Type is Lee Filter and the Noise Model is Additive Noise or Additive and Multiplicative Noise. The default value is 0.25.

Additive Noise Mean

Specifies the mean value of additive noise. A larger noise mean value will produce less smoothing, while a smaller value results in more smoothing.

This parameter is only valid when the Filter Type is Lee Filter and the Noise Model is Additive Noise or Additive and Multiplicative Noise. The default value is 0.

Multiplicative Noise Mean

Specifies the mean value of multiplicative noise. A larger noise mean value will produce less smoothing, while a smaller value results in more smoothing.

This parameter is only valid when the Filter Type is Lee Filter and the Noise Model is Additive Noise or Additive and Multiplicative Noise. The default value is 1.

Number of Looks

Specifies the number of looks of the image, which controls image smoothing and estimates noise variance. A smaller value results in more smoothing, while a larger value retains more image features.

This parameter is only valid when the Filter Type is Lee Filter and the Noise Model is Multiplicative Noise, or when the Filter Type is Kuan Filter. The default value is 1.

Damping Factor

Specifies the extent of exponential damping effect on filtering. A larger damping value preserves edges better but smooths less, while a smaller value produces more smoothing. A value of 0 results in the same output as a low-pass filter.

This parameter is only valid when the Filter Type is Enhanced Lee Filter or Frost Filter. The default value is 1.

Related topics


In this topic
  1. Overview
  2. Notes
  3. Parameters