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

bthirion bertrand.thirion at inria.fr
Tue Dec 1 15:50:23 EST 2015


     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 <mailto:gkiar07 at gmail.com>>
>
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20151201/31ee579e/attachment.html>


More information about the Neuroimaging mailing list