# Avizo Project 201940
# Avizo
# Generated by Avizo 2019.4
remove -all
remove "grayScale.am" "physics.icol" "labels.am" "human_molar_resampled_50um3.am" "Segmentation_DentinEnamel.am" "Segmentation_PulpDentinEnamelCracks.am" "human_molar_resampled_50um3_manually_labeled.labels" "gradienthuman_molar_resampled_50um3.am" "human_molar_resampled_50um3_watershed.labels" "human_molar_resampled_50um3_tophat.labels" "human_molar_resampled_50um3_tophat.surf" "human_molar_resampled_50um3_tophat_simplified.surf" "human_molar_resampled_50um3_tophat.Label-Analysis" "Ortho Slice" "Generate Surface" "Surface View" "Color Wash" "Ortho Slice 2" "Ortho Slice 3" "Color Wash 2" "Color Wash 3" "Label Analysis" "Caption" "Caption 2" "Caption 3"

# 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 1
_units setDisplayCoordinatesUnit µm
_units setWorkingCoordinatesUnit mm

set hideNewModules 1
[ load ${SCRIPTDIR}/human_molar_segmentation-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 255
"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}/human_molar_segmentation-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}/human_molar_segmentation-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
[ load -unit mm ${SCRIPTDIR}/human_molar_segmentation-files/human_molar_resampled_50um3.am ] setLabel "human_molar_resampled_50um3.am"
"human_molar_resampled_50um3.am" setIconPosition 19 11
"human_molar_resampled_50um3.am" sharedColormap disconnect
"human_molar_resampled_50um3.am" sharedColormap setDefaultColor 0.8 0.8 0.8
"human_molar_resampled_50um3.am" sharedColormap setDefaultAlpha 0.500000
"human_molar_resampled_50um3.am" sharedColormap activateLocalRange 1
"human_molar_resampled_50um3.am" sharedColormap setLocalMinMax 0.000000 1.000000
"human_molar_resampled_50um3.am" sharedColormap enableAlpha 1
"human_molar_resampled_50um3.am" sharedColormap enableAlphaToggle 1
"human_molar_resampled_50um3.am" sharedColormap setAutoAdjustRangeMode 1
"human_molar_resampled_50um3.am" sharedColormap setColorbarMinMax 0 222
"human_molar_resampled_50um3.am" fire
"human_molar_resampled_50um3.am" fire
"human_molar_resampled_50um3.am" setViewerMask 16383

set hideNewModules 0
[ load -unit mm ${SCRIPTDIR}/human_molar_segmentation-files/Segmentation_DentinEnamel.am ] setLabel "Segmentation_DentinEnamel.am"
"Segmentation_DentinEnamel.am" setIconPosition 19 87
"Segmentation_DentinEnamel.am" sharedColormap connect "labels.am"
"Segmentation_DentinEnamel.am" sharedColormap setDefaultColor 0.8 0.8 0.8
"Segmentation_DentinEnamel.am" sharedColormap setDefaultAlpha 0.500000
"Segmentation_DentinEnamel.am" sharedColormap activateLocalRange 1
"Segmentation_DentinEnamel.am" sharedColormap setLocalMinMax 1.000000 8.000000
"Segmentation_DentinEnamel.am" sharedColormap enableAlpha 1
"Segmentation_DentinEnamel.am" sharedColormap enableAlphaToggle 1
"Segmentation_DentinEnamel.am" sharedColormap setAutoAdjustRangeMode 1
"Segmentation_DentinEnamel.am" sharedColormap setColorbarMinMax 1 8
"Segmentation_DentinEnamel.am" ImageData connect "human_molar_resampled_50um3.am"
"Segmentation_DentinEnamel.am" fire
"Segmentation_DentinEnamel.am" primary setIndex 0 0
"Segmentation_DentinEnamel.am" fire
"Segmentation_DentinEnamel.am" setViewerMask 49151

set hideNewModules 0
[ load -unit mm ${SCRIPTDIR}/human_molar_segmentation-files/Segmentation_PulpDentinEnamelCracks.am ] setLabel "Segmentation_PulpDentinEnamelCracks.am"
"Segmentation_PulpDentinEnamelCracks.am" setIconPosition 19 62
"Segmentation_PulpDentinEnamelCracks.am" sharedColormap connect "labels.am"
"Segmentation_PulpDentinEnamelCracks.am" sharedColormap setDefaultColor 0.8 0.8 0.8
"Segmentation_PulpDentinEnamelCracks.am" sharedColormap setDefaultAlpha 0.500000
"Segmentation_PulpDentinEnamelCracks.am" sharedColormap activateLocalRange 1
"Segmentation_PulpDentinEnamelCracks.am" sharedColormap setLocalMinMax 1.000000 8.000000
"Segmentation_PulpDentinEnamelCracks.am" sharedColormap enableAlpha 1
"Segmentation_PulpDentinEnamelCracks.am" sharedColormap enableAlphaToggle 1
"Segmentation_PulpDentinEnamelCracks.am" sharedColormap setAutoAdjustRangeMode 1
"Segmentation_PulpDentinEnamelCracks.am" sharedColormap setColorbarMinMax 1 8
"Segmentation_PulpDentinEnamelCracks.am" ImageData connect "human_molar_resampled_50um3.am"
"Segmentation_PulpDentinEnamelCracks.am" fire
"Segmentation_PulpDentinEnamelCracks.am" primary setIndex 0 0
"Segmentation_PulpDentinEnamelCracks.am" fire
"Segmentation_PulpDentinEnamelCracks.am" setViewerMask 16383

set hideNewModules 0
[ load -unit mm ${SCRIPTDIR}/human_molar_segmentation-files/human_molar_resampled_50um3_manually_labeled.labels ] setLabel "human_molar_resampled_50um3_manually_labeled.labels"
"human_molar_resampled_50um3_manually_labeled.labels" setIconPosition 19 37
"human_molar_resampled_50um3_manually_labeled.labels" sharedColormap connect "labels.am"
"human_molar_resampled_50um3_manually_labeled.labels" sharedColormap setDefaultColor 0.8 0.8 0.8
"human_molar_resampled_50um3_manually_labeled.labels" sharedColormap setDefaultAlpha 0.500000
"human_molar_resampled_50um3_manually_labeled.labels" sharedColormap activateLocalRange 1
"human_molar_resampled_50um3_manually_labeled.labels" sharedColormap setLocalMinMax 1.000000 8.000000
"human_molar_resampled_50um3_manually_labeled.labels" sharedColormap enableAlpha 1
"human_molar_resampled_50um3_manually_labeled.labels" sharedColormap enableAlphaToggle 1
"human_molar_resampled_50um3_manually_labeled.labels" sharedColormap setAutoAdjustRangeMode 1
"human_molar_resampled_50um3_manually_labeled.labels" sharedColormap setColorbarMinMax 1 8
"human_molar_resampled_50um3_manually_labeled.labels" ImageData connect "human_molar_resampled_50um3.am"
"human_molar_resampled_50um3_manually_labeled.labels" fire
"human_molar_resampled_50um3_manually_labeled.labels" primary setIndex 0 0
"human_molar_resampled_50um3_manually_labeled.labels" fire
"human_molar_resampled_50um3_manually_labeled.labels" setViewerMask 49151

set hideNewModules 0
[ load -unit mm ${SCRIPTDIR}/human_molar_segmentation-files/gradienthuman_molar_resampled_50um3.am ] setLabel "gradienthuman_molar_resampled_50um3.am"
"gradienthuman_molar_resampled_50um3.am" setIconPosition 15 242
"gradienthuman_molar_resampled_50um3.am" sharedColormap disconnect
"gradienthuman_molar_resampled_50um3.am" sharedColormap setDefaultColor 0.8 0.8 0.8
"gradienthuman_molar_resampled_50um3.am" sharedColormap setDefaultAlpha 0.500000
"gradienthuman_molar_resampled_50um3.am" sharedColormap activateLocalRange 1
"gradienthuman_molar_resampled_50um3.am" sharedColormap setLocalMinMax 0.000000 1.000000
"gradienthuman_molar_resampled_50um3.am" sharedColormap enableAlpha 1
"gradienthuman_molar_resampled_50um3.am" sharedColormap enableAlphaToggle 1
"gradienthuman_molar_resampled_50um3.am" sharedColormap setAutoAdjustRangeMode 1
"gradienthuman_molar_resampled_50um3.am" sharedColormap setColorbarMinMax 0 204
"gradienthuman_molar_resampled_50um3.am" fire
"gradienthuman_molar_resampled_50um3.am" fire
"gradienthuman_molar_resampled_50um3.am" setViewerMask 16383

set hideNewModules 0
[ load -unit mm ${SCRIPTDIR}/human_molar_segmentation-files/human_molar_resampled_50um3_watershed.labels ] setLabel "human_molar_resampled_50um3_watershed.labels"
"human_molar_resampled_50um3_watershed.labels" setIconPosition 15 268
"human_molar_resampled_50um3_watershed.labels" sharedColormap connect "labels.am"
"human_molar_resampled_50um3_watershed.labels" sharedColormap setDefaultColor 0.8 0.8 0.8
"human_molar_resampled_50um3_watershed.labels" sharedColormap setDefaultAlpha 0.500000
"human_molar_resampled_50um3_watershed.labels" sharedColormap activateLocalRange 1
"human_molar_resampled_50um3_watershed.labels" sharedColormap setLocalMinMax 1.000000 8.000000
"human_molar_resampled_50um3_watershed.labels" sharedColormap enableAlpha 1
"human_molar_resampled_50um3_watershed.labels" sharedColormap enableAlphaToggle 1
"human_molar_resampled_50um3_watershed.labels" sharedColormap setAutoAdjustRangeMode 1
"human_molar_resampled_50um3_watershed.labels" sharedColormap setColorbarMinMax 1 8
"human_molar_resampled_50um3_watershed.labels" ImageData connect "gradienthuman_molar_resampled_50um3.am"
"human_molar_resampled_50um3_watershed.labels" fire
"human_molar_resampled_50um3_watershed.labels" primary setIndex 0 0
"human_molar_resampled_50um3_watershed.labels" fire
"human_molar_resampled_50um3_watershed.labels" setViewerMask 49151

set hideNewModules 0
[ load -unit mm ${SCRIPTDIR}/human_molar_segmentation-files/human_molar_resampled_50um3_tophat.labels ] setLabel "human_molar_resampled_50um3_tophat.labels"
"human_molar_resampled_50um3_tophat.labels" setIconPosition 19 112
"human_molar_resampled_50um3_tophat.labels" sharedColormap connect "labels.am"
"human_molar_resampled_50um3_tophat.labels" sharedColormap setDefaultColor 0.8 0.8 0.8
"human_molar_resampled_50um3_tophat.labels" sharedColormap setDefaultAlpha 0.500000
"human_molar_resampled_50um3_tophat.labels" sharedColormap activateLocalRange 1
"human_molar_resampled_50um3_tophat.labels" sharedColormap setLocalMinMax 1.000000 8.000000
"human_molar_resampled_50um3_tophat.labels" sharedColormap enableAlpha 1
"human_molar_resampled_50um3_tophat.labels" sharedColormap enableAlphaToggle 1
"human_molar_resampled_50um3_tophat.labels" sharedColormap setAutoAdjustRangeMode 1
"human_molar_resampled_50um3_tophat.labels" sharedColormap setColorbarMinMax 1 8
"human_molar_resampled_50um3_tophat.labels" ImageData connect "human_molar_resampled_50um3.am"
"human_molar_resampled_50um3_tophat.labels" fire
"human_molar_resampled_50um3_tophat.labels" primary setIndex 0 0
"human_molar_resampled_50um3_tophat.labels" fire
"human_molar_resampled_50um3_tophat.labels" setViewerMask 49151

set hideNewModules 0
[ load -unit mm ${SCRIPTDIR}/human_molar_segmentation-files/human_molar_resampled_50um3_tophat_simplified.surf ] setLabel "human_molar_resampled_50um3_tophat_simplified.surf"
"human_molar_resampled_50um3_tophat_simplified.surf" setIconPosition 17 168
"human_molar_resampled_50um3_tophat_simplified.surf" fire
"human_molar_resampled_50um3_tophat_simplified.surf" fire
"human_molar_resampled_50um3_tophat_simplified.surf" setViewerMask 16383

set hideNewModules 0
create HxOrthoSlice "Ortho Slice"
"Ortho Slice" setIconPosition 386 -20
"Ortho Slice" setVar "CustomHelp" {HxOrthoSlice}
"Ortho Slice" data connect "human_molar_resampled_50um3.am"
"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 6637.5 5722.5 10202.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 1000
"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 222.000000
"Ortho Slice" colormap enableAlpha 1
"Ortho Slice" colormap enableAlphaToggle 1
"Ortho Slice" colormap setAutoAdjustRangeMode 1
"Ortho Slice" colormap setColorbarMinMax 0 222
"Ortho Slice" sliceNumber setMinMax 0 381
"Ortho Slice" sliceNumber setButtons 1
"Ortho Slice" sliceNumber setEditButton 1
"Ortho Slice" sliceNumber setIncrement 1
"Ortho Slice" sliceNumber setValue 191
"Ortho Slice" sliceNumber setSubMinMax 0 381
"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 HxGMC "Generate Surface"
"Generate Surface" setIconPosition 388 134
"Generate Surface" setVar "CustomHelp" {HxGMC}
"Generate Surface" data connect "human_molar_resampled_50um3_tophat.labels"
"Generate Surface" fire
"Generate Surface" smoothing setIndex 0 2
"Generate Surface" smoothingExtent setMinMax 1 9
"Generate Surface" smoothingExtent setButtons 0
"Generate Surface" smoothingExtent setEditButton 1
"Generate Surface" smoothingExtent setIncrement 0.533333
"Generate Surface" smoothingExtent setValue 2
"Generate Surface" smoothingExtent setSubMinMax 1 9
"Generate Surface" options setState {item 0 0 item 1 0 }
"Generate Surface" borderOnOff setValue 1
"Generate Surface" algorithmMode setIndex 0 0
"Generate Surface" borderSettings setValue 0 1
"Generate Surface" borderSettings setToggleVisible 0 1
"Generate Surface" borderSettings setValue 1 0
"Generate Surface" borderSettings setToggleVisible 1 1
"Generate Surface" borderSettings setValue 2 0
"Generate Surface" borderSettings setToggleVisible 2 1
"Generate Surface" borderSettings setValue 3 0
"Generate Surface" borderSettings setToggleVisible 3 1
"Generate Surface" materialList setIndex 0 0
"Generate Surface" smoothMaterial setIndex 0 0
"Generate Surface" applyTransformToResult 1
"Generate Surface" fire
"Generate Surface" setViewerMask 16383
"Generate Surface" setPickable 1

set hideNewModules 0
[ load -unit mm ${SCRIPTDIR}/human_molar_segmentation-files/human_molar_resampled_50um3_tophat.surf ] setLabel "human_molar_resampled_50um3_tophat.surf"
"human_molar_resampled_50um3_tophat.surf" setIconPosition 16 140
"human_molar_resampled_50um3_tophat.surf" master connect "Generate Surface" "result" 0
"human_molar_resampled_50um3_tophat.surf" fire
"human_molar_resampled_50um3_tophat.surf" fire
"human_molar_resampled_50um3_tophat.surf" setViewerMask 16383

set hideNewModules 0
create HxDisplaySurface "Surface View"
"Surface View" setIconPosition 386 160
"Surface View" setVar "CustomHelp" {HxDisplaySurface}
"Surface View" data connect "human_molar_resampled_50um3_tophat_simplified.surf"
"Surface View" colormap disconnect
"Surface View" colormap setDefaultColor 1 0.1 0.1
"Surface View" colormap setDefaultAlpha 0.500000
"Surface View" colormap activateLocalRange 1
"Surface View" colormap setLocalMinMax 0.000000 1.000000
"Surface View" colormap enableAlpha 1
"Surface View" colormap enableAlphaToggle 1
"Surface View" colormap setAutoAdjustRangeMode 1
"Surface View" colormap setColorbarMinMax 0 120
"Surface View" fire
"Surface View" drawStyle setValue 1
"Surface View" fire
"Surface View" drawStyle setSpecularLighting 1
"Surface View" drawStyle setTexture 1
"Surface View" drawStyle setAlphaMode 2
"Surface View" drawStyle setCullingMode 0
"Surface View" drawStyle setNormalBinding 0
"Surface View" drawStyle setSortingMode 1
"Surface View" drawStyle setLineWidth 1.000000
"Surface View" drawStyle setOutlineColor 0 0 0.2
"Surface View" textureWrap setIndex 0 1
"Surface View" selectionMode setIndex 0 0
"Surface View" patch setMinMax 0 9
"Surface View" patch setButtons 1
"Surface View" patch setEditButton 1
"Surface View" patch setIncrement 1
"Surface View" patch setValue 0
"Surface View" patch setSubMinMax 0 9
"Surface View" boundaryId setIndex 0 -1
"Surface View" materials setIndex 0 3
"Surface View" materials setIndex 1 0
"Surface View" colorMode setIndex 0 0
"Surface View" baseTrans setMinMax 0 1
"Surface View" baseTrans setButtons 0
"Surface View" baseTrans setEditButton 1
"Surface View" baseTrans setIncrement 0.1
"Surface View" baseTrans setValue 0.5
"Surface View" baseTrans setSubMinMax 0 1
"Surface View" VRMode setIndex 0 0
"Surface View" colorFieldMappingType setValue 0
"Surface View" setLighting 1
"Surface View" fire
"Surface View" hideBox 1
"Surface View" selectTriangles zab HIJMONMDDBANAAAAAMADKAGDPODFHHLFNABPBCBCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAHFPNPDIMMLBC
"Surface View" fire
"Surface View" setViewerMask 16382
"Surface View" setShadowStyle 3
"Surface View" setPickable 1

set hideNewModules 0
create HxColorwash "Color Wash"
"Color Wash" setIconPosition 386 6
"Color Wash" setVar "CustomHelp" {HxColorwash}
"Color Wash" data connect "Segmentation_PulpDentinEnamelCracks.am"
"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.5
"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 HxOrthoSlice "Ortho Slice 2"
"Ortho Slice 2" setIconPosition 386 32
"Ortho Slice 2" setVar "CustomHelp" {HxOrthoSlice}
"Ortho Slice 2" data connect "human_molar_resampled_50um3.am"
"Ortho Slice 2" fire
"Ortho Slice 2" sliceOrientation setValue 1
"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 6637.5 5722.5 10177.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 -1000 0
"Ortho Slice 2" options setValue 0 1
"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 "grayScale.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 0.000000 222.000000
"Ortho Slice 2" colormap enableAlpha 1
"Ortho Slice 2" colormap enableAlphaToggle 1
"Ortho Slice 2" colormap setAutoAdjustRangeMode 1
"Ortho Slice 2" colormap setColorbarMinMax 0 222
"Ortho Slice 2" sliceNumber setMinMax 0 208
"Ortho Slice 2" sliceNumber setButtons 1
"Ortho Slice 2" sliceNumber setEditButton 1
"Ortho Slice 2" sliceNumber setIncrement 1
"Ortho Slice 2" sliceNumber setValue 104
"Ortho Slice 2" sliceNumber setSubMinMax 0 208
"Ortho Slice 2" transparency setValue 0
"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 388 82
"Ortho Slice 3" setVar "CustomHelp" {HxOrthoSlice}
"Ortho Slice 3" data connect "human_molar_resampled_50um3.am"
"Ortho Slice 3" fire
"Ortho Slice 3" sliceOrientation setValue 2
"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 6662.5 5722.5 10177.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 1000 0 0
"Ortho Slice 3" options setValue 0 1
"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 "grayScale.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 0.000000 222.000000
"Ortho Slice 3" colormap enableAlpha 1
"Ortho Slice 3" colormap enableAlphaToggle 1
"Ortho Slice 3" colormap setAutoAdjustRangeMode 1
"Ortho Slice 3" colormap setColorbarMinMax 0 222
"Ortho Slice 3" sliceNumber setMinMax 0 235
"Ortho Slice 3" sliceNumber setButtons 1
"Ortho Slice 3" sliceNumber setEditButton 1
"Ortho Slice 3" sliceNumber setIncrement 1
"Ortho Slice 3" sliceNumber setValue 118
"Ortho Slice 3" sliceNumber setSubMinMax 0 235
"Ortho Slice 3" transparency setValue 0
"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 HxColorwash "Color Wash 2"
"Color Wash 2" setIconPosition 386 58
"Color Wash 2" setVar "CustomHelp" {HxColorwash}
"Color Wash 2" data connect "Segmentation_PulpDentinEnamelCracks.am"
"Color Wash 2" module connect "Ortho Slice 2"
"Color Wash 2" colormap connect "labels.am"
"Color Wash 2" colormap setDefaultColor 1 0.8 0.5
"Color Wash 2" colormap setDefaultAlpha 0.500000
"Color Wash 2" colormap activateLocalRange 1
"Color Wash 2" colormap setLocalMinMax 1.000000 8.000000
"Color Wash 2" colormap enableAlpha 1
"Color Wash 2" colormap enableAlphaToggle 1
"Color Wash 2" colormap setAutoAdjustRangeMode 1
"Color Wash 2" colormap setColorbarMinMax 1 8
"Color Wash 2" fire
"Color Wash 2" mode setIndex 0 7
"Color Wash 2" weightFactor setMinMax 0 1
"Color Wash 2" weightFactor setButtons 0
"Color Wash 2" weightFactor setEditButton 1
"Color Wash 2" weightFactor setIncrement 0.1
"Color Wash 2" weightFactor setValue 0.5
"Color Wash 2" weightFactor setSubMinMax 0 1
"Color Wash 2" lenseWidth setMinMax 5 80
"Color Wash 2" lenseWidth setButtons 1
"Color Wash 2" lenseWidth setEditButton 1
"Color Wash 2" lenseWidth setIncrement 1
"Color Wash 2" lenseWidth setValue 30
"Color Wash 2" lenseWidth setSubMinMax 5 80
"Color Wash 2" overlayRange setMinMax 0 -3.40282346638529e+038 3.40282346638529e+038
"Color Wash 2" overlayRange setValue 0 100
"Color Wash 2" overlayRange setMinMax 1 -3.40282346638529e+038 3.40282346638529e+038
"Color Wash 2" overlayRange setValue 1 1000
"Color Wash 2" transparency setMinMax 0 1
"Color Wash 2" transparency setButtons 0
"Color Wash 2" transparency setEditButton 1
"Color Wash 2" transparency setIncrement 0.1
"Color Wash 2" transparency setValue 0.5
"Color Wash 2" transparency setSubMinMax 0 1
"Color Wash 2" options setValue 0 0
"Color Wash 2" options setToggleVisible 0 1
"Color Wash 2" options setValue 1 1
"Color Wash 2" options setToggleVisible 1 1
"Color Wash 2" generalOptions setValue 0 0
"Color Wash 2" generalOptions setToggleVisible 0 1
"Color Wash 2" fire
"Color Wash 2" setViewerMask 16383
"Color Wash 2" setPickable 1

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

set hideNewModules 0
create HxAnalyzeLabels "Label Analysis"
"Label Analysis" setIconPosition 386 186
"Label Analysis" setVar "CustomHelp" {HxAnalyzeLabels}
"Label Analysis" data connect "human_molar_resampled_50um3_tophat.labels"
"Label Analysis" intensityImage connect "human_molar_resampled_50um3.am"
"Label Analysis" fire
"Label Analysis" interpretation setValue 0
"Label Analysis" sequenceMode setValue 0
labelMeasure setAttributes feret2d 0 18 36 54 72 90 108 126 144 162
labelMeasure setAttributes feret3d 31
labelMeasure setAttributes cooccurrence 0 0
labelMeasure setAttributes histogram 1 0 255 1
labelMeasure setAttributes quantile 0.1 0.1 0.1 0.1 0.1 0.1
labelMeasure setAttributes breadth3d 10
labelMeasure setAttributes neighborCount 0 5 0
"Label Analysis" measures setState {"basic" Volume3d Area3d BaryCenterX BaryCenterY BaryCenterZ Mean}
"Label Analysis" showAnalysis setValue 0 1
"Label Analysis" showAnalysis setToggleVisible 0 1
"Label Analysis" applyTransformToResult 1
"Label Analysis" fire
"Label Analysis" setViewerMask 16383
"Label Analysis" setPickable 1

set hideNewModules 0
[ load ${SCRIPTDIR}/human_molar_segmentation-files/human_molar_resampled_50um3_tophat.Label-Analysis ] setLabel "human_molar_resampled_50um3_tophat.Label-Analysis"
"human_molar_resampled_50um3_tophat.Label-Analysis" setIconPosition 17 197
"human_molar_resampled_50um3_tophat.Label-Analysis" master connect "Label Analysis" "AnlOut" 0
"human_molar_resampled_50um3_tophat.Label-Analysis" fire
"human_molar_resampled_50um3_tophat.Label-Analysis" fire
"human_molar_resampled_50um3_tophat.Label-Analysis" setViewerMask 16383

set hideNewModules 0
create HxAnnotation "Caption"
"Caption" setIconPosition 384 214
"Caption" setVar "CustomHelp" {HxAnnotation}
"Caption" fire
"Caption" background setState {item 0 1 color 1 0.5 0.5 0.5 }
"Caption" posType setValue 0
"Caption" originPos setIndex 0 1
"Caption" position2 setMinMax 0 0 2000
"Caption" position2 setValue 0 20
"Caption" position2 setMinMax 1 0 2000
"Caption" position2 setValue 1 20
"Caption" ndcPosition2 setMinMax 0 0 1
"Caption" ndcPosition2 setValue 0 0.0399999991059303
"Caption" ndcPosition2 setMinMax 1 0 1
"Caption" ndcPosition2 setValue 1 0.0399999991059303
"Caption" horizontal setValue 0
"Caption" vertical setValue 0
"Caption" text setState {Ortho Slice with Labeled Colorwash}
"Caption" font setState {name: "Calibri" size: 30 buttonText: Select bold: 1 italic: 0 color: 1 1 1}
"Caption" fire
"Caption" setViewerMask 16381
"Caption" setPickable 1

set hideNewModules 0
create HxAnnotation "Caption 2"
"Caption 2" setIconPosition 386 241
"Caption 2" setVar "CustomHelp" {HxAnnotation}
"Caption 2" fire
"Caption 2" background setState {item 0 1 color 1 0.5 0.5 0.5 }
"Caption 2" posType setValue 0
"Caption 2" originPos setIndex 0 1
"Caption 2" position2 setMinMax 0 0 2000
"Caption 2" position2 setValue 0 20
"Caption 2" position2 setMinMax 1 0 2000
"Caption 2" position2 setValue 1 20
"Caption 2" ndcPosition2 setMinMax 0 0 1
"Caption 2" ndcPosition2 setValue 0 0.0399999991059303
"Caption 2" ndcPosition2 setMinMax 1 0 1
"Caption 2" ndcPosition2 setValue 1 0.0399999991059303
"Caption 2" horizontal setValue 0
"Caption 2" vertical setValue 0
"Caption 2" text setState {Simplified Surface with Fancy Alpha}
"Caption 2" font setState {name: "Calibri" size: 30 buttonText: Select bold: 1 italic: 0 color: 1 1 1}
"Caption 2" fire
"Caption 2" setViewerMask 16382
"Caption 2" setPickable 1

set hideNewModules 0
create HxAnnotation "Caption 3"
"Caption 3" setIconPosition 386 268
"Caption 3" setVar "CustomHelp" {HxAnnotation}
"Caption 3" fire
"Caption 3" background setState {item 0 1 color 1 0.5 0.5 0.5 }
"Caption 3" posType setValue 1
"Caption 3" originPos setIndex 0 2
"Caption 3" position2 setMinMax 0 0 2000
"Caption 3" position2 setValue 0 20
"Caption 3" position2 setMinMax 1 0 2000
"Caption 3" position2 setValue 1 20
"Caption 3" ndcPosition2 setMinMax 0 0 1
"Caption 3" ndcPosition2 setValue 0 0.0399999991059303
"Caption 3" ndcPosition2 setMinMax 1 0 1
"Caption 3" ndcPosition2 setValue 1 0.0199999995529652
"Caption 3" horizontal setValue 2
"Caption 3" vertical setValue 2
"Caption 3" text setState {Data Courtesy of Tim Ryan - Penn State}
"Caption 3" font setState {name: "Calibri" size: 30 buttonText: Select bold: 1 italic: 0 color: 1 1 1}
"Caption 3" fire
"Caption 3" setViewerMask 16382
"Caption 3" setPickable 1

set hideNewModules 0

viewer 0 setCameraOrientation -0.0577867 -0.821808 0.566827 2.53988
viewer 0 setCameraPosition -11.0116 -20.0453 2.63342
viewer 0 setCameraFocalDistance 32.0044
viewer 0 setCameraNearDistance 22.4927
viewer 0 setCameraFarDistance 41.7611
viewer 0 setCameraType perspective
viewer 0 setCameraHeightAngle 44.9023
viewer 0 linkViewer 1
viewer 0 setAutoRedraw 1
viewer 0 redraw

viewer 1 setCameraOrientation -0.0577867 -0.821808 0.566827 2.53988
viewer 1 setCameraPosition -11.0116 -20.0453 2.63342
viewer 1 setCameraFocalDistance 32.0044
viewer 1 setCameraNearDistance 22.4927
viewer 1 setCameraFarDistance 41.7611
viewer 1 setCameraType perspective
viewer 1 setCameraHeightAngle 44.9023
viewer 1 linkViewer 0
viewer 1 setAutoRedraw 1
viewer 1 redraw

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

human_molar_resampled_50um3_tophat.Label-Analysis table hit
human_molar_resampled_50um3_tophat.Label-Analysis fire
