diplib/label_map.h file

Label maps and related functionality. See Grey-value mapping.

Contents

Classes

class dip::LabelMap
Represents a set of labels (object IDs), and maps them to new ones.

Operators

auto dip::operator&(dip::LabelMap lhs, dip::LabelMap const& rhs) -> dip::LabelMap
Combines two maps using logical AND. See operator&=.
auto dip::operator|(dip::LabelMap lhs, dip::LabelMap const& rhs) -> dip::LabelMap
Combines two maps using logical OR. See operator|=.
auto dip::operator^(dip::LabelMap lhs, dip::LabelMap const& rhs) -> dip::LabelMap
Combines two maps using logical XOR. See operator^=.
auto dip::operator~(dip::LabelMap rhs) -> dip::LabelMap
Applies logical NOT to the map. See dip::LabelMap::Negate.