darsia.LabelsAssistant#
- class LabelsAssistant(labels=None, background=None, **kwargs)[source]#
Bases:
objectAssistant to modify labels.
Initialize module.
- Parameters:
- labels
Optional[darsia.Image] Input labels.
- background
Optional[darsia.Image] Background image.
- labels
Methods
Attributes
Name of the assistant.
Background image.
Monochromatic background image.
Cache for background image.
Input labels.
Reference to previous labels.
Reference to current labels.
Next module to be called.
Flag indicating whether the assistant has been finalized.
Verbosity flag.
Flag indicating whether the assistant is called for the first time.
- background#
Background image.
- cache_background#
Cache for background image.
- current_labels#
Reference to current labels.
- finalized#
Flag indicating whether the assistant has been finalized.
- first_call#
Flag indicating whether the assistant is called for the first time.
- labels#
Input labels.
- monochromatic_background#
Monochromatic background image.
- name#
Name of the assistant.
- next_action#
Next module to be called.
- previous_labels#
Reference to previous labels.
- verbosity#
Verbosity flag.