-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(segmentation): add stack viewport segmentations rendering and to…
…ols (#894) * Add getImage method to Cache class Co-authored-by: rodrigobasilio2022 <[email protected]> * initial setup * Add labelmap segmentation support to stack viewport * Add SegmentationToolsOperationData types and update segmentation strategies * Refactored fillCircle function to use segmentIndex instead of hard-coded value. * Fix segmentation tool bugs * Update Segmentation Tool Operation Data types * Add volume segmentation support to RectangleScissorsTool * Refactor eraseRectangle function to use fillInsideRectangle * Update codebase with changes from git diff * Update segmentation image rendering * Refactor segmentation image change event listener * Refactor pointInEllipse function to use destructuring and simplify calculations. * Refactor pointInEllipse function to accept optional inverts parameter * Refactor sphere manipulation and ellipse point calculation. * Add isVolumeSegmentation function to BrushTool.ts * Remove unused import and console.log statement in derivedImageMetadataProvider.ts * Fix segmentation tool bugs and update example data * Updated example-info.json with revised descriptions * api * Add getBufferConfiguration utility function * Remove unused imports and event listeners * Refactor code and update dependencies * Add new utility function findMapKeyByValue and update labelmapDisplay * Add SegmentationRepresentations import and handle different types of labelmap data * Fix segmentation rendering issue and handle missing segmentation slices * update * Remove unused function and import statements * api --------- Co-authored-by: rodrigobasilio2022 <[email protected]>
- Loading branch information
1 parent
0a00cbe
commit 5d23572
Showing
60 changed files
with
2,379 additions
and
569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.