Describe Your Question
- The first question is whether there is any native cornerstone function that fills a region marked by a measurement tool.
- OHIF 3.8
What steps can we follow to reproduce the bug?
- In short, I want to use the points obtained by Freehand ROI and insert a segmentation mask over just that region.
console.log(servicesManager.services.MeasurementService.measurements) // Code used to obtain the above return
What you are describing sound like our contour segmentation tools, you can create one and use it to fill inside, we actually use them for loading RTSTRUCT in OHIF
https://viewer-dev.ohif.org/viewer?StudyInstanceUIDs=1.3.6.1.4.1.5962.99.1.2968617883.1314880426.1493322302363.3.0
see how we dynamically add here
https://www.cornerstonejs.org/live-examples/contourrendering