[FieldTrip] unexpected image dimensions following ft_volumenormalise

Paul Metzak pmetzak at gmail.com
Thu Jun 30 00:01:26 CEST 2016


I am in the process of setting up a compiled beamformer script to run on my
university's supercomputer.

One issue that I have run into is that the dimensions of my beamformed

I have my beamformed image that I have source interpolated (using
ft_sourceinterpolate) with the participant's structural MRI.

sourceDIFF_int =
> inside: [256x256x256 logical]
> pow: [256x256x256 double]
> dim: [256 256 256]
> transform: [4x4 double]
> anatomy: [256x256x256 double]
> coordsys: 'ctf'
> unit: 'mm'
> cfg: [1x1 struct]

When I run the volume normalise function on sourceDIFF_int (see below),
which lists a template file as input (as required to run when compiled),
the output dimensions do not match the dimensions of the template file. I
am curious where these mysterious dimensions are coming from, and why the
template file is not being used? This happens both in the compiled and
MATLAB-based executions of this code.

cfg = [];
> cfg.nonlinear     = 'no';
> cfg.template      = 'T1.nii';
> cfg.spmversion    = 'spm8';
> sourceDIFF_int_norm = ft_volumenormalise(cfg, sourceDIFF_int);

As you can see from the variable information for the normalised data, and
the T1 template (see below), the dimensions are different.

sourceDIFF_int_norm =
> anatomy: [157x189x136 double]
> pow: [157x189x136 double]
> inside: [157x189x136 logical]
> transform: [4x4 double]
> dim: [157 189 136]
> params: [1x1 struct]
> initial: [4x4 double]
> coordsys: 'spm'
> cfg: [1x1 struct]
> templ_T1 =
> dim: [91 109 91]
> anatomy: [91x109x91 double]
> hdr: [1x1 struct]
> transform: [4x4 double]
> unit: 'mm'

Thank you for any light you can shed on this issue. Please let me know if
more information would be helpful in resolving this.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160629/27393bb6/attachment-0001.html>

More information about the fieldtrip mailing list