ddd_pylib.image_manip.

NormalizeOperator#

class ddd_pylib.image_manip.NormalizeOperator[source]#

Bases: ImageOperator

Take an image and normalizes it. If the image has a time axis (T), it is possible with setIndividualTimePoints to normalize them individually or to use the global range of values. It is also possible to set a range in which the image should be normalized with setTargetRange.

Methods

static defaultIndividualTimePoints()[source]#
static defaultTargetRange()[source]#
getPrefix()[source]#

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

getTargetRange()[source]#

Return the target range in which the images should be normalized.

Return type:

Tuple

setIndividualTimePoints(individual)[source]#

Set whether to normalize individual time points or use the global range.

Parameters:

individual (bool)

setTargetRange(target_range)[source]#

Set the target range in which the images should be normalized.

Parameters:

target_range (tuple) – The target range as a tuple.