Dear All
I can reproduce the error Kiyotaka reports. One of my structural
images changed from 19,3MB to 4KB after applying and saving a rotation
of .25 radians around the x-axis. This error was reproduced running
SPM5 using matlab 7.4.0.287 (R2007a) on MacBook Pro running OS X
version 10.5.1
Best
Torben
Torben Ellegaard Lund
Assistant Professor, PhD
The Danish National Research Foundation's Center for Functionally
Integrative Neuroscience (CFIN)
Aarhus University
Aarhus University Hospital
Building 30
Noerrebrogade
8000 Aarhus C
Denmark
Phone: +4589494380
Fax: +4589494400
http://www.cfin.au.dk
[log in to unmask]
These were the error messages i got:
>> --------------------------
Running "Display Image"
Image "/Users/torbenl/Desktop/sRune-0002-00001-000001-01.nii" can not
be resampled
and after clicking in the image:
>> Image "/Users/torbenl/Desktop/sRune-0002-00001-000001-01.nii" can
not be resampled
??? Cant open image file.
Error in ==> spm_image at 106
set
(st
.in
,'String
',sprintf('%g',spm_sample_vol(st.vols{1},pos(1),pos(2),pos(3),st.hld)));
Error in ==> spm_orthviews at 258
eval(st.callback);
??? Error using ==> if
strcmp
(get(gcf,'SelectionType'),'normal'),spm_orthviews('Reposition');elseif
strcmp
(get
(gcf
,'SelectionType
'),'extend
'),spm_orthviews('reposition');spm_orthviews('context_menu','ts',1);end;
Cant open image file.
??? Error while evaluating axes ButtonDownFcn
On 02/01/2008, at 15.41, Volkmar Glauche wrote:
> Dear Kiyotaka Nemoto,
>
> I can't confirm this with the latest SPM5 version here. If it is not
> SPM, the failure you observe could be due to file system problems (out
> of disk space, permissions, file locking by another application).
>
> Volkmar
>
> On Wed, 2008-01-02 at 22:54 +0900, Kiyotaka Nemoto wrote:
>> Dear SPM developers,
>>
>> I came across with a problem when I try to reorient .nii images via
>> display button with the latest Update 1048. I think this may be a
>> bug,
>> so I report the problem.
>>
>> Below is what I did.
>>
>> 1) Dicom files were converted to an Nifti image with Jolinda Smmith's
>> MRIConvert. Files are stored as a single nii file.
>>
>> 2) An nii image was displayed with "Display" function. SPM5 displays
>> the image without any problems.
>>
>> 3) I set AC-PC manually and push "Reorient images...", reorienting
>> the image.
>>
>> 4) Then I get into trouble. The graphics window went white only
>> with a
>> frame and an error message in Matlab says, "Image cannot be
>> resampled..." "file too small"
>>
>> 5) I checked the file size and saw that now the nii file I tried to
>> reorient is only 348 bytes, which is the same as usual .hdr files.
>> That is, nii file with a header and an image (over 20Mbytes) was
>> replaced with a mere header information and image itself was lost...
>> So, this must have something to do with handling header information
>> of
>> nii format.
>>
>> I checked the following to make sure that this is a problem of
>> handling nii format and this doesn't happen with previous versions;
>>
>> A) I prepared Analyze format images (.hdr and .img files) and went
>> through the same procedure I described above. This time everything
>> works fine.
>>
>> B) I re-installed SPM5 in a different directory, and applied Update
>> 958 (the last update). This also worked fine. Nii files were handled
>> correctly.
>>
>> Below is my computer environment, (though I think it is not so
>> important since Update958 works fine with this environment...)
>>
>> CPU: Athlon64 3800+
>> OS: openSUSE 10.3 64bit
>> Matlab: R2007b 7.5.0.338 (64bit)
>> gcc: 4.2.1
>>
>>
>> Any advice or proposal would be appreciated.
>>
>> Best regards and wish you a happy new year!
>>
>> Kiyotaka
>>
>>
> --
> Volkmar Glauche
>
> Freiburg Brain Imaging
> http://fbi.uniklinik-freiburg.de/
> Phone +49(0)761 270-5331
> Fax +49(0)761 270-5416
|