zapaishchykova / SegmentationReview

Slicer3D extension for rating using Likert-type score Deep-learning generated segmentations, with segment editor functionality. Created to speed up the validation process done by a clinician - the dataset loads in one batch with no need to load masks and volumes separately.
MIT License
25 stars 9 forks source link

Make window/level and segmentation label toggles persist through cases. #17

Closed ibro45 closed 4 weeks ago

ibro45 commented 1 month ago

https://github.com/zapaishchykova/SegmentationReview/issues/16

  1. Window/level persistence: Added functionality to store and restore window/level settings between cases.
  2. Segmentation label visibility persistence: Implemented storing and restoring of segment visibility states across cases.
  3. Refactored load_nifti_file method: Consolidated duplicate code from load_nifti_file and load_nifti_file_unique into a single method with an optional unique parameter.
  4. Improved scene cleanup: Enhanced node removal process before loading new data to prevent potential conflicts.
  5. Optimized centroid jump functionality: Updated the logic for jumping to segment centroids, now only jumping to visible segments.
  6. Code cleanup: Removed some unused or commented-out code, improving overall readability.