Revision ac7458ef286b3f875ff519b7a8dd6a703b506db8 authored by Joost van Griethuysen on 03 June 2019, 09:01:01 UTC, committed by Joost van Griethuysen on 03 June 2019, 09:01:01 UTC
When spacing is already correct, no resampling is required. However, if the size does not match, or the origin or direction is different, there can still be a geometry mismatch.

Therefore, if the original image spacing is equal to the resampledPixelSpacing, apply resampling to just the mask, and then apply pre-crop.
1 parent 7a5e509
History
File Mode Size
.circleci
bin
conda
data
docker
docs
examples
hooks
labs
notebooks
radiomics
tests
.dockerignore -rw-r--r-- 687 bytes
.editorconfig -rw-r--r-- 440 bytes
.flake8 -rw-r--r-- 1.2 KB
.gitattributes -rw-r--r-- 35 bytes
.gitignore -rw-r--r-- 763 bytes
.travis.yml -rw-r--r-- 2.0 KB
CHANGES.rst -rw-r--r-- 42.3 KB
CONTRIBUTING.rst -rw-r--r-- 5.8 KB
Dockerfile -rw-r--r-- 3.0 KB
LICENSE.txt -rw-r--r-- 1.4 KB
MANIFEST.in -rw-r--r-- 639 bytes
README.md -rw-r--r-- 7.8 KB
appveyor.yml -rw-r--r-- 1.9 KB
requirements-dev.txt -rw-r--r-- 89 bytes
requirements-setup.txt -rw-r--r-- 13 bytes
requirements.txt -rw-r--r-- 86 bytes
scikit-ci.yml -rw-r--r-- 1.5 KB
setup.cfg -rw-r--r-- 223 bytes
setup.py -rw-r--r-- 3.8 KB
versioneer.py -rw-r--r-- 67.0 KB

README.md

back to top