Skip to content

Commit

Permalink
Threshold Detection
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Feb 22, 2017
1 parent 5d454f3 commit 0c5e6d8
Show file tree
Hide file tree
Showing 10 changed files with 390 additions and 885 deletions.
Binary file modified .DS_Store
Binary file not shown.
11 changes: 7 additions & 4 deletions MRIcroGL.app/Contents/Resources/script/basic.gls
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
begin
LOADIMAGE('avg152T1');
//LOADIMAGE('avg152T1');
//RESETDEFAULTS;
//LOADIMAGE('mni152_2009bet');
LOADIMAGE('/Users/rorden/Documents/OSX/MRIcroGL/mni152_2009_256');
//CLIPAZIMUTHELEVATION(0.3, 0, 130);
//OVERLAYLOAD('motor');
//OVERLAYMINMAX(1, 2.6, 4);
OVERLAYLOAD('/Users/rorden/msk/m');
//OVERLAYLOAD('/Users/rorden/msk/neg');
//OVERLAYLOAD('/Users/rorden/msk/t');
OVERLAYMINMAX(1, 2.0, 2);
//OVERLAYMINMAX(1, -2.0, -2);
end.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ http://www.mccauslandcenter.sc.edu/mricrogl/

##### Recent Versions

30-January-2017
7-February-2017
- Looks better on Linux high-DPI screens
- [Cubic b-spline interpolation](http://www.mccauslandcenter.sc.edu/mricrogl/beta-features).
- [Threshold Detection](http://www.mccauslandcenter.sc.edu/mricrogl/beta-features).
30-September-2016
- Ensure colorbars show active overlay colors. Improvements for macOS 10.11.
6-June-2016
Expand Down
1 change: 1 addition & 0 deletions mainunit.lfm
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@ object GLForm1: TGLForm1
ShowHint = True
TabOrder = 0
OnDrawCell = StringGrid1DrawCell
OnEditingDone = StringGrid1Exit
OnExit = StringGrid1Exit
OnKeyPress = StringGrid1KeyPress
OnMouseDown = StringGrid1MouseDown
Expand Down
1 change: 1 addition & 0 deletions nifti_hdr.pas
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ TMRIcroHdr = record //Next: analyze Format Header structure
NIFTIhdr : TNIFTIhdr;
AutoBalMinUnscaled,AutoBalMaxUnscaled
,WindowScaledMin,WindowScaledMax
//,GlMaxNegUnscaledS,GlMinPosUnscaledS //<- used for thresholded images
,GlMinUnscaledS,GlMaxUnscaledS,Zero8Bit,Slope8bit: double; //brightness and contrast
NIfTItransform,DiskDataNativeEndian,UsesCustomPalette,RGB,LutFromZero,LutVisible: boolean;
HdrFileName,ImgFileName: string;
Expand Down
Loading

0 comments on commit 0c5e6d8

Please sign in to comment.