PANDORE Version 6 | GREYC-IMAGE |
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.
Returns SUCCESS or FAILURE.
Applies a sigma filter to tangram.pan:
poutrangefiltering 10 tangram.pan out.pan
Lissage par filtre adaptatif basé sur le choix des voisins.
Author: Régis Clouard