In file No file:

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

Binarizes an image and changes its type

Documentation

Binarizes an image and changes its type. 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