You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version - cornerstone-tools: "^6.0.8" cornerstone-core: "^2.6.1"
Description
We have a sample application with a DICOM Viewer where we have the Brush tool added. We want to store the brush toolstate data and apply it to another image. But we are unable to figure out the exact way to do so.
Steps
We load the image to the viewer and draw over some area using the brush tool.
Then try to save the tool state data like shown below :
const { state } = cornerstoneTools.getModule('segmentation');
const series = state.series;
-- save the data --
Next, we want to load another image and apply the brush toolstate data to it.
Can anyone please provide more inputs on how to proceed.
Any inputs will be appreciated, thank you.
The text was updated successfully, but these errors were encountered:
Prerequisites
Version -
cornerstone-tools: "^6.0.8"
cornerstone-core: "^2.6.1"
Description
We have a sample application with a DICOM Viewer where we have the Brush tool added. We want to store the brush toolstate data and apply it to another image. But we are unable to figure out the exact way to do so.
Steps
We load the image to the viewer and draw over some area using the brush tool.
Then try to save the tool state data like shown below :
const { state } = cornerstoneTools.getModule('segmentation');
const series = state.series;
-- save the data --
Next, we want to load another image and apply the brush toolstate data to it.
Can anyone please provide more inputs on how to proceed.
Any inputs will be appreciated, thank you.
The text was updated successfully, but these errors were encountered: