Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bnsreenu/digitalsreeni-image-annotator
/ types & classes
Types & classes
84 in github.com/bnsreenu/digitalsreeni-image-annotator
⨍
Functions
1,194
◇
Types & classes
84
↳
Endpoints
3
↓ 9 callers
Class
AnnotationHistory
Per-image-key undo/redo stacks of annotation-dict snapshots.
src/digitalsreeni_image_annotator/controllers/annotation_history.py:30
↓ 8 callers
Class
ImageAnnotator
src/digitalsreeni_image_annotator/annotator_window.py:55
↓ 8 callers
Class
SampleGroup
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 callers
Class
ImageLabel
A custom QLabel for displaying images and handling annotations.
src/digitalsreeni_image_annotator/widgets/image_label.py:44
↓ 6 callers
Class
_FakeEvent
Minimal stand-in for QMouseEvent — only modifiers() is read.
tests/unit/test_canvas_selection.py:36
↓ 5 callers
Class
_FakeEvent
Minimal QMouseEvent stand-in — only modifiers() is read by the helpers.
tests/unit/test_bbox_edit.py:37
↓ 4 callers
Class
ImageController
src/digitalsreeni_image_annotator/controllers/image_controller.py:83
↓ 4 callers
Class
SAMFineTuner
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 callers
Class
_FakeEvent
tests/integration/test_bbox_edit_controller.py:26
↓ 3 callers
Class
_FakeCtx
tests/unit/test_canvas_selection.py:48
↓ 2 callers
Class
AnnotationStatisticsDialog
src/digitalsreeni_image_annotator/dialogs/annotation_statistics.py:9
↓ 2 callers
Class
DatasetSplitterTool
src/digitalsreeni_image_annotator/dialogs/dataset_splitter.py:11
↓ 2 callers
Class
DicomConverter
src/digitalsreeni_image_annotator/dialogs/dicom_converter.py:12
↓ 2 callers
Class
DimensionDialog
src/digitalsreeni_image_annotator/dialogs/image_patcher.py:14
↓ 2 callers
Class
ImageAugmenterDialog
src/digitalsreeni_image_annotator/dialogs/image_augmenter.py:14
↓ 2 callers
Class
PhraseEditorPanel
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 callers
Class
SnakeGame
src/digitalsreeni_image_annotator/dialogs/snake_game.py:7
↓ 2 callers
Class
StackInterpolator
src/digitalsreeni_image_annotator/dialogs/stack_interpolator.py:11
↓ 2 callers
Class
TrainingInfoDialog
src/digitalsreeni_image_annotator/dialogs/yolo_trainer.py:17
↓ 1 callers
Class
AnnotationController
src/digitalsreeni_image_annotator/controllers/annotation_controller.py:53
↓ 1 callers
Class
COCOJSONCombinerDialog
src/digitalsreeni_image_annotator/dialogs/coco_json_combiner.py:7
↓ 1 callers
Class
CanvasContext
src/digitalsreeni_image_annotator/widgets/canvas_context.py:16
↓ 1 callers
Class
ClassController
src/digitalsreeni_image_annotator/controllers/class_controller.py:33
↓ 1 callers
Class
ClassThresholdTable
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 callers
Class
DINOController
src/digitalsreeni_image_annotator/controllers/dino_controller.py:82
↓ 1 callers
Class
DINOReviewEventFilter
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 callers
Class
DINOUtils
In-process Grounding DINO wrapper with a cached model.
src/digitalsreeni_image_annotator/inference/dino_utils.py:61
↓ 1 callers
Class
DimensionDialog
src/digitalsreeni_image_annotator/controllers/image_controller.py:48
↓ 1 callers
Class
DimensionDialog
src/digitalsreeni_image_annotator/dialogs/stack_to_slices.py:11
↓ 1 callers
Class
DinoMergeDialog
Merge per-image COCO JSONs into train.json and val.json.
src/digitalsreeni_image_annotator/dialogs/dino_merge_dialog.py:31
↓ 1 callers
Class
EraserTool
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 callers
Class
FakeMainWindow
Minimal stand-in for ImageAnnotator with the state the filter reads.
tests/unit/test_image_filter.py:20
↓ 1 callers
Class
FakeMainWindow
tests/unit/test_tiff_codec.py:21
↓ 1 callers
Class
FakeMainWindow
tests/unit/test_image_list_sort.py:17
↓ 1 callers
Class
HelpWindow
src/digitalsreeni_image_annotator/dialogs/help_window.py:6
↓ 1 callers
Class
ImagePatcherTool
src/digitalsreeni_image_annotator/dialogs/image_patcher.py:123
↓ 1 callers
Class
InferenceBusyError
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 callers
Class
LoadPredictionModelDialog
src/digitalsreeni_image_annotator/dialogs/yolo_trainer.py:53
↓ 1 callers
Class
PaintBrushTool
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 callers
Class
PatchingThread
src/digitalsreeni_image_annotator/dialogs/image_patcher.py:48
↓ 1 callers
Class
PolygonTool
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 callers
Class
ProjectController
src/digitalsreeni_image_annotator/controllers/project_controller.py:26
↓ 1 callers
Class
ProjectDetailsDialog
src/digitalsreeni_image_annotator/dialogs/project_details.py:8
↓ 1 callers
Class
ProjectSearchDialog
src/digitalsreeni_image_annotator/dialogs/project_search.py:9
↓ 1 callers
Class
RectangleTool
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 callers
Class
SAMController
src/digitalsreeni_image_annotator/controllers/sam_controller.py:32
↓ 1 callers
Class
SAMTrainConfigDialog
Modal config for a fine-tuning run. Read results via :meth:`get_config`.
src/digitalsreeni_image_annotator/dialogs/sam_trainer_dialog.py:24
↓ 1 callers
Class
SAMTrainController
src/digitalsreeni_image_annotator/controllers/sam_train_controller.py:59
↓ 1 callers
Class
SAMTrainingThread
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 callers
Class
SAMUtils
Runs Ultralytics SAM 2 in-process with a cached model.
src/digitalsreeni_image_annotator/inference/sam_utils.py:292
↓ 1 callers
Class
SliceRegistrationTool
src/digitalsreeni_image_annotator/dialogs/slice_registration.py:12
↓ 1 callers
Class
StackToSlicesDialog
src/digitalsreeni_image_annotator/dialogs/stack_to_slices.py:47
↓ 1 callers
Class
TrainingThread
src/digitalsreeni_image_annotator/controllers/yolo_controller.py:44
↓ 1 callers
Class
YOLOController
src/digitalsreeni_image_annotator/controllers/yolo_controller.py:64
↓ 1 callers
Class
YOLOTrainer
src/digitalsreeni_image_annotator/dialogs/yolo_trainer.py:100
↓ 1 callers
Class
_FakeEvent
tests/integration/test_annotation_history.py:17
↓ 1 callers
Class
_FakeEvent
tests/integration/test_annotation_table.py:30
↓ 1 callers
Class
_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 callers
Class
_StubWindow
Just enough ImageAnnotator surface for theme.set_font_pt.
tests/ui/test_font_zoom.py:22
Class
AnnotationUtils
src/digitalsreeni_image_annotator/core/annotation_utils.py:5
Class
Boom
tests/integration/test_sam_train_controller.py:62
Class
TestApplyImageFilter
tests/unit/test_image_filter.py:96
Class
TestCOCOExport
Tests for COCO JSON export format.
tests/integration/test_export_formats.py:82
Class
TestCalculateArea
Tests for calculate_area function.
tests/unit/test_utils.py:24
Class
TestCalculateBbox
Tests for calculate_bbox function.
tests/unit/test_utils.py:103
Class
TestClampFontPt
tests/unit/test_app_settings.py:20
Class
TestCoordinateConversionProperties
Property-based tests for coordinate conversions.
tests/unit/test_conversions.py:171
Class
TestCreateCOCOAnnotation
Tests for create_coco_annotation helper function.
tests/integration/test_export_formats.py:274
Class
TestCustomNaming
tests/integration/test_sam_finetuning.py:71
Class
TestDatasetProducers
tests/integration/test_sam_finetuning.py:139
Class
TestEdgeCases
Edge case tests for coordinate conversions.
tests/unit/test_conversions.py:217
Class
TestExportEdgeCases
Edge case tests for export functions.
tests/integration/test_export_formats.py:469
Class
TestExportWithSlices
Tests for export functions with multi-dimensional slices.
tests/integration/test_export_formats.py:429
Class
TestGeometry
tests/integration/test_sam_finetuning.py:38
Class
TestGetImageCoordinates
Tests for get_image_coordinates method.
tests/unit/test_conversions.py:43
Class
TestImageHasAnnotations
tests/unit/test_image_filter.py:47
Class
TestLoss
tests/integration/test_sam_finetuning.py:122
Class
TestNormalizeImage
Tests for normalize_image function.
tests/unit/test_utils.py:161
Class
TestPascalVOCExport
Tests for Pascal VOC export format.
tests/integration/test_export_formats.py:385
Class
TestSampleGroup
tests/integration/test_sam_finetuning.py:98
Class
TestUiPrefsRoundtrip
tests/unit/test_app_settings.py:46
Class
TestUltralyticsAPI
tests/integration/test_sam_finetuning.py:201
Class
TestYOLOExport
Tests for YOLO export format.
tests/integration/test_export_formats.py:313
Class
ToolHandler
src/digitalsreeni_image_annotator/widgets/tools/base.py:15