Revision c10cdd226d94f06600a929de13c5d78bda6e8a10 authored by YunLiu on 14 December 2022, 15:38:20 UTC, committed by GitHub on 14 December 2022, 15:38:20 UTC
Fixes #.

### Description

- When the image is large, the number of instances may exceed np.uint8,
so the default dtype should set to `np.int64`
- a workaround way to add `FillHoles` before
`generate_instance_contour`, may prevent the issue when instances
contain hole

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: KumoLiu <yunl@nvidia.com>
1 parent ae89327
History
File Mode Size
.github
docs
monai
tests
.clang-format -rw-r--r-- 2.5 KB
.deepsource.toml -rw-r--r-- 349 bytes
.dockerignore -rw-r--r-- 160 bytes
.gitattributes -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.8 KB
.pre-commit-config.yaml -rw-r--r-- 2.2 KB
.readthedocs.yml -rw-r--r-- 628 bytes
CHANGELOG.md -rw-r--r-- 34.7 KB
CITATION.cff -rw-r--r-- 3.8 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTING.md -rw-r--r-- 22.6 KB
Dockerfile -rw-r--r-- 2.4 KB
LICENSE -rw-r--r-- 11.1 KB
MANIFEST.in -rw-r--r-- 83 bytes
README.md -rw-r--r-- 4.1 KB
environment-dev.yml -rw-r--r-- 206 bytes
pyproject.toml -rw-r--r-- 581 bytes
requirements-dev.txt -rw-r--r-- 1.0 KB
requirements-min.txt -rw-r--r-- 118 bytes
requirements.txt -rw-r--r-- 23 bytes
runtests.sh -rwxr-xr-x 20.1 KB
setup.cfg -rw-r--r-- 5.6 KB
setup.py -rw-r--r-- 5.0 KB
versioneer.py -rw-r--r-- 79.2 KB

README.md

back to top