feat(segmentation): replace One Click Segment with ClickSegmentTool (#6135)

* feat(segmentation): replace One Click Segment with ClickSegmentTool

Wire OHIF to ClickSegmentTool from Cornerstone3D (#2780), rename the
toolbox button to Click to Segment, and enable it only on PET (PT)
viewports.

* chore(deps): bump @cornerstonejs packages to 5.4.13

Pick up ClickSegmentTool from the published Cornerstone3D release so
OHIF installs the tool from npm without a local CS3D link.
This commit is contained in:
Alireza authored and GitHub committed 2026-07-10 17:05:26 -04:00
1 parent 6d8a275171
commit 9c76afa075
20 files changed
+165 -145

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@
"@cornerstonejs/codec-libjpeg-turbo-8bit": "1.2.2",
"@cornerstonejs/codec-openjpeg": "1.3.0",
"@cornerstonejs/codec-openjph": "2.4.7",
"@cornerstonejs/dicom-image-loader": "5.4.12",
"@cornerstonejs/dicom-image-loader": "5.4.13",
"@emotion/serialize": "1.3.3",
"@ohif/core": "workspace:*",
"@ohif/i18n": "workspace:*",
+3 -3
View File
@@ -35,9 +35,9 @@
"@cornerstonejs/codec-libjpeg-turbo-8bit": "1.2.2",
"@cornerstonejs/codec-openjpeg": "1.3.0",
"@cornerstonejs/codec-openjph": "2.4.7",
"@cornerstonejs/core": "5.4.12",
"@cornerstonejs/dicom-image-loader": "5.4.12",
"@cornerstonejs/metadata": "5.4.12",
"@cornerstonejs/core": "5.4.13",
"@cornerstonejs/dicom-image-loader": "5.4.13",
"@cornerstonejs/metadata": "5.4.13",
"@ohif/ui": "workspace:*",
"cornerstone-math": "0.1.10",
"dicom-parser": "1.8.21"
@@ -150,6 +150,9 @@
"Segment Bidirectional": "Segment Bidirectional",
"Tool not available for this modality": "Tool not available for this modality",
"One Click Segment": "One Click Segment",
"Click to Segment": "Click to Segment",
"Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.",
"PET only. Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "PET only. Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.",
"Labelmap Assist": "Labelmap Assist",
"Marker Guided Labelmap": "Marker Guided Labelmap",
"Eraser": "Eraser",
@@ -111,6 +111,9 @@
"Labelmap Assist": "Assistance Labelmap",
"Interpolate Labelmap": "Interpolation du labelmap",
"One Click Segment": "Segmentation en un clic",
"Click to Segment": "Cliquer pour segmenter",
"Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "Segmentez les lésions en un clic sans configuration. Survolez pour un retour visuel — cliquez lorsque le signe plus apparaît pour segmenter la lésion.",
"PET only. Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "PET uniquement. Segmentez les lésions en un clic sans configuration. Survolez pour un retour visuel — cliquez lorsque le signe plus apparaît pour segmenter la lésion.",
"Marker Guided Labelmap": "Labelmap guidé par marqueurs",
"Labelmap Edit with Contour Tool": "Outil d'édition de labelmap avec contour",
"Toggle AI assistance for segmenting nearby slices. After drawing on a slice, scroll to preview predictions. Press Enter to accept or Esc to skip.": "Activer l'assistance IA pour segmenter les coupes voisines. Après avoir dessiné sur une coupe, faites défiler pour prévisualiser les prédictions. Appuyez sur Entrée pour accepter ou Échap pour ignorer.",
@@ -150,6 +150,9 @@
"Segment Bidirectional": "Segment bidirectioneel",
"Tool not available for this modality": "Gereedschap niet beschikbaar voor deze modaliteit",
"One Click Segment": "Eén klik segment",
"Click to Segment": "Klik om te segmenteren",
"Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "Segmenteer laesies met één klik zonder configuratie. Beweeg voor visuele feedback—klik wanneer een plusteken verschijnt om de laesie te segmenteren.",
"PET only. Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "Alleen PET. Segmenteer laesies met één klik zonder configuratie. Beweeg voor visuele feedback—klik wanneer een plusteken verschijnt om de laesie te segmenteren.",
"Labelmap Assist": "Labelmap assistentie",
"Marker Guided Labelmap": "Marker geleide labelmap",
"Eraser": "Gum",
@@ -150,6 +150,9 @@
"Segment Bidirectional": "Test Segment Bidirectional",
"Tool not available for this modality": "Test Tool not available for this modality",
"One Click Segment": "Test One Click Segment",
"Click to Segment": "Test Click to Segment",
"Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "Test Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.",
"PET only. Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "Test PET only. Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.",
"Labelmap Assist": "Test Labelmap Assist",
"Marker Guided Labelmap": "Test Marker Guided Labelmap",
"Eraser": "Test Eraser",
@@ -126,6 +126,9 @@
"Interpolate Labelmap": "插值标签图",
"Segment Bidirectional": "分割双向",
"One Click Segment": "一键分割",
"Click to Segment": "点击分割",
"Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "无需配置,点击即可分割病灶。悬停可获得视觉反馈——出现加号时点击即可分割病灶。",
"PET only. Click-to-segment lesions with no configuration. Hover for visual feedback—click when a plus sign appears to segment the lesion.": "仅限 PET。无需配置,点击即可分割病灶。悬停可获得视觉反馈——出现加号时点击即可分割病灶。",
"Labelmap Assist": "标签图辅助",
"Marker Guided Labelmap": "标记引导标签图",
"Eraser": "橡皮擦",