Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize masks_to_boxes op to support N-dimensional masks to bounding boxes conversion #4339

Open
Tracked by #5414
RylanSchaeffer opened this issue Aug 31, 2021 · 0 comments

Comments

@RylanSchaeffer
Copy link

RylanSchaeffer commented Aug 31, 2021

🚀 The feature

Ops to convert N-dimensional segmentation masks to N-dimensional bounding boxes.

Motivation, pitch

Build upon #3960 to support the conversion of N-dimensional asks to bounding boxes.

Use cases:

  1. I have 3D images (from medical imaging) and would like to convert segmentation masks (of tumors, aneurysms, etc.) to bounding boxes.

  2. Sometimes different sources of data are stacked together, giving me 4D images (3D images, stacked along a new dimension to make the image source clear). I would also like to convert these segmentation masks to bounding boxes, although I will admit, I would compute bounding boxes in 3D and then stack those as well.

@RylanSchaeffer RylanSchaeffer changed the title Ops to convert masks to boxes #3960 Ops to convert masks to bounding boxes #3960 Aug 31, 2021
@RylanSchaeffer RylanSchaeffer changed the title Ops to convert masks to bounding boxes #3960 Ops to convert masks to bounding boxes and back again Aug 31, 2021
@datumbox datumbox changed the title Ops to convert masks to bounding boxes and back again Generalize masks_to_boxes op to support N-dimensional masks to bounding boxes conversion Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants