I have cloned the latest master repo of the OHIF viewer.
I would like to programmatically draw a 2D binary mask on one slice of a CT scan in the OHIF viewer. What is the best practice to do this using cornerstone and the current OHIF API? I have looked into MeasurementService and SegmentationService, but am unsure how to use these with passing in my own mask coordinates rather than drawing on the viewer itself using BrushTool.