gauss__ ( Image : ImageGauss : Size : )

Smooth using discrete gauss functions.

The operator gauss__ smoothes images using the discrete Gaussian. The smoothing effect increases with increasing filter size. The following filter sizes (Size) are supported (the sigma value of the gauss function is indicated in brackets):

    3    (0.81)
    5    (0.93)
    7    (1.50)
    9    (2.00)
    11   (2.45)
For margin control the gray values of the images are reflected at the image borders.


Parameters

Image (input_object)
image(-array) -> object : byte / int4 / int4
Image to be smoothed.

ImageGauss (output_object)
image(-array) -> object : byte / int4 / int4
Filtered image.

Size (input_control)
integer -> integer
Required filter size.
Default value: 5
List of values: 3, 5, 7, 9, 11


Example
gauss__(Input:Gauss:7:) >
regiongrowing__(Gauss:Segments:7,7,5,100:).

Complexity

For each pixel: O(Size * 2).


Result

If the parameter values are correct the operator gauss__ returns the value TRUE. The behavior in case of empty input (no input images available) is set via the operator set_system(::'no_object_result',<Resultat>:). If necessary an exception is raised.


Possible Predecessors

read_image, grab_image


Possible Successors

regiongrowing__, threshold__, sub__, dyn_threshold__, auto_threshold2


Alternatives

smooth__, derivate_gauss


See also

mean__, anisotrope_diff__, sigma__, gen_lowpass



Copyright © 1996-1997 MVTec Software GmbH