The following part was supposed to be self explanatory, and is related to the
impossibility of being certain of how to put different slices into different
volumes when the scanner does not provide the necessary header information to
do so...
> ***************************************************
> * The AcquisitionNumber counter does not appear *
> * to be changing from one volume to another. *
> * Another possible explanation is that the same *
> * DICOM slices are used multiple times. *
> * The conversion is having to guess how slices *
> * should be arranged into volumes. *
> * 001 / 301 / 3
> ***************************************************
The following error message appears to be a result of the
dicomserver-burrack_anna_20030325_0_301_0649.dcm file being truncated. Maybe
you tried the conversion before it was fully copied, or maybe a disk filled
up at some point, which caused the whole file not to be written. Or it could
be a bug in my code.
> Failed 'DICOM Import'
> Error using ==> spm_dicom_convert>read_image_data
> D:\dicom_burrack_anna_20030325\03\dicomserver-burrack_anna_20030325_0_301_0
>649.dcm: cant read whole image In file "C:\spm8b\spm_dicom_convert.m"
> (v2644), function "read_image_data" at line 825. In file
This could be checked by pasting the following snippet of code into MATLAB to
see if the file is big enough to hold all the data...
P = ['D:\dicom_burrack_anna_20030325\03\'...
'dicomserver-burrack_anna_20030325_0_301_0649.dcm'];
H = spm_dicom_headers(P);
D = dir(P);
fprintf('Actual file size=%d bytes, Required file size=%d bytes\n',...
D.bytes, H{1}.StartOfPixelData + H{1}.SizeOfPixelData );
Best regards,
-John
|