VIA - Volumetric Image Analysis
Functions
Binarize.c File Reference

Functions

VImage VBinarizeImage (VImage src, VImage dest, VDouble xmin, VDouble xmax)

Detailed Description

binarize an input image

Author:
Gabriele Lohmann, MPI-CBS

Function Documentation

VImage VBinarizeImage ( VImage  src,
VImage  dest,
VDouble  xmin,
VDouble  xmax 
)
Parameters:
srcinput image (any repn except bit)
destoutput image (bit repn)
xminlower threshold, voxels less than (or equal to) xmin are set to zero
xmaxupper threshold, voxels larger than (or equal to) xmax are set to zero