PANDORE Version 6 |
GREYC-IMAGE |
ppeergroupfiltering
Performs Peer Group filtering on color image.
Synopsis
ppeergroupfiltering threshold [-m mask] [im_in|-] [im_out|-]
Description
ppeergroupfiltering applies a Peer Group filter to the input image im_in.
Each pixel is replaced by the weighted average of its peer group members which are
classified based on the color similarity of its neighboring pixels.
Parameters
- threshold specifies the magnitude of the noise
to be removed. It is a positive real value. A typical value is 1.0.
Inputs
Outputs
- im_out: an image of the same type as the input image.
Result
Returns SUCCESS or FAILURE.
Examples
Applies the Peer Group Filtering filter on parrot.pan image:
ppeergroupfiltering 10 parrot.pan out.pan
See also
Filtering
C++ prototype
Errc PPeerGroupFiltering( const Imc2duc &im_in, Imc2duc &im_out, float threshold );
Version française
Lissage d'une image couleur par Peer Group Filtering.
Author: Olivier Lezoray