Skip to content

Commit

Permalink
DoG description
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Oct 7, 2021
1 parent afde9ef commit 1b86adf
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 25 deletions.
32 changes: 28 additions & 4 deletions MRIcroGL.lps
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
<ComponentName Value="GLForm1"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<TopLine Value="10"/>
<CursorPos X="19" Y="12"/>
<IsVisibleTab Value="True"/>
<TopLine Value="3386"/>
<CursorPos X="90" Y="3407"/>
<UsageCount Value="204"/>
<Loaded Value="True"/>
<LoadedDesigner Value="True"/>
Expand Down Expand Up @@ -284,7 +285,6 @@
</Unit33>
<Unit34>
<Filename Value="../Metal-Demos/common/retinahelper.pas"/>
<IsVisibleTab Value="True"/>
<EditorIndex Value="2"/>
<CursorPos X="13" Y="22"/>
<UsageCount Value="98"/>
Expand Down Expand Up @@ -384,7 +384,7 @@
<Build>
<CleanOutputFileMask Value="*.ppu;*.ppl;*.o;*.or"/>
</Build>
<JumpHistory Count="17" HistoryIndex="16">
<JumpHistory Count="23" HistoryIndex="22">
<Position1>
<Filename Value="mainunit.pas"/>
<Caret Line="2232" Column="47" TopLine="2230"/>
Expand Down Expand Up @@ -453,6 +453,30 @@
<Filename Value="glvolume2.pas"/>
<Caret Line="2720" Column="44" TopLine="2700"/>
</Position17>
<Position18>
<Filename Value="mainunit.pas"/>
<Caret Line="12" Column="19" TopLine="10"/>
</Position18>
<Position19>
<Filename Value="mainunit.pas"/>
<Caret Line="409" Column="18" TopLine="389"/>
</Position19>
<Position20>
<Filename Value="mainunit.pas"/>
<Caret Line="1313" Column="23" TopLine="1292"/>
</Position20>
<Position21>
<Filename Value="mainunit.pas"/>
<Caret Line="1340" Column="7" TopLine="1319"/>
</Position21>
<Position22>
<Filename Value="mainunit.pas"/>
<Caret Line="2113" Column="16" TopLine="2092"/>
</Position22>
<Position23>
<Filename Value="mainunit.pas"/>
<Caret Line="2123" Column="16" TopLine="2104"/>
</Position23>
</JumpHistory>
<RunParams>
<FormatVersion Value="2"/>
Expand Down
Binary file modified MRIcroGL.res
Binary file not shown.
40 changes: 20 additions & 20 deletions mainunit.lfm
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
object GLForm1: TGLForm1
Left = 213
Height = 960
Top = 38
Height = 693
Top = 25
Width = 916
AllowDropFiles = True
Caption = 'MRIcroGL'
ClientHeight = 960
ClientHeight = 693
ClientWidth = 916
Constraints.MinHeight = 20
Constraints.MinWidth = 20
Expand All @@ -23,25 +23,25 @@ object GLForm1: TGLForm1
LCLVersion = '2.3.0.0'
object TopPanel: TPanel
Left = 0
Height = 874
Height = 607
Top = 0
Width = 916
Align = alClient
ClientHeight = 874
ClientHeight = 607
ClientWidth = 916
ParentFont = False
TabOrder = 0
object ToolPanel: TScrollBox
Left = 1
Height = 872
Height = 605
Top = 1
Width = 268
HorzScrollBar.Page = 1
HorzScrollBar.Visible = False
VertScrollBar.Page = 872
VertScrollBar.Page = 605
Align = alLeft
BorderStyle = bsNone
ClientHeight = 872
ClientHeight = 605
ClientWidth = 253
ParentFont = False
TabOrder = 0
Expand Down Expand Up @@ -1594,33 +1594,33 @@ object GLForm1: TGLForm1
end
object ScriptPanel: TPanel
Left = 913
Height = 872
Height = 605
Top = 1
Width = 2
Align = alRight
BevelOuter = bvNone
ClientHeight = 872
ClientHeight = 605
ClientWidth = 2
Constraints.MinWidth = 2
ParentFont = False
TabOrder = 1
OnDblClick = ScriptPanelDblClick
object ScriptBox: TGroupBox
Left = -8
Height = 872
Height = 605
Top = 0
Width = 10
Align = alClient
Caption = 'Scripting'
ClientHeight = 853
ClientHeight = 586
ClientWidth = 0
Constraints.MinWidth = 10
ParentFont = False
TabOrder = 0
OnDblClick = ScriptPanelDblClick
object ScriptMemo: TMemo
Left = 0
Height = 647
Height = 380
Top = 0
Width = 0
Align = alClient
Expand All @@ -1644,7 +1644,7 @@ object GLForm1: TGLForm1
object ScriptOutputMemo: TMemo
Left = 0
Height = 200
Top = 653
Top = 386
Width = 0
Align = alBottom
BorderStyle = bsNone
Expand All @@ -1661,7 +1661,7 @@ object GLForm1: TGLForm1
Cursor = crVSplit
Left = 0
Height = 6
Top = 647
Top = 380
Width = 0
Align = alBottom
ResizeAnchor = akBottom
Expand All @@ -1670,21 +1670,21 @@ object GLForm1: TGLForm1
end
object LeftSplitter: TSplitter
Left = 269
Height = 872
Height = 605
Top = 1
Width = 6
end
object RightSplitter: TSplitter
Left = 907
Height = 872
Height = 605
Top = 1
Width = 6
Align = alRight
ResizeAnchor = akRight
end
object CenterPanel: TPanel
Left = 275
Height = 872
Height = 605
Top = 1
Width = 632
Align = alClient
Expand All @@ -1697,7 +1697,7 @@ object GLForm1: TGLForm1
Cursor = crVSplit
Left = 0
Height = 6
Top = 874
Top = 607
Width = 916
Align = alBottom
MinSize = 4
Expand All @@ -1706,7 +1706,7 @@ object GLForm1: TGLForm1
object BottomPanel: TPanel
Left = 0
Height = 80
Top = 880
Top = 613
Width = 916
Align = alBottom
ClientHeight = 80
Expand Down
2 changes: 1 addition & 1 deletion mainunit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3404,7 +3404,7 @@ TPythonBridgeMethod = record
(name: 'shaderupdategradients'; callback: @PySHADERUPDATEGRADIENTS; help: ' shaderupdategradients() -> Recalculate volume properties.'),
(name: 'sharpen'; callback: @PySHARPEN; help: ' sharpen() -> apply unsharp mask to background volume to enhance edges'),
(name: 'smooth'; callback: @PySMOOTH2D; help: ' smooth2D(s) -> make 2D images blurry (linear interpolation, 1) or jagged (nearest neighbor, 0).'),
(name: 'dog'; callback: @PyDoG; help: ' dog(layer) -> Creates new layer based on 2.5 vs 2.0mm FWHM difference-of-Gaussian edge map of selected layer.'),
(name: 'dog'; callback: @PyDoG; help: ' dog(layer) -> Creates new layer based on 2.5 vs 4.0mm FWHM difference-of-Gaussian edge map of selected layer.'),
(name: 'toolformvisible'; callback: @PyTOOLFORMVISIBLE; help: ' toolformvisible(visible) -> Show (1) or hide (0) the tool panel.'),
(name: 'version'; callback: @PyVERSION; help: ' version() -> Return the version of MRIcroGL.'),
(name: 'view'; callback: @PyVIEW; help: ' view(v) -> Display Axial (1), Coronal (2), Sagittal (4), Flipped Sagittal (8), MPR (16), Mosaic (32) or Rendering (64)'),
Expand Down

0 comments on commit 1b86adf

Please sign in to comment.