Skip to content

Add ROIs from polygons #77

@zeakey

Description

@zeakey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions