FSPEC -- SAR Speckle Filters

Applies a speckle filter on a SAR image. The supported filters are: Lee Filter, Kuan Filter, Frost Filter, Enhanced Lee Filter, Enhanced Frost Filter, Gamma MAP Filter and Laplacian Filter. These filters are primarily used on radar data to remove high frequency noise (speckle), while preserving high frequency features (edges). For convenience, a Block Average Filter and a Standard Deviation Filter are also provided.

See Also: FAV, FED, FGA, FME, FMO, FSHARP, FSOBEL, FPR, FPRE, FFROST, FEFROST, FLE, FELEE, FKUAN, FGAMMA, FSTDDEV, FLAP

INPUT PORT(S)

Input

Type:Raster
Connection:Mandatory
Minimum Layers:1
Maximum Layers:1024

Contains the input layer(s) consisting of the data to be filtered.

Mask

Type:Bitmap
Connection:Optional
Minimum Layers:0
Maximum Layers:1

Contains the input area mask layer, consisting of the bitmap that will indicate which area in the input raster should be processed.

OUTPUT PORT(S)

Output

Type:Raster
Connection:Optional
Minimum Layers:0
Maximum Layers:1024

Contains the output layer(s) that will receive the filtered data. Only the area under Mask is written to Output.

INPUT PARAMETER(S)

FSPEC is controlled by the following parameters:

Image Type

Name:ImageType
Type:Text
Valid Values:AMP, POW
Default:AMP
Requirement:Mandatory

Specifies the image format of the radar image, which can be supplied in either the amplitude or power (intensity) format.

 AMP   | image is in amplitude format
 POW   | image is in power format
Amplitude is the square root of power. Most radar images are supplied in the amplitude format to preserve the values.

Filter Type

Name:FilterType
Type:Text
Valid Values:Lee, Kuan, Frost, Enhanced Lee, Enhanced Frost,
Valid Values:Gamma, Laplacian, Average, Standard Deviation
Default:Lee
Requirement:Mandatory

Specifies the filter type.

 Lee                    | Lee filter
 Kuan                   | Kuan filter
 Frost                  | Frost filter
 Enhanced Lee           | Enhanced Lee filter
 Enhanced Frost         | Enhanced Frost filter
 Gamma                  | Gamma MAP filter
 Laplacian              | Laplacian filter
 Average                | Block Average filter
 Standard Deviation     | Standard Deviation filter
The user may specify only the first two letters of the filter names as a shorter form (LE, KU, etc.), or select from the options listed in the pull-down menu.

Filter X Size (Pixels)

Name:FiltPixels
Type:Integer
Valid Values:3, 5, 7, 9, 11
Default:3
Requirement:Mandatory

Specifies the filter's X size, in units of pixels.

Filter Y Size (Lines)

Name:FiltLines
Type:Integer
Valid Values:3, 5, 7, 9, 11
Default:3
Requirement:Mandatory

Specifies the filter's Y size, in units of lines.

Number of Looks

Name:NumberLooks
Type:Integer
Valid Values:0 <= x <= 100
Default:1
Requirement:Mandatory

Specifies the (effective) number of looks of the image. This is used to derive noise variance. By adjusting NumberLooks, the user can control the amount of smoothing applied to the image.

Damping Factor

Name:DampFactor
Type:Real
Valid Values:0.0 <= x <= 10.0
Default:1.0
Requirement:Mandatory

Specifies the damping constant for the filter, only used by Enhanced Lee, Frost, and Enhanced Frost filters. This constant specifies the extent of the damping effect of the filtering. The default value of 1.0 is sufficient for most SAR images.

DETAILS

The filters in FSPEC are used primarily to filter speckled radar data. They are designed to smooth out noise while retaining edges or shape features in the image.

The image is stored in a database FILE with input layer DBIC and output layer DBOC. The filter size can be specified through the parameter FLSZ. Different filter sizes (FLSZ) will greatly affect the quality of processed images. If the filter is too small, the noise filtering algorithm is not effective. If the filter is too large, subtle details of the image will be lost in the filtering process. A 7x7 filter usually gives the best results.

A bitmap specifies the area within the input layer which will be processed. Only this area will be filtered and the rest of the image will be unchanged. If no bitmap is connected, the entire database is processed.

The NLOOK parameter is used to estimate noise variance and it effectively controls the amount of smoothing applied to the image by the filter. Theoretically, the correct value for NLOOK should be the effective number of looks of the radar image. It should be close to the actual number of looks, but may be different if the image has undergone resampling. The user may experimentally adjust the NLOOK value so as to control the effect of the filter. A smaller NLOOK value leads to more smoothing; a larger NLOOK value preserves more image features.

A damping factor (DAMP) is required by the Enhanced Lee, Frost, and Enhanced Frost filters. The value of DAMP defines the extent of exponential damping (the smaller the value, the smaller the damping effect). It depends on the non-filtered image and may require trial-and-error experiments to determine the best value. The default value for DAMP is 1.

FSPEC performs spatial filtering on each individual pixel in an image using the grey-level values in a square window surrounding each pixel. The dimensions of the filter must be odd, and must be at least 3x3.

All pixels are filtered. In order to filter pixels located near the edges of the image, edge-pixel values are replicated to give sufficient data.

The filter models require that the signal represents power. If the input image is in amplitude format, each grey-level will be squared to derive power and finally square root will be applied to the filtered result.

ALGORITHM

Implementation of the speckle filters are based on the following papers, and especially the review paper by Shi and Fung.

 Jong-Sen Lee, "Digital Image Enhancement and Noise Filtering
 by Use of Local Statistics", IEEE Transactions on Pattern
 Analysis and Machine Intelligence, Vol. PAM1-2, No. 2, March, 1980.

 J.S.Lee, "Refined Filtering of Image Noise Using Local Statistics"
 Computer Graphic and Image Processing 15, 380-389 (1981)

 D.T. Kuan, A.A. Sawchuk, T.C. Strand, and P. Chavel, 
 "Adaptive restoration of images with speckle," IEEE Trans. ASSP.,
 Vol. 35, no. 3, pp. 373-383, March 1987.

 A. Lopes, R. Touzi and E. Nezry, "Adaptive speckle filters and
 Scene heterogeneity", IEEE Transaction on Geoscience and Remote
 Sensing, Vol. 28, No. 6, pp. 992-1000, Nov. 1990.

 V.S. Frost, J.A. Stiles, K.S. Shanmugan, and J.C. Holtzman,
 "A model for radar images and its application to adaptive digital 
 filtering of multiplicative noise," IEEE Trans. Pattern Analysis
 and Machine Intelligence, vol. 4, no. 2, pp. 157-166, March 1982. 

 A. Lopes, E. Nezry, R. Touzi, and H. Laur, "Structure detection
 and statistical adaptive speckle filtering in SAR images",
 International Journal of Remote Sensing, Vol. 14, No. 9, 
 pp. 1735-1758, 1993.

 A. Lopes, R. Touzi and E. Nezry, "Adaptive speckle filters and
 Scene heterogeneity", IEEE Transaction on Geoscience and Remote
 Sensing, Vol. 28, No. 6, pp. 992-1000, Nov. 1990.

 Zhenghao Shi and Ko B. Fung, 1994, "A Comparison of Digital
 Speckle Filters", Proceedings of IGRASS 94, August 8-12, 1994.
See Also: KUAN FILTER, FROST FILTER, ENHANCED FROST FILTER, GAMMA FILTER, LEE FILTER, ENHANCED LEE FILTER, LAPLACIAN FILTER, STANDARD DEVIATION FILTER

BLOCK AVERAGE FILTER

The output of the block average filter at a pixel is the average intensity value within the current filter window.

        R = Im

About PCI Help Gateway