About SegmentDisplay

Describe Your Question

I want change the return data of cache.getVolume(segmentationId),and the browser update segmentation.

  • A clear and concise description of what problem you are having.
  • Which OHIF version you are using?

What steps can we follow to reproduce the bug?

  1. First step
    const vol = cache.getVolume(segmentationId)
  2. Second step
    const segmentData = vol.getScalarData();
  3.  for (let i = 0; i < 512; i++) {
       segmentData[i] = 1;

it does’t work for update segment data;
so how we can update segment without tool?