PANDORE Version 6 | GREYC-IMAGE |
padaptivemeanfiltering applies an adaptive mean filter to the input image im_in. Each pixel is replaced by the mean of the neighbors of its neighbors that have the minimum gradient magnitude. im_in2 contains the gradient magnitude for each pixel.
The image border (of size 2) is not considered for processing. The output image border is just a copy of the input image border.
Returns SUCCESS or FAILURE.
Applies an adaptive mean filter to tangram.pan:
pgradient 1 tangram.pan a.pan b.pan padaptivemeanfiltering 8 tangram.pan a.pan out.pan
Lissage d'une image préservant les contours.
Author: Régis Clouard