# Amira Project 202110
# Amira3D
# Generated by Amira3D 2021.1
remove -all
remove "grayScale.am" "physics.icol.am" "labels.am" "Demo_2D_3C_oir_Channel0" "Demo_2D_3C_oir_Channel1" "Demo_2D_3C_oir_Channel2" "Multi-Channel-Field.am" "Demo_2D_3C_oir_Channel2.predict" "Demo_2D_3C_oir_Channel2.separate" "Result" "Result(2)" "Result(2).Label-Analysis" "Demo_2D_3C_oir_Channel2.filtered" "Deep Learning Prediction" "Ortho Slice" "Color Wash" "Separate Objects" "Recipe Player" "Recipe Player(2)" "Remove Small Spots" "Ortho Slice(2)" "Ortho Slice(3)" "Ortho Slice(4)"

# Create viewers
viewer setVertical 1

viewer 0 setTransparencyType 6
viewer 0 setAutoRedraw 0
viewer 0 show
viewer 1 setTransparencyType 6
viewer 1 setAutoRedraw 0
viewer 1 show
mainWindow show

_units setUnitsManagementMode 0

set hideNewModules 1
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/grayScale.am ] setLabel "grayScale.am"
"grayScale.am" setIconPosition 0 0
"grayScale.am" setNoRemoveAll 1
"grayScale.am" setVar "CustomHelp" {HxColormap256}
"grayScale.am" fire
"grayScale.am" setMinMax 0 65535
"grayScale.am" flags setValue 1
"grayScale.am" shift setMinMax -1 1
"grayScale.am" shift setButtons 0
"grayScale.am" shift setEditButton 1
"grayScale.am" shift setIncrement 0.133333
"grayScale.am" shift setValue 0
"grayScale.am" shift setSubMinMax -1 1
"grayScale.am" scale setMinMax 0 1
"grayScale.am" scale setButtons 0
"grayScale.am" scale setEditButton 1
"grayScale.am" scale setIncrement 0.1
"grayScale.am" scale setValue 1
"grayScale.am" scale setSubMinMax 0 1
"grayScale.am" fire
"grayScale.am" setViewerMask 16383

set hideNewModules 1
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/physics.icol.am ] setLabel "physics.icol.am"
"physics.icol.am" setIconPosition 0 0
"physics.icol.am" setNoRemoveAll 1
"physics.icol.am" fire
"physics.icol.am" setMinMax 0 1
"physics.icol.am" flags setValue 1
"physics.icol.am" shift setMinMax -1 1
"physics.icol.am" shift setButtons 0
"physics.icol.am" shift setEditButton 1
"physics.icol.am" shift setIncrement 0.133333
"physics.icol.am" shift setValue 0
"physics.icol.am" shift setSubMinMax -1 1
"physics.icol.am" scale setMinMax 0 1
"physics.icol.am" scale setButtons 0
"physics.icol.am" scale setEditButton 1
"physics.icol.am" scale setIncrement 0.1
"physics.icol.am" scale setValue 1
"physics.icol.am" scale setSubMinMax 0 1
"physics.icol.am" fire
"physics.icol.am" setViewerMask 16383

set hideNewModules 1
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/labels.am ] setLabel "labels.am"
"labels.am" setIconPosition 0 0
"labels.am" setNoRemoveAll 1
"labels.am" setVar "CustomHelp" {HxColormap256}
"labels.am" fire
"labels.am" setMinMax 1 8
"labels.am" flags setValue 1
"labels.am" shift setMinMax -1 1
"labels.am" shift setButtons 0
"labels.am" shift setEditButton 1
"labels.am" shift setIncrement 0.133333
"labels.am" shift setValue 0
"labels.am" shift setSubMinMax -1 1
"labels.am" scale setMinMax 0 1
"labels.am" scale setButtons 0
"labels.am" scale setEditButton 1
"labels.am" scale setIncrement 0.1
"labels.am" scale setValue 1
"labels.am" scale setSubMinMax 0 1
"labels.am" fire
"labels.am" setViewerMask 16383

set hideNewModules 0
create HxMultiChannelField3 "Multi-Channel-Field.am"
"Multi-Channel-Field.am" setIconPosition 33 42
"Multi-Channel-Field.am" setVar "CustomXML" {Multi-Channel-Field.am_config.xml}

set hideNewModules 0
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/Demo_2D_3C_oir_Channel0 ] setLabel "Demo_2D_3C_oir_Channel0"
"Demo_2D_3C_oir_Channel0" setIconPosition 33 67
"Demo_2D_3C_oir_Channel0" setVar "CustomXML" {Demo_2D_3C_oir_Channel0_config.xml}
"Demo_2D_3C_oir_Channel0" master connect "Multi-Channel-Field.am"
"Demo_2D_3C_oir_Channel0" sharedColormap disconnect
"Demo_2D_3C_oir_Channel0" sharedColormap setDefaultColor 0.8 0.8 0.8
"Demo_2D_3C_oir_Channel0" sharedColormap setDefaultAlpha 0.500000
"Demo_2D_3C_oir_Channel0" sharedColormap activateLocalRange 1
"Demo_2D_3C_oir_Channel0" sharedColormap setLocalMinMax 0.000000 1.000000
"Demo_2D_3C_oir_Channel0" sharedColormap enableAlpha 1
"Demo_2D_3C_oir_Channel0" sharedColormap enableAlphaToggle 1
"Demo_2D_3C_oir_Channel0" sharedColormap setAutoAdjustRangeMode 1
"Demo_2D_3C_oir_Channel0" sharedColormap setColorbarMinMax 0 4095
"Demo_2D_3C_oir_Channel0" fire
"Demo_2D_3C_oir_Channel0" setViewerMask 16383

set hideNewModules 0
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/Demo_2D_3C_oir_Channel1 ] setLabel "Demo_2D_3C_oir_Channel1"
"Demo_2D_3C_oir_Channel1" setIconPosition 33 91
"Demo_2D_3C_oir_Channel1" setVar "CustomXML" {Demo_2D_3C_oir_Channel1_config.xml}
"Demo_2D_3C_oir_Channel1" master connect "Multi-Channel-Field.am"
"Demo_2D_3C_oir_Channel1" sharedColormap disconnect
"Demo_2D_3C_oir_Channel1" sharedColormap setDefaultColor 0.8 0.8 0.8
"Demo_2D_3C_oir_Channel1" sharedColormap setDefaultAlpha 0.500000
"Demo_2D_3C_oir_Channel1" sharedColormap activateLocalRange 1
"Demo_2D_3C_oir_Channel1" sharedColormap setLocalMinMax 0.000000 1.000000
"Demo_2D_3C_oir_Channel1" sharedColormap enableAlpha 1
"Demo_2D_3C_oir_Channel1" sharedColormap enableAlphaToggle 1
"Demo_2D_3C_oir_Channel1" sharedColormap setAutoAdjustRangeMode 1
"Demo_2D_3C_oir_Channel1" sharedColormap setColorbarMinMax 0 4095
"Demo_2D_3C_oir_Channel1" fire
"Demo_2D_3C_oir_Channel1" setViewerMask 16383

set hideNewModules 0
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/Demo_2D_3C_oir_Channel2 ] setLabel "Demo_2D_3C_oir_Channel2"
"Demo_2D_3C_oir_Channel2" setIconPosition 33 115
"Demo_2D_3C_oir_Channel2" setVar "CustomXML" {Demo_2D_3C_oir_Channel2_config.xml}
"Demo_2D_3C_oir_Channel2" master connect "Multi-Channel-Field.am"
"Demo_2D_3C_oir_Channel2" sharedColormap disconnect
"Demo_2D_3C_oir_Channel2" sharedColormap setDefaultColor 0.8 0.8 0.8
"Demo_2D_3C_oir_Channel2" sharedColormap setDefaultAlpha 0.500000
"Demo_2D_3C_oir_Channel2" sharedColormap activateLocalRange 1
"Demo_2D_3C_oir_Channel2" sharedColormap setLocalMinMax 0.000000 1.000000
"Demo_2D_3C_oir_Channel2" sharedColormap enableAlpha 1
"Demo_2D_3C_oir_Channel2" sharedColormap enableAlphaToggle 1
"Demo_2D_3C_oir_Channel2" sharedColormap setAutoAdjustRangeMode 1
"Demo_2D_3C_oir_Channel2" sharedColormap setColorbarMinMax 0 65535
"Demo_2D_3C_oir_Channel2" fire
"Demo_2D_3C_oir_Channel2" setViewerMask 16383

set hideNewModules 1
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/grayScale.am ] setLabel "grayScale.am"
"grayScale.am" setIconPosition 0 0
"grayScale.am" setNoRemoveAll 1
"grayScale.am" setVar "CustomHelp" {HxColormap256}
"grayScale.am" fire
"grayScale.am" setMinMax 0 65535
"grayScale.am" flags setValue 1
"grayScale.am" shift setMinMax -1 1
"grayScale.am" shift setButtons 0
"grayScale.am" shift setEditButton 1
"grayScale.am" shift setIncrement 0.133333
"grayScale.am" shift setValue 0
"grayScale.am" shift setSubMinMax -1 1
"grayScale.am" scale setMinMax 0 1
"grayScale.am" scale setButtons 0
"grayScale.am" scale setEditButton 1
"grayScale.am" scale setIncrement 0.1
"grayScale.am" scale setValue 1
"grayScale.am" scale setSubMinMax 0 1
"grayScale.am" fire
"grayScale.am" setViewerMask 16383
"Multi-Channel-Field.am" channel1 setMinMax 0 4095
"Multi-Channel-Field.am" channel1 setColor 0 0 1
"Multi-Channel-Field.am" colormap1 disconnect
"Multi-Channel-Field.am" colormap1 setDefaultColor 0 0 1
"Multi-Channel-Field.am" colormap1 setDefaultAlpha 1.000000
"Multi-Channel-Field.am" colormap1 activateLocalRange 1
"Multi-Channel-Field.am" colormap1 setLocalMinMax 0.000000 4095.000000
"Multi-Channel-Field.am" colormap1 enableAlpha 1
"Multi-Channel-Field.am" colormap1 enableAlphaToggle 1
"Multi-Channel-Field.am" colormap1 setAutoAdjustRangeMode 0
"Multi-Channel-Field.am" colormap1 setColorbarMinMax 0 4095
"Multi-Channel-Field.am" channel2 setMinMax 145 4095
"Multi-Channel-Field.am" channel2 setColor 0 1 0
"Multi-Channel-Field.am" colormap2 disconnect
"Multi-Channel-Field.am" colormap2 setDefaultColor 0 1 0
"Multi-Channel-Field.am" colormap2 setDefaultAlpha 1.000000
"Multi-Channel-Field.am" colormap2 activateLocalRange 1
"Multi-Channel-Field.am" colormap2 setLocalMinMax 145.000000 4095.000000
"Multi-Channel-Field.am" colormap2 enableAlpha 1
"Multi-Channel-Field.am" colormap2 enableAlphaToggle 1
"Multi-Channel-Field.am" colormap2 setAutoAdjustRangeMode 0
"Multi-Channel-Field.am" colormap2 setColorbarMinMax 145 4095
"Multi-Channel-Field.am" channel3 setMinMax 0 65535
"Multi-Channel-Field.am" channel3 setColor 1 0 0
"Multi-Channel-Field.am" colormap3 connect "grayScale.am"
"Multi-Channel-Field.am" colormap3 setDefaultColor 1 0 0
"Multi-Channel-Field.am" colormap3 setDefaultAlpha 1.000000
"Multi-Channel-Field.am" colormap3 activateLocalRange 1
"Multi-Channel-Field.am" colormap3 setLocalMinMax 0.000000 65535.000000
"Multi-Channel-Field.am" colormap3 enableAlpha 1
"Multi-Channel-Field.am" colormap3 enableAlphaToggle 1
"Multi-Channel-Field.am" colormap3 setAutoAdjustRangeMode 0
"Multi-Channel-Field.am" colormap3 setColorbarMinMax 0 65535
"Multi-Channel-Field.am" channel4 setMinMax 0 1
"Multi-Channel-Field.am" channel4 setColor 1 1 0
"Multi-Channel-Field.am" colormap4 disconnect
"Multi-Channel-Field.am" colormap4 setDefaultColor 1 1 0
"Multi-Channel-Field.am" colormap4 setDefaultAlpha 1.000000
"Multi-Channel-Field.am" colormap4 activateLocalRange 1
"Multi-Channel-Field.am" colormap4 setLocalMinMax 0.000000 1.000000
"Multi-Channel-Field.am" colormap4 enableAlpha 1
"Multi-Channel-Field.am" colormap4 enableAlphaToggle 1
"Multi-Channel-Field.am" colormap4 setAutoAdjustRangeMode 0
"Multi-Channel-Field.am" colormap4 setColorbarMinMax 0 120
"Multi-Channel-Field.am" fire
"Multi-Channel-Field.am" setModified 0
"Multi-Channel-Field.am" fire
"Multi-Channel-Field.am" setViewerMask 16383
"Multi-Channel-Field.am" select

set hideNewModules 0
create "Deep Learning Prediction"
create HxVolumeRenderingSettings "Volume Rendering Settings"
"Deep Learning Prediction" startStop hit 0 1
"Deep Learning Prediction" fire
"Deep Learning Prediction" filename hide
"Deep Learning Prediction" startStop hide
"Deep Learning Prediction" setIconPosition 49 156
"Deep Learning Prediction" setVar "CustomHelp" {DeepLearningPrediction.html}
"Deep Learning Prediction" setVar "CustomXML" {DeepLearningPrediction_config.xml}
"Deep Learning Prediction" data connect "Demo_2D_3C_oir_Channel2"
"Deep Learning Prediction" fire
"Deep Learning Prediction" modelArchitecture setState "$SCRIPTDIR/data/TrainedModelDIC.json"
"Deep Learning Prediction" modelWeights setState "$SCRIPTDIR/data/TrainedModelDIC.hdf5"
"Deep Learning Prediction" modelCustomProcessingOnOff setValue 1
"Deep Learning Prediction" modelCustomProcessing setState "$SCRIPTDIR/data/TrainedModelDIC.py"
"Deep Learning Prediction" tilingOnOff setValue 0
"Deep Learning Prediction" tileWidth setMinMax 64 1024
"Deep Learning Prediction" tileWidth setButtons 1
"Deep Learning Prediction" tileWidth setEditButton 0
"Deep Learning Prediction" tileWidth setIncrement 32
"Deep Learning Prediction" tileWidth setValue 1024
"Deep Learning Prediction" tileWidth setSubMinMax 64 1024
"Deep Learning Prediction" tileHeight setMinMax 64 1024
"Deep Learning Prediction" tileHeight setButtons 1
"Deep Learning Prediction" tileHeight setEditButton 0
"Deep Learning Prediction" tileHeight setIncrement 32
"Deep Learning Prediction" tileHeight setValue 1024
"Deep Learning Prediction" tileHeight setSubMinMax 64 1024
"Deep Learning Prediction" applyTransformToResult 1
"Deep Learning Prediction" fire
"Deep Learning Prediction" setViewerMask 16383
"Deep Learning Prediction" setPickable 1

set hideNewModules 0
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/Demo_2D_3C_oir_Channel2.predict ] setLabel "Demo_2D_3C_oir_Channel2.predict"
"Demo_2D_3C_oir_Channel2.predict" setIconPosition 19 195
"Demo_2D_3C_oir_Channel2.predict" setVar "CustomHelp" {HxUniformLabelField3}
"Demo_2D_3C_oir_Channel2.predict" setVar "CustomXML" {HxUniformLabelField3_config.xml}
"Demo_2D_3C_oir_Channel2.predict" master connect "Deep Learning Prediction" "result" 0
"Demo_2D_3C_oir_Channel2.predict" sharedColormap connect "labels.am"
"Demo_2D_3C_oir_Channel2.predict" sharedColormap setDefaultColor 0.8 0.8 0.8
"Demo_2D_3C_oir_Channel2.predict" sharedColormap setDefaultAlpha 0.500000
"Demo_2D_3C_oir_Channel2.predict" sharedColormap activateLocalRange 1
"Demo_2D_3C_oir_Channel2.predict" sharedColormap setLocalMinMax 1.000000 8.000000
"Demo_2D_3C_oir_Channel2.predict" sharedColormap enableAlpha 1
"Demo_2D_3C_oir_Channel2.predict" sharedColormap enableAlphaToggle 1
"Demo_2D_3C_oir_Channel2.predict" sharedColormap setAutoAdjustRangeMode 1
"Demo_2D_3C_oir_Channel2.predict" sharedColormap setColorbarMinMax 1 8
"Demo_2D_3C_oir_Channel2.predict" fire
"Demo_2D_3C_oir_Channel2.predict" primary setIndex 0 0
"Demo_2D_3C_oir_Channel2.predict" fire
"Demo_2D_3C_oir_Channel2.predict" setViewerMask 16383

set hideNewModules 0
create HxOrthoSlice "Ortho Slice"
"Ortho Slice" setIconPosition 352 194
"Ortho Slice" setVar "CustomHelp" {HxOrthoSlice}
"Ortho Slice" setVar "CustomXML" {HxOrthoSlice_config.xml}
"Ortho Slice" data connect "Demo_2D_3C_oir_Channel2"
"Ortho Slice" fire
"Ortho Slice" sliceOrientation setValue 0
"Ortho Slice" fire
"Ortho Slice" origin  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice" origin  setImmediateMode 0
"Ortho Slice" origin  setOrtho 0
"Ortho Slice" origin  showDragger 0
"Ortho Slice" origin  showPoints 0
"Ortho Slice" origin  setPointScale 1
"Ortho Slice" origin  showOptionButton 1
"Ortho Slice" origin  setNumPoints 1 1 1
"Ortho Slice" origin  setCoord 0 511.5 511.5 0.5
"Ortho Slice" normal  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice" normal  setImmediateMode 0
"Ortho Slice" normal  setOrtho 0
"Ortho Slice" normal  showDragger 0
"Ortho Slice" normal  showPoints 0
"Ortho Slice" normal  setPointScale 1
"Ortho Slice" normal  showOptionButton 1
"Ortho Slice" normal  setNumPoints 1 1 1
"Ortho Slice" normal  setCoord 0 0 0 1
"Ortho Slice" options setValue 0 1
"Ortho Slice" options setToggleVisible 0 1
"Ortho Slice" options setValue 1 0
"Ortho Slice" options setToggleVisible 1 1
"Ortho Slice" options setValue 2 0
"Ortho Slice" options setToggleVisible 2 1
"Ortho Slice" mappingType setIndex 0 0
"Ortho Slice" contrastLimit setMinMax 0 -16777216 16777216
"Ortho Slice" contrastLimit setValue 0 7
"Ortho Slice" colormap connect "grayScale.am"
"Ortho Slice" colormap setDefaultColor 1 0.8 0.5
"Ortho Slice" colormap setDefaultAlpha 1.000000
"Ortho Slice" colormap activateLocalRange 1
"Ortho Slice" colormap setLocalMinMax 0.000000 65535.000000
"Ortho Slice" colormap enableAlpha 1
"Ortho Slice" colormap enableAlphaToggle 1
"Ortho Slice" colormap setAutoAdjustRangeMode 1
"Ortho Slice" colormap setColorbarMinMax 0 65535
"Ortho Slice" sliceNumber setMinMax 0 0
"Ortho Slice" sliceNumber setButtons 1
"Ortho Slice" sliceNumber setEditButton 1
"Ortho Slice" sliceNumber setIncrement 1
"Ortho Slice" sliceNumber setValue 0
"Ortho Slice" sliceNumber setSubMinMax 0 0
"Ortho Slice" transparency setValue 0
"Ortho Slice" alpha setMinMax 0 -16777216 16777216
"Ortho Slice" alpha setValue 0 0
"Ortho Slice" alpha setMinMax 1 -16777216 16777216
"Ortho Slice" alpha setValue 1 255
"Ortho Slice" frameSettings setState {item 0 1 item 2 1 color 3 1 0.5 0 }
"Ortho Slice" embossingOnOff setValue 0
"Ortho Slice" depth setMinMax -60 60
"Ortho Slice" depth setButtons 0
"Ortho Slice" depth setEditButton 1
"Ortho Slice" depth setIncrement 8
"Ortho Slice" depth setValue 2
"Ortho Slice" depth setSubMinMax -60 60
"Ortho Slice" fire

"Ortho Slice" fire
"Ortho Slice" setViewerMask 16381
"Ortho Slice" setShadowStyle 3
"Ortho Slice" setPickable 1

set hideNewModules 0
create binseparate "Separate Objects"
"Separate Objects" setIconPosition 75 233
"Separate Objects" setVar "CustomHelp" {binseparate}
"Separate Objects" setVar "CustomXML" {ModuleGroupSeparateObjects_config.xml}
"Separate Objects" Method setState {type Chamfer - Conservative}
"Separate Objects" interpretation setValue 0
"Separate Objects" outputLocation setIndex 0 0
"Separate Objects" neighborhood setValue 2
"Separate Objects" inputBinaryImage connect "Demo_2D_3C_oir_Channel2.predict"
"Separate Objects" markerExtent setMinMax 0 0 2147483648
"Separate Objects" markerExtent setValue 0 20
"Separate Objects" outputType setIndex 0 4
"Separate Objects" algorithmMode setIndex 0 0
"Separate Objects" applyTransformToResult 1
"Separate Objects" fire
"Separate Objects" setViewerMask 16383
"Separate Objects" setPickable 1

set hideNewModules 0
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/Demo_2D_3C_oir_Channel2.separate ] setLabel "Demo_2D_3C_oir_Channel2.separate"
"Demo_2D_3C_oir_Channel2.separate" setIconPosition 18 271
"Demo_2D_3C_oir_Channel2.separate" setVar "CustomXML" {Demo_2D_3C_oir_Channel2.separate_config.xml}
"Demo_2D_3C_oir_Channel2.separate" master connect "Separate Objects" "ImgOutBinOrLab" 0
"Demo_2D_3C_oir_Channel2.separate" sharedColormap connect "labels.am"
"Demo_2D_3C_oir_Channel2.separate" sharedColormap setDefaultColor 0.8 0.8 0.8
"Demo_2D_3C_oir_Channel2.separate" sharedColormap setDefaultAlpha 0.500000
"Demo_2D_3C_oir_Channel2.separate" sharedColormap activateLocalRange 1
"Demo_2D_3C_oir_Channel2.separate" sharedColormap setLocalMinMax 1.000000 8.000000
"Demo_2D_3C_oir_Channel2.separate" sharedColormap enableAlpha 1
"Demo_2D_3C_oir_Channel2.separate" sharedColormap enableAlphaToggle 1
"Demo_2D_3C_oir_Channel2.separate" sharedColormap setAutoAdjustRangeMode 1
"Demo_2D_3C_oir_Channel2.separate" sharedColormap setColorbarMinMax 1 8
"Demo_2D_3C_oir_Channel2.separate" fire
"Demo_2D_3C_oir_Channel2.separate" primary setIndex 0 0
"Demo_2D_3C_oir_Channel2.separate" fire
"Demo_2D_3C_oir_Channel2.separate" setViewerMask 16383

set hideNewModules 0
create removalsmallspots "Remove Small Spots"
"Remove Small Spots" setIconPosition 70 309
"Remove Small Spots" setVar "CustomHelp" {removalsmallspots.html}
"Remove Small Spots" setVar "CustomXML" {removalsmallspots_config.xml}
"Remove Small Spots" interpretation setValue 1
"Remove Small Spots" outputLocation setIndex 0 0
"Remove Small Spots" inputImage connect "Demo_2D_3C_oir_Channel2.separate"
"Remove Small Spots" size setMinMax 0 0 3.40282346638529e+038
"Remove Small Spots" size setValue 0 500
"Remove Small Spots" applyTransformToResult 1
"Remove Small Spots" fire
"Remove Small Spots" setViewerMask 16383
"Remove Small Spots" setPickable 1

set hideNewModules 0
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/Demo_2D_3C_oir_Channel2.filtered ] setLabel "Demo_2D_3C_oir_Channel2.filtered"
"Demo_2D_3C_oir_Channel2.filtered" setIconPosition 20 344
"Demo_2D_3C_oir_Channel2.filtered" setVar "CustomXML" {Demo_2D_3C_oir_Channel2.filtered_config.xml}
"Demo_2D_3C_oir_Channel2.filtered" master connect "Remove Small Spots" "ImgOut" 0
"Demo_2D_3C_oir_Channel2.filtered" sharedColormap connect "labels.am"
"Demo_2D_3C_oir_Channel2.filtered" sharedColormap setDefaultColor 0.8 0.8 0.8
"Demo_2D_3C_oir_Channel2.filtered" sharedColormap setDefaultAlpha 0.500000
"Demo_2D_3C_oir_Channel2.filtered" sharedColormap activateLocalRange 1
"Demo_2D_3C_oir_Channel2.filtered" sharedColormap setLocalMinMax 1.000000 8.000000
"Demo_2D_3C_oir_Channel2.filtered" sharedColormap enableAlpha 1
"Demo_2D_3C_oir_Channel2.filtered" sharedColormap enableAlphaToggle 1
"Demo_2D_3C_oir_Channel2.filtered" sharedColormap setAutoAdjustRangeMode 1
"Demo_2D_3C_oir_Channel2.filtered" sharedColormap setColorbarMinMax 1 8
"Demo_2D_3C_oir_Channel2.filtered" fire
"Demo_2D_3C_oir_Channel2.filtered" primary setIndex 0 0
"Demo_2D_3C_oir_Channel2.filtered" fire
"Demo_2D_3C_oir_Channel2.filtered" setViewerMask 16383

set hideNewModules 0
create HxColorwash "Color Wash"
"Color Wash" setIconPosition 352 219
"Color Wash" setVar "CustomHelp" {HxColorwash}
"Color Wash" setVar "CustomXML" {HxColorwash_config.xml}
"Color Wash" data connect "Demo_2D_3C_oir_Channel2.filtered"
"Color Wash" module connect "Ortho Slice"
"Color Wash" colormap connect "labels.am"
"Color Wash" colormap setDefaultColor 1 0.8 0.5
"Color Wash" colormap setDefaultAlpha 0.500000
"Color Wash" colormap activateLocalRange 1
"Color Wash" colormap setLocalMinMax 1.000000 8.000000
"Color Wash" colormap enableAlpha 1
"Color Wash" colormap enableAlphaToggle 1
"Color Wash" colormap setAutoAdjustRangeMode 1
"Color Wash" colormap setColorbarMinMax 1 8
"Color Wash" fire
"Color Wash" mode setIndex 0 7
"Color Wash" weightFactor setMinMax 0 1
"Color Wash" weightFactor setButtons 0
"Color Wash" weightFactor setEditButton 1
"Color Wash" weightFactor setIncrement 0.1
"Color Wash" weightFactor setValue 0.5
"Color Wash" weightFactor setSubMinMax 0 1
"Color Wash" lenseWidth setMinMax 5 80
"Color Wash" lenseWidth setButtons 1
"Color Wash" lenseWidth setEditButton 1
"Color Wash" lenseWidth setIncrement 1
"Color Wash" lenseWidth setValue 30
"Color Wash" lenseWidth setSubMinMax 5 80
"Color Wash" overlayRange setMinMax 0 -3.40282346638529e+038 3.40282346638529e+038
"Color Wash" overlayRange setValue 0 100
"Color Wash" overlayRange setMinMax 1 -3.40282346638529e+038 3.40282346638529e+038
"Color Wash" overlayRange setValue 1 1000
"Color Wash" transparency setMinMax 0 1
"Color Wash" transparency setButtons 0
"Color Wash" transparency setEditButton 1
"Color Wash" transparency setIncrement 0.1
"Color Wash" transparency setValue 0.722222
"Color Wash" transparency setSubMinMax 0 1
"Color Wash" options setValue 0 0
"Color Wash" options setToggleVisible 0 1
"Color Wash" options setValue 1 1
"Color Wash" options setToggleVisible 1 1
"Color Wash" generalOptions setValue 0 0
"Color Wash" generalOptions setToggleVisible 0 1
"Color Wash" fire
"Color Wash" setViewerMask 16383
"Color Wash" setPickable 1

set hideNewModules 0
create HxRecipeModule "Recipe Player"
"Recipe Player" setIconPosition 350 69
"Recipe Player" setVar "CustomHelp" {HxRecipeModule}
"Recipe Player" setVar "CustomXML" {HxRecipeModule_config.xml}
"Recipe Player" recipe setState "$SCRIPTDIR/data/cell.hxrecipe"
"Recipe Player" fire
"Recipe Player" input1 connect "Demo_2D_3C_oir_Channel0"
"Recipe Player" input2 connect "Demo_2D_3C_oir_Channel2.filtered"
"Recipe Player" applyTransformToResult 1
"Recipe Player" fire
"Recipe Player" setViewerMask 16383
"Recipe Player" setPickable 1

set hideNewModules 0
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/Result ] setLabel "Result"
"Result" setIconPosition 530 68
"Result" setVar "CustomXML" {Result_config.xml}
"Result" master connect "Recipe Player" "result" 0
"Result" sharedColormap connect "labels.am"
"Result" sharedColormap setDefaultColor 0.8 0.8 0.8
"Result" sharedColormap setDefaultAlpha 0.500000
"Result" sharedColormap activateLocalRange 1
"Result" sharedColormap setLocalMinMax 1.000000 8.000000
"Result" sharedColormap enableAlpha 1
"Result" sharedColormap enableAlphaToggle 1
"Result" sharedColormap setAutoAdjustRangeMode 1
"Result" sharedColormap setColorbarMinMax 1 8
"Result" fire
"Result" primary setIndex 0 0
"Result" fire
"Result" setViewerMask 16383

set hideNewModules 0
create HxRecipeModule "Recipe Player(2)"
"Recipe Player(2)" setIconPosition 348 127
"Recipe Player(2)" setVar "CustomHelp" {HxRecipeModule}
"Recipe Player(2)" setVar "CustomXML" {HxRecipeModule_config.xml}
"Recipe Player(2)" recipe setState "$SCRIPTDIR/data/count.hxrecipe"
"Recipe Player(2)" fire
"Recipe Player(2)" input1 connect "Demo_2D_3C_oir_Channel2.filtered"
"Recipe Player(2)" input2 connect "Demo_2D_3C_oir_Channel1"
"Recipe Player(2)" applyTransformToResult 1
"Recipe Player(2)" fire
"Recipe Player(2)" setViewerMask 16383
"Recipe Player(2)" setPickable 1

set hideNewModules 0
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/Result(2).Label-Analysis ] setLabel "Result(2).Label-Analysis"
"Result(2).Label-Analysis" setIconPosition 530 122
"Result(2).Label-Analysis" setVar "CustomXML" {Result(2).Label-Analysis_config.xml}
"Result(2).Label-Analysis" master connect "Recipe Player(2)" "result" 0
"Result(2).Label-Analysis" fire
"Result(2).Label-Analysis" fire
"Result(2).Label-Analysis" setViewerMask 16383

set hideNewModules 0
[ load ${SCRIPTDIR}/DICImageSegmentation_2021.1-files/Result(2) ] setLabel "Result(2)"
"Result(2)" setIconPosition 534 173
"Result(2)" setVar "CustomXML" {Result(2)_config.xml}
"Result(2)" master connect "Recipe Player(2)" "result1" 1
"Result(2)" sharedColormap connect "labels.am"
"Result(2)" sharedColormap setDefaultColor 0.8 0.8 0.8
"Result(2)" sharedColormap setDefaultAlpha 0.500000
"Result(2)" sharedColormap activateLocalRange 1
"Result(2)" sharedColormap setLocalMinMax 1.000000 8.000000
"Result(2)" sharedColormap enableAlpha 1
"Result(2)" sharedColormap enableAlphaToggle 1
"Result(2)" sharedColormap setAutoAdjustRangeMode 1
"Result(2)" sharedColormap setColorbarMinMax 1 8
"Result(2)" fire
"Result(2)" primary setIndex 0 0
"Result(2)" fire
"Result(2)" setViewerMask 16383

set hideNewModules 0
create HxOrthoSlice "Ortho Slice(2)"
"Ortho Slice(2)" setIconPosition 716 68
"Ortho Slice(2)" setVar "CustomHelp" {HxOrthoSlice}
"Ortho Slice(2)" setVar "CustomXML" {HxOrthoSlice_config.xml}
"Ortho Slice(2)" data connect "Result"
"Ortho Slice(2)" fire
"Ortho Slice(2)" sliceOrientation setValue 0
"Ortho Slice(2)" fire
"Ortho Slice(2)" origin  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice(2)" origin  setImmediateMode 0
"Ortho Slice(2)" origin  setOrtho 0
"Ortho Slice(2)" origin  showDragger 0
"Ortho Slice(2)" origin  showPoints 0
"Ortho Slice(2)" origin  setPointScale 1
"Ortho Slice(2)" origin  showOptionButton 1
"Ortho Slice(2)" origin  setNumPoints 1 1 1
"Ortho Slice(2)" origin  setCoord 0 511.5 511.5 0.5
"Ortho Slice(2)" normal  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice(2)" normal  setImmediateMode 0
"Ortho Slice(2)" normal  setOrtho 0
"Ortho Slice(2)" normal  showDragger 0
"Ortho Slice(2)" normal  showPoints 0
"Ortho Slice(2)" normal  setPointScale 1
"Ortho Slice(2)" normal  showOptionButton 1
"Ortho Slice(2)" normal  setNumPoints 1 1 1
"Ortho Slice(2)" normal  setCoord 0 0 0 1
"Ortho Slice(2)" options setValue 0 0
"Ortho Slice(2)" options setToggleVisible 0 1
"Ortho Slice(2)" options setValue 1 0
"Ortho Slice(2)" options setToggleVisible 1 1
"Ortho Slice(2)" options setValue 2 0
"Ortho Slice(2)" options setToggleVisible 2 1
"Ortho Slice(2)" mappingType setIndex 0 0
"Ortho Slice(2)" contrastLimit setMinMax 0 -16777216 16777216
"Ortho Slice(2)" contrastLimit setValue 0 7
"Ortho Slice(2)" colormap connect "labels.am"
"Ortho Slice(2)" colormap setDefaultColor 1 0.8 0.5
"Ortho Slice(2)" colormap setDefaultAlpha 1.000000
"Ortho Slice(2)" colormap activateLocalRange 1
"Ortho Slice(2)" colormap setLocalMinMax 1.000000 8.000000
"Ortho Slice(2)" colormap enableAlpha 1
"Ortho Slice(2)" colormap enableAlphaToggle 1
"Ortho Slice(2)" colormap setAutoAdjustRangeMode 1
"Ortho Slice(2)" colormap setColorbarMinMax 1 8
"Ortho Slice(2)" sliceNumber setMinMax 0 0
"Ortho Slice(2)" sliceNumber setButtons 1
"Ortho Slice(2)" sliceNumber setEditButton 1
"Ortho Slice(2)" sliceNumber setIncrement 1
"Ortho Slice(2)" sliceNumber setValue 0
"Ortho Slice(2)" sliceNumber setSubMinMax 0 0
"Ortho Slice(2)" transparency setValue 1
"Ortho Slice(2)" alpha setMinMax 0 -16777216 16777216
"Ortho Slice(2)" alpha setValue 0 0
"Ortho Slice(2)" alpha setMinMax 1 -16777216 16777216
"Ortho Slice(2)" alpha setValue 1 255
"Ortho Slice(2)" frameSettings setState {item 0 1 item 2 1 color 3 1 0.5 0 }
"Ortho Slice(2)" embossingOnOff setValue 0
"Ortho Slice(2)" depth setMinMax -60 60
"Ortho Slice(2)" depth setButtons 0
"Ortho Slice(2)" depth setEditButton 1
"Ortho Slice(2)" depth setIncrement 8
"Ortho Slice(2)" depth setValue 2
"Ortho Slice(2)" depth setSubMinMax -60 60
"Ortho Slice(2)" fire

"Ortho Slice(2)" fire
"Ortho Slice(2)" setViewerMask 16381
"Ortho Slice(2)" setShadowStyle 3
"Ortho Slice(2)" setPickable 1

set hideNewModules 0
create HxOrthoSlice "Ortho Slice(3)"
"Ortho Slice(3)" setIconPosition 716 173
"Ortho Slice(3)" setVar "CustomHelp" {HxOrthoSlice}
"Ortho Slice(3)" setVar "CustomXML" {HxOrthoSlice_config.xml}
"Ortho Slice(3)" data connect "Result(2)"
"Ortho Slice(3)" fire
"Ortho Slice(3)" sliceOrientation setValue 0
"Ortho Slice(3)" fire
"Ortho Slice(3)" origin  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice(3)" origin  setImmediateMode 0
"Ortho Slice(3)" origin  setOrtho 0
"Ortho Slice(3)" origin  showDragger 0
"Ortho Slice(3)" origin  showPoints 0
"Ortho Slice(3)" origin  setPointScale 1
"Ortho Slice(3)" origin  showOptionButton 1
"Ortho Slice(3)" origin  setNumPoints 1 1 1
"Ortho Slice(3)" origin  setCoord 0 511.5 511.5 0.5
"Ortho Slice(3)" normal  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice(3)" normal  setImmediateMode 0
"Ortho Slice(3)" normal  setOrtho 0
"Ortho Slice(3)" normal  showDragger 0
"Ortho Slice(3)" normal  showPoints 0
"Ortho Slice(3)" normal  setPointScale 1
"Ortho Slice(3)" normal  showOptionButton 1
"Ortho Slice(3)" normal  setNumPoints 1 1 1
"Ortho Slice(3)" normal  setCoord 0 0 0 1
"Ortho Slice(3)" options setValue 0 0
"Ortho Slice(3)" options setToggleVisible 0 1
"Ortho Slice(3)" options setValue 1 0
"Ortho Slice(3)" options setToggleVisible 1 1
"Ortho Slice(3)" options setValue 2 0
"Ortho Slice(3)" options setToggleVisible 2 1
"Ortho Slice(3)" mappingType setIndex 0 0
"Ortho Slice(3)" contrastLimit setMinMax 0 -16777216 16777216
"Ortho Slice(3)" contrastLimit setValue 0 7
"Ortho Slice(3)" colormap connect "labels.am"
"Ortho Slice(3)" colormap setDefaultColor 1 0.8 0.5
"Ortho Slice(3)" colormap setDefaultAlpha 1.000000
"Ortho Slice(3)" colormap activateLocalRange 1
"Ortho Slice(3)" colormap setLocalMinMax 1.000000 8.000000
"Ortho Slice(3)" colormap enableAlpha 1
"Ortho Slice(3)" colormap enableAlphaToggle 1
"Ortho Slice(3)" colormap setAutoAdjustRangeMode 1
"Ortho Slice(3)" colormap setColorbarMinMax 1 8
"Ortho Slice(3)" sliceNumber setMinMax 0 0
"Ortho Slice(3)" sliceNumber setButtons 1
"Ortho Slice(3)" sliceNumber setEditButton 1
"Ortho Slice(3)" sliceNumber setIncrement 1
"Ortho Slice(3)" sliceNumber setValue 0
"Ortho Slice(3)" sliceNumber setSubMinMax 0 0
"Ortho Slice(3)" transparency setValue 1
"Ortho Slice(3)" alpha setMinMax 0 -16777216 16777216
"Ortho Slice(3)" alpha setValue 0 0
"Ortho Slice(3)" alpha setMinMax 1 -16777216 16777216
"Ortho Slice(3)" alpha setValue 1 255
"Ortho Slice(3)" frameSettings setState {item 0 1 item 2 1 color 3 1 0.5 0 }
"Ortho Slice(3)" embossingOnOff setValue 0
"Ortho Slice(3)" depth setMinMax -60 60
"Ortho Slice(3)" depth setButtons 0
"Ortho Slice(3)" depth setEditButton 1
"Ortho Slice(3)" depth setIncrement 8
"Ortho Slice(3)" depth setValue 2
"Ortho Slice(3)" depth setSubMinMax -60 60
"Ortho Slice(3)" fire

"Ortho Slice(3)" fire
"Ortho Slice(3)" setViewerMask 16381
"Ortho Slice(3)" setShadowStyle 3
"Ortho Slice(3)" setPickable 1

set hideNewModules 0
create HxOrthoSlice "Ortho Slice(4)"
"Ortho Slice(4)" setIconPosition 716 34
"Ortho Slice(4)" setVar "CustomHelp" {HxOrthoSlice}
"Ortho Slice(4)" setVar "CustomXML" {HxOrthoSlice_config.xml}
"Ortho Slice(4)" data connect "Multi-Channel-Field.am"
"Ortho Slice(4)" fire
"Ortho Slice(4)" sliceOrientation setValue 0
"Ortho Slice(4)" fire
"Ortho Slice(4)" origin  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice(4)" origin  setImmediateMode 0
"Ortho Slice(4)" origin  setOrtho 0
"Ortho Slice(4)" origin  showDragger 0
"Ortho Slice(4)" origin  showPoints 0
"Ortho Slice(4)" origin  setPointScale 1
"Ortho Slice(4)" origin  showOptionButton 1
"Ortho Slice(4)" origin  setNumPoints 1 1 1
"Ortho Slice(4)" origin  setCoord 0 511.5 511.5 0.5
"Ortho Slice(4)" normal  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice(4)" normal  setImmediateMode 0
"Ortho Slice(4)" normal  setOrtho 0
"Ortho Slice(4)" normal  showDragger 0
"Ortho Slice(4)" normal  showPoints 0
"Ortho Slice(4)" normal  setPointScale 1
"Ortho Slice(4)" normal  showOptionButton 1
"Ortho Slice(4)" normal  setNumPoints 1 1 1
"Ortho Slice(4)" normal  setCoord 0 0 0 1
"Ortho Slice(4)" options setValue 0 0
"Ortho Slice(4)" options setToggleVisible 0 1
"Ortho Slice(4)" options setValue 1 0
"Ortho Slice(4)" options setToggleVisible 1 1
"Ortho Slice(4)" options setValue 2 0
"Ortho Slice(4)" options setToggleVisible 2 1
"Ortho Slice(4)" mappingType setIndex 0 0
"Ortho Slice(4)" contrastLimit setMinMax 0 -16777216 16777216
"Ortho Slice(4)" contrastLimit setValue 0 7
"Ortho Slice(4)" colormap connect "grayScale.am"
"Ortho Slice(4)" colormap setDefaultColor 1 0.8 0.5
"Ortho Slice(4)" colormap setDefaultAlpha 1.000000
"Ortho Slice(4)" colormap activateLocalRange 1
"Ortho Slice(4)" colormap setLocalMinMax 0.000000 0.000000
"Ortho Slice(4)" colormap enableAlpha 1
"Ortho Slice(4)" colormap enableAlphaToggle 1
"Ortho Slice(4)" colormap setAutoAdjustRangeMode 1
"Ortho Slice(4)" colormap setColorbarMinMax 0 120
"Ortho Slice(4)" sliceNumber setMinMax 0 0
"Ortho Slice(4)" sliceNumber setButtons 1
"Ortho Slice(4)" sliceNumber setEditButton 1
"Ortho Slice(4)" sliceNumber setIncrement 1
"Ortho Slice(4)" sliceNumber setValue 0
"Ortho Slice(4)" sliceNumber setSubMinMax 0 0
"Ortho Slice(4)" transparency setValue 0
"Ortho Slice(4)" alpha setMinMax 0 -16777216 16777216
"Ortho Slice(4)" alpha setValue 0 0
"Ortho Slice(4)" alpha setMinMax 1 -16777216 16777216
"Ortho Slice(4)" alpha setValue 1 255
"Ortho Slice(4)" frameSettings setState {item 0 1 item 2 1 color 3 1 0.5 0 }
"Ortho Slice(4)" embossingOnOff setValue 0
"Ortho Slice(4)" depth setMinMax -60 60
"Ortho Slice(4)" depth setButtons 0
"Ortho Slice(4)" depth setEditButton 1
"Ortho Slice(4)" depth setIncrement 8
"Ortho Slice(4)" depth setValue 2
"Ortho Slice(4)" depth setSubMinMax -60 60
"Ortho Slice(4)" fire

"Ortho Slice(4)" fire
"Ortho Slice(4)" setViewerMask 16382
"Ortho Slice(4)" setShadowStyle 3
"Ortho Slice(4)" setPickable 1

set hideNewModules 0

viewer 0 setCameraOrientation 1 0 0 3.14159
viewer 0 setCameraPosition 511.5 511.5 -1396.99
viewer 0 setCameraFocalDistance 1397.49
viewer 0 setCameraNearDistance 1396.09
viewer 0 setCameraFarDistance 1398.89
viewer 0 setCameraType perspective
viewer 0 setCameraHeightAngle 44.9023
viewer 0 linkViewer 1
viewer 0 setAutoRedraw 1
viewer 0 redraw

viewer 1 setCameraOrientation 1 0 0 3.14159
viewer 1 setCameraPosition 511.5 511.5 -1396.99
viewer 1 setCameraFocalDistance 1397.49
viewer 1 setCameraNearDistance 1396.09
viewer 1 setCameraFarDistance 1398.89
viewer 1 setCameraType perspective
viewer 1 setCameraHeightAngle 44.9023
viewer 1 linkViewer 0
viewer 1 setAutoRedraw 1
viewer 1 redraw

"Multi-Channel-Field.am" colormap3 interconnect "PermanentColormapEditor" colormap
correlationPanel closeTabs
correlationPanel setTabName 0 "Correlation 1"
correlationPanel 0 setLogScalingOnAxis 0 0
correlationPanel 0 setLogScalingOnAxis 1 0

histogramPanel closeTabs
histogramPanel setTabName 0 "Histogram 1"
histogramPanel 0 setLogScalingOnAxis 0 0
histogramPanel 0 setLogScalingOnAxis 1 1

Result(2).Label-Analysis table hit
Result(2).Label-Analysis fire
theObjectPool setSelectionOrder Multi-Channel-Field.am
