Project-MONAI / Project-MONAI/MONAI
Add a marching cube transform to get surface representations
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
Is your feature request related to a problem? Please describe.
This is not related to a problem but I wonder why there is not such a transform as a wrapper for marching cube function implemented in scikit-image.
Describe the solution you'd like
As I found that some transforms as KeepLargestConnectedComponent require installation of scikit-image, I wonder why a function that transfom binary segmentations to points and vertex does not exist in the library.
Drawback : such a transform could not be composed with other transforms. And I'm not sure it has a meaning to extend it to more that 3D datas.
Describe alternatives you've considered
Using directly the marching cube implementation of scikit-image on my transformed data (instance of MetaTensor)
vertices, triangles, _, _ = ski.measure.marching_cubes(data.numpy(), 0.5)
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 reviewing the scikit-image ski.measure.marching_cubes entry point and the MetaTensor usage shown in the issue. Clarify the intended MONAI transform interface, especially whether it should support only 3D binary segmentations and how its vertices and triangles are returned. Done means the requested surface representation is available through a documented transform with appropriate composition behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100