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.
When I create label segmentation, the image will automatically jump to the center,I think it's correct for the image to stay at the current layer。
Contour type segmentation does not have this situation
Describe the Bug
When I create label segmentation, the image will automatically jump to the center,I think it's correct for the image to stay at the current layer。 Contour type segmentation does not have this situation
Steps to Reproduce
1、Image flipping 2、Create Labelmap Segmentation await volumeLoader.createAndCacheDerivedSegmentationVolume( primaryMprVolumeId, { volumeId: segmentationId, } ); segmentation.addSegmentations([ { segmentationId, representation: { type: csToolsEnums.SegmentationRepresentations.Labelmap, data: { volumeId: segmentationId, }, }, }, ]); const representationIds = await segmentation.addSegmentationRepresentations( mprToolGroupId, [ { segmentationId: segmentationId, type: csToolsEnums.SegmentationRepresentations.Labelmap, }, ] );
The current behavior
The image will automatically jump to the center。
The expected behavior
The image stays at the current layer
OS
windows10
Node version
1.61.5
Browser
Chrome