Print

Print


Dear Shahrzad,

for calculating the Jacobian I am using the function spm_def2det from the HDW toolbox. This toolbox is provided with spm8, but it seems that the mex-files of that toolbox were not created (which is odd, because spm provides these files). Please check that your spm8 installation is correct. In order to compile the c-files, go to the spm8 folder and type "make toolbox".

Regards,

Christian

____________________________________________________________________________

Christian Gaser, Ph.D.
Departments of Psychiatry and Neurology
Friedrich-Schiller-University of Jena
Jahnstrasse 3, D-07743 Jena, Germany
Tel: ++49-3641-934752	Fax:   ++49-3641-934755
e-mail: [log in to unmask]
http://dbm.neuro.uni-jena.de

On Wed, 23 Nov 2011 01:34:58 -0800, shahrzad kharabian <[log in to unmask]> wrote:

>Dear SPM useres,
I am very new to SPM and am planning to do a simple VBM analysis using VBM8. I have 244 T1 images (which have been converted from DICOM format using the DICOM import option of the SPM8. 

Using the default options of the VBM8 toolbox, I get the following error in the very first subject:

Failed� 'VBM8: Estimate & Write'
Undefined function or method 'spm_def2det' for input arguments of type 'single'.
In file "/afs/cbs.mpg.de/software/spm/toolboxes/vbm8/0.331/cg_vbm8_write.m" (v366), function "cg_vbm8_write" at line 744.
In file "/afs/cbs.mpg.de/software/spm/toolboxes/vbm8/0.331/cg_vbm8_run.m" (v364), function "run_job" at line 233.
In file "/afs/cbs.mpg.de/software/spm/toolboxes/vbm8/0.331/cg_vbm8_run.m" (v364), function "cg_vbm8_run" at line 89.

The following modules did not run:
Failed: VBM8: Estimate & Write

It seems that the error happens when it wants to write the Jacobian matrix and specifically during "estimating a more accurate jacobian determinant".

I would be very thankful if someone would be able to make it for me clear what am I doing wrong and how it should be solved.� 

Bests,
Shahrzad�