Project-MONAI / Project-MONAI/MONAI
Add RandCropByPosPercent transform
Open
@yiheng-wang-nv is already working on this.
Since Nov 30, 2020.
Contribution wanted
Feature request
WG: Transforms
- 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.
Currently, the balance sampling’s positive window is defined by the corresponding label of the window’s central location. We need the flexibility to define the positive windows by thresholding the percentage of positive pixels in a window instead of only central data.
Consider as "positive" a patch that has some foreground voxels anywhere above percentage, and "negative" a patch that has none (rather than looking at the central voxel only).
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.
Assessment
This issue has not been assessed yet.