neurotorchmz.gui.tab3#
Implements the ROI Finder Tab in Neurotorch
Classes
|
|
|
Internal event to invalidate different parts of the tab |
- class neurotorchmz.gui.tab3.TabROIFinder(session: Session, root: Tk, notebook: Notebook)#
Bases:
Tab- _canvas1_resize(event)#
- canvas1_click(event)#
- clear_image_plot()#
- comboImage_changed()#
- property current_input_description: str#
Returns a string describing the current input image
- property current_input_image: ImageProperties#
Return the current input image as a ImageProperties object which caches statistics about the image
- property detection_result: DetectionResult#
Convience property for self.session.roifinder_detection_result
- init()#
Called by the GUI to notify the tab to generate its body
- invalidate_ROIs()#
- invalidate_algorithm()#
- invalidate_image()#
- invalidate_selected_ROI(synapse: ISynapse | None = None, roi: ISynapseROI | None = None)#
Called by self.tvSynapses when a item is selected. If root item is selected, synapse and roi are None. If a ISynapse is selected, roi is None
- update_tab(event: TabUpdateEvent)#
The main function to update this tab.
- class neurotorchmz.gui.tab3.TabROIFinder_InvalidateEvent(algorithm: bool = False, image: bool = False, rois: bool = False, selectedROI: bool = False, selectedROI_tuple: tuple[ISynapse | None, ISynapseROI | None] | None = None)#
Bases:
TabUpdateEventInternal event to invalidate different parts of the tab