ddd_pylib.labels_manip.

FilterLabelsPropertiesOperator#

class ddd_pylib.labels_manip.FilterLabelsPropertiesOperator[source]#

Bases: ImageOperator

Takes a label map, a results table and a filters dictionnary, and apply filters on the label map by filtering the result table.

Settable parameters:
  • result_table (setResultTable) – Set the result table, such as the one produced by LabelsPropertiesOperator

  • filters (setFilters) – Set the filters to apply to the result table that will filter the labels in the

  • label map. Filters is a dictionnary that has the column (s)

  • and upper bound for the property.

Methods

getPrefix()[source]#

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

setFilters(filters)[source]#

Set the filters to use on the result table to filter the label map

Parameters:

filters (dict)

setResultTable(table)[source]#

Set the result table to help filter the label map

Parameters:

table (DataFrame)