PANDORE Version 6 |
GREYC-IMAGE |
pvariancefiltering
Performs variance filtering on image.
Synopsis
pvariancefiltering low high [-m mask] [im_in|-] [im_out|-]
Description
pvariancefiltering applies a variance filter to the input
image im_in.
Each pixel of the input image is replaced by the variance of its
neighbors (8 connexity in 2D or 26 connexity in 3D) if the input
pixel value is between the two specified thresholds.
Otherwise the output pixel is set to 0.
Parameters
- low and high specify the low
and the high threshold values for the acceptable
input values.
Inputs
- im_in: a grayscale image.
Outputs
- im_out: a grayscale image of reals (Img2dsf or Img3dsf).
Result
Returns SUCCESS or FAILURE.
Examples
Filters the tangram.pan:
pvariancefiltering 0 255 tangram.pan a.pan
See also
Filtering
C++ prototype
Errc PVarianceFiltering( const Img2duc &im_in, Img2duc &im_out, Uchar low, Uchar high );
Version française
Filtrage d'une image par variance.
Author: François Angot