cornerstonejs / cornerstone3D

Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the OHIF Viewer.
https://cornerstonejs.org
MIT License
552 stars 285 forks source link

[Bug] What should I do if I want to Contour Segmentation to Closed Surface Segmentation again #1288

Open 1321442780 opened 4 months ago

1321442780 commented 4 months ago

Describe the Bug

If I am not satisfied with the first segmentation, but I have already drawn Contour Segmentation to Closed Surface Segmentation, and I still want to draw the Contour Segmentation to Closed Surface Segmentation for the second time, I used methods such as removeSegmentation to delete the segments and convert them again, which is not easy to use

Steps to Reproduce

1.Using Contour Segmentation to Closed Surface Segmentation 2.Using SplineContourSegmentationTool LivewireContourSegmentationTool for segmentation again 3.Using Contour Segmentation to Closed Surface Segmentation again has no effect

The current behavior

After using Contour Segmentation to Closed Surface Segmentation once, I am not satisfied with the results and would like to use it again

The expected behavior

Correct Contour Segmentation to Closed Surface Segmentation every time used, and segmentation can also be removed

OS

Windows 11

Node version

v14.18.0

Browser

Chrome 122.0.6261.112

sedghi commented 4 months ago

I guess the update for some of the converters is written, see the labelmap to surface, that one can update the surface, and you can look on how that happens.