| Updates |
| 09 Nov 2005 |
Images whose cardinal planes are slightly off Cartesian coordinates will also be loaded. See detail in 'xform_nii.m'. |
| 11 Nov 2005 |
I didn't see the 'xform_nii.m' was updated in File Exchange. So, I uploaded again with another zip filename. |
| 17 Nov 2005 |
It now supports both new_RGB24 (RGB triple) and old_RGB24 (used by Analyze 6.0 from AnalyzeDirect Inc). Help file "view_nii_hlp.txt" is also modified. |
| 17 Nov 2005 |
It now supports both new_RGB (RGB triple) & old_RGB (used by Analyze 6.0 from AnalyzeDirect Inc). Help file "view_nii_hlp.txt" is also modified. |
| 22 Nov 2005 |
Updated help file "view_nii_hlp.txt" |
| 22 Nov 2005 |
Updated help file "view_nii_hlp.txt". |
| 22 Nov 2005 |
Menu bar is added to convert image to standard RAS orientation and to display image information. |
| 28 Nov 2005 |
Modified display format for RGB24 data value. |
| 28 Nov 2005 |
Updated code |
| 29 Nov 2005 |
NIFTI_20051128 is tested from MATLAB version R11 to R14 on both PC & Linux |
| 15 Dec 2005 |
1. fix a bug for the initial display of coronal & sagittal view
2. added a function to expand a multiple-scan NIFTI file into multiple single-scan NIFTI files |
| 24 Feb 2006 |
Fixed a bug to reorder "pixdim" field when performing sform/qform transform. Thanks to Jeff Gunter from Mayo Clinic who reported this bug. |
| 27 Feb 2006 |
1. Fixed a bug to reorder "pixdim" and "originator" field for some NIFTI data. 2. Added "rot_orient" and "flip_orient" fields under "hdr.hist" if package make conversion of the NIFTI data into RAS orientation system. |
| 01 Mar 2006 |
set "rot_orient" and "flip_orient" fields under "hdr.hist" to empty for old ANALYZE 7.5 format or if the NIFTI data is already in RAS orientation. |
| 08 Mar 2006 |
Image data type will be converted to "double" in the case that "scl_slope" is used. |
| 13 Mar 2006 |
"nii.hdr.scl_slope" will take "avw.hdr.roi_scale" value, which is a non-ANALYZE7.5 field but exclusively used by SPM. |
| 23 Mar 2006 |
It now supports both COMPLEX64 and COMPLEX128 data type. |
| 23 Mar 2006 |
It now supports both COMPLEX64 and COMPLEX128 data type. |
| 20 Apr 2006 |
Size of some image data is incorrectly larger than what specified in "hdr.dime.dim" field. So it caused problem to load image data. Image data is now always loaded according to the size that is specified in its header. |
| 06 Jun 2006 |
1. There was a bug in converting some permuted images to RAS orientation. It has been fixed now. Thanks to Jeff Gunter from Mayo Clinic who reported this bug.
2. hdr.dime.glmax and glmin are updated if hdr.dime.scl_slope is non-zero. |
| 28 Jun 2006 |
1. "unxform_nii" from Jeff is included to provide an option of putting image orientation back to its original status. 2. "expand_nii_scan" is modified so the expanded image files will be appended with a 4-digit number. |
| 05 Jul 2006 |
Thanks to Michael Harms from WUSTL who reported and fixed some bugs in loading and making RGB data. He also added codes to save AnalyzeDirect compatible RGB data. |
| 27 Jul 2006 |
Due to round-off of quaternions (quatern_b/c/d), sqrt(1.0-(b*b+c*c+d*d)) may become complex because value inside sqrt may go below 0 (e.g. -1e-6). Instead of complex, now 0 will be used in this case. Thanks to Jeff Gunter who reported this issue. |
| 25 Sep 2006 |
Added "mat_into_hdr.m" script to convert the ANALYZE 7.5 SPM Reoriented image file into NIfTI format, and integrate the affine matrix in its matlab file into its header file. |
| 18 Dec 2006 |
Improved data scaling process, and fixed a bug in calculating origin position. Detail will be posted on http://www.rotman-baycrest.on.ca/~jimmy/NIFTI |
| 21 Dec 2006 |
1. "Save displayed image as ..." is added in the "File" menu of "view_nii" window. 2. Removed integer rounding for "hdr.hist.originator". Please check more detail in: http://www.rotman-baycrest.on.ca/~jimmy/NIFTI/#update. |
| 23 Apr 2007 |
1. Automatically integrate affine matrix in .mat file of earlier versions of SPM into .hdr structure. 2. fixed a bug in "mat_into_hdr.m". Please check more detail in: http://www.rotman-baycrest.on.ca/~jimmy/NIFTI/#update |
| 27 Apr 2007 |
1. Modified save_nii command, so earlier versions of SPM can also open it with correct originator. 2. Modified http://www.rotman-baycrest.on.ca/~jimmy/NIFTI/FAQ.htm with several categories |
| 03 May 2007 |
Thanks to Ning Cao from UKY who reported and fixed a bug in view_nii.m file. Please check more detail at: http://www.rotman-baycrest.on.ca/~jimmy/NIFTI/#update |
| 04 Feb 2008 |
Thanks to Jeff Gunter from Mayo who suggested to display a warning message instead of throwing an error for a very oblique image. Especially thanks to his code of checking qform rotation before applying voxel size modulation. |
| 09 Apr 2008 |
Added a new feature to load and save NIfTI's header extension (added "load_nii_ext.m" and moified "save_nii.m"), and fixed a bug when loading qform data, which was introduced on 01-FEB-2008. |
| 09 Jul 2008 |
Thanks to the feedback of Holger Krause from Heinrich-Heine University Dusseldorf, the bug in "mat_into_hdr.m" when input file containing a path has been fixed. |
| 20 Aug 2008 |
1. New program reslice_nii.m is provided to perform any 3D affine transform and to generate an isotropic image. 2. New program flip_lr.m is provided for L-R flipping. Please check more detail at: http://www.rotman-baycrest.on.ca/~jimmy/NIFTI/#update |
| 22 Aug 2008 |
Added a "verbose" parameter for "reslice_nii.m" to provide an opportunity to disable the progress display. |
| 29 Aug 2008 |
Added "load_untouch_nii.m" and "save_untouch_nii.m" program pair. See detail in Description above and FAQ at http://www.rotman-baycrest.on.ca/~jimmy/NIfTI/FAQ.htm. |
| 05 Sep 2008 |
Extended Load / Save / Make programs to N-Dimension, where N can be from 3 to 7 for NIfTI data and from 3 to 4 for ANALYZE data. |
| 23 Oct 2008 |
1. Properly handle fread/'*char' problem with foreign characters in MATLAB 7 and above; 2. Reordered input parameters for 'reslice_nii.m' program; |
| 24 Oct 2008 |
update didn't show up |
| 04 Dec 2008 |
Fixed a bug in fliplr.m when reading files. |
| 05 Dec 2008 |
Default data type for 'make_nii.m' now follows the data type of 'img' matrix, instead of float32. |
| 17 Mar 2009 |
1. Thanks to the feedback of Bryce Wilkins from USC, a typo in one of my message display is fixed.
2. Thanks to the suggestion of Ashish Raj from Cornell, 'expand_nii_scan.m' is modified and 'collapse_nii_scan.m' is added.
|
| 25 Mar 2009 |
Thanks to the feedback of Kate Fissell from University of Pittsburgh, transformation matrix M will no longer be saved by save_untouch_nii.m. |
| 18 Jun 2009 |
Just receive warning from MATLAB: "If I do not license my code with BSD, my code will be removed." |
| 03 Jul 2009 |
Fixed several bugs, and posted informative table:
http://www.rotman-baycrest.on.ca/~jimmy/UseANALYZE.htm
|
| 09 Sep 2009 |
While an N-Dimensional matrix can be saved into a NIfTI file using "make_nii / save_nii" command pair, a 3D matrix can also be saved into an ANALYZE file using "make_ana / save_untouch_nii" in order to be compatible with some ANALYZE only programs. |
| 05 Jan 2010 |
"load_untouch_nii" now supports loading specific slices of NIfTI or Analyze format. |
| 06 Jan 2010 |
1. "load_untouch_nii" now supports loading specific slices of NIfTI or Analyze format.
2. MATLAB ask me to remove any "under GNU license" phrase in any file.
|
| 13 Apr 2010 |
Fixed a bug in "collapse_nii_scan" to collapse Analyze format data. |
| 19 Aug 2010 |
Thanks to Rembrandt from Radboud University Nijmegen (Netherlands), I made 2 small changes to handle the exceptions.
|
| 03 Feb 2011 |
Thanks to the feedback of Roman Fleysher from Yeshiva University, I fixed a bug when loading a quaternion form NIfTI data. |
| 15 Feb 2011 |
1. Fixed an overlay problem in view_nii.m, so the color of min/max is now showing properly.
2. Included an overlay example in http://www.rotman-baycrest.on.ca/~jimmy/NIfTI/FAQ.htm and http://www.rotman-baycrest.on.ca/~jimmy/NIfTI/examples.txt. |
| 10 Mar 2011 |
New feature is added in "view_nii" program to let you edit voxel values or set landmarks. Also thanks to the code from Roman, which speed up "load_untouch_nii_img" program when the slices are not loaded at once. |
| 02 May 2011 |
New program "load_untouch_header_only.m" and "save_untouch_slice.m" is provided. Check http://www.rotman-baycrest.on.ca/~jimmy/NIFTI for more details. |
| 09 Jun 2011 |
You can now create RGB NIfTI / ANALYZE file structure using make_nii / make_ana program.
|
| 10 Jun 2011 |
Fixed a bug for yesterday's release |
| 01 Sep 2011 |
"make_nii.m" is now able to automatically detect both single and double complex data type.
|
| 21 Sep 2011 |
Thanks to the feedback of Matthew Bickell from University of Cape Town, a bug is fixed when edit voxel in millimeter unit.
|