[Neuroimaging] Aligning low and high resolution images in voxel space

Greg Kiar gkiar07 at gmail.com
Tue Dec 1 17:03:29 EST 2015

This is perfect, thank you so much.


Greg Kiar <gkiar07 at gmail.com>

On Tue, Dec 1, 2015 at 3:50 PM, bthirion <bertrand.thirion at inria.fr> wrote:

>     Hi Greg,
> You might take at look at nilearn.image.resample_img
> https://nilearn.github.io/modules/generated/nilearn.image.resample_img.html
> Best,
> Bertrand
> On 01/12/2015 18:55, Greg Kiar wrote:
> Hi,
> I'm working with various parcellations of the brain which have been
> defined at a 3mm resolution, though my data exists in a 1mm space (the
> MNI152 space). When opening these images with a nifti viewer it is fine as
> the affine transform maps them properly to scale. However, when I'm working
> with data in python I would like my labels defined at 3mm to be in the
> MNI152 space (that they also overlap in voxel space, as well). I would like
> to write a script that "ingests" a low resolution (3mm) atlas into the 1mm
> MNI152 space, and nearest-neighbor interpolates values not defined, if you
> will. Do you know how I can easily do this?
> Thanks so much,
> Greg
> --
> Greg Kiar <gkiar07 at gmail.com>
> _______________________________________________
> Neuroimaging mailing listNeuroimaging at python.orghttps://mail.python.org/mailman/listinfo/neuroimaging
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20151201/4faf24a6/attachment.html>

More information about the Neuroimaging mailing list