ddd_pylib.image_manip.
RescaleOperator#
- class ddd_pylib.image_manip.RescaleOperator[source]#
Bases:
ImageOperatorApplies rescaling to the input image based on the specified scale factors for each axis and the chosen interpolation method. The time axis cannot be rescaled. Different interpolation methods are available, including ‘Nearest’, ‘Linear’, and ‘Cubic’.
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