Print

Print


I can't figure this one out.  I have seen similar things happen,
and always attributed it to some sort of a glitch in Matlab itself.
Try quitting the Matlab session and restarting it to see if it still
happens.  Exactly the same Matlab routine is used for opening the
image volume in the spm_segment program as are used by the display program.

Good luck,
-John


| I am using SPM99 on PC linux with intel processor.
| My data were all byte-swapped for PC, and SPM99 were implemented without any
| modification.
| I attempted to coregister EPI images to the subject's anatomical image
| (SPGR image).  The segmentation step for SPGR seemed to be successful
| (gray, white and CSF but not sculp images appeared on the graphic window),
| then coregistration stopped with the following error messages.
| 
| ------------------------------------------
| Smoothing
| Rough coregistration
| Segmenting and smoothing:
| /data1/anatomy/fimage.img
| 
|     * - SPM99b: spm_vol  -----------------------------------------------
| 
|         Error reading information on:
|                 /data1/anatomy/fimage_seg_tmp1.img
| 
|         Please check that it is in the correct format.
| 
|         -----------------------------------------  06:17:34 - 26/10/1999
| 
| ??? Error using ==> spm_vol (subfunc1)
| Can't get volume information for '/data1/anatomy/fimage_seg_tmp1.img'
| 
| Error in ==> /usr/local/spm99b/spm_vol.m (subfunc2)
| On line 47  ==>         V = subfunc1(P);
| 
| Error in ==> /usr/local/spm99b/spm_vol.m
| On line 33  ==> V = subfunc2(P);
| 
| Error in ==> /usr/local/spm99b/spm_smooth.m
| On line 31  ==>         P   = spm_vol(P);
| 
| Error in ==> /root/mat_scripts/spm_coregister.m
| On line 322  ==>                        spm_smooth([iname1 '.img'],[iname2
| '.img'],8);
| 
| Error in ==> /root/mat_scripts/spm_coregister.m
| On line 163  ==>                        spm_coregister(PGF, PFF, PGG, PFG,
| others);
| 
| ??? Error while evaluating uicontrol Callback.
| -------------------------------------------
| 
| I checked the 'fimage_seg_tmp1.img', but I can view
|  it correctly (and the origins etc. were correct) using 'Display' button.
| I can also view template images in SPM99 normally.
| 
| Thank you for any help.
| 
| Regards,
| 
| 
| Yasuhiro Nagahama, M.D., Ph.D.
| Dept. of Brain Pathophysiology,
| Kyoto University Hospital
| 54 Shogoin Kawahara-cho, Sakyo-ku,
| Kyoto 606-8507, JAPAN
| 
| e-mail: (1) [log in to unmask]
|             (2) [log in to unmask]
| phone: 075-751-3768
| fax:     075-761-9778
| 
| 



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%