ddd_pylib.labels_manip.

RemoveLabelsOperator#

class ddd_pylib.labels_manip.RemoveLabelsOperator[source]#

Bases: ReplaceValuesOperator

Removes a list of labels from a label map by replacing them with 0.

Methods

getPrefix()[source]#

Prefix added to the input image name to generate the output image name.

setRemovedLabels(labels)[source]#
Parameters:

labels (List[int])