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:
1 parent
6d8a275171
commit
9c76afa075
20 files changed
+165
-145
No files matched your search
@@ -40,7 +40,7 @@ import {
|
||||
OrientationMarkerTool,
|
||||
WindowLevelRegionTool,
|
||||
SegmentSelectTool,
|
||||
RegionSegmentPlusTool,
|
||||
ClickSegmentTool,
|
||||
SegmentLabelTool,
|
||||
LivewireContourSegmentationTool,
|
||||
SculptorTool,
|
||||
@@ -114,7 +114,7 @@ export default function initCornerstoneTools(configuration = {}) {
|
||||
addTool(SegmentLabelTool);
|
||||
addTool(LabelmapSlicePropagationTool);
|
||||
addTool(MarkerLabelmapTool);
|
||||
addTool(RegionSegmentPlusTool);
|
||||
addTool(ClickSegmentTool);
|
||||
addTool(LivewireContourSegmentationTool);
|
||||
addTool(SculptorTool);
|
||||
addTool(SplineContourSegmentationTool);
|
||||
@@ -178,7 +178,7 @@ const toolNames = {
|
||||
SegmentLabel: SegmentLabelTool.toolName,
|
||||
LabelmapSlicePropagation: LabelmapSlicePropagationTool.toolName,
|
||||
MarkerLabelmap: MarkerLabelmapTool.toolName,
|
||||
RegionSegmentPlus: RegionSegmentPlusTool.toolName,
|
||||
ClickSegment: ClickSegmentTool.toolName,
|
||||
LivewireContourSegmentation: LivewireContourSegmentationTool.toolName,
|
||||
SculptorTool: SculptorTool.toolName,
|
||||
SplineContourSegmentation: SplineContourSegmentationTool.toolName,
|
||||
|
||||
Reference in new issue
Block a user