Project-MONAI / Project-MONAI/MONAI
Make generate_spatial_bounding_box more general
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
Describe the solution you'd like
generate_spatial_bounding_box transform is great to find bounding box for organs. However for tumors there would be multiple tumors.
util should return bounding box for each tumor
Describe alternatives you've considered
I have to:
- run connected components on tumor label.
- make a look for each component
- call the function to get bounding box with function filtering on that component
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the generate_spatial_bounding_box transform and its existing tests. Read how it currently handles a single labeled region, then define completion as returning a separate bounding box for each tumor component without requiring callers to split components and invoke the transform repeatedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100