darsia.LabelsSegmentAssistant#
- class LabelsSegmentAssistant(labels, background, mask=None, **kwargs)[source]#
Bases:
objectModule for LabelsAssistant to segment labels.
Initialize module.
- Parameters:
- labels
Optional[darsia.Image] Input labels.
- background
darsia.Image Background image.
- mask
Optional[np.ndarray] Mask to be used for segmentation.
- labels
Methods
Attributes
Input labels.
Background image.
Mask to be used for segmentation.
Verbosity flag.
Region of interest.
- background#
Background image.
- labels#
Input labels.
- mask#
Mask to be used for segmentation.
- roi#
Region of interest.
- verbosity#
Verbosity flag.