PANDORE Version 6 GREYC-IMAGE

pgaussianfiltering



Performs gaussian filtering on image.



Synopsis

pgaussianfiltering sigma [-m mask] [im_in|-] [im_out|-]

Description

pgaussfiltering applies a gaussian filter to the input image im_in.

The input image is convoluted with the gaussian filter to produce the output image. The gaussian filter F(i) of size (6*sigma) is built as follows:

   F(i)= exp(-((Double)(i-halfsize)*(i-halfsize)/(2.0*sigma*sigma)))

where halfsize = sigma*3.

The image border (of size halfsize) is not considered for processing. The output image border is just a copy of the input image border.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Applies a gaussian filter to tangram.pan:

   pgaussianfiltering 1 tangram.pan out.pan

See also

Filtering

C++ prototype

Errc PGaussianFiltering( const Img2duc &im_in, Img2duc &im_out, float sigma );

Version française

Lissage d'une image par une gaussienne.


Author: Régis Clouard