VIA - Volumetric Image Analysis
Functions
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:
srcinput image (ubyte or short repn)
destoutput image (bit repn)
msizeminimal size, components with fewer voxels than 'msize' are deleted.