DeleteSmall.c File Reference
Functions |
VImage | VDeleteSmall (VImage src, VImage dest, int msize) |
Detailed Description
Delete small components
The input image must be of type "ubyte" or "short". The output image will be of type "bit" and contain only those pixels which belong to components of size larger or equal to "msize". The maximum number of classes allowed is currently set to 10000.
- Author:
- Gabriele Lohmann, MPI-CBS
Function Documentation
VImage VDeleteSmall |
( |
VImage |
src, |
|
|
VImage |
dest, |
|
|
int |
msize | |
|
) |
| | |
- Parameters:
-
| src | input image (ubyte or short repn) |
| dest | output image (bit repn) |
| msize | minimal size, components with fewer voxels than 'msize' are deleted. |