fast::LabelModifier class

Change labels in a segmentation image.

Used to converting all pixels with label/intensity X to label/intensity Y

Base classes

class ProcessObject
Abstract base class for all process objects.

Constructors, destructors, conversion operators

LabelModifier() protected

Public functions

auto create(std::vector<uchar> oldLabels, std::vector<uchar> newLabels) -> std::shared_ptr<LabelModifier>
void setLabelChange(uchar oldLabel, uchar newLabel)
void loadAttributes() override

Protected functions

void execute() override

Protected variables

std::vector<uchar> m_labelChanges