Routine for smoothing data using diffusion on graphs. Works well only for small kernels.
Note that this is not useful for regular grids, where direct application of smoothing kernels is much faster. But the idea might be kept to perform smoothing on irregular structures (meshes).
Author : Bertrand Thirion, 2006-2009
Smoothing data on a(n uncomplete) cartesian grid
| Parameters: | ijk : array od shape(nvox,3) list of the positions
|
|---|---|
| Returns: | data, which is the smoothed data : fixme : in-place change of data ? |