darsia.LabelsSegmentAssistant#

class LabelsSegmentAssistant(labels, background, mask=None, **kwargs)[source]#

Bases: object

Module for LabelsAssistant to segment labels.

Initialize module.

Parameters:
labelsOptional[darsia.Image]

Input labels.

backgrounddarsia.Image

Background image.

maskOptional[np.ndarray]

Mask to be used for segmentation.

Methods

Attributes

labels

Input labels.

background

Background image.

mask

Mask to be used for segmentation.

verbosity

Verbosity flag.

roi

Region of interest.

background#

Background image.

labels#

Input labels.

mask#

Mask to be used for segmentation.

roi#

Region of interest.

verbosity#

Verbosity flag.