Corrects the input synthetic aperture radar (SAR) data for speckle, which is a result of coherent illumination that resembles a grainy or salt and pepper effect.
This tool filters out noise while retaining edges and sharp features in the SAR image. The available filters are Lee, Enhanced Lee, Refined Lee, Frost, Kuan, and Gamma MAP.
Usage
Despeckling SAR imagery improves image interpretation and classification results.
This tool does not support a geodatabase as an output location.
Select all polarization bands if the output will be with the SAR Analysis tools.
String
Filter Type
(Optional)
Specifies the type of smoothing algorithm or filter that will be applied.
Lee—A spatial filter will be applied to each pixel in an image to reduce the speckle noise. This option filters the data based on local statistics calculated within a square window. This filter is useful for smoothing speckled data that has an additive or multiplicative component.
Enhanced Lee—A spatial filter that preserves the sharpness and detail of the image will be applied to reduce the speckle noise. This option is an enhanced version of the Lee filter. This filter is useful for reducing speckle while preserving texture information.
Refined Lee—A spatial filter will be applied to selected pixels, based on local statistics, to reduce the speckle noise. This filter uses a nonsquare filter window to match the direction of edges. It is useful for reducing speckle while preserving edges. This is the default.
Frost—An exponentially damped circularly symmetric filter that uses local statistics within individual filter windows will be applied to reduce the speckle noise. This does not affect image features at the edges. This filter is useful for reducing speckle while preserving edges.
Specifies the size of the pixel window that will be used to filter noise.
This parameter is only valid when the Filter Type parameter is set to Lee, Enhanced Lee, Frost, Kuan, or Gamma MAP.
3 x 3—A 3-by-3 filter size will be used. This is the default.
5 x 5—A 5-by-5 filter size will be used.
7 x 7—A 7-by-7 filter size will be used.
9 x 9—A 9-by-9 filter size will be used.
11 x 11—An 11-by-11 filter size will be used.
String
Noise Model
(Optional)
Specifies the type of noise that is reducing the quality of the radar image.
This parameter is only valid when the Filter Type parameter is set to Lee.
Multiplicative noise—Random signal noise that is multiplied into the relevant signal during capture or transmission is reducing the quality. This is the default.
Additive noise—Random signal noise that is added to the relevant signal during capture or transmission is reducing the quality.
Additive and multiplicative noise—A combination of both noise models is reducing the quality.
String
Noise Variance
(Optional)
The noise variance of the radar image. The default is 0.25.
This parameter is only valid when the Filter Type parameter is set to Lee and the Noise Model parameter is set to Additive noise or Additive and multiplicative noise.
Double
Additive Noise Mean
(Optional)
The mean value of additive noise. A larger noise mean value will produce less smoothing, while a smaller value results in more smoothing. The default value is 0.
This parameter is only valid when the Filter Type parameter is set to Lee and the Noise Model parameter is set to Additive noise or Additive and multiplicative noise.
Double
Multiplicative Noise Mean
(Optional)
The mean value of multiplicative noise. A larger noise mean value will produce less smoothing, while a smaller value results in more smoothing. The default value is 1.
This parameter is only valid when the Filter Type parameter is set to Lee and the Noise Model parameter is set to Multiplicative noise or Additive and multiplicative noise.
Double
Number of Looks
(Optional)
The number of looks value 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. The default value is 1.
This parameter is only valid when the Filter Type parameter is set to Enhanced Lee, Kuan, or Gamma MAP or when the Filter Type parameter is set to Lee and the Noise Model parameter is set to Multiplicative noise.
Long
Damping Factor
(Optional)
The exponential damping level of smoothing that will be applied. A damping value greater than 1 will result in better edge preservation but less smoothing. Values less than 1 will result in more smoothing. A value of 0 will produce results similar to a low-pass filter. The default is 1.
Select all polarization bands if the output will be with the SAR Analysis tools.
String
filter_type
(Optional)
Specifies the type of smoothing algorithm or filter that will be applied.
LEE—A spatial filter will be applied to each pixel in an image to reduce the speckle noise. This option filters the data based on local statistics calculated within a square window. This filter is useful for smoothing speckled data that has an additive or multiplicative component.
ENHANCED_LEE—A spatial filter that preserves the sharpness and detail of the image will be applied to reduce the speckle noise. This option is an enhanced version of the Lee filter. This filter is useful for reducing speckle while preserving texture information.
REFINED_LEE—A spatial filter will be applied to selected pixels, based on local statistics, to reduce the speckle noise. This filter uses a nonsquare filter window to match the direction of edges. It is useful for reducing speckle while preserving edges. This is the default.
FROST—An exponentially damped circularly symmetric filter that uses local statistics within individual filter windows will be applied to reduce the speckle noise. This does not affect image features at the edges. This filter is useful for reducing speckle while preserving edges.
Specifies the size of the pixel window that will be used to filter noise.
This parameter is only valid when the filter_type parameter is set to LEE, ENHANCED_LEE, FROST, KUAN, or GAMMA_MAP.
3x3—A 3-by-3 filter size will be used. This is the default.
5x5—A 5-by-5 filter size will be used.
7x7—A 7-by-7 filter size will be used.
9x9—A 9-by-9 filter size will be used.
11x11—An 11-by-11 filter size will be used.
String
noise_model
(Optional)
This parameter is only valid when the filter_type parameter is set to LEE.
MULTIPLICATIVE_NOISE—Random signal noise that is multiplied into the relevant signal during capture or transmission is reducing the quality. This is the default.
ADDITIVE_NOISE—Random signal noise that is added to the relevant signal during capture or transmission is reducing the quality.
ADDITIVE_AND_MULTIPLICATIVE_NOISE—A combination of both noise models is reducing the quality.
String
noise_variance
(Optional)
The noise variance of the radar image. The default is 0.25.
This parameter is only valid when the filter_type parameter is set to LEE and the noise_model parameter is set to ADDITIVE_NOISE or ADDITIVE_AND_MULTIPLICATIVE_NOISE.
Double
add_noise_mean
(Optional)
The mean value of additive noise. A larger noise mean value will produce less smoothing, while a smaller value results in more smoothing. The default value is 0.
This parameter is only valid when the filter_type parameter is set to LEE and the noise_model parameter is set to ADDITIVE_NOISE or ADDITIVE_AND_MULTIPLICATIVE_NOISE.
Double
mult_noise_mean
(Optional)
The mean value of multiplicative noise. A larger noise mean value will produce less smoothing, while a smaller value results in more smoothing. The default value is 1.
This parameter is only valid when the filter_type parameter is set to LEE and the noise_model parameter is set to MULTIPLICATIVE_NOISE or ADDITIVE_AND_MULTIPLICATIVE_NOISE.
Double
number_of_looks
(Optional)
The number of looks value 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. The default value is 1.
This parameter is only valid when the filter_type parameter is set to ENHANCED_LEE, KUAN, or GAMMA_MAP or when the filter_type parameter is set to LEE and the noise_model parameter is set to MULTIPLICATIVE_NOISE.
Long
damp_factor
(Optional)
The exponential damping level of smoothing that will be applied. A damping value greater than 1 will result in better edge preservation but less smoothing. Values less than 1 will result in more smoothing. A value of 0 will produce results similar to a low-pass filter. The default is 1.
Long
Code sample
Despeckle example 1 (Python window)
This example despeckles the cross-polarization band using the Refined Lee filter.