Standard Library function that performs image smoothing by applying theLee Filter algorithm.
n (optional) The value of 2n + 1 is used for the side of the filter box. The side of the filter box must be smaller than the smallest dimension of image. (Default: 5)
sigma (optional) The estimate of the standard deviation. The value must be a positive. (Default: 5)
NOTE: If sigma is negative, you will be prompted for a value to be typed in, the value will be displayed, and the filtered image will be displayed with the TVSCL command. This cycle will continue until a zero value of sigma is entered.
'copy'
) Valid strings are:
'zero'
Sets the border of the output image to zero.
'copy'
Copies the border of the input image to the output image. (Default)
'signal'
The 2D input image array arrangement is (x, p) for p signal-interleaved signals of length x.
'image'
The 3D image array arrangement is (x, y, p) for p image-interleaved images of x-by-y.
'volume'
The input image array is treated as a single entity.
Since LEEFILT is not very computationally expensive, it can be used for near real-time image processing. It can be used on signals as well as images.