Closed jithenece closed 9 months ago
Yes, it appears to be a problem. I believe the issue also occurs with the same toolgroup. For example, if you change the color of a segment in segmentation 1, it will also change in segmentation 2 within the same toolGroup. This is actually a more significant issue than the one you mentioned. Rest assured, I will address and resolve it.
By the way, I'm interested to know why you have two toolGroups. What is your specific use case?
Thanks @sedghi for checking on this.
I had 4 viewports. One viewport using CT to show only tumor segmentation. Other 3 viewport using PT/CT to show tumor and organ segmentations. Using a single toolgroup, it seems we cannot achieve this. so I had to create two different toolgroups for different viewport combinations. Please let me know if there are better ways to implement this.
check the latest and see if the problem occurs
Describe the Bug
segmentation.config.color.setColorForSegmentIndex( toolGroupId1, segmentationRepresentationToolGroupId1[0], 1, [0, 0, 255, 255] );
Steps to Reproduce
packages/tools/examples/labelmapToolGroupSpecificConfiguration/index.ts
yarn install
yarn run example labelmapToolGroupSpecificConfiguration
The current behavior
The expected behavior
OS
macOS 14.1.1
Node version
14.16.0
Browser
Chrome 119.0.6045.159