visiannot.visiannot.components.AnnotImageWidget¶
Summary¶
Module defining AnnotImageWidget
Classes¶
|
Widget for image extraction |
API¶
Class AnnotImageWidget¶
-
class
visiannot.visiannot.components.AnnotImageWidget.AnnotImageWidget(visi, widget_position, label_list, annot_dir, nb_table=5, flag_horizontal=True)[source]¶ Bases:
objectWidget for image extraction
- Parameters
visi – associated instance of
ViSiAnnoTwidget_position (list or tuple) – position of the widget in the layout of the associated instance of
ViSiAnnoTnb_table (int) – maximum number of radio buttons in
radio_button_groupon a rowflag_horizontal (bool) – specify if radio buttons are placed horizontally, otherwise vertically
Methods:
call_push_button(visi)Callback method for saving the image at current frame in ViSiAnnoT
Attributes:
(str) Directory where the images are saved, a sub-directory is automatically created for each label
(list) Labels
(QtWidgets.QButtonGroup) Set of radio buttons for selecting a label
(
pyqt_overlayer.PushButton) Push button for saving image extractionCallback method for saving the image at current frame in ViSiAnnoT
Connected to the signal
clickedofpush_button.- Parameters
visi – associated instance of
ViSiAnnoT
-
annot_dir¶ (str) Directory where the images are saved, a sub-directory is automatically created for each label
-
label_list¶ (list) Labels
(
pyqt_overlayer.PushButton) Push button for saving image extraction
(QtWidgets.QButtonGroup) Set of radio buttons for selecting a label