In file No file:

void threshold (Inrimage *inr, Inrimage::WORD_TYPE type, Voxel *min, Voxel *max, Voxel *bg, Voxel *fg) throw( ErrTypeMismatch )

thresholds image grey levels between min and max values, and changes its type

Documentation

thresholds image grey levels between min and max values, and changes its type. If the voxels values are denoted by v Background is defined by: v < min || v > max Foreground is defined by: v >= min && v <= max Background voxels will be set to bg color, while foreground voxels will be set to fg color If the voxel max value is NULL, this function is equivalent to void threshold(Inrimage *inr, Voxel *min, Voxel *bg, Voxel *fg );
Parameters:
min - min threshold value
max - max threshold value
bg - background color
fg - 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