PANDORE Version 6 GREYC-IMAGE

pmalikperonafiltering



Performs non linear diffusion smoothing.



Synopsis

pmalikperonafiltering iterations edgethreshold [-m mask] [im_in|-] [im_out|-]

Description

pmalikperonafiltering performs filtering on the input image im_in from the Malik-Perona algorithm. It is based on the equation diffusion:

    c=exp (-(|grad(im_in)|/K)2)

where K = edgethreshold.

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 the Malik-Perona filter to tangram.pan. It preserves edge with magnitude > 10 and performs 40 iterations:

   pmalikperonafiltering 40 10 tangram.pan out.pan

See also

Filtering

C++ prototype

Errc PMalikPeronaFiltering( const Img2duc &im_in, Img2duc &im_out, int iterations, int edgethreshold );

Version française

Lissage d'une image par diffusion non linéaire selon l'algorithme de Malik-Peronna.


Author: Sophie Sch&uum;pp