object ImgForm: TImgForm
  Left = 145
  Height = 480
  Top = 121
  Width = 1135
  ActiveControl = ControlPanel
  AllowDropFiles = True
  Caption = 'MRIcron'
  ClientHeight = 480
  ClientWidth = 1135
  KeyPreview = True
  Menu = MainMenu1
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnDropFiles = FormDropFiles
  OnKeyDown = FormKeyDown
  OnKeyPress = FormKeyPress
  OnMouseWheel = FormMouseWheel
  OnResize = FormResize
  OnShow = FormShow
  Position = poScreenCenter
  LCLVersion = '2.1.0.0'
  object ControlPanel: TPanel
    Tag = 1
    Left = 0
    Height = 38
    Top = 0
    Width = 1135
    Align = alTop
    BevelOuter = bvNone
    BorderWidth = 1
    ClientHeight = 38
    ClientWidth = 1135
    ParentColor = False
    ParentFont = False
    ParentShowHint = False
    ShowHint = True
    TabOrder = 0
    OnClick = ControlPanelClick
    OnDblClick = ControlPanelDblClick
    object LayerPanel: TPanel
      AnchorSideLeft.Control = SlicePanel
      AnchorSideLeft.Side = asrBottom
      Left = 364
      Height = 36
      Top = 1
      Width = 454
      AutoSize = True
      BorderSpacing.Left = 4
      BevelOuter = bvNone
      ClientHeight = 36
      ClientWidth = 454
      ParentColor = False
      ParentFont = False
      TabOrder = 1
      object LayerDrop: TComboBox
        AnchorSideLeft.Control = LayerPanel
        AnchorSideTop.Control = LayerPanel
        AnchorSideTop.Side = asrCenter
        Left = 4
        Height = 20
        Top = 8
        Width = 128
        BorderSpacing.Left = 4
        BorderSpacing.Top = 4
        ItemHeight = 26
        ItemIndex = 0
        Items.Strings = (
          'Background'
        )
        OnChange = LayerDropChange
        OnSelect = LayerDropSelect
        ParentFont = False
        ParentShowHint = False
        ShowHint = True
        Style = csDropDownList
        TabOrder = 0
        Text = 'Background'
      end
      object MinWindowEdit: TFloatSpinEdit
        AnchorSideLeft.Control = AutoContrastPanel
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = LayerDrop
        AnchorSideTop.Side = asrCenter
        Left = 174
        Height = 21
        Top = 8
        Width = 80
        BorderSpacing.Left = 4
        DecimalPlaces = 5
        MaxValue = 9999999
        MinValue = -9999999
        OnChange = MinContrastWindowEditChange
        ParentFont = False
        TabOrder = 1
        Value = 3
      end
      object MaxWindowEdit: TFloatSpinEdit
        AnchorSideLeft.Control = MinWindowEdit
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = LayerDrop
        AnchorSideTop.Side = asrCenter
        Left = 258
        Height = 21
        Top = 8
        Width = 80
        BorderSpacing.Left = 4
        DecimalPlaces = 5
        MaxValue = 9999999
        MinValue = -9999999
        OnChange = MaxContrastWindowEditChange
        ParentFont = False
        TabOrder = 2
        Value = 1
      end
      object LUTdrop: TComboBox
        AnchorSideLeft.Control = MaxWindowEdit
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = LayerDrop
        Left = 342
        Height = 20
        Top = 8
        Width = 112
        BorderSpacing.Left = 4
        DropDownCount = 66
        ItemHeight = 26
        OnChange = LUTdropChange
        OnSelect = LUTdropSelect
        ParentFont = False
        ParentShowHint = False
        ShowHint = True
        Style = csDropDownList
        TabOrder = 3
        Text = '0'
      end
      object AutoContrastPanel: TPanel
        AnchorSideLeft.Control = LayerDrop
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = LayerPanel
        AnchorSideTop.Side = asrCenter
        Left = 134
        Height = 36
        Top = 0
        Width = 36
        AutoSize = True
        BorderSpacing.Left = 2
        BorderSpacing.Top = 2
        BevelOuter = bvNone
        ClientHeight = 36
        ClientWidth = 36
        ParentFont = False
        TabOrder = 4
        object AutoContrastToolbar: TToolBar
          Left = 0
          Height = 36
          Top = 0
          Width = 36
          Align = alNone
          ButtonHeight = 32
          ButtonWidth = 32
          Caption = 'AutoContrastToolBar'
          EdgeInner = esNone
          EdgeOuter = esNone
          Images = ImageList1
          ImagesWidth = 28
          ParentFont = False
          TabOrder = 0
          object AutoContrastBtn: TToolButton
            Left = 1
            Hint = 'Autocontrast'
            Top = 0
            Caption = 'AutoContrastBtn'
            ImageIndex = 0
            OnClick = AutoContrastBtnClick
          end
        end
      end
    end
    object ToolPanel: TPanel
      AnchorSideLeft.Control = ViewPanel
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ControlPanel
      Left = 960
      Height = 36
      Top = 1
      Width = 168
      AutoSize = True
      BorderSpacing.Left = 4
      BevelOuter = bvNone
      ClientHeight = 36
      ClientWidth = 168
      ParentFont = False
      TabOrder = 0
      Visible = False
      OnClick = ToolPanelClick
      object ToolToolBar: TToolBar
        Left = 0
        Height = 36
        Top = 0
        Width = 168
        Align = alNone
        ButtonHeight = 30
        ButtonWidth = 30
        Caption = 'DrawBar'
        EdgeOuter = esNone
        Images = ImageList1
        ImagesWidth = 28
        ParentFont = False
        TabOrder = 0
        object PenBtn: TToolButton
          Left = 1
          Hint = 'Pen Tool'
          Top = 1
          AllowAllUp = True
          Caption = 'a'
          Grouped = True
          ImageIndex = 5
          OnClick = PenBtnClick
          Style = tbsCheck
        end
        object ClosedPenBtn: TToolButton
          Left = 33
          Hint = 'Autoclose Pen'
          Top = 1
          AllowAllUp = True
          Caption = 'a'
          Grouped = True
          ImageIndex = 6
          OnClick = PenBtnClick
          Style = tbsCheck
        end
        object FillBtn: TToolButton
          Left = 65
          Hint = 'Fill tool'
          Top = 1
          AllowAllUp = True
          Caption = 'a'
          Grouped = True
          ImageIndex = 7
          OnClick = PenBtnClick
          Style = tbsCheck
        end
        object EllipseBtn: TToolButton
          Left = 97
          Hint = 'Ellipse Tool'
          Top = 1
          AllowAllUp = True
          Caption = 'a'
          Grouped = True
          ImageIndex = 8
          OnClick = PenBtnClick
          Style = tbsCheck
        end
        object Fill3DBtn: TToolButton
          Left = 129
          Hint = 'Create VOI based on background intensity'
          Top = 1
          AllowAllUp = True
          Caption = 'a'
          Grouped = True
          ImageIndex = 9
          OnClick = Fill3DBtnClick
          Style = tbsCheck
        end
      end
    end
    object ViewPanel: TPanel
      AnchorSideLeft.Control = LayerPanel
      AnchorSideLeft.Side = asrBottom
      Left = 820
      Height = 36
      Top = 1
      Width = 136
      AutoSize = True
      BorderSpacing.Left = 2
      BevelOuter = bvNone
      ClientHeight = 36
      ClientWidth = 136
      ParentFont = False
      TabOrder = 2
      object ViewToolBar: TToolBar
        AnchorSideTop.Control = ViewPanel
        AnchorSideTop.Side = asrCenter
        Left = 0
        Height = 36
        Top = 0
        Width = 136
        Align = alNone
        ButtonHeight = 32
        ButtonWidth = 32
        EdgeBorders = []
        EdgeInner = esNone
        EdgeOuter = esNone
        Images = ImageList1
        ImagesWidth = 28
        ParentFont = False
        TabOrder = 0
        object LutFromZeroBtn: TToolButton
          Left = 1
          Hint = 'Color range from zero'
          Top = 0
          Caption = 'LutFromZeroBtn'
          ImageIndex = 1
          OnClick = LutFromZeroBtnClick
        end
        object ColorBarBtn: TToolButton
          AnchorSideLeft.Side = asrBottom
          AnchorSideTop.Side = asrCenter
          Left = 33
          Hint = 'Draw color range '
          Top = 0
          Caption = 'ColorBarBtn'
          ImageIndex = 2
          OnMouseDown = ColorBarBtnMouseDown
        end
        object HideROIBtn: TToolButton
          Left = 65
          Hint = 'Briefly hide VOIs and Overlays'
          Top = 0
          Caption = 'HideROIBtn'
          ImageIndex = 3
          OnMouseDown = HideROIBtnMouseDown
          OnMouseUp = HideROIBtnMouseUp
        end
        object XBarBtn: TToolButton
          Left = 97
          Hint = 'Toggle Crosshairs'#10'right-click to change gap size'#10'right+ctrl click to change color'#10'right+alt click to change thickness'#10'right+shift to reposition origin'#10'right+ctrl+alt to adjust font size'
          Top = 0
          Caption = 'XBarBtn'
          ImageIndex = 4
          OnClick = XBarBtnClick
          OnMouseDown = XBarBtnMouseDown
          Style = tbsCheck
        end
      end
    end
    object SlicePanel: TPanel
      AnchorSideTop.Control = ControlPanel
      AnchorSideTop.Side = asrCenter
      Left = 1
      Height = 22
      Top = 8
      Width = 359
      AutoSize = True
      BevelOuter = bvNone
      ClientHeight = 22
      ClientWidth = 359
      ParentFont = False
      TabOrder = 3
      object LabelX: TLabel
        AnchorSideLeft.Control = SlicePanel
        AnchorSideTop.Control = XViewEdit
        AnchorSideTop.Side = asrCenter
        Left = 4
        Height = 16
        Top = 3
        Width = 9
        BorderSpacing.Left = 4
        Caption = 'X'
        ParentColor = False
        ParentFont = False
      end
      object LabelY: TLabel
        AnchorSideLeft.Control = XViewEdit
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = XViewEdit
        AnchorSideTop.Side = asrCenter
        Left = 103
        Height = 16
        Top = 3
        Width = 8
        BorderSpacing.Left = 6
        Caption = 'Y'
        ParentColor = False
        ParentFont = False
      end
      object LabelZ: TLabel
        AnchorSideLeft.Control = YViewEdit
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = XViewEdit
        AnchorSideTop.Side = asrCenter
        Left = 201
        Height = 16
        Top = 3
        Width = 9
        BorderSpacing.Left = 6
        Caption = 'Z'
        ParentColor = False
        ParentFont = False
      end
      object ZoomDrop: TComboBox
        AnchorSideLeft.Control = ZViewEdit
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = XViewEdit
        AnchorSideTop.Side = asrCenter
        Left = 300
        Height = 20
        Top = 1
        Width = 59
        BorderSpacing.Left = 6
        DropDownCount = 12
        ItemHeight = 26
        ItemIndex = 0
        Items.Strings = (
          'Fit'
          'Int'
          'x1'
          'x2'
          'x3'
          'x4'
          'x5'
          'x6'
          'x7'
          'x8'
          'x9'
        )
        OnChange = ZoomDropChange
        OnSelect = ZoomDropSelect
        ParentFont = False
        ParentShowHint = False
        ShowHint = True
        Style = csDropDownList
        TabOrder = 0
        Text = 'Fit'
      end
      object XViewEdit: TSpinEdit
        AnchorSideLeft.Control = LabelX
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = SlicePanel
        AnchorSideTop.Side = asrCenter
        Left = 17
        Height = 21
        Top = 1
        Width = 80
        BorderSpacing.Left = 4
        MinValue = 1
        OnChange = XViewEditChange
        ParentFont = False
        TabOrder = 1
        Value = 98
      end
      object YViewEdit: TSpinEdit
        AnchorSideLeft.Control = LabelY
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = XViewEdit
        AnchorSideTop.Side = asrCenter
        Left = 115
        Height = 21
        Top = 1
        Width = 80
        BorderSpacing.Left = 4
        MinValue = 1
        OnChange = XViewEditChange
        ParentFont = False
        TabOrder = 2
        Value = 30
      end
      object ZViewEdit: TSpinEdit
        AnchorSideLeft.Control = LabelZ
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = XViewEdit
        AnchorSideTop.Side = asrCenter
        Left = 214
        Height = 21
        Top = 1
        Width = 80
        BorderSpacing.Left = 4
        MinValue = 1
        OnChange = XViewEditChange
        ParentFont = False
        TabOrder = 3
        Value = 14
      end
    end
  end
  object MagPanel: TPanel
    Left = 0
    Height = 16
    Top = 464
    Width = 1135
    Align = alBottom
    AutoSize = True
    BevelOuter = bvNone
    ClientHeight = 16
    ClientWidth = 1135
    ParentFont = False
    TabOrder = 1
    object StatusLabel: TLabel
      Left = 0
      Height = 16
      Top = 0
      Width = 127
      Caption = '  No Images Loaded  '
      ParentColor = False
      ParentFont = False
    end
    object ProgressBar1: TProgressBar
      Left = 1023
      Height = 16
      Top = 0
      Width = 112
      Align = alRight
      BorderWidth = 1
      ParentFont = False
      TabOrder = 0
    end
  end
  object Panel1: TPanel
    Left = 0
    Height = 426
    Top = 38
    Width = 1135
    Align = alClient
    BevelOuter = bvNone
    ClientHeight = 426
    ClientWidth = 1135
    ParentFont = False
    TabOrder = 2
    object TriplePanel: TScrollBox
      Tag = 666
      Left = 0
      Height = 426
      Top = 0
      Width = 1135
      HorzScrollBar.Page = 583
      VertScrollBar.Page = 189
      Align = alClient
      AutoSize = True
      BorderStyle = bsNone
      ClientHeight = 426
      ClientWidth = 1135
      Constraints.MinWidth = 4
      Color = clBlack
      ParentColor = False
      ParentFont = False
      TabOrder = 0
      OnClick = ImgPanelClick
      OnMouseWheel = TriplePanelMouseWheel
      object PGImageCor: TImage
        Tag = 2
        Cursor = crCross
        Left = 0
        Height = 12
        Top = 0
        Width = 12
        AutoSize = True
        OnDblClick = PGImageCorDblClick
        OnMouseDown = PGImageMouseDown
        OnMouseMove = PGImageMouseMove
        OnMouseUp = PGImageMouseUp
        Stretch = True
      end
      object PGImageSag: TImage
        Tag = 3
        Cursor = crCross
        Left = 23
        Height = 12
        Top = 0
        Width = 12
        AutoSize = True
        OnDblClick = PGImageCorDblClick
        OnMouseDown = PGImageMouseDown
        OnMouseMove = PGImageMouseMove
        OnMouseUp = PGImageMouseUp
        Stretch = True
      end
      object PGImageAx: TImage
        Tag = 1
        Cursor = crCross
        Left = 571
        Height = 12
        Top = 177
        Width = 12
        AutoSize = True
        OnDblClick = PGImageCorDblClick
        OnMouseDown = PGImageMouseDown
        OnMouseMove = PGImageMouseMove
        OnMouseUp = PGImageMouseUp
        Stretch = True
      end
    end
  end
  object MainMenu1: TMainMenu
    left = 152
    top = 128
    object AppleMenu: TMenuItem
      Caption = ''
      Visible = False
      object MenuItem3: TMenuItem
        Caption = 'Preferences'
        OnClick = Preferences1Click
      end
    end
    object File1: TMenuItem
      Caption = '&File'
      object NewWindow1: TMenuItem
        Caption = 'New window'
        Visible = False
        OnClick = NewWindow1Click
      end
      object Open1: TMenuItem
        Caption = '&Open'
        ShortCut = 16463
        OnClick = Open1Click
      end
      object Recent1: TMenuItem
        Caption = 'Open &recent'
      end
      object Templates1: TMenuItem
        Caption = 'Open &templates'
      end
      object CloseImages: TMenuItem
        Caption = '&Close images'
        OnClick = CloseImagesClick
      end
      object SaveasNIfTI1: TMenuItem
        Caption = 'Save as NIfTI...'
        ShortCut = 49235
        OnClick = SaveasNIfTI1Click
      end
      object Saveaspicture1: TMenuItem
        Caption = '&Save as bitmap'
        ShortCut = 16467
        OnClick = Saveaspicture1Click
      end
      object Exit1: TMenuItem
        Caption = 'E&xit'
        OnClick = Exit1Click
      end
    end
    object Edit1: TMenuItem
      Caption = '&Edit'
      object Copy1: TMenuItem
        Caption = 'Copy'
        ShortCut = 16451
        OnClick = Copy1Click
      end
      object Paste1: TMenuItem
        Caption = 'Paste'
        ShortCut = 16470
        OnClick = Paste1Click
      end
      object Undo1: TMenuItem
        Caption = 'Undo'
        ShortCut = 16474
        OnClick = Undo1Click
      end
    end
    object ImportMenu: TMenuItem
      Caption = 'Import'
      object dcm2niiMenu: TMenuItem
        Caption = 'Convert DICOM to NIfTI'
        OnClick = dcm2niiMenuClick
      end
    end
    object OverlayMenu: TMenuItem
      Caption = '&Overlay'
      object OverlayOpen: TMenuItem
        Caption = 'Add'
        ShortCut = 16449
        OnClick = OverlayOpenClick
      end
      object CloseOverlayImg: TMenuItem
        Caption = 'Close overlays'
        OnClick = CloseOverlayImgClick
      end
      object BGTransPctMenu: TMenuItem
        Caption = 'Transparency on background'
        object BGtrans0: TMenuItem
          Caption = '0% opaque'
          Checked = True
          GroupIndex = 251
          RadioItem = True
          OnClick = BGtrans100Click
        end
        object BGtrans20: TMenuItem
          Tag = 20
          Caption = '20%'
          GroupIndex = 251
          RadioItem = True
          OnClick = BGtrans100Click
        end
        object BGtrans40: TMenuItem
          Tag = 40
          Caption = '40%'
          GroupIndex = 251
          RadioItem = True
          OnClick = BGtrans100Click
        end
        object BGtrans50: TMenuItem
          Tag = 50
          Caption = '50%'
          GroupIndex = 251
          RadioItem = True
          OnClick = BGtrans100Click
        end
        object BGtrans60: TMenuItem
          Tag = 60
          Caption = '60%'
          GroupIndex = 251
          RadioItem = True
          OnClick = BGtrans100Click
        end
        object BGtrans80: TMenuItem
          Tag = 80
          Caption = '80%'
          GroupIndex = 251
          RadioItem = True
          OnClick = BGtrans100Click
        end
        object BGtrans100: TMenuItem
          Tag = 100
          Caption = '100% transparent'
          GroupIndex = 251
          RadioItem = True
          OnClick = BGtrans100Click
        end
        object BGAdditive: TMenuItem
          Tag = -1
          Caption = 'Additive'
          GroupIndex = 251
          RadioItem = True
          OnClick = BGtrans100Click
        end
      end
      object OverlayTransPctMenu: TMenuItem
        Caption = 'Transparency on other overlays'
        object N0opaque1: TMenuItem
          Caption = '0% opaque'
          GroupIndex = 253
          RadioItem = True
          OnClick = OverlayTransClick
        end
        object N201: TMenuItem
          Tag = 20
          Caption = '20%'
          GroupIndex = 253
          RadioItem = True
          OnClick = OverlayTransClick
        end
        object N401: TMenuItem
          Tag = 40
          Caption = '40%'
          GroupIndex = 253
          RadioItem = True
          OnClick = OverlayTransClick
        end
        object N501: TMenuItem
          Tag = 50
          Caption = '50%'
          GroupIndex = 253
          RadioItem = True
          OnClick = OverlayTransClick
        end
        object N601: TMenuItem
          Tag = 60
          Caption = '60%'
          GroupIndex = 253
          RadioItem = True
          OnClick = OverlayTransClick
        end
        object N801: TMenuItem
          Tag = 80
          Caption = '80%'
          GroupIndex = 253
          RadioItem = True
          OnClick = OverlayTransClick
        end
        object N100transparent1: TMenuItem
          Tag = 100
          Caption = '100% transparent'
          GroupIndex = 253
          RadioItem = True
          OnClick = OverlayTransClick
        end
        object OverlayAdditive: TMenuItem
          Tag = -1
          Caption = 'Additive'
          Checked = True
          GroupIndex = 253
          RadioItem = True
          OnClick = OverlayTransClick
        end
      end
      object LayerMenu: TMenuItem
        Caption = 'Layer color'
        Visible = False
        object Noneopen1: TMenuItem
          Caption = 'None open'
        end
      end
      object Layerrange1: TMenuItem
        Caption = 'Layer intensity'
        Visible = False
        object Noneopen2: TMenuItem
          Caption = 'None open'
        end
      end
    end
    object DrawMenu: TMenuItem
      Caption = '&Draw'
      object HideDrawMenuItem: TMenuItem
        Caption = 'Hide drawing tools'
        OnClick = ToggleDrawMenu
      end
      object OpenVOI: TMenuItem
        Caption = 'Open VOI...'
        OnClick = OpenVOIClick
      end
      object SaveVOI: TMenuItem
        Caption = 'Save VOI...'
        OnClick = SaveVOIClick
      end
      object CloseVOI: TMenuItem
        Caption = 'Close VOI...'
        OnClick = CloseVOIClick
      end
      object VOIColor: TMenuItem
        Caption = 'VOI color...'
        OnClick = VOIColorClick
      end
      object Applyintensityfiltertovolume1: TMenuItem
        Caption = 'Intensity filter...'
        ShortCut = 16454
        OnClick = Applyintensityfiltertovolume1Click
      end
      object SmoothVOI1: TMenuItem
        Caption = 'Smooth VOI...'
        OnClick = SmoothVOI1Click
      end
      object MaskimagewithVOI1: TMenuItem
        Caption = 'Mask image with VOI'
        object VOImaskDelete: TMenuItem
          Caption = 'Delete regions with VOI'
          OnClick = VOImaskClick
        end
        object VOImaskPreserve: TMenuItem
          Tag = 1
          Caption = 'Preserve regions with VOI'
          OnClick = VOImaskClick
        end
        object VOImaskCustom: TMenuItem
          Tag = 2
          Caption = 'Change regions with VOI to custom intensity'
          OnClick = VOImaskClick
        end
      end
      object Overlaycomparisons1: TMenuItem
        Caption = 'Overlay comparisons'
        object IntersectionmutualtoVOIandoverlays1: TMenuItem
          Caption = 'Intersection [VOI and overlays]'
          OnClick = ROIcomparisonClick
        end
        object UnionVOIoroverlays1: TMenuItem
          Tag = 1
          Caption = 'Union [VOI or overlays]'
          OnClick = ROIcomparisonClick
        end
        object MaskVOIbutnotoverlays1: TMenuItem
          Tag = 2
          Caption = 'Mask [VOI but not overlays]'
          OnClick = ROIcomparisonClick
        end
      end
      object Statistics1: TMenuItem
        Caption = 'Statistics'
        object Beta1: TMenuItem
          Caption = 'Create overlap images'
          OnClick = CreateOverlap
        end
        object Chisquare1: TMenuItem
          Caption = 'Subtraction Plots'
          OnClick = Chisquare1Click
        end
        object BatchROImean1: TMenuItem
          Caption = 'Batch descriptives'
          OnClick = BatchROImean1Click
        end
        object Batchprobmaps1: TMenuItem
          Caption = 'Batch prob maps'
          OnClick = Batchprobmaps1Click
        end
        object Batchclusterprobmaps1Batchclusterprobmaps1Click: TMenuItem
          Caption = 'Batch cluster prob maps'
          OnClick = Batchclusterprobmaps1Batchclusterprobmaps1ClickClick
        end
      end
      object Convert1: TMenuItem
        Caption = 'Convert'
        object ROIVOI1: TMenuItem
          Caption = 'ROI -> VOI'
          OnClick = ROIVOI1Click
        end
        object VOI2NII: TMenuItem
          Caption = 'VOI -> NII'
          OnClick = VOI2NIIClick
        end
        object NIIVOI: TMenuItem
          Caption = 'NII -> VOI'
          OnClick = NIIVOIClick
        end
      end
      object Nudge1: TMenuItem
        Caption = 'Nudge'
        object Left1: TMenuItem
          Caption = 'Left'
          ShortCut = 24652
          OnClick = Left1Click
        end
        object Right1: TMenuItem
          Tag = 1
          Caption = 'Right'
          ShortCut = 24658
          OnClick = Left1Click
        end
        object Posterior1: TMenuItem
          Tag = 2
          Caption = 'Posterior'
          ShortCut = 24656
          OnClick = Left1Click
        end
        object Anterior1: TMenuItem
          Tag = 3
          Caption = 'Anterior'
          ShortCut = 24641
          OnClick = Left1Click
        end
        object Inferior1: TMenuItem
          Tag = 4
          Caption = 'Inferior'
          ShortCutKey2 = 24649
          OnClick = Left1Click
        end
        object Superior1: TMenuItem
          Tag = 5
          Caption = 'Superior'
          ShortCutKey2 = 24659
          OnClick = Left1Click
        end
      end
      object n5: TMenuItem
        Caption = 'Advanced'
        object RescaleMenu: TMenuItem
          Caption = 'Phase to rad/S'
          OnClick = RescaleMenuClick
        end
        object BrainExtraction1: TMenuItem
          Caption = 'Brain extraction'
          OnClick = BETmenuClick
        end
        object CropEdges1: TMenuItem
          Caption = 'Crop edges'
          OnClick = CropMenuClick
        end
        object Brainmask1: TMenuItem
          Caption = 'Brain mask '
          OnClick = BrainMask1Click
        end
        object GenerateSPM5maskslesions1: TMenuItem
          Caption = 'Create SPM5 mask'
          OnClick = GenerateSPM5maskslesions1Click
        end
        object Interpolate1: TMenuItem
          Caption = 'Interpolate VOI between slices'
          OnClick = Interpolate1Click
        end
        object LRFlip1: TMenuItem
          Caption = 'LR Flip'
          OnClick = MirrorNII1Click
        end
        object ApplyClusterThreshold1: TMenuItem
          Caption = 'Apply cluster threshold'
          OnClick = ApplyClusterThreshold1Click
        end
        object ExportasRGBAnalyzeimage1: TMenuItem
          Caption = 'Export as RGB image'
          OnClick = ExportasRGBAnalyzeimage1Click
        end
        object Resliceimage1: TMenuItem
          Caption = 'Reslice images'
          OnClick = Resliceimage1Click
        end
        object AdjustimagessoVOIintensityiszero1: TMenuItem
          Caption = 'Adjust images so VOI intensity is zero'
          OnClick = AdjustimagessoVOIintensityiszero1Click
        end
        object Extract1: TMenuItem
          Caption = 'Extract objects'
          OnClick = Extract1Click
        end
        object DilateVOI1: TMenuItem
          Caption = 'Dilate drawing'
          OnClick = DilateVOI1Click
        end
        object DilateShellsMenu1: TMenuItem
          Tag = 1
          Caption = 'Dilate concentric shells'
          Hint = 'Recursively expand drawing'
          OnClick = DilateVOI1Click
        end
      end
      object DescriptiveMenuItem: TMenuItem
        Caption = 'Descriptive'
        OnClick = DescriptiveMenuItemClick
      end
      object N1: TMenuItem
        Caption = '-'
      end
      object Pen1: TMenuItem
        Tag = 2
        Caption = 'Pen'
        ShortCut = 112
        OnClick = ToolSelectClick
      end
      object Penautoclose1: TMenuItem
        Tag = 3
        Caption = 'Autoclose pen'
        ShortCut = 113
        OnClick = ToolSelectClick
      end
      object CircleSquare1: TMenuItem
        Tag = 4
        Caption = 'Fill'
        ShortCut = 114
        OnClick = ToolSelectClick
      end
      object Circle2: TMenuItem
        Tag = 5
        Caption = 'Circle'
        ShortCut = 115
        OnClick = ToolSelectClick
      end
      object Circle1: TMenuItem
        Tag = 6
        Caption = 'Deselect tools'
        ShortCut = 116
        OnClick = ToolSelectClick
      end
    end
    object DrawHiddenMenu: TMenuItem
      Caption = 'Draw'
      Visible = False
      object MenuItem2: TMenuItem
        Caption = 'Show drawing tools'
        OnClick = ToggleDrawMenu
      end
    end
    object Controls1: TMenuItem
      Caption = '&View'
      object Display2: TMenuItem
        Tag = 2
        Caption = 'Display'
        object Axial1: TMenuItem
          Tag = 1
          AutoCheck = True
          Caption = 'Axial'
          GroupIndex = 234
          RadioItem = True
          ShortCut = 65
          OnClick = Sagittal1Click
        end
        object Coronal1: TMenuItem
          Tag = 3
          AutoCheck = True
          Caption = 'Coronal'
          GroupIndex = 234
          RadioItem = True
          ShortCut = 67
          OnClick = Sagittal1Click
        end
        object Sagittal1: TMenuItem
          Tag = 2
          AutoCheck = True
          Caption = 'Sagittal'
          GroupIndex = 234
          RadioItem = True
          ShortCut = 83
          OnClick = Sagittal1Click
        end
        object Multiple1: TMenuItem
          AutoCheck = True
          Caption = 'Multiple'
          Checked = True
          GroupIndex = 234
          RadioItem = True
          ShortCut = 77
          OnClick = Sagittal1Click
        end
        object Axial2: TMenuItem
          Tag = -1
          AutoCheck = True
          Caption = 'Axial only'
          GroupIndex = 234
          RadioItem = True
          OnClick = Sagittal1Click
        end
        object Coronal2: TMenuItem
          Tag = -3
          AutoCheck = True
          Caption = 'Coronal only'
          GroupIndex = 234
          RadioItem = True
          OnClick = Sagittal1Click
        end
        object Sagittal2: TMenuItem
          Tag = -2
          AutoCheck = True
          Caption = 'Sagittal only'
          GroupIndex = 234
          RadioItem = True
          OnClick = Sagittal1Click
        end
      end
      object N3: TMenuItem
        Caption = '-'
      end
      object Quicksmooth1: TMenuItem
        Caption = '3D Smooth background'
        OnClick = Quicksmooth1Click
      end
      object OverlaySmoothMenu: TMenuItem
        Caption = '3D Smooth overlays'
        OnClick = OverlaySmoothMenuClick
      end
      object Menu2DSmooth: TMenuItem
        Caption = '2D Smooth all'
        Checked = True
        OnClick = Menu2DSmoothClick
      end
      object N4: TMenuItem
        Caption = '-'
      end
      object FlipLRmenu: TMenuItem
        Caption = 'Flip L/R'
        OnClick = FlipLRmenuClick
      end
      object YokeMenu: TMenuItem
        Caption = 'Yoke'
        ShortCut = 16473
        OnClick = YokeMenuClick
      end
      object N2: TMenuItem
        Caption = '-'
      end
      object MagnifyMenuItem: TMenuItem
        Caption = 'Magnify'
        OnClick = MagnifyMenuItemClick
      end
      object Crosshair1: TMenuItem
        Caption = 'Crosshair'
        OnClick = ToolSelectClick
      end
      object MenuItem1: TMenuItem
        Caption = '-'
      end
      object MNIMenu: TMenuItem
        Caption = 'MNI coordinates'
        OnClick = MNIMenuClick
      end
      object Landmarks1: TMenuItem
        Caption = 'Landmarks'
        OnClick = Landmarks1Click
      end
    end
    object Display1: TMenuItem
      Caption = 'Window'
      object ShowRender: TMenuItem
        Caption = 'Render'
        ShortCut = 16466
        OnClick = ShowRenderClick
      end
      object ShowMultislice: TMenuItem
        Caption = 'Multislice'
        ShortCut = 16461
        OnClick = ShowMultisliceClick
      end
      object HistoMenu: TMenuItem
        Caption = 'Histogram'
        ShortCut = 16456
        OnClick = HistoMenuClick
      end
      object N4DTraces1: TMenuItem
        Caption = '4D Traces'
        ShortCut = 16452
        OnClick = N4DTraces1Click
      end
      object Header1: TMenuItem
        Caption = 'Information'
        ShortCut = 16457
        OnClick = Header1Click
      end
    end
    object Help1: TMenuItem
      Caption = '&Help'
      object Preferences1: TMenuItem
        Caption = 'Preferences...'
        OnClick = Preferences1Click
      end
      object CheckUpdatesMenu: TMenuItem
        Caption = 'Check for updates'
        OnClick = CheckForUpdates
      end
      object About1: TMenuItem
        Caption = 'About'
        OnClick = About1Click
      end
    end
  end
  object SaveDialog1: TSaveDialog
    FilterIndex = 0
    left = 40
    top = 104
  end
  object ColorDialog1: TColorDialog
    Color = clBlack
    CustomColors.Strings = (
      'ColorA=000000'
      'ColorB=000080'
      'ColorC=008000'
      'ColorD=008080'
      'ColorE=800000'
      'ColorF=800080'
      'ColorG=808000'
      'ColorH=808080'
      'ColorI=C0C0C0'
      'ColorJ=0000FF'
      'ColorK=00FF00'
      'ColorL=00FFFF'
      'ColorM=FF0000'
      'ColorN=FF00FF'
      'ColorO=FFFF00'
      'ColorP=FFFFFF'
      'ColorQ=C0DCC0'
      'ColorR=F0CAA6'
      'ColorS=F0FBFF'
      'ColorT=A4A0A0'
    )
    left = 50
    top = 212
  end
  object RefreshImagesTimer: TTimer
    Enabled = False
    Interval = 20
    OnTimer = RefreshImagesTimerTimer
    left = 82
    top = 212
  end
  object RescaleImagesTimer: TTimer
    Enabled = False
    Interval = 50
    OnTimer = RescaleImagesTimerTimer
    left = 178
    top = 212
  end
  object YokeTimer: TTimer
    Enabled = False
    Interval = 200
    OnTimer = YokeTimerTimer
    left = 280
    top = 264
  end
  object ImageList1: TImageList
    Scaled = True
    OnGetWidthForPPI = GetWidthForPPI
    left = 944
    top = 24
    Bitmap = {
[encoded data, 27264 characters]
      604F0000807A0000807A0000402A
    }
    BitmapAdv = {
[encoded data, 41677 characters]
      1970FDAB7AB9F2F57F6152AAD1
    }
  end
  object OpenHdrDlg: TOpenDialog
    left = 253
    top = 107
  end
end
