PartSeg.common_gui.advanced_tabs¶
This module contains base for the advanced window for PartSeg. At this moment controlling colormaps tabs and developer PartSegCore
- class PartSeg.common_gui.advanced_tabs.AdvancedWindow(settings, image_view_names, reload_list=None, parent=None)[source]¶
Bases:
QTabWidgetBase class for advanced windows. It contains colormap management connected tabs:
PColormapCreatorandPColormapList.- Parameters:
settings (
BaseSettings) – program settingsimage_view_names (
list[str]) – passed as second argument toPColormapList
- class PartSeg.common_gui.advanced_tabs.ColorControl(settings, image_view_names)[source]¶
Bases:
QTabWidgetClass for storage all settings for labels and colormaps.
- class PartSeg.common_gui.advanced_tabs.DevelopTab(parent=None)[source]¶
Bases:
QWidgetWidget for developer utilities. Currently only contains button for reload algorithms and
To enable it run program with a –develop flag.
If you would like to use it for developing your own algorithm and modify some of the PartSeg class. Please protect this part of code with something like:
>>> if tifffile.tifffile.TiffPage.__module__ != "PartSegImage.image_reader":
This is taken from
PartSegImage.image_reader