ddd_pylib.labels_manip.

RemapLabelsOperator#

class ddd_pylib.labels_manip.RemapLabelsOperator[source]#

Bases: ReplaceValuesOperator

Takes a label map with non-contiguous label indices and remaps them so the new indices are contiguous.

Methods

getPrefix()[source]#

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

Return type:

str