PANDORE Version 6 GREYC-IMAGE

poutrangefiltering



Performs outrange filtering on image.



Synopsis

poutrangefiltering difference [-m mask] [im_in|-] [im_out|-]

Description

poutrangefiltering applies the outrange filter algorithm on the input image im_in.

Each pixel is replaced by the mean value of its neighbors if the difference between this mean and the central pixel value is lower or equal than the specified parameter value difference. If difference=255 than outrange is equivalent to meanfiltering.

The image border (of size 1) 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 sigma filter to tangram.pan:

   poutrangefiltering 10 tangram.pan out.pan

See also

Filtering

C++ prototype

Errc POutRangeFiltering( const Img2duc &im_in, Img2duc &im_out, float difference );

Version française

Lissage par filtre adaptatif basé sur le choix des voisins.


Author: Régis Clouard