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

mbaGetSliceFromNifti vs. mbaGetResizedSliceImage #10

Open
htakemur opened this issue May 18, 2015 · 0 comments
Open

mbaGetSliceFromNifti vs. mbaGetResizedSliceImage #10

htakemur opened this issue May 18, 2015 · 0 comments

Comments

@htakemur
Copy link
Collaborator

Hi Franco,

In mbaMakeImageFromNiftiSlice, are there any reasons to use mbaGetResizedSliceImage for extracting slice, instead of mbaGetSliceFromNifti?

line 39 in mbaGetSliceFromNifti.m
[img, x, y, z, plabe] = mbaGetSliceFromNifti(nifti,slice);

Sometimes we do not want to use resampling to 1mm (e.g. submilimeter data), and presumably it will be nice to have both options. If you think that this is a good idea, I'd be glad to do a pull request on the new version of mbaMakeImageFromNiftiSlice.m which can call both functions while we could keep using resizing as a default.

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

No branches or pull requests

1 participant