Open zeakey opened 1 year ago
Hey @zeakey,
This sounds like a great feature. That would be awesome if you could raise a PR, thank you!
Hey @asim-shrestha , I've created a PR implementing that feature. Do you mind have a look at it?
Thanks for doing this, will have a look :)
And apologies for the delay, had been on vacation :)
Is there a way of adding ROI using polygons rather than masks?
I'm currently converting our ROI annotations to dicomrt. Our annotations are polygon coordinates.
I think it would be straightforward to have a API that accepts polygon as input, although I can convert my polygons into mask and use the existing
add_roi
API.I can raise a PR to do this if you are feeling comfortable with it.