Window imgT_panel() : Panel PauseUpdate; Silent 1 // building window... NewPanel/HOST=#/EXT=0/W=(0,0,415,540) as "Image Tools Panel" ModifyPanel noEdit=1 DefaultGuiFont/W=#/Mac panel={"_IgorMedium",12,0},all={"_IgorSmall",10,0} DefaultGuiFont/W=#/Mac button={"_IgorMedium",12,0} DefaultGuiFont/W=#/Mac tabcontrol={"_IgorMedium",14,0} SetDrawLayer UserBack SetDrawEnv fsize= 9 DrawText 375,15,"v: 4.00" SetDrawEnv linefgc= (30583,30583,30583),dash= 2 DrawLine 0,136,415,136 TabControl tab_main,pos={0.00,340.00},size={415.00,200.00},proc=X_TabProc TabControl tab_main,userdata(ptab)="0",tabLabel(0)="Load" TabControl tab_main,tabLabel(1)="Calibrate",tabLabel(2)="Process" TabControl tab_main,tabLabel(3)="Publish",value=0 TitleBox layout_tab3,pos={12.00,370.00},size={84.00,22.00},disable=1 TitleBox layout_tab3,title="Image",fSize=16,frame=0,fStyle=1 CheckBox checkShowAxes_tab3,pos={20.00,394.00},size={20.00,20.00},disable=1,proc=X_CheckProc CheckBox checkShowAxes_tab3,title="Axes",help={"Show or hide axes on image."} CheckBox checkShowAxes_tab3,value=1 PopupMenu popupScaleBar_tab3,pos={80.00,392.00},size={80.00,20.00},disable=1,proc=X_PopMenuProc PopupMenu popupScaleBar_tab3,title="Scale Bar" PopupMenu popupScaleBar_tab3,mode=1,popvalue="None",value=#"\u005c"None;manual;⎡;⎣;⎤;⎦;\u005c"" PopupMenu popupSBColor_tab3,pos={210.00,392.00},size={50.00,20.00},disable=1,proc=X_PopMenuProc PopupMenu popupSBColor_tab3,title="Color" PopupMenu popupSBColor_tab3,mode=1,popColor=(0,0,0),value=#"\u005c"*COLORPOP*\u005c"" Button buttonRedoColor_tab3,pos={355.00,386.00},size={50.00,25.00},disable=1,proc=X_ButtonProc Button buttonRedoColor_tab3,title="Refresh",fSize=10 SetVariable setvarSBx_tab3,pos={60.00,414.00},size={80.00,20.00},disable=1,proc=X_SetVarProc SetVariable setvarSBx_tab3,title="x",format="%3.1f" SetVariable setvarSBx_tab3,value=root:Packages:imgT:scalewx[0] SetVariable setvarSBy_tab3,pos={160.00,414.00},size={80.00,20.00},disable=1,proc=X_SetVarProc SetVariable setvarSBy_tab3,title="y",format="%3.1f" SetVariable setvarSBy_tab3,value=root:Packages:imgT:scalewy[0] TitleBox cprint_tab3,pos={12.00,450.00},size={84.00,22.00},disable=1 TitleBox cprint_tab3,title="Layout",fSize=16,frame=0,fStyle=1 ValDisplay valdispccp_tab3,pos={210.00,454.00},size={100.00,20.00},disable=1 ValDisplay valdispccp_tab3,title="prints for layout" ValDisplay valdispccp_tab3,limits={0,0,0},barmisc={0,1000},value=_NUM:0 Button buttonClearAll_tab3,pos={325.00,450.00},size={80.00,22.00},disable=1,proc=X_ButtonProc Button buttonClearAll_tab3,title="Clear List" CheckBox checkCP_tab3,pos={20.00,478.00},size={20.00,20.00},disable=1,proc=X_CheckProc CheckBox checkCP_tab3,title="include(d)" CheckBox checkCP_tab3,help={"Include this image for the layout.\u005crOr marked as included."} CheckBox checkCP_tab3,fSize=14,value=0 CheckBox checkdynamic_tab3,pos={120.00,478.00},size={20.00,20.00},disable=1,proc=X_CheckProc CheckBox checkdynamic_tab3,title="dynamic" CheckBox checkdynamic_tab3,help={"Update images as best possible with any changes.\u005crOtherwise images are set and locked when added."} CheckBox checkdynamic_tab3,value=1 CheckBox checkwithtag_tab3,pos={275.00,478.00},size={20.00,20.00},disable=1,proc=X_CheckProc CheckBox checkwithtag_tab3,title="as contact print" CheckBox checkwithtag_tab3,help={"Contact print layout includes tags and notes.\u005crOtherwise layout shows just images."} CheckBox checkwithtag_tab3,value=0 SetVariable setvarCPNote_tab3,pos={12.00,503.00},size={240.00,20.00},disable=1 SetVariable setvarCPNote_tab3,title="Notes" SetVariable setvarCPNote_tab3,help={"Put a note on the contact print layout."} SetVariable setvarCPNote_tab3,value=_STR:"" Button buttonDoCPrint_tab3,pos={275.00,498.00},size={110.00,25.00},disable=1,proc=X_ButtonProc Button buttonDoCPrint_tab3,title="Make Layout" PopupMenu popupProcess_tab20,pos={12.00,370.00},size={100.00,23.00},disable=1,proc=X_PopMenuProc PopupMenu popupProcess_tab20,title="How",fSize=16,fStyle=1 PopupMenu popupProcess_tab20,mode=1,popvalue="Remove Background",value=#"f_ProcTabOptions()" PopupMenu popupBckonStack_tab21,pos={305.00,370.00},size={100.00,23.00},disable=1 PopupMenu popupBckonStack_tab21,mode=1,popvalue="This Layer",value=#"\u005c"This Layer;Each Layer;All Layers;\u005c"" PopupMenu popupBckgHow_tab21,pos={20.00,394.00},size={125.00,25.00},disable=1,proc=X_PopMenuProc PopupMenu popupBckgHow_tab21,title="Background Points" PopupMenu popupBckgHow_tab21,help={"Set points manually. Set points with a grid."} PopupMenu popupBckgHow_tab21,mode=1,popvalue="Set Manually",value=#"f_BckGridOptions()" PopupMenu popupBckgPntColor_tab21,pos={340.00,392.00},size={50.00,20.00},disable=1,proc=X_PopMenuProc PopupMenu popupBckgPntColor_tab21,mode=1,popColor=(65535,0,0),value=#"\u005c"*COLORPOP*\u005c"" SetVariable setvarbckgx_tab21,pos={100.00,418.00},size={55.00,25.00},disable=1,proc=X_SetVarProc SetVariable setvarbckgx_tab21,title="N\u005c\u005cBx",limits={4,40,1},value=_NUM:4 SetVariable setvarbckgy_tab21,pos={180.00,418.00},size={55.00,25.00},disable=1,proc=X_SetVarProc SetVariable setvarbckgy_tab21,title="N\u005c\u005cBy",limits={4,40,1},value=_NUM:4 SetVariable setvarbckgmargin_tab21,pos={260.00,418.00},size={85.00,25.00},disable=1,proc=X_SetVarProc SetVariable setvarbckgmargin_tab21,title="margin" SetVariable setvarbckgmargin_tab21,help={"Margins for grid. Fraction of image size."} SetVariable setvarbckgmargin_tab21,limits={0.01,1,0.01},value=_NUM:0.01 Button buttonsetbckgrnd_tab21,pos={115.00,442.00},size={50.00,20.00},disable=1,proc=X_ButtonProc Button buttonsetbckgrnd_tab21,title="Set",userdata="start" Button buttoneditbckpoints_tab21,pos={170.00,442.00},size={40.00,20.00},disable=1,proc=X_ButtonProc Button buttoneditbckpoints_tab21,title="Edit" Button buttonclearbckpoints_tab21,pos={220.00,442.00},size={40.00,20.00},disable=1,proc=X_ButtonProc Button buttonclearbckpoints_tab21,title="Clear" Button buttonrestorebckpoints_tab21,pos={270.00,442.00},size={60.00,20.00},disable=1,proc=X_ButtonProc Button buttonrestorebckpoints_tab21,title="Restore" SetVariable setvarplorder_tab21,pos={20.00,472.00},size={110.00,25.00},disable=1,proc=X_SetVarProc SetVariable setvarplorder_tab21,title="Plane Order",fSize=12 SetVariable setvarplorder_tab21,limits={0,4,1},value=_NUM:1 PopupMenu popupBckNegs_tab21,pos={170.00,472.00},size={100.00,25.00},disable=1 PopupMenu popupBckNegs_tab21,title="Handle (-)?" PopupMenu popupBckNegs_tab21,help={"How should the subtraction handle negative values?"} PopupMenu popupBckNegs_tab21,mode=1,popvalue="Offset Lowest to Zero",value=#"\u005c"Offset Lowest to Zero;Allow;Zero Out;\u005c"" Button buttonRemoveBckg_tab21,pos={330.00,503.00},size={75.00,25.00},disable=1,proc=X_ButtonProc Button buttonRemoveBckg_tab21,title="Remove" PopupMenu popupThresOnPlane_tab22,pos={305.00,370.00},size={100.00,23.00},disable=1,proc=X_PopMenuProc PopupMenu popupThresOnPlane_tab22,mode=1,popvalue="This Layer",value=#"\u005c"This Layer;Each Layer;All Layers;\u005c"" PopupMenu popupThresMethod_tab22,pos={20.00,394.00},size={124.00,25.00},disable=1,proc=X_PopMenuProc PopupMenu popupThresMethod_tab22,title="Method" PopupMenu popupThresMethod_tab22,mode=1,popvalue="Manual",value=#"\u005c"Manual;Iterative;Bimodal;Adaptive;Fuzzy;Fuzzy+;Cluster;Otsu;Range;\u005c"" SetVariable setvarThresLevel_tab22,pos={160.00,394.00},size={100.00,25.00},disable=1,proc=X_SetVarProc SetVariable setvarThresLevel_tab22,title="Level",format="%6.3g" SetVariable setvarThresLevel_tab22,limits={0,inf,1},value=_NUM:0 SetVariable setvarThresRange_tab22,pos={270.00,394.00},size={90.00,25.00},disable=1,proc=X_SetVarProc SetVariable setvarThresRange_tab22,title="Range",format="%6.3g" SetVariable setvarThresRange_tab22,limits={0,inf,1},value=_NUM:0 CheckBox checkAutoThreshold_tab22,pos={385.00,394.00},size={25.00,25.00},disable=1,proc=X_CheckProc CheckBox checkAutoThreshold_tab22,title="!",value=0 PopupMenu popupThRoI_tab22,pos={20.00,424.00},size={120.00,23.00},disable=1,proc=X_PopMenuProc PopupMenu popupThRoI_tab22,title="RoI" PopupMenu popupThRoI_tab22,help={"Choose a region of interest to optimize the threshold calculations."} PopupMenu popupThRoI_tab22,mode=1,popvalue="All",value=#"f_ThRoIs()" PopupMenu popupThMaskVal_tab22,pos={180.00,424.00},size={80.00,23.00},disable=1 PopupMenu popupThMaskVal_tab22,title="Mask Value @" PopupMenu popupThMaskVal_tab22,help={"Set the value for the regions outside\u005crthe threshold as zero, unchanged, or NaN."} PopupMenu popupThMaskVal_tab22,mode=1,popvalue="0",value=#"\u005c"0;-;NaN;\u005c"" Button buttonFillThreshold_tab22,pos={130.00,503.00},size={75.00,25.00},disable=1,proc=X_ButtonProc Button buttonFillThreshold_tab22,title="Fill" Button buttonShowThStats_tab22,pos={215.00,503.00},size={90.00,25.00},disable=1,proc=X_ButtonProc Button buttonShowThStats_tab22,title="Show Stats" Button buttonDoThreshold_tab22,pos={330.00,503.00},size={75.00,25.00},disable=1,proc=X_ButtonProc Button buttonDoThreshold_tab22,title="Apply" PopupMenu popupMaskOPHow_tab23,pos={20.00,394.00},size={120.00,23.00},disable=1,proc=X_PopMenuProc PopupMenu popupMaskOPHow_tab23,title="RoI" PopupMenu popupMaskOPHow_tab23,mode=1,popvalue="Use Drawing Tools",value=#"f_LoMaskOptions()" Button buttonstartRoIMask_tab23,pos={220.00,394.00},size={40.00,20.00},disable=1,proc=X_ButtonProc Button buttonstartRoIMask_tab23,title="Start" Button buttonstartRoIMask_tab23,help={"Start using the drawing tools."} Button buttonstartRoIMask_tab23,userdata="start" Button buttonstopRoIMask_tab23,pos={270.00,394.00},size={40.00,20.00},disable=1,proc=X_ButtonProc Button buttonstopRoIMask_tab23,title="Stop" Button buttonstopRoIMask_tab23,help={"Stop using the drawing tools."} Button buttonstopRoIMask_tab23,userdata="stop" Button buttonclearRoIMask_tab23,pos={320.00,394.00},size={40.00,20.00},disable=1,proc=X_ButtonProc Button buttonclearRoIMask_tab23,title="Clear" PopupMenu popupMaskOPLevel_tab23,pos={20.00,424.00},size={120.00,23.00},disable=1,proc=X_PopMenuProc PopupMenu popupMaskOPLevel_tab23,title="Set Outside RoI" PopupMenu popupMaskOPLevel_tab23,mode=1,popvalue="At Value",value=#"f_LoMaskLevels()" SetVariable setvarMaskOPLevel_tab23,pos={240.00,424.00},size={60.00,25.00},disable=1 SetVariable setvarMaskOPLevel_tab23,value=_NUM:0 Button buttonDoMaskOP_tab23,pos={330.00,503.00},size={75.00,25.00},disable=1,proc=X_ButtonProc Button buttonDoMaskOP_tab23,title="Apply" PopupMenu popupMaSHow_tab24,pos={20.00,400.00},size={125.00,25.00},disable=1,proc=X_PopMenuProc PopupMenu popupMaSHow_tab24,title="Operation" PopupMenu popupMaSHow_tab24,help={"Set the operation to perform on the stack."} PopupMenu popupMaSHow_tab24,mode=1,popvalue="Average + Std Uncertainty",value=#"f_MaSOptions()" PopupMenu popupMaSNegs_tab24,pos={170.00,472.00},size={100.00,25.00},disable=1 PopupMenu popupMaSNegs_tab24,title="Handle (-)?" PopupMenu popupMaSNegs_tab24,help={"How should the math operations handle negative values?"} PopupMenu popupMaSNegs_tab24,mode=1,popvalue="Offset Lowest to Zero",value=#"\u005c"Offset Lowest to Zero;Allow;Zero Out;\u005c"" Button buttonDoMaS_tab24,pos={330.00,503.00},size={75.00,25.00},disable=1,proc=X_ButtonProc Button buttonDoMaS_tab24,title="Apply" PopupMenu popupSpMaHow_tab25,pos={20.00,400.00},size={125.00,25.00},disable=1,proc=X_PopMenuProc PopupMenu popupSpMaHow_tab25,title="Left (?) Right" PopupMenu popupSpMaHow_tab25,help={"Set the operation to perform on the split view."} PopupMenu popupSpMaHow_tab25,mode=1,popvalue="Add (+)",value=#"f_SpMaOptions()" PopupMenu popupSpMaOnPlane_tab25,pos={200.00,400.00},size={100.00,23.00},disable=1,proc=X_PopMenuProc PopupMenu popupSpMaOnPlane_tab25,title="on layer(s)" PopupMenu popupSpMaOnPlane_tab25,help={"Only on displayed.\u005crUse Right as base on all Left layers.\u005crDo each Left to each Right."} PopupMenu popupSpMaOnPlane_tab25,mode=1,popvalue="Displayed Only",value=#"\u005c"Displayed Only;All Left, This Right;\u005c\u005c\u005c\u005cM1(Each to Each;\u005c"" SetVariable setvarSpMaEQN_tab25,pos={20.00,430.00},size={300.00,25.00},disable=1 SetVariable setvarSpMaEQN_tab25,help={"Enter equation using L - left and R - right."} SetVariable setvarSpMaEQN_tab25,value=_STR:"" PopupMenu popupSpMaNegs_tab25,pos={170.00,472.00},size={100.00,25.00},disable=1 PopupMenu popupSpMaNegs_tab25,title="Handle (-)?" PopupMenu popupSpMaNegs_tab25,help={"How should the math operations handle negative values?"} PopupMenu popupSpMaNegs_tab25,mode=1,popvalue="Offset Lowest to Zero",value=#"\u005c"Offset Lowest to Zero;Allow;Zero Out;\u005c"" Button buttonDoSpMa_tab25,pos={330.00,497.00},size={75.00,25.00},disable=1,proc=X_ButtonProc Button buttonDoSpMa_tab25,title="Apply" PopupMenu popupCroponStack_tab26,pos={305.00,370.00},size={100.00,23.00},disable=1 PopupMenu popupCroponStack_tab26,mode=1,popvalue="This Layer",value=#"\u005c"This Layer;Each Layer;All Layers;\u005c"" PopupMenu popupCropHow_tab26,pos={20.00,394.00},size={125.00,25.00},disable=1,proc=X_PopMenuProc PopupMenu popupCropHow_tab26,title="How to Crop",help={"Crop using marquee."} PopupMenu popupCropHow_tab26,mode=1,popvalue="To Image Pixel Readings",value=#"f_CropOptions()" CheckBox checkresetscale_tab26,pos={22.00,418.00},size={76.00,16.00},disable=1 CheckBox checkresetscale_tab26,title="set (left,top) = (0,0)" CheckBox checkresetscale_tab26,help={"Reset the image offset to (0,0)."},value=1 Button buttonCropIt_tab26,pos={330.00,503.00},size={75.00,25.00},disable=1,proc=X_ButtonProc Button buttonCropIt_tab26,title="Crop" TitleBox calxy_tab1,pos={12.00,370.00},size={84.00,22.00},disable=1 TitleBox calxy_tab1,title="XY Scale",fSize=16,frame=0,fStyle=1 Button buttonclearlocalscale_tab1,pos={135.00,370.00},size={86.00,16.00},disable=1,proc=X_ButtonProc Button buttonclearlocalscale_tab1,title="Clear Local" Button buttonclearlocalscale_tab1,help={"Clears local scale settings if they exist."} Button buttonclearglobalscale_tab1,pos={235.00,370.00},size={86.00,16.00},disable=1,proc=X_ButtonProc Button buttonclearglobalscale_tab1,title="Clear Global" Button buttonclearglobalscale_tab1,help={"Clears global scale settings if they exist."} PopupMenu popupmethodxy_tab1,pos={20.00,394.00},size={113.00,23.00},disable=1,proc=X_PopMenuProc PopupMenu popupmethodxy_tab1,title="How" PopupMenu popupmethodxy_tab1,help={"Define how the calibration scale should be applied.\u005crSettings are meters [m]."} PopupMenu popupmethodxy_tab1,mode=1,popvalue="pixel size",value=#"\u005c"pixel size;image width;image height;\u005c"" SetVariable psizem_tab1,pos={161.00,394.00},size={83.00,16.00},disable=1 SetVariable psizem_tab1,title="[m]",help={"Value in meters [m]."},format="%1.3f" SetVariable psizem_tab1,limits={0.1,10,0.1},value=_NUM:1 SetVariable psizelm_tab1,pos={252.00,391.00},size={70.00,16.00},disable=1 SetVariable psizelm_tab1,title="\u005c\u005c[0x10\u005c\u005cSn\u005c\u005cM" SetVariable psizelm_tab1,help={"Exponent multiplier on factor 10."} SetVariable psizelm_tab1,limits={-10,10,1},value=_NUM:1 Button buttonSetXY_tab1,pos={330.00,389.00},size={75.00,25.00},disable=1,proc=X_ButtonProc Button buttonSetXY_tab1,title="Apply" CheckBox checkxyglobal_tab1,pos={320.00,420.00},size={76.00,16.00},disable=1 CheckBox checkxyglobal_tab1,title="save as global" CheckBox checkxyglobal_tab1,help={"Save the settings as global to all images in this experiment."} CheckBox checkxyglobal_tab1,value=0 TitleBox rescale_tab1,pos={12.00,442.00},size={84.00,22.00},disable=1 TitleBox rescale_tab1,title="Intensity",fSize=16,frame=0,fStyle=1 PopupMenu popupIonStack_tab1,pos={305.00,446.00},size={100.00,23.00},disable=1 PopupMenu popupIonStack_tab1,mode=1,popvalue="This Layer",value=#"\u005c"This Layer;Each Layer;All Layers;\u005c"" PopupMenu popupmethodcalI_tab1,pos={20.00,466.00},size={113.00,23.00},disable=1,proc=X_PopMenuProc PopupMenu popupmethodcalI_tab1,title="How" PopupMenu popupmethodcalI_tab1,help={"What should be done to the intensity."} PopupMenu popupmethodcalI_tab1,mode=1,popvalue="pixel size",value=#"\u005c"Invert;Remove Negatives;Zero Outliers;Normalize Height;Normalize Flux Density;Equation;\u005c"" SetVariable setvarfmax_tab1,pos={220.00,466.00},size={80.00,20.00},disable=1 SetVariable setvarfmax_tab1,title="f\u005c\u005cBmax" SetVariable setvarfmax_tab1,help={"Outliers are taken as points above\u005crthis fraction of maximum in the image."} SetVariable setvarfmax_tab1,fSize=12,format="%2.2f" SetVariable setvarfmax_tab1,limits={0.01,1,0.1},value=_NUM:1 SetVariable setvarcalIEQN_tab1,pos={20.00,492.00},size={300.00,25.00},disable=1 SetVariable setvarcalIEQN_tab1,help={"I - intensity; A - average intensity; x,y - position\u005crF,C - min,max intensity; R - RoI average"} SetVariable setvarcalIEQN_tab1,value=_STR:"" Button buttonSetcalI_tab1,pos={330.00,485.00},size={75.00,25.00},disable=1,proc=X_ButtonProc Button buttonSetcalI_tab1,title="Apply" TitleBox load_tab0,pos={12.00,370.00},size={112.00,20.00},title="Load Image(s)" TitleBox load_tab0,fSize=16,frame=0,fStyle=1 CheckBox checkgraw_tab0,pos={152.00,374.00},size={89.00,16.00},proc=X_CheckProc CheckBox checkgraw_tab0,title="Single Channel" CheckBox checkgraw_tab0,help={"The images to be loaded are single channel images.\u005crUncheck to have options for multi-channel images."} CheckBox checkgraw_tab0,value=1 PopupMenu popupload_tab0,pos={22.00,395.00},size={180.00,20.00},proc=X_PopMenuProc PopupMenu popupload_tab0,title="What",help={"Choose the type of load method."} PopupMenu popupload_tab0,mode=1,popvalue="One or Multiple Files",value=#"f_LoaderOptions()" CheckBox checkasstack_tab0,pos={245.00,393.00},size={57.00,16.00},proc=X_CheckProc CheckBox checkasstack_tab0,title="as stack" CheckBox checkasstack_tab0,help={"Load N>4 files as stack or load a stack as a stack"} CheckBox checkasstack_tab0,value=0 CheckBox checkasfolder_tab0,pos={315.00,393.00},size={66.00,16.00},proc=X_CheckProc CheckBox checkasfolder_tab0,title="one folder" CheckBox checkasfolder_tab0,help={"Load multiple files or stack as multiple files into one folder"} CheckBox checkasfolder_tab0,value=0 SetVariable startimg_tab0,pos={25.00,420.00},size={120.00,16.00},disable=1 SetVariable startimg_tab0,title="Start At" SetVariable startimg_tab0,help={"What is the first stack image to load (zero is first)?"} SetVariable startimg_tab0,limits={0,inf,1},value=_NUM:1 SetVariable endimg_tab0,pos={155.00,420.00},size={120.00,16.00},disable=1 SetVariable endimg_tab0,title="Load Only" SetVariable endimg_tab0,help={"What is the last stack image to load? INF loads to end."} SetVariable endimg_tab0,limits={1,inf,1},value=_NUM:inf SetVariable stepimg_tab0,pos={285.00,420.00},size={120.00,16.00},disable=1 SetVariable stepimg_tab0,title="Step By",help={"How to step through stacks?"} SetVariable stepimg_tab0,limits={1,inf,1},value=_NUM:1 SetVariable startind_tab0,pos={25.00,440.00},size={120.00,16.00},disable=1 SetVariable startind_tab0,title="Start Label" SetVariable startind_tab0,help={"Images are loaded with a suffix.\u005crStart at what number?"} SetVariable startind_tab0,limits={0,inf,1},value=_NUM:0 SetVariable stepind_tab0,pos={155.00,440.00},size={120.00,16.00},disable=1 SetVariable stepind_tab0,title="Step Label" SetVariable stepind_tab0,help={"What step for image name suffix?"} SetVariable stepind_tab0,limits={1,inf,1},value=_NUM:1 CheckBox checkgred_tab0,pos={30.00,465.00},size={111.00,16.00},disable=2,proc=X_CheckProc CheckBox checkgred_tab0,title="extract red channel" CheckBox checkgred_tab0,help={"Extract red channel?"},value=0 CheckBox checkggreen_tab0,pos={30.00,480.00},size={122.00,16.00},disable=2,proc=X_CheckProc CheckBox checkggreen_tab0,title="extract green channel" CheckBox checkggreen_tab0,help={"Extract green channel?"},value=0 CheckBox checkgblue_tab0,pos={30.00,495.00},size={116.00,16.00},disable=2,proc=X_CheckProc CheckBox checkgblue_tab0,title="extract blue channel" CheckBox checkgblue_tab0,help={"Extract blue channel?"},value=0 CheckBox checkgGray_tab0,pos={30.00,510.00},size={109.00,16.00},disable=2,proc=X_CheckProc CheckBox checkgGray_tab0,title="generate grayscale" CheckBox checkgGray_tab0,help={"Generate grayscale from all three RGB channels?"} CheckBox checkgGray_tab0,value=0 CheckBox checkgsource_tab0,pos={180.00,465.00},size={77.00,16.00} CheckBox checkgsource_tab0,title="store source" CheckBox checkgsource_tab0,help={"Store (retain) the source image after loading it into the experiment?"} CheckBox checkgsource_tab0,value=0 CheckBox checkallow16bit_tab0,pos={180.00,480.00},size={78.00,16.00} CheckBox checkallow16bit_tab0,title="allow 16+ bit" CheckBox checkallow16bit_tab0,help={"Allow 16+ bit images? Default is to force all files to 8 bit only."} CheckBox checkallow16bit_tab0,value=0 ValDisplay valdispNimgs_tab0,pos={300.00,467.00},size={80.00,26.00} ValDisplay valdispNimgs_tab0,title="Sets\u005crLoaded",fSize=10 ValDisplay valdispNimgs_tab0,limits={0,0,0},barmisc={0,1000} ValDisplay valdispNimgs_tab0,value=#"f_NImagesLoaded()" Button buttonLoad_tab0,pos={300.00,500.00},size={80.00,25.00},proc=X_ButtonProc Button buttonLoad_tab0,title="Load" TitleBox display_tabM,pos={15.00,10.00},size={129.00,20.00} TitleBox display_tabM,title="Image Displayed",fSize=16,frame=0,fStyle=1 Button buttonleft_tabM,pos={15.00,34.00},size={20.00,20.00},disable=2,proc=X_ButtonProc Button buttonleft_tabM,title="<",help={"move leftward/backward in folder set"} Button buttonright_tabM,pos={35.00,34.00},size={20.00,20.00},proc=X_ButtonProc Button buttonright_tabM,title=">",help={"move rightward/forward in folder set"} PopupMenu popupfolder_tabM,pos={60.00,34.00},size={154.00,20.00},proc=X_PopMenuProc PopupMenu popupfolder_tabM,title="Folder" PopupMenu popupfolder_tabM,help={"Select a folder for image display"} PopupMenu popupfolder_tabM,userdata="imgT_timestackstep",fSize=12 PopupMenu popupfolder_tabM,mode=1,popvalue="timestackstep",value=#"f_LoimgT()" Button buttondoMovie_tabM,pos={290.00,42.00},size={30.00,20.00},proc=X_ButtonProc Button buttondoMovie_tabM,title="🎥",help={"Show a movie of the stack."} Button buttondoMovie_tabM,font="Symbol",fSize=10 SetVariable setvarsleep_tabM,pos={325.00,44.00},size={75.00,16.00},proc=X_SetVarProc SetVariable setvarsleep_tabM,title="sleep" SetVariable setvarsleep_tabM,help={"Increase this value to slow down the movie speed."} SetVariable setvarsleep_tabM,limits={0,100,10},value=_NUM:10 PopupMenu popupfile_tabM,pos={15.00,64.00},size={91.00,20.00},proc=X_PopMenuProc PopupMenu popupfile_tabM,title="Image" PopupMenu popupfile_tabM,help={"Choose the file to display in the main (left) panel."} PopupMenu popupfile_tabM,userdata="img_red",fSize=12 PopupMenu popupfile_tabM,mode=1,popvalue="red",value=#"\u005c"red;red_crp;red_crp_bg;red_msk;red_msk_src;red_th;red_th_fl;\u005c"" SetVariable setvarSN_TabM,pos={270.00,66.00},size={80.00,16.00},proc=X_SetVarProc SetVariable setvarSN_TabM,title="stack",fSize=10,limits={0,9,1},value=_NUM:0 ValDisplay valdispNPlanes_TabM,pos={355.00,66.00},size={40.00,15.00},title="/" ValDisplay valdispNPlanes_TabM,limits={0,0,0},barmisc={0,1000},value=_NUM:9 SetVariable setvarSize_tabM,pos={15.00,90.00},size={280.00,18.00},title="Size" SetVariable setvarSize_tabM,fSize=12,value=_STR:"2448 x 2048 [pixels]",noedit=1 PopupMenu popupBitDepth_tabM,pos={320.00,88.00},size={81.00,20.00},proc=X_PopMenuProc PopupMenu popupBitDepth_tabM,title="Depth",fSize=12 PopupMenu popupBitDepth_tabM,mode=1,popvalue="8",value=#"f_LoBitDepths()" SetVariable setvarImgNote_tabM,pos={15.00,112.00},size={380.00,16.00},proc=X_SetVarProc SetVariable setvarImgNote_tabM,title="Notes",value=_STR:"" TitleBox infodisplay_tabM,pos={15.00,143.00},size={152.00,20.00} TitleBox infodisplay_tabM,title="Display Information",fSize=16,frame=0,fStyle=1 TitleBox iDisplay_tabM,pos={15.00,167.00},size={34.00,15.00},title="Image" TitleBox iDisplay_tabM,fSize=12,frame=0 ValDisplay imin_tabM,pos={90.00,167.00},size={70.00,15.00},title="min" ValDisplay imin_tabM,format="%6.4g",limits={0,0,0},barmisc={0,1000},value=_NUM:0 ValDisplay imax_tabM,pos={170.00,167.00},size={70.00,15.00},title="max" ValDisplay imax_tabM,format="%6.4g",limits={0,0,0},barmisc={0,1000} ValDisplay imax_tabM,value=_NUM:201 ValDisplay iave_tabM,pos={250.00,167.00},size={70.00,15.00},title="ave" ValDisplay iave_tabM,format="%6.4g",limits={0,0,0},barmisc={0,1000} ValDisplay iave_tabM,value=_NUM:70.612789577908 ValDisplay istd_tabM,pos={330.00,167.00},size={68.00,15.00},title="std" ValDisplay istd_tabM,format="%6.2g",limits={0,0,0},barmisc={0,1000} ValDisplay istd_tabM,value=_NUM:15.277234572855 PopupMenu popupHistRoI_tabM,pos={15.00,191.00},size={114.00,20.00},proc=X_PopMenuProc PopupMenu popupHistRoI_tabM,title="RoI" PopupMenu popupHistRoI_tabM,help={"Choose a region of interest (RoI) to perform image analysis.\u005crFull, Inside, Outside, or Differences."} PopupMenu popupHistRoI_tabM,userdata="Full Image",fSize=12 PopupMenu popupHistRoI_tabM,mode=1,popvalue="Full Image",value=#"f_LoHMRoI()" TitleBox marqueeHeader_tabM,pos={20.00,214.00},size={49.00,15.00} TitleBox marqueeHeader_tabM,title="Marquee",fSize=12,frame=0 SetVariable mqx0_tabM,pos={90.00,214.00},size={70.00,16.00},disable=2,proc=X_SetVarProc SetVariable mqx0_tabM,title="<",value=_NUM:NaN SetVariable mqdx_tabM,pos={163.00,214.00},size={70.00,16.00},disable=2,proc=X_SetVarProc SetVariable mqdx_tabM,title="-",value=_NUM:NaN SetVariable mqy0_tabM,pos={250.00,214.00},size={70.00,16.00},disable=2,proc=X_SetVarProc SetVariable mqy0_tabM,title="^",value=_NUM:NaN SetVariable mqdy_tabM,pos={323.00,214.00},size={70.00,16.00},disable=2,proc=X_SetVarProc SetVariable mqdy_tabM,title="|",value=_NUM:NaN CheckBox checklockhRoI_tabM,pos={20.00,226.00},size={37.00,16.00},disable=2,proc=X_CheckProc CheckBox checklockhRoI_tabM,title="lock",userdata(state)="2",fSize=10,value=0 ValDisplay roimin_tabM,pos={10.00,244.00},size={70.00,15.00},title="min" ValDisplay roimin_tabM,format="%6.4g",limits={0,0,0},barmisc={0,1000} ValDisplay roimin_tabM,value=_NUM:0 ValDisplay roimax_tabM,pos={90.00,244.00},size={70.00,15.00},title="max" ValDisplay roimax_tabM,format="%6.4g",limits={0,0,0},barmisc={0,1000} ValDisplay roimax_tabM,value=_NUM:201 ValDisplay roiave_tabM,pos={170.00,244.00},size={70.00,15.00},title="ave" ValDisplay roiave_tabM,format="%6.4g",limits={0,0,0},barmisc={0,1000} ValDisplay roiave_tabM,value=_NUM:70.612789577908 ValDisplay roistd_tabM,pos={250.00,244.00},size={68.00,15.00},title="std" ValDisplay roistd_tabM,format="%6.2g",limits={0,0,0},barmisc={0,1000} ValDisplay roistd_tabM,value=_NUM:15.277234572855 ValDisplay roitotal_tabM,pos={330.00,244.00},size={75.00,15.00},title="tot" ValDisplay roitotal_tabM,format="%0.3g",limits={0,0,0},barmisc={0,1000} ValDisplay roitotal_tabM,value=_NUM:354017503 PopupMenu popupWhatInfo_tabM,pos={15.00,269.00},size={151.00,20.00},proc=X_PopMenuProc PopupMenu popupWhatInfo_tabM,title="Analysis" PopupMenu popupWhatInfo_tabM,help={"Choose the analysis information that is displayed about the image."} PopupMenu popupWhatInfo_tabM,fSize=12 PopupMenu popupWhatInfo_tabM,mode=2,popvalue="Histograms",value=#"f_LoInfoOptions()" TitleBox histscale_tabM,pos={280.00,274.00},size={9.00,13.00},title="M",fSize=10 TitleBox histscale_tabM,frame=0 Slider slidermagdhist_tabM,pos={260.00,274.00},size={17.00,40.00},proc=X_SliderProc Slider slidermagdhist_tabM,help={"Magnification of derivative from histogram."} Slider slidermagdhist_tabM,limits={0,3,0.2},value=0,ticks=0 TitleBox histogramcursor_tabM,pos={320.00,269.00},size={75.00,13.00} TitleBox histogramcursor_tabM,title="Cursor Reading",fSize=10,frame=0 ValDisplay valdispcx_tabM,pos={320.00,284.00},size={60.00,15.00},title="bin" ValDisplay valdispcx_tabM,help={"Bin position on histogram."},fSize=10 ValDisplay valdispcx_tabM,limits={0,0,0},barmisc={0,1000},value=_NUM:128 ValDisplay valdispcy_tabM,pos={320.00,304.00},size={75.00,15.00},title="der" ValDisplay valdispcy_tabM,help={"Derivative at bin position."},fSize=10 ValDisplay valdispcy_tabM,format="%3.3g",limits={0,0,0},barmisc={0,1000} ValDisplay valdispcy_tabM,value=_NUM:-0.00279008541953823 Button buttonRedoH_tabM,pos={20.00,293.00},size={50.00,25.00},proc=X_ButtonProc Button buttonRedoH_tabM,title="Refresh" Button buttonRedoH_tabM,help={"Force the analysis to recalculate.\u005crAlso brings the analysis window under the current image."} Button buttonRedoH_tabM,fSize=10 Button buttonImgL_tabM,pos={10.00,329.00},size={20.00,20.00},disable=2,proc=X_ButtonProc Button buttonImgL_tabM,title="|<" Button buttonImgR_tabM,pos={390.00,329.00},size={20.00,20.00},proc=X_ButtonProc Button buttonImgR_tabM,title=">|" CheckBox checkprintntbk_tabM,pos={355.00,350.00},size={46.00,16.00} CheckBox checkprintntbk_tabM,title="report",fSize=10,value=0 PopupMenu popupMQProfile_tabM,pos={1.00,375.00},size={50.00,20.00},disable=1 PopupMenu popupMQProfile_tabM,mode=1,popvalue="" ValDisplay valdispmqdx_tabM,pos={61.00,375.00},size={50.00,20.00},disable=1 ValDisplay valdispmqdx_tabM,limits={0,0,0},barmisc={0,1000} ValDisplay valdispmqdxm_tabM,pos={121.00,375.00},size={50.00,20.00},disable=1 ValDisplay valdispmqdxm_tabM,limits={0,0,0},barmisc={0,1000} ValDisplay valdispmqdy_tabM,pos={181.00,375.00},size={50.00,20.00},disable=1 ValDisplay valdispmqdy_tabM,limits={0,0,0},barmisc={0,1000} SetWindow kwTopWin,hook(imgTPanelHook)=Hf_imgTPanelHook EndMacro