ddd_pylib.image_manip.

ProjectionOperator#

class ddd_pylib.image_manip.ProjectionOperator[source]#

Bases: ImageOperator

Flattens (project) an image along a given axis using a specified projection method. The projection method can be one of the following:

  • ‘Max’

  • ‘Min’

  • ‘Mean’

  • ‘Sum’

  • ‘Median’

Methods

static defaultProjectionAxis()[source]#
Return type:

str

static defaultProjectionMethod()[source]#
Return type:

str

getPrefix()[source]#

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

Return type:

str

getProjectionAxis()[source]#
Return type:

str

getProjectionMethod()[source]#
Return type:

str

sanityCheck()[source]#

Checks that the main image has the projection axis and the projection method is supported.

setProjectionAxis(axis)[source]#
Parameters:

axis (str)

setProjectionMethod(method)[source]#
Parameters:

method (str)