MCPcopy Create free account

hub / github.com/bnsreenu/digitalsreeni-image-annotator / types & classes

Types & classes84 in github.com/bnsreenu/digitalsreeni-image-annotator

↓ 9 callersClassAnnotationHistory
Per-image-key undo/redo stacks of annotation-dict snapshots.
src/digitalsreeni_image_annotator/controllers/annotation_history.py:30
↓ 8 callersClassImageAnnotator
src/digitalsreeni_image_annotator/annotator_window.py:55
↓ 8 callersClassSampleGroup
One image plus the specs for its instances, loaded lazily. ``image_loader`` returns an RGB ``uint8`` array (matching what ``sam_utils._qimage
src/digitalsreeni_image_annotator/training/sam_trainer.py:150
↓ 7 callersClassImageLabel
A custom QLabel for displaying images and handling annotations.
src/digitalsreeni_image_annotator/widgets/image_label.py:44
↓ 6 callersClass_FakeEvent
Minimal stand-in for QMouseEvent — only modifiers() is read.
tests/unit/test_canvas_selection.py:36
↓ 5 callersClass_FakeEvent
Minimal QMouseEvent stand-in — only modifiers() is read by the helpers.
tests/unit/test_bbox_edit.py:37
↓ 4 callersClassImageController
src/digitalsreeni_image_annotator/controllers/image_controller.py:83
↓ 4 callersClassSAMFineTuner
Fine-tunes a SAM 2 mask decoder (optionally image encoder) on user instances. Mirrors ``YOLOTrainer``'s signal/stop surface so the controller
src/digitalsreeni_image_annotator/training/sam_trainer.py:185
↓ 4 callersClass_FakeEvent
tests/integration/test_bbox_edit_controller.py:26
↓ 3 callersClass_FakeCtx
tests/unit/test_canvas_selection.py:48
↓ 2 callersClassAnnotationStatisticsDialog
src/digitalsreeni_image_annotator/dialogs/annotation_statistics.py:9
↓ 2 callersClassDatasetSplitterTool
src/digitalsreeni_image_annotator/dialogs/dataset_splitter.py:11
↓ 2 callersClassDicomConverter
src/digitalsreeni_image_annotator/dialogs/dicom_converter.py:12
↓ 2 callersClassDimensionDialog
src/digitalsreeni_image_annotator/dialogs/image_patcher.py:14
↓ 2 callersClassImageAugmenterDialog
src/digitalsreeni_image_annotator/dialogs/image_augmenter.py:14
↓ 2 callersClassPhraseEditorPanel
Shows the phrase list for whichever class row is currently selected in ClassThresholdTable. The class name itself is always the first phrase
src/digitalsreeni_image_annotator/dialogs/dino_phrase_editor.py:162
↓ 2 callersClassSnakeGame
src/digitalsreeni_image_annotator/dialogs/snake_game.py:7
↓ 2 callersClassStackInterpolator
src/digitalsreeni_image_annotator/dialogs/stack_interpolator.py:11
↓ 2 callersClassTrainingInfoDialog
src/digitalsreeni_image_annotator/dialogs/yolo_trainer.py:17
↓ 1 callersClassAnnotationController
src/digitalsreeni_image_annotator/controllers/annotation_controller.py:53
↓ 1 callersClassCOCOJSONCombinerDialog
src/digitalsreeni_image_annotator/dialogs/coco_json_combiner.py:7
↓ 1 callersClassCanvasContext
src/digitalsreeni_image_annotator/widgets/canvas_context.py:16
↓ 1 callersClassClassController
src/digitalsreeni_image_annotator/controllers/class_controller.py:33
↓ 1 callersClassClassThresholdTable
A QTableWidget where each row = one class. Columns: Class Name | Box thr | Text thr | NMS thr The spinboxes are embedded directly in the
src/digitalsreeni_image_annotator/dialogs/dino_phrase_editor.py:40
↓ 1 callersClassDINOController
src/digitalsreeni_image_annotator/controllers/dino_controller.py:82
↓ 1 callersClassDINOReviewEventFilter
Application-wide event filter that lets Enter / Escape accept or reject pending DINO temp_annotations regardless of which widget has focus. Wi
src/digitalsreeni_image_annotator/controllers/dino_controller.py:44
↓ 1 callersClassDINOUtils
In-process Grounding DINO wrapper with a cached model.
src/digitalsreeni_image_annotator/inference/dino_utils.py:61
↓ 1 callersClassDimensionDialog
src/digitalsreeni_image_annotator/controllers/image_controller.py:48
↓ 1 callersClassDimensionDialog
src/digitalsreeni_image_annotator/dialogs/stack_to_slices.py:11
↓ 1 callersClassDinoMergeDialog
Merge per-image COCO JSONs into train.json and val.json.
src/digitalsreeni_image_annotator/dialogs/dino_merge_dialog.py:31
↓ 1 callersClassEraserTool
Mutates ImageLabel's `temp_eraser_mask` and `is_erasing`. The commit path (OpenCV polygon clipping) is moved byte-for-byte from the pre-Phase-
src/digitalsreeni_image_annotator/widgets/tools/eraser_tool.py:11
↓ 1 callersClassFakeMainWindow
Minimal stand-in for ImageAnnotator with the state the filter reads.
tests/unit/test_image_filter.py:20
↓ 1 callersClassFakeMainWindow
tests/unit/test_tiff_codec.py:21
↓ 1 callersClassFakeMainWindow
tests/unit/test_image_list_sort.py:17
↓ 1 callersClassHelpWindow
src/digitalsreeni_image_annotator/dialogs/help_window.py:6
↓ 1 callersClassImagePatcherTool
src/digitalsreeni_image_annotator/dialogs/image_patcher.py:123
↓ 1 callersClassInferenceBusyError
Raised when ``_run_sync`` is re-entered before the first call returns. See ``_run_sync`` for the full story. Callers that drive inference fro
src/digitalsreeni_image_annotator/inference/sam_utils.py:222
↓ 1 callersClassLoadPredictionModelDialog
src/digitalsreeni_image_annotator/dialogs/yolo_trainer.py:53
↓ 1 callersClassPaintBrushTool
Mutates ImageLabel's `temp_paint_mask` and `is_painting` so other code paths (notably `check_unsaved_changes` callers and paint-mask rendering
src/digitalsreeni_image_annotator/widgets/tools/paint_tool.py:11
↓ 1 callersClassPatchingThread
src/digitalsreeni_image_annotator/dialogs/image_patcher.py:48
↓ 1 callersClassPolygonTool
Mutates ImageLabel state fields (`current_annotation`, `temp_point`, `drawing_polygon`) directly — those fields are still read by AnnotationCo
src/digitalsreeni_image_annotator/widgets/tools/polygon_tool.py:9
↓ 1 callersClassProjectController
src/digitalsreeni_image_annotator/controllers/project_controller.py:26
↓ 1 callersClassProjectDetailsDialog
src/digitalsreeni_image_annotator/dialogs/project_details.py:8
↓ 1 callersClassProjectSearchDialog
src/digitalsreeni_image_annotator/dialogs/project_search.py:9
↓ 1 callersClassRectangleTool
Mutates ImageLabel state fields (`start_point`, `end_point`, `current_rectangle`, `drawing_rectangle`) directly. Those fields stay on the widg
src/digitalsreeni_image_annotator/widgets/tools/rectangle_tool.py:9
↓ 1 callersClassSAMController
src/digitalsreeni_image_annotator/controllers/sam_controller.py:32
↓ 1 callersClassSAMTrainConfigDialog
Modal config for a fine-tuning run. Read results via :meth:`get_config`.
src/digitalsreeni_image_annotator/dialogs/sam_trainer_dialog.py:24
↓ 1 callersClassSAMTrainController
src/digitalsreeni_image_annotator/controllers/sam_train_controller.py:59
↓ 1 callersClassSAMTrainingThread
Runs a fine-tuning job off the GUI thread. Emits the result dict on success or the exception's string on failure (same contract as YOLO's ``Tr
src/digitalsreeni_image_annotator/controllers/sam_train_controller.py:35
↓ 1 callersClassSAMUtils
Runs Ultralytics SAM 2 in-process with a cached model.
src/digitalsreeni_image_annotator/inference/sam_utils.py:292
↓ 1 callersClassSliceRegistrationTool
src/digitalsreeni_image_annotator/dialogs/slice_registration.py:12
↓ 1 callersClassStackToSlicesDialog
src/digitalsreeni_image_annotator/dialogs/stack_to_slices.py:47
↓ 1 callersClassTrainingThread
src/digitalsreeni_image_annotator/controllers/yolo_controller.py:44
↓ 1 callersClassYOLOController
src/digitalsreeni_image_annotator/controllers/yolo_controller.py:64
↓ 1 callersClassYOLOTrainer
src/digitalsreeni_image_annotator/dialogs/yolo_trainer.py:100
↓ 1 callersClass_FakeEvent
tests/integration/test_annotation_history.py:17
↓ 1 callersClass_FakeEvent
tests/integration/test_annotation_table.py:30
↓ 1 callersClass_InferenceThread
Runs a callable on a background thread. Captures both the return value AND any exception raised, so ``_run_sync`` can re-raise on the calling
src/digitalsreeni_image_annotator/inference/sam_utils.py:184
↓ 1 callersClass_StubWindow
Just enough ImageAnnotator surface for theme.set_font_pt.
tests/ui/test_font_zoom.py:22
ClassAnnotationUtils
src/digitalsreeni_image_annotator/core/annotation_utils.py:5
ClassBoom
tests/integration/test_sam_train_controller.py:62
ClassTestApplyImageFilter
tests/unit/test_image_filter.py:96
ClassTestCOCOExport
Tests for COCO JSON export format.
tests/integration/test_export_formats.py:82
ClassTestCalculateArea
Tests for calculate_area function.
tests/unit/test_utils.py:24
ClassTestCalculateBbox
Tests for calculate_bbox function.
tests/unit/test_utils.py:103
ClassTestClampFontPt
tests/unit/test_app_settings.py:20
ClassTestCoordinateConversionProperties
Property-based tests for coordinate conversions.
tests/unit/test_conversions.py:171
ClassTestCreateCOCOAnnotation
Tests for create_coco_annotation helper function.
tests/integration/test_export_formats.py:274
ClassTestCustomNaming
tests/integration/test_sam_finetuning.py:71
ClassTestDatasetProducers
tests/integration/test_sam_finetuning.py:139
ClassTestEdgeCases
Edge case tests for coordinate conversions.
tests/unit/test_conversions.py:217
ClassTestExportEdgeCases
Edge case tests for export functions.
tests/integration/test_export_formats.py:469
ClassTestExportWithSlices
Tests for export functions with multi-dimensional slices.
tests/integration/test_export_formats.py:429
ClassTestGeometry
tests/integration/test_sam_finetuning.py:38
ClassTestGetImageCoordinates
Tests for get_image_coordinates method.
tests/unit/test_conversions.py:43
ClassTestImageHasAnnotations
tests/unit/test_image_filter.py:47
ClassTestLoss
tests/integration/test_sam_finetuning.py:122
ClassTestNormalizeImage
Tests for normalize_image function.
tests/unit/test_utils.py:161
ClassTestPascalVOCExport
Tests for Pascal VOC export format.
tests/integration/test_export_formats.py:385
ClassTestSampleGroup
tests/integration/test_sam_finetuning.py:98
ClassTestUiPrefsRoundtrip
tests/unit/test_app_settings.py:46
ClassTestUltralyticsAPI
tests/integration/test_sam_finetuning.py:201
ClassTestYOLOExport
Tests for YOLO export format.
tests/integration/test_export_formats.py:313
ClassToolHandler
src/digitalsreeni_image_annotator/widgets/tools/base.py:15