next up previous contents index
Next: heat Up: Reference Previous: fsharpen   Contents   Index

fsmooth

$ \bigcirc$Name


fsmooth Smoothing with a binomial filter




$ \bigcirc$Command Synopsis


fsmooth [-S S] [-W W] in out



-S S : standard deviation (default 2)

-W W : Weight of the considered pixel (default 1)

in : Input Fimage

out : Output Fimage




$ \bigcirc$Function Summary


void fsmooth (S , W , in , out )

int *S , *W ;

Fimage in , out ;




$ \bigcirc$Description


This module implements a binomial smoothing filtering. It is a Bernouilli filter iterated N times. N depends on the standard deviation S and on the weight W of the considered pixel : N = (2 + W)*S2. Let I the input fimage, then the module iterates N times the following two-steps scheme:


1)   Im, n   $\displaystyle \longleftarrow$  ((Im-1, n + Im+1, n + W*Im, n)/(2 + W))  
2)   Im, n   $\displaystyle \longleftarrow$  ((Im, n-1 + Im, n+1 + W*Im, n)/(2 + W))  




$ \bigcirc$See Also


mschannel.


$ \bigcirc$Version 1.1


Last Modification date : Thu Nov 29 20:23:56 2001


$ \bigcirc$Author


Jacques Froment, Yann Guyonvarc'h






next up previous contents index
Next: heat Up: Reference Previous: fsharpen   Contents   Index
mw 2004-05-05