Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dim Check #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

saigerutherford
Copy link

This pull request also addresses issue #16
When using 2mm voxel size data, the code would not check the image dimensions and just copy the file. This would lead to issues if the image bounding box was not the same size (91x109x91). I added in a dim check along with the pixdim check to fix this and resample if the data is either not 2mm isotropic voxel OR if it is not the same image dimensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant