PANDORE Version 6 GREYC-IMAGE

psnnfiltering



Performs Symmetric Nearest Neighborhood filtering on image.



Synopsis

psnnfiltering [-m mask] [im_in|-] [im_out|-]

Description

psnnfiltering applies a Symmetric Nearest Neighborhood filter to the input image im_in. Each pixel of the input image is replaced by the mean of its symmetric nearest neighbors.

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

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Applies the Symmetric Nearest Neighborhood filter to tangram.pan image:

   psnnfiltering tangram.pan out.pan

See also

Filtering

C++ prototype

Errc PSNNFiltering( const Img2duc &im_in, Img2duc &im_out );

Version française

Lissage par filtre adaptatif : le plus proche voisinage symetrique.


Author: Abderrahim Elmoataz