fix(seg): Enhance segmentation tools and UI, refactor code, and update dependencies (#4915)

This commit is contained in:
Alireza authored and GitHub committed 2025-04-02 18:10:47 -04:00
1 parent 1dc00d3030
commit 8432d5f633
37 files changed
+1063 -1122

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@
"@cornerstonejs/codec-libjpeg-turbo-8bit": "^1.2.2",
"@cornerstonejs/codec-openjpeg": "^1.2.4",
"@cornerstonejs/codec-openjph": "^2.4.5",
"@cornerstonejs/dicom-image-loader": "^3.8.2",
"@cornerstonejs/dicom-image-loader": "^3.8.4",
"@ohif/ui": "3.10.0-beta.144",
"cornerstone-math": "0.1.9",
"dicom-parser": "^1.8.21"
@@ -195,6 +195,38 @@ const bindings = [
keys: ['n'],
isEditable: true,
},
{
commandName: 'increaseBrushSize',
label: 'Increase Brush Size',
keys: [']'],
isEditable: true,
},
{
commandName: 'decreaseBrushSize',
label: 'Decrease Brush Size',
keys: ['['],
isEditable: true,
},
{
commandName: 'setToolActive',
commandOptions: { toolName: 'CircularEraser' },
label: 'Eraser',
keys: ['e'],
isEditable: true,
},
{
commandName: 'setToolActive',
commandOptions: { toolName: 'CircularBrush' },
label: 'Brush',
keys: ['b'],
isEditable: true,
},
{
commandName: 'addNewSegment',
label: 'Add New Segment',
keys: ['a'],
isEditable: true,
},
];
export default bindings;