AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
December 22, 2009 10:58AM
I had a problem when reconstructing some PET dicom images (attached) using to3d. It gave a warning as below:

++ to3d WARNING: 142056 negative voxels (24.7726%) were read in images of shorts.
++ It is possible the input images need byte-swapping.

More importantly, the resulting 3D image has strong negative voxels inside the brain surrounded by strong positive voxels. It looks like those values are overflowed and wrapped to the negative side. I tried to use -2swap option, but it was ignored by to3d. The scripts are like below:

setenv AFNI_DICOM_RESCALE YES
set fileList=""
for each i (`ls | sed s/Image.//g | sort -g`)
set fileList="$fileList Image.$i"
end
to3d -2swap -prefix petscan $fileList

Any suggested solutions on this? Thanks!
Subject Author Posted

Byte-swapping for to3d?

Yisheng Xu December 22, 2009 10:58AM

Re: Byte-swapping for to3d?

rick reynolds December 22, 2009 11:05AM

Re: Byte-swapping for to3d?

Yisheng Xu December 22, 2009 11:09AM

Re: Byte-swapping for to3d?

rick reynolds December 22, 2009 12:05PM

Re: Byte-swapping for to3d?

Yisheng Xu December 22, 2009 12:30PM

Re: Byte-swapping for to3d?

Yisheng Xu December 22, 2009 12:31PM

Re: Byte-swapping for to3d?

rick reynolds December 22, 2009 12:50PM