-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] When I create labelmap segmentation, the image will automatically jump to the center #1451
Comments
It is because it switch to volume viewport, we are working to fix it in cornerstone3D 2.0 |
how can I prevent it? (it means prevent to go center) |
Remember it, then jump back |
I am curious about the timing of back it to the center. |
I think you don't need to dwell on this issue, CS3D will help you handle it in version 2.0. |
I need a temporary solution right now before the coronerstone3D 2.0 version release. |
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
The text was updated successfully, but these errors were encountered: