3 <TITLE>mrcImageBilateralFilter</TITLE>
6 <H1>mrcImageBilateralFilter</H1>
9 Usage: mrcImageBilateralFilter
11 [-i[nput] In (NULL ).as(inFile ) ] :Essential :InputDataFile
12 [-o[utput] Out (NULL ).as(outFile ) ] :Essential :OutputDataFile
13 [-s[igma]D[ensity] SigmaDensity (2.0 ).as(Real ) ] :Optional :SigmaDensity
14 [-k[ernal]T[type]D[ensity]KernelTypeDensity (0 ).as(Integer ) ] :Optional :KernelTypeForDensity
15 [-s[igma]S[pace] SigmaSpace (1.0 ).as(Real ) ] :Optional :SigmaSpace
16 [-s[igma]S[pace]3 SigmaSpaceX (1.0 ).as(Real )
17 SigmaSpaceY (1.0 ).as(Real )
18 SigmaSpaceZ (1.0 ).as(Real ) ] :Optional :SigmaSpace(3D)
19 [-k[ernel]T[ype]S[pace]KernelTypeSpace (0 ).as(Integer ) ] :Optional :KernelTypeForSpace
20 [-k[ernel]S[ize] KernelSize (5 ).as(Integer ) ] :Optional :KernelSize
21 [-k[ernel]S[ize]3 KernelSizeX (5 ).as(Integer )
22 KernelSizeY (5 ).as(Integer )
23 KernelSizeZ (5 ).as(Real ) ] :Optional :KernelSize(3D)
24 [-c[onfig] configFile (NULL ).as(inFile ) ] :Optional :ConfigurationFile
25 [-m[ode] mode (0 ).as(Integer ) ] :Optional :Mode
26 ----- Additional Usage -----
28 by Tomashi and Manduchi
29 C. Tomasi and R. Manduchi, Bilateral Filtering for Gray and Color Images, Proceedings of the 1998 IEEE International Conference on Computer Vision, Bombay, India
30 fi = Sigma_j(W(i,j)*Ij)/ Sigma_j(Wj)
31 ,where W(i,j)=W_x(xi,xj)*W_I(Ii,Ij)
32 ------- linfo.mode : 0
33 W_x(xi,xj) = exp(-|xi-xj|^2/2 sigmaSpace^2 )
34 W_I(Ii,Ij) = exp(-|Ii-Ij|^2/2 sigmaDensity^2)
35 ------- linfo.mode : 1
36 W_x(xi,xj) = 1/(1+|xi-xj|^2/sigmaSpace^2 )
37 W_I(Ii,Ij) = 1/(1+|Ii-Ij|^2/sigmaDensity^2)