Smooth3d.c File Reference
Functions |
VImage | VSmoothImage3d (VImage src, VImage dest, VLong neighb, VLong numiter) |
Detailed Description
A non-linear 3d smoothing filter
The smoothing filter computes the most frequent value in a 6 (or 18) neighbourhood and replaces the center pixel with this value. The pixels within the neighbourhood are weighted.
- Author:
- Gabriele Lohmann, MPI-CBS
Function Documentation
VImage VSmoothImage3d |
( |
VImage |
src, |
|
|
VImage |
dest, |
|
|
VLong |
neighb, |
|
|
VLong |
numiter | |
|
) |
| | |
- Parameters:
-
| src | input image (any repn) |
| dest | output image (any repn) |
| neighb | adjacency type (6,18, or 26) |
| numiter | number of iterations (filtering may be applied repeatedly) |