Dear Elena,
the TPM.nii is a 4D image with the tissue classes as fourth dimension. Thus, the reslicing might only use the first (GM) image and does not considers the remaining tissue classes. However, this is just a guess.
Anyway, although I understand your motivation to keep the original spatial resolution of your images you have to keep in mind that after spatial registration and smoothing (usually with 8mm FWHM) your high spatial resolution might not be be used in a group study and the 1.5mm voxel-size after writing spatially registered images is a good tradeoff. Segmentation will internally always use your original resolution (in fact images are segmented in native space) but will be saved using the voxel size of your TPM image...
Best,
Christian
On Tue, 5 Jul 2016 12:18:28 +0200, Elena Bassanelli <[log in to unmask]> wrote:
>Dear spm users,
>I'm doing a segmentation on children's brains so I use Tpms made with TOM8,
>but my intent is to maintain the same resolution from the beginning to the
>end.
>The TPMs made with Tom8 have different resolution from the images that i
>want to segment (the images have higher resolution), therefore I've
>resliced the tpms to my images to have the same resolution.
>But during the segmentation whit cat12 I get the follow error:
>
>-<error>
>
><item>MATLAB:badsubscript</item>
>
><item>Index exceeds matrix dimensions.</item>
>
><item>2441 - clean_gwc</item>
>
><item>292 - cat_main</item>
>
><item>552 - cat_run_job</item>
>
><item>13 - cat_run_newcatch</item>
>
><item>246 - run_job</item>
>
><item>154 - cat_run</item>
>
>Can anyone tell me why I get this error?
>thanks
>Elena
>
|