Directory mrUtilities/File/Nifti/

Directory Created:
2007-01-19 00:37
Total Files:
24
Deleted Files:
1
Lines of Code:
3927

[root]/mrUtilities/File/Nifti

Lines of Code

mrUtilities/File/Nifti/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 76 (100.0%) 4259 (100.0%) 56.0
justin 62 (81.6%) 4092 (96.1%) 66.0
eli 9 (11.8%) 145 (3.4%) 16.1
shani 4 (5.3%) 15 (0.4%) 3.7
david 1 (1.3%) 7 (0.2%) 7.0

Most Recent Commits

justin 2010-07-16 15:54 Rev.: 1702

Returing sliceIndex of the files (this is used for checking l/r of anatomy)

18 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: getPermutationMatrix.m (+18 -4)
justin 2010-01-07 17:46 Rev.: 1619

allow for hard links

3 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: copyNiftiFile.m (+3 -3)
justin 2009-12-11 11:27 Rev.: 1576

minor: print help info instead of crashing when you call with no arguments

9 lines of code changed in 2 files:

  • mrUtilities/File/Nifti: cbiWriteNifti.m (+4 -1), cbiWriteNiftiHeader.m (+5)
justin 2009-07-23 10:40 Rev.: 1518

Adding mlrImage directory and the start of some functions that should serve as a wrapper around cbiReadNifti functions. THis will give us more flexibility in the future to be nifti independent -- for example, we can write read/write wrappers so that we aren't limited by the 16bit image width/height parameters, which is a problem for the surface images that.

Also, fixed cbiReadNiftiHeader so that it doesn't dump an error when it can't load a header, but returns gracefully with a warning and an empty header structure

11 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: cbiReadNiftiHeader.m (+11 -5)
justin 2009-07-03 16:46 Rev.: 1497

Added checks for correct extension and to check for file existence

15 lines of code changed in 2 files:

  • mrUtilities/File/Nifti: cbiReadNifti.m (+10), cbiWriteNifti.m (+5 -1)
justin 2009-01-10 07:31 Rev.: 1367

Now copies associated .mat file as well (i.e. .mat file with same stem name)

10 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: copyNiftiFile.m (+10 -3)
justin 2009-01-09 07:11 Rev.: 1358

optional paramter to allow linking rather than copying

14 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: copyNiftiFile.m (+14 -6)
justin 2009-01-08 08:03 Rev.: 1354

function to copy one nifti file to another location -- it handles the dual files correctly and checks for existence of files etc.

61 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: copyNiftiFile.m (new 61)
justin 2009-01-07 06:49 Rev.: 1352

Added functionality to support 1xn images where n is greater than a 16bit int width. This is useful for the surface curvature files that MLR saves. It now writes them out as a kx65535 image in which the description field holds the actualy width of the image (n). cbiRead/Write nifti can now read and write this out. Also, the old surface nifti files were based on a bit of a hack -- if the image width was 65535 it would just continue to load data, but there was no explicit setting as to what the width actually was. Those files still correctly open but the user gets an option to resave it in the new format (which is advised).

81 lines of code changed in 2 files:

  • mrUtilities/File/Nifti: cbiReadNifti.m (+47 -1), cbiWriteNifti.m (+34)
justin 2008-11-25 08:15 Rev.: 1341

Some slice perscriptions were getting weird results for what happens when you click the coronal/sagittal/axial radio buttons. I think this is because the slices are tilted backwards, and the permutation logic assigns what should really be the coronal view to the axial view. I have added a fix in here, which looks for slices that are rotated in this way and fixes the permutation matrix accordingly. I am not 100% sure that this will work for all slice orientations.

30 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: getPermutationMatrix.m (+30 -4)
justin 2008-04-11 23:35 Rev.: 1045

print out of how much coordinates have been shifted by

3 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: xformSurfaceWorld2Array.m (+3)
justin 2008-04-11 12:08 Rev.: 1043

didn't need another +1 offset for C to matlab since jonas' xform from mlrXformFromHeader handles that

0 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: xformSurfaceWorld2Array.m (-2)
justin 2008-04-11 00:55 Rev.: 1035

implemented changes needed to handle the world2array xform that jonas' surfrelax tools assume. Basically the analyze header had fields pixdim(6:8) which is an offset and that needs to shift the origin of the coordinates in the surfaces to get them into array coordinates. This is now handled by a function xformSurfaceWorld2Array which also handles the necessary 0 to 1 based coordinate frame change. We also removed all x/y swaps which were unnecessary. loadSurfOFF was swapping xy and then we later swapped them back in loadSurface and loadFlatOFF.

6 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: xformSurfaceWorld2Array.m (+6 -1)
justin 2008-04-11 00:12 Rev.: 1034

function from jonas which does world2array xform for surfaces. Note that there is a minor change that allows passing in a header instead of a filename

93 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: mlrXFormFromHeader.m (new 93)
justin 2008-04-11 00:01 Rev.: 1032

*** empty log message ***

42 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: xformSurfaceWorld2Array.m (new 42)
justin 2008-03-25 12:04 Rev.: 1005

if sform_Code is set then use sform rather than qform for extracting permutation matrix

6 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: getPermutationMatrix.m (+6 -1)
justin 2008-02-25 14:08 Rev.: 970

Switch to doing eventRelated analysis with single precision if there is not enough memory for doing double precision with a single slice at a time.

10 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: cbiReadNifti.m (+10 -2)
justin 2008-02-22 00:52 Rev.: 968

suppressed qfac==0 warning, according to the nifti documentation this shouldn't happen, but specifies that it is correct to set the qfac=1 for this case. The warning crops up often--perhaps from Analyze files converted to Nifti. But, since this is defined behavior in the standard it seems better just to do it. The warning has only served to confuse people and has never indicated anything wrong with the qforms....

11 lines of code changed in 1 file:

  • mrUtilities/File/Nifti: cbiQuaternionToHomogeneous.m (+11 -1)
justin 2008-02-22 00:31 Rev.: 967

chanded error call to mrErrorDlg

52 lines of code changed in 2 files:

  • mrUtilities/File/Nifti: cbiWriteNifti.m (+13 -13), cbiWriteNiftiHeader.m (+39 -39)
justin 2008-02-21 13:59 Rev.: 966

errors for when fopen fails

4 lines of code changed in 2 files:

  • mrUtilities/File/Nifti: cbiWriteNifti.m (+1), cbiWriteNiftiHeader.m (+3 -1)

(24 more)

Generated by StatSVN 0.4.1