adding mrParamsEnable to enable/disable menu items in callback -- also adding ability to set fields as disabled on start up
46 lines of code changed in 2 files:
description parameter was getting passed through when you were caling averageTSeries through the command line
5 lines of code changed in 1 file:
Adding validation for mgl stimfiles
4 lines of code changed in 1 file:
mrInit now validates filenames in the Raw/TSeries directory to make sure they are valid image headers
9 lines of code changed in 1 file:
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
173 lines of code changed in 5 files:
This is just a test of branching and merging
1 lines of code changed in 1 file:
Stuff to group arrays
42 lines of code changed in 2 files:
Comments + fixing orientation
7 lines of code changed in 1 file:
Export of an roi to a nifti file
54 lines of code changed in 1 file:
Adding hook for export ROI
13 lines of code changed in 1 file:
minor, removing debug print
0 lines of code changed in 1 file:
catch error if mrLastView can't save -- this can be caused by bad permission settings, it should report something useful.
11 lines of code changed in 1 file:
Function to turn on/off 3d rotating of surface volumes. This correctly adds a callback to set the rotate/tilt scroll bars after the user has finished free rotating. To hook this into the viewer code, we need to turn it on/off when a surface base is displayed -- and when mrInterrogator is set (i.e. should be turned off before running mrInterrogator).
71 lines of code changed in 1 file:
Save anat as float32 instead of default -- otherwise if the data type was set uint8 for example, the surfaces were not saving with the full grayscale range
2 lines of code changed in 1 file:
Put in warning for bad sliceIndex when displaying flats/surfaces -- this comes from a bad orientation of a qform -- and the error messages indicates how to debug the problem.
4 lines of code changed in 1 file:
Adding output argument so that we can just get the header instead of directly creating the nifti file
11 lines of code changed in 1 file:
Adding a quiet verbose setting
3 lines of code changed in 1 file:
Adding TR calculation
15 lines of code changed in 1 file:
Returning more fields in info structure
14 lines of code changed in 1 file:
12 lines of code changed in 1 file:
Commented out a restrictive piece of code which wasn't allowing overlays to be shown for some volumes. Basically, it was checking to make sure that a flat was being shown in the correct 3d orientation. It doesn't need to check for this, since this will never happen - but causes volumes that have strange qform/sfroms that don't point in the correct directions (but are otherwise ok) to mysteriously not show up. Removing this check should not cause any problems for existing surfaces / flat maps, but helps for sites that are debugging their qform/sform info.
2 lines of code changed in 1 file:
Fixed small bug in how the xform for 3D volumes - instead of lr flip of the pss table it needed to be negated. THis wasn't caught before because the pss table was symmetric around 0...!
1 lines of code changed in 1 file:
Added checks for correct extension and to check for file existence
15 lines of code changed in 2 files:
added hook to call importTSeries
3 lines of code changed in 1 file:
Small fix to keep from crashing when TR is read as too short
1 lines of code changed in 1 file:
added function to importTseries
56 lines of code changed in 1 file:
fixed to deal with sense images
18 lines of code changed in 1 file: