ddd_pylib.labels_manip.

ListBorderValuesOperator#

class ddd_pylib.labels_manip.ListBorderValuesOperator[source]#

Bases: MeasurementsOperator

Produces a DataFrame containing the unique label values found at the borders of an image along specified axes. The border size and axes can be specified. The resulting DataFrame will have columns for each border axis, with the unique label values found at the negative and positive borders of that axis.

Methods

static defaultBorderAxes()[source]#
Return type:

List[str]

static defaultBorderSize()[source]#
Return type:

int

getPrefix()[source]#

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

setBorderAxes(axes)[source]#

Specify which axes to consider for border value extraction.

Parameters:

axes (List[str])

setBorderSize(size)[source]#

How many pixels to consider as border along each specified axis. Must be at least 1.

Parameters:

size (int)