Dear Cyrus, this was caused due to an conversion error from float to int16. Thanks a lot for finding this bug. I have changed the code of cg_spmT2x.m and updated the VBM5.1 package to version 1.17. Regards, Christian ____________________________________________________________________________ Christian Gaser, Ph.D. Assistant Professor of Computational Neuroscience Department of Psychiatry 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, 14 Jan 2009 15:12:55 -0500, Cyrus Raji <[log in to unmask]> wrote: >Hi, All > >I typically use cg_spmT2x.m in SPM2 to convert t-images to r of Cohen's d >images and it works pretty well. Now I am trying to upgrade to SPM5 but the >cg_spmT2x.m doesn't work. It outputs the thresholded r or Cohen's d image >but everytime I toggle the cursor over the clusters to get the values all I >get is 1 and I know that can't be right given the t-values I'm inputting. Is >there anyone (Dr. Gaser: Help!) that knows how to fix this bug? I am using >the 1782 updates of SPM5 running on Matlab 7.4 R2007a on a Macbook running >MAC OS 10.4 (Tiger). I have tried cg_spmT2x.m from both vbm5 and the Volumes >toolbox and neither has worked - same error every time. Thank you so much in >advance to anyone who can help me with this!! > >Cyrus >