ddd_pylib.labels_manip.
ReplaceValuesOperator#
- class ddd_pylib.labels_manip.ReplaceValuesOperator[source]#
Bases:
ImageOperatorTakes an image and a dictionary of values representing a LUT and replaces the values in the image according to this LUT. Only images with integer dtypes are supported.
Methods
- getPrefix()[source]#
Prefix added to the input image name to generate the output image name.
- Return type:
- sanityCheck()[source]#
Simple check to prevent simple error, it may be implemented in subclasses to check more precise stuff