In file No file:

void binarize ( Inrimage *inr, Voxel *theBg, Voxel *resBg, Voxel *resFg ) throw( ErrTypeMismatch )

Binarizes an image

Documentation

Binarizes an image. If a pixel value v is not a background pixel then it is set to foreground. In other words, voxels of value 'theBg' are changed to value 'resBg' while all the others values are changed to 'resFg'.
Parameters:
type - inrimage type
theBg - input background color
resBg - output background color
resFg - output foreground color

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de