[Neuroimaging] Convert Atlas from 1mm to 2mm
Samuel St-Jean
stjeansam at gmail.com
Mon Mar 14 16:21:07 EDT 2016
While we are at it, you can also consider upsampling your data to 1 mm
to fit on the atlas as well, especially if this atlas contains label for
finer structure like deep gray matter which are only a few voxel wide.
In all cases, be sure they are registered/the affine can make both
datasets correspond either at 1 mm or 2 mm.
Le 2016-03-14 21:17, Gael Varoquaux a écrit :
> On Mon, Mar 14, 2016 at 03:41:36PM -0400, Eleftherios Garyfallidis wrote:
>> Here is a way.
>> http://nipy.org/dipy/examples_built/reslice_datasets.html#
>> example-reslice-datasets
> Here's another:
> http://nilearn.github.io/modules/generated/nilearn.image.resample_img.html
> (note that you can put "target_affine=np.diag([2, 2, 2])" to target 2mm
> resolution, and let nilearn figure the rest out.
>
> G
>
>
>
>> On Mon, Mar 14, 2016 at 3:37 PM, Jorge Rudas <jrudascas at gmail.com> wrote:
>> Hi everbody
>> I have a atlas in 1mm spatial resolution, but, i need this atlas in 2mm
>> spatial resolution. How can i do this?
>> bye
>> Jorge Rudas
>
>> _______________________________________________
>> Neuroimaging mailing list
>> Neuroimaging at python.org
>> https://mail.python.org/mailman/listinfo/neuroimaging
>
>
>
>> _______________________________________________
>> Neuroimaging mailing list
>> Neuroimaging at python.org
>> https://mail.python.org/mailman/listinfo/neuroimaging
>
More information about the Neuroimaging
mailing list