spacr.qt.screens.make_masks
MakeMasksScreen — Qt widget replacing the Tk ModifyMaskApp.
Load a folder of images and their masks (in <folder>/masks/), draw brush/erase strokes on the mask, run object-level operations (fill, relabel, invert, remove small), zoom into a region for detailed edits, use a magic-wand flood-fill by intensity, undo/redo, and save the edited mask back to <folder>/masks/<name>.tif as a labeled uint16 mask.
Advanced features still deferred (noted in the toolbar): dividing line and free-form polygon draw.
Module Contents
- class spacr.qt.screens.make_masks.MakeMasksScreen(parent: PySide6.QtWidgets.QWidget | None = None)[source]
Bases:
PySide6.QtWidgets.QWidgetQt widget for the Make Masks app — the successor to Tk ModifyMaskApp.
Owns the canvas, the tools panel, and the file-navigation state; see the module docstring for the full feature list.