Re: [Freesurfer] .img extension read as analyze even though hdr says nifti1

2011-09-14 Thread Douglas N Greve
If it happens with one, it will happen with all of them. We never got around to having our code look in the .img header to see if it is really nifti. Why not use the single-file nifti with nii extension? doug Satrajit Ghosh wrote: > hi all, > > when a .img extension file is passed to freesurfer

[Freesurfer] .img extension read as analyze even though hdr says nifti1

2011-09-11 Thread Satrajit Ghosh
hi all, when a .img extension file is passed to freesurfer routines, it is read in as analyze even if the header says it's a nifti image. we have observed that this causes a left-right flip in some cases. since a .img cannot exist without a header to be meaningful, shouldn't the appropriate type b