Thank you, John.
The problem still happens after restarting Matlab.
But I noticed several things.
SPM99 runs normally on RedHat 4.2 (libc5) with Matlab 5.2.1.
But the problem occurs when I try to run spm on RedHat 5.2 (libc6) with
Matlab5.2.1 or 5.3.
Thus, it seems to be due to some system differences, even though SPM97 on
Matlab 4.2c
runs normally on the same environment.
Could someone let me know whether SPM99 runs normally on a Linux distribution
with glibc2 (other than RedHat 5.x)?
Thank you very much.
Best regards,
Yasuhiro
At 6:11 PM +0100 99.10.26, John Ashburner wrote:
> 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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|