Made a modification to makeFlat.m that will get the orientation of the flat patch correct, most of the time. Will no longer need flipFlag, but keep it for now, just in case.
1 lines of code changed in 1 file:
Large modification: Now check the winding direction (i.e., CW vs. CCW) of the faces on the flat patch and the 3D surfaces. If there is a mismatch in direction between the two, do an X-Y swap of the vertices in the flat patch. This seems to get the orientation correct on the patches that I've tested.
71 lines of code changed in 1 file:
base structure saved out with saveAlignment had data in it!
3 lines of code changed in 1 file:
GLM can do processing on chunks of data smaller than one slice. "all" is
accepted as the contrast for eventRelatedGlmGUI.
73 lines of code changed in 3 files:
*** empty log message ***
2 lines of code changed in 1 file:
fixed small type
1 lines of code changed in 1 file:
Added a parameter to allow flipping flat patches. This is necessary for some patches that come out X-Y revered for some mysterious reason.
12 lines of code changed in 1 file:
now 'right' is really right and 'rostral' is rostral in patch coloring
1 lines of code changed in 1 file:
show what warping based on scan2scan transform does.
104 lines of code changed in 1 file:
handle string fields
13 lines of code changed in 1 file:
added a check for isbase to be safer when grab vol2mag and vol2tal
2 lines of code changed in 1 file:
Added vol2mag and vol2tal
13 lines of code changed in 1 file:
Added viewGet for baseCoordMapPath, and made mrFlatMesh the default
4 lines of code changed in 1 file:
for dealing with memory overflow: runs event-related analysis on a subset of rows at a time
114 lines of code changed in 4 files:
prints more stuff when called from command line
10 lines of code changed in 1 file:
viewGet scanQform
11 lines of code changed in 1 file:
minor change to error message
1 lines of code changed in 1 file:
minor changes. allowing group name to be passed in instead of group num for some parameters.
52 lines of code changed in 2 files:
Add force argument
14 lines of code changed in 1 file:
check for empty overlay
5 lines of code changed in 1 file:
save originating path
1 lines of code changed in 1 file:
plot/surfaceViewer just like plot/flatViewer
9 lines of code changed in 1 file:
Show surface viewer menu item when a surface is loaded
3 lines of code changed in 1 file:
minor fix for when calling with the names of all fiels
4 lines of code changed in 1 file:
always close the flat viewer when done
3 lines of code changed in 1 file:
more robust clipping values when displaying image
16 lines of code changed in 1 file:
changes to allow for path variable in surfaces as well as flats
8 lines of code changed in 2 files:
really got rid of the extra plots of the flattened output
7 lines of code changed in 1 file:
changed the direction of the x axis to make the surfaces render in the correct orientation
6 lines of code changed in 1 file:
got rid of annoying plots of flat mesh
2 lines of code changed in 1 file:
Small fix so that both Volume and Gray ROIs can be imported
1 lines of code changed in 1 file:
small display glitch that caused x-axis to sometimes show-up reversed. Essentially the axis directions need to be set by hand rather than the default which is that matlab autosets them
11 lines of code changed in 2 files:
used to add 2 to the vertices in writePatchOFF. deleted this because it isn't necessary.
1 lines of code changed in 1 file:
print out of how much coordinates have been shifted by
3 lines of code changed in 1 file:
added filename to structure
1 lines of code changed in 1 file:
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:
viewSet for a baseCoordMap
8 lines of code changed in 1 file:
minor comment change
1 lines of code changed in 1 file:
Added ability to edit surface names and path
34 lines of code changed in 1 file:
*** empty log message ***
7 lines of code changed in 1 file:
fixed small typo (coords1) in setxor call
1 lines of code changed in 1 file:
got rid of X-Y swapping
18 lines of code changed in 2 files:
got rid of the X-Y swapping
6 lines of code changed in 1 file:
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.
80 lines of code changed in 7 files:
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:
added 'basehdr' -- returns the nifti header of the current base anatomy
9 lines of code changed in 1 file:
*** empty log message ***
42 lines of code changed in 1 file:
changed a mrErrorDlg to a mrWarnDlg
2 lines of code changed in 1 file:
intel recompile after justin fixed edge handling
0 lines of code changed in 1 file:
fixed problem dereferencing outside the volume
10 lines of code changed in 2 files:
check for empty concatInfo
3 lines of code changed in 1 file:
delete view at end
1 lines of code changed in 1 file:
Don't save an empty prefs file
5 lines of code changed in 1 file:
adding back with -kb flag
0 lines of code changed in 2 files:
fixing missing -kb flag
0 lines of code changed in 2 files:
*** empty log message ***
2 lines of code changed in 1 file:
figured out the off by 2 problem. It turns out that Jonas' code was shifting the origin by - the values in pixdim(6:8), which is usually [1 1 1] since that is the voxel size. This issue is still not completely resolved since here we are assuming an offset of [1 1 1], but in some old headers, that was set to [-1 -1 -1] instead.
15 lines of code changed in 1 file:
if user passes in a string for the roi name first check to see if it is in the view already before reloading
13 lines of code changed in 1 file:
warn if user is trying to set a new group to have the same name as an existing group
5 lines of code changed in 1 file:
added kb flag
0 lines of code changed in 3 files:
fixing -kb flag
0 lines of code changed in 3 files:
adding back files with -kb flag
0 lines of code changed in 12 files:
fixing missing -kb flag and removing old mex versions
0 lines of code changed in 22 files:
check for empty roi structures
88 lines of code changed in 1 file:
checks for valid fig handle before getting fig data (this happens when you use viewGet on a view that does not have an open figure)
37 lines of code changed in 1 file:
will add a fourth row of 1's if the roi does not have that
6 lines of code changed in 1 file:
removed line that replaced NaN's with 0's.
1 lines of code changed in 1 file:
seems to work fine in 7.6 after a week of testing...
1 lines of code changed in 1 file:
add ability to change interrogator
5 lines of code changed in 1 file:
When changing sforms for base anatomies and scans, it now also changes the pixel dimensions to match what is implied by the sform
24 lines of code changed in 1 file:
If you rename the analysis it now changes the name filed in the structure as well
3 lines of code changed in 1 file: